diff mbox series

[V3,1/5] dt-bindings: clock: Update i.MX28 example

Message ID 1597721685-9280-1-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State Not Applicable, archived
Headers show
Series [V3,1/5] dt-bindings: clock: Update i.MX28 example | expand

Commit Message

Anson Huang Aug. 18, 2020, 3:34 a.m. UTC
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(-)

Comments

Rob Herring (Arm) Aug. 18, 2020, 3:51 p.m. UTC | #1
On Tue, 18 Aug 2020 11:34:41 +0800, Anson Huang wrote:
> 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(-)
> 

Applied, thanks!
diff mbox series

Patch

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>;
     };