* [PATCH] dt-bindings: iio: st,stm32-adc: add top-level constraints
@ 2024-08-18 17:29 Krzysztof Kozlowski
2024-08-19 13:40 ` Fabrice Gasnier
2024-08-19 17:13 ` Conor Dooley
0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-18 17:29 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Fabrice Gasnier, linux-iio, devicetree,
linux-stm32, linux-arm-kernel, linux-kernel
Cc: Krzysztof Kozlowski
Properties with variable number of items per each device are expected to
have widest constraints in top-level "properties:" block and further
customized (narrowed) in "if:then:". Add missing top-level constraints
for clock-names.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
index ec34c48d4878..ef9dcc365eab 100644
--- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
@@ -54,7 +54,9 @@ properties:
It's not present on stm32f4.
It's required on stm32h7 and stm32mp1.
- clock-names: true
+ clock-names:
+ minItems: 1
+ maxItems: 2
st,max-clk-rate-hz:
description:
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: iio: st,stm32-adc: add top-level constraints
2024-08-18 17:29 [PATCH] dt-bindings: iio: st,stm32-adc: add top-level constraints Krzysztof Kozlowski
@ 2024-08-19 13:40 ` Fabrice Gasnier
2024-08-19 17:13 ` Conor Dooley
1 sibling, 0 replies; 4+ messages in thread
From: Fabrice Gasnier @ 2024-08-19 13:40 UTC (permalink / raw)
To: Krzysztof Kozlowski, Jonathan Cameron, Lars-Peter Clausen,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, linux-iio, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel
On 8/18/24 19:29, Krzysztof Kozlowski wrote:
> Properties with variable number of items per each device are expected to
> have widest constraints in top-level "properties:" block and further
> customized (narrowed) in "if:then:". Add missing top-level constraints
> for clock-names.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
> index ec34c48d4878..ef9dcc365eab 100644
> --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
> @@ -54,7 +54,9 @@ properties:
> It's not present on stm32f4.
> It's required on stm32h7 and stm32mp1.
>
> - clock-names: true
> + clock-names:
> + minItems: 1
> + maxItems: 2
>
> st,max-clk-rate-hz:
> description:
Hi Krzysztof,
You can add my:
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Best Regards,
Thanks,
Fabrice
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: iio: st,stm32-adc: add top-level constraints
2024-08-18 17:29 [PATCH] dt-bindings: iio: st,stm32-adc: add top-level constraints Krzysztof Kozlowski
2024-08-19 13:40 ` Fabrice Gasnier
@ 2024-08-19 17:13 ` Conor Dooley
2024-08-21 20:06 ` Jonathan Cameron
1 sibling, 1 reply; 4+ messages in thread
From: Conor Dooley @ 2024-08-19 17:13 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Fabrice Gasnier, linux-iio, devicetree,
linux-stm32, linux-arm-kernel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
On Sun, Aug 18, 2024 at 07:29:51PM +0200, Krzysztof Kozlowski wrote:
> Properties with variable number of items per each device are expected to
> have widest constraints in top-level "properties:" block and further
> customized (narrowed) in "if:then:". Add missing top-level constraints
> for clock-names.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
> index ec34c48d4878..ef9dcc365eab 100644
> --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
> @@ -54,7 +54,9 @@ properties:
> It's not present on stm32f4.
> It's required on stm32h7 and stm32mp1.
>
> - clock-names: true
> + clock-names:
> + minItems: 1
> + maxItems: 2
>
> st,max-clk-rate-hz:
> description:
> --
> 2.43.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: iio: st,stm32-adc: add top-level constraints
2024-08-19 17:13 ` Conor Dooley
@ 2024-08-21 20:06 ` Jonathan Cameron
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2024-08-21 20:06 UTC (permalink / raw)
To: Conor Dooley
Cc: Krzysztof Kozlowski, Lars-Peter Clausen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Fabrice Gasnier, linux-iio, devicetree,
linux-stm32, linux-arm-kernel, linux-kernel
On Mon, 19 Aug 2024 18:13:22 +0100
Conor Dooley <conor@kernel.org> wrote:
> On Sun, Aug 18, 2024 at 07:29:51PM +0200, Krzysztof Kozlowski wrote:
> > Properties with variable number of items per each device are expected to
> > have widest constraints in top-level "properties:" block and further
> > customized (narrowed) in "if:then:". Add missing top-level constraints
> > for clock-names.
> >
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > ---
>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
Applied,
Thanks,
Jonathan
>
> > Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml | 4 +++-
> > 1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
> > index ec34c48d4878..ef9dcc365eab 100644
> > --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
> > +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
> > @@ -54,7 +54,9 @@ properties:
> > It's not present on stm32f4.
> > It's required on stm32h7 and stm32mp1.
> >
> > - clock-names: true
> > + clock-names:
> > + minItems: 1
> > + maxItems: 2
> >
> > st,max-clk-rate-hz:
> > description:
> > --
> > 2.43.0
> >
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-08-21 20:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-18 17:29 [PATCH] dt-bindings: iio: st,stm32-adc: add top-level constraints Krzysztof Kozlowski
2024-08-19 13:40 ` Fabrice Gasnier
2024-08-19 17:13 ` Conor Dooley
2024-08-21 20:06 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox