linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 1/5] dt-bindings: clock: Update i.MX28 example
@ 2020-08-18  3:34 Anson Huang
  2020-08-18  3:34 ` [PATCH V3 2/5] dt-bindings: clock: Update i.MX23 example Anson Huang
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Anson Huang @ 2020-08-18  3:34 UTC (permalink / raw)
  To: mturquette, sboyd, robh+dt, shawnguo, s.hauer, kernel, festevam,
	gregkh, fugang.duan, linux-clk, devicetree, linux-arm-kernel,
	linux-kernel, linux-serial
  Cc: Linux-imx

Update the i.MX28 clock example to align with MXS AUART binding doc to
avoid below build error:

Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml:
  serial@8006a000: clocks: [[4294967295, 45]] is too short
Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml:
  serial@8006a000: compatible: Additional items are not allowed
  ('fsl,imx23-auart' was unexpected)
Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml:
  serial@8006a000: compatible: ['fsl,imx28-auart', 'fsl,imx23-auart']
  is too long
Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml:
  serial@8006a000: 'dmas' is a required property
Documentation/devicetree/bindings/clock/imx28-clock.example.dt.yaml:
  serial@8006a000: 'dma-names' is a required property

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
no change.
---
 Documentation/devicetree/bindings/clock/imx28-clock.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/imx28-clock.yaml b/Documentation/devicetree/bindings/clock/imx28-clock.yaml
index 72328d5..671b279 100644
--- a/Documentation/devicetree/bindings/clock/imx28-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/imx28-clock.yaml
@@ -108,8 +108,10 @@ examples:
     };
 
     serial@8006a000 {
-        compatible = "fsl,imx28-auart", "fsl,imx23-auart";
+        compatible = "fsl,imx28-auart";
         reg = <0x8006a000 0x2000>;
-        interrupts = <112 70 71>;
+        interrupts = <112>;
+        dmas = <&dma_apbx 8>, <&dma_apbx 9>;
+        dma-names = "rx", "tx";
         clocks = <&clks 45>;
     };
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-08-18 15:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18  3:34 [PATCH V3 1/5] dt-bindings: clock: Update i.MX28 example Anson Huang
2020-08-18  3:34 ` [PATCH V3 2/5] dt-bindings: clock: Update i.MX23 example Anson Huang
2020-08-18 15:52   ` Rob Herring
2020-08-18  3:34 ` [PATCH V3 3/5] dt-bindings: serial: Convert i.MX uart to json-schema Anson Huang
2020-08-18 15:52   ` Rob Herring
2020-08-18  3:34 ` [PATCH V3 4/5] dt-bindings: serial: Convert MXS auart " Anson Huang
2020-08-18 15:52   ` Rob Herring
2020-08-18  3:34 ` [PATCH V3 5/5] dt-bindings: serial: Convert NXP lpuart " Anson Huang
2020-08-18 15:53   ` Rob Herring
2020-08-18 15:51 ` [PATCH V3 1/5] dt-bindings: clock: Update i.MX28 example Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).