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

2020-08-18 Thread Rob Herring
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 
> ---
> no change.
> ---
>  Documentation/devicetree/bindings/clock/imx28-clock.yaml | 6 --
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 

Applied, thanks!


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

2020-08-17 Thread Anson Huang
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 
---
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 = <_apbx 8>, <_apbx 9>;
+dma-names = "rx", "tx";
 clocks = < 45>;
 };
-- 
2.7.4