diff mbox series

[03/19] dt-bindings: rtc: sun6i-a31-rtc: Loosen the requirements on the clocks

Message ID 20210114113538.1233933-3-maxime@cerno.tech
State Accepted
Commit 48b47749e334b3891f33b9425b470a3c92be8dae
Headers show
Series [01/19] dt-bindings: sunxi: Fix the pinecube compatible | expand

Commit Message

Maxime Ripard Jan. 14, 2021, 11:35 a.m. UTC
The commit ec98a87509f4 ("rtc: sun6i: Make external 32k oscillator
optional") loosened the requirement of the clocks property, making it
optional. However, the binding still required it to be present.

Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Fixes: ec98a87509f4 ("rtc: sun6i: Make external 32k oscillator optional")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
 .../devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml         | 1 -
 1 file changed, 1 deletion(-)

Comments

Alexandre Belloni Jan. 19, 2021, 9:43 p.m. UTC | #1
On 14/01/2021 12:35:22+0100, Maxime Ripard wrote:
> The commit ec98a87509f4 ("rtc: sun6i: Make external 32k oscillator

> optional") loosened the requirement of the clocks property, making it

> optional. However, the binding still required it to be present.

> 

> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>

> Fixes: ec98a87509f4 ("rtc: sun6i: Make external 32k oscillator optional")

> Signed-off-by: Maxime Ripard <maxime@cerno.tech>

Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>


> ---

>  .../devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml         | 1 -

>  1 file changed, 1 deletion(-)

> 

> diff --git a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml

> index 37c2a601c3fa..b1b0ee769b71 100644

> --- a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml

> +++ b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml

> @@ -128,7 +128,6 @@ required:

>    - compatible

>    - reg

>    - interrupts

> -  - clocks

>    - clock-output-names

>  

>  additionalProperties: false

> -- 

> 2.29.2

> 


-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml
index 37c2a601c3fa..b1b0ee769b71 100644
--- a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml
@@ -128,7 +128,6 @@  required:
   - compatible
   - reg
   - interrupts
-  - clocks
   - clock-output-names
 
 additionalProperties: false