Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1341188 > unrolled thread
| Started by | Han Xu <han.xu@nxp.com> |
|---|---|
| First post | 2016-02-24 01:00 +0100 |
| Last post | 2016-02-24 01:00 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 2/5] mtd: nand: gpmi: document the clocks and clock-names in DT property Han Xu <han.xu@nxp.com> - 2016-02-24 01:00 +0100
| From | Han Xu <han.xu@nxp.com> |
|---|---|
| Date | 2016-02-24 01:00 +0100 |
| Subject | [PATCH 2/5] mtd: nand: gpmi: document the clocks and clock-names in DT property |
| Message-ID | <r5v22-4qc-3@gated-at.bofh.it> |
add the clocks and clock-names in DT property, gpmi-io clock is
mandatory for all platforms, but some platforms, such as i.MX6Q may
need more extra clocks for submodules. More details please refer to the
SoC reference manual.
Signed-off-by: Han Xu <han.xu@nxp.com>
---
Documentation/devicetree/bindings/mtd/gpmi-nand.txt | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt
index d02acaf..c8d0e2f 100644
--- a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt
@@ -13,6 +13,13 @@ Required properties:
and GPMI DMA channel ID.
Refer to dma.txt and fsl-mxs-dma.txt for details.
- dma-names: Must be "rx-tx".
+ - clocks : The clocks needed by the gpmi controller. This field varies
+ depends on the SoC design, "gpmi-io" is mandatory but some platforms may
+ need several extra clocks, such as i.MX6Q, it requires "gpmi_apb,
+ gpmi_bch, gpmi_bch_apb and per1_bch" for all submodules. Please refer to
+ the HW design manual.
+ - clock-names : the name of the clocks, please refer to the HW design
+ manual.
Optional properties:
- nand-on-flash-bbt: boolean to enable on flash bbt option if not
@@ -51,6 +58,8 @@ gpmi-nand@8000c000 {
interrupt-names = "bch";
dmas = <&dma_apbh 4>;
dma-names = "rx-tx";
+ clocks = <&clks 50>,;
+ clock-names = "gpmi_io";
partition@0 {
...
--
1.9.1
Back to top | Article view | linux.kernel
csiph-web