* [PATCH] dt-bindings: hwmon: Increase max number of io-channels
@ 2023-11-30 8:46 Michal Simek
2023-11-30 14:58 ` Conor Dooley
0 siblings, 1 reply; 5+ messages in thread
From: Michal Simek @ 2023-11-30 8:46 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Guenter Roeck, Jean Delvare, Jonathan Cameron,
Krzysztof Kozlowski, Rob Herring, devicetree, linux-hwmon
arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts is defining 30 channels
that's why increase it.
But AMS binding defines 51 channels
Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml
that's why increase number to 51.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml b/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml
index e5b24782f448..be5c7d4579bb 100644
--- a/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml
+++ b/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml
@@ -19,7 +19,7 @@ properties:
io-channels:
minItems: 1
- maxItems: 8 # Should be enough
+ maxItems: 51 # Should be enough
description: >
List of phandles to ADC channels to read the monitoring values
--
2.36.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: hwmon: Increase max number of io-channels
2023-11-30 8:46 [PATCH] dt-bindings: hwmon: Increase max number of io-channels Michal Simek
@ 2023-11-30 14:58 ` Conor Dooley
2023-12-01 8:35 ` Michal Simek
0 siblings, 1 reply; 5+ messages in thread
From: Conor Dooley @ 2023-11-30 14:58 UTC (permalink / raw)
To: Michal Simek
Cc: linux-kernel, monstr, michal.simek, git, Conor Dooley,
Guenter Roeck, Jean Delvare, Jonathan Cameron,
Krzysztof Kozlowski, Rob Herring, devicetree, linux-hwmon
[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]
On Thu, Nov 30, 2023 at 09:46:54AM +0100, Michal Simek wrote:
> arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts is defining 30 channels
> that's why increase it.
> But AMS binding defines 51 channels
> Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml
> that's why increase number to 51.
Please write commit messages for bindings in terms of how they relate to
some hardware. In this case I think it would be sufficient to say that
the Analog Monitoring system has 51 channels, the opening sentence about
the dts as justification provides no actionable information.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Cheers,
Conor.
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
> Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml b/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml
> index e5b24782f448..be5c7d4579bb 100644
> --- a/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml
> @@ -19,7 +19,7 @@ properties:
>
> io-channels:
> minItems: 1
> - maxItems: 8 # Should be enough
> + maxItems: 51 # Should be enough
> description: >
> List of phandles to ADC channels to read the monitoring values
>
> --
> 2.36.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: hwmon: Increase max number of io-channels
2023-11-30 14:58 ` Conor Dooley
@ 2023-12-01 8:35 ` Michal Simek
2023-12-01 16:07 ` Conor Dooley
0 siblings, 1 reply; 5+ messages in thread
From: Michal Simek @ 2023-12-01 8:35 UTC (permalink / raw)
To: Conor Dooley
Cc: linux-kernel, monstr, michal.simek, git, Conor Dooley,
Guenter Roeck, Jean Delvare, Jonathan Cameron,
Krzysztof Kozlowski, Rob Herring, devicetree, linux-hwmon
On 11/30/23 15:58, Conor Dooley wrote:
> On Thu, Nov 30, 2023 at 09:46:54AM +0100, Michal Simek wrote:
>> arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts is defining 30 channels
>> that's why increase it.
>> But AMS binding defines 51 channels
>> Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml
>> that's why increase number to 51.
>
> Please write commit messages for bindings in terms of how they relate to
> some hardware. In this case I think it would be sufficient to say that
> the Analog Monitoring system has 51 channels, the opening sentence about
> the dts as justification provides no actionable information.
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
v2 sent.
Thanks,
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: hwmon: Increase max number of io-channels
2023-12-01 8:35 ` Michal Simek
@ 2023-12-01 16:07 ` Conor Dooley
2023-12-04 7:57 ` Michal Simek
0 siblings, 1 reply; 5+ messages in thread
From: Conor Dooley @ 2023-12-01 16:07 UTC (permalink / raw)
To: Michal Simek
Cc: linux-kernel, monstr, michal.simek, git, Conor Dooley,
Guenter Roeck, Jean Delvare, Jonathan Cameron,
Krzysztof Kozlowski, Rob Herring, devicetree, linux-hwmon
[-- Attachment #1: Type: text/plain, Size: 992 bytes --]
On Fri, Dec 01, 2023 at 09:35:27AM +0100, Michal Simek wrote:
>
>
> On 11/30/23 15:58, Conor Dooley wrote:
> > On Thu, Nov 30, 2023 at 09:46:54AM +0100, Michal Simek wrote:
> > > arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts is defining 30 channels
> > > that's why increase it.
> > > But AMS binding defines 51 channels
> > > Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml
> > > that's why increase number to 51.
> >
> > Please write commit messages for bindings in terms of how they relate to
> > some hardware. In this case I think it would be sufficient to say that
> > the Analog Monitoring system has 51 channels, the opening sentence about
> > the dts as justification provides no actionable information.
> > Acked-by: Conor Dooley <conor.dooley@microchip.com>
>
> v2 sent.
I wasn't requesting a v2 FWIW. "$file uses 30 channels" rather than
rephrasing it in terms of the hardware actually having 51 channels just
annoyed me, that's all.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: hwmon: Increase max number of io-channels
2023-12-01 16:07 ` Conor Dooley
@ 2023-12-04 7:57 ` Michal Simek
0 siblings, 0 replies; 5+ messages in thread
From: Michal Simek @ 2023-12-04 7:57 UTC (permalink / raw)
To: Conor Dooley
Cc: linux-kernel, monstr, michal.simek, git, Conor Dooley,
Guenter Roeck, Jean Delvare, Jonathan Cameron,
Krzysztof Kozlowski, Rob Herring, devicetree, linux-hwmon
On 12/1/23 17:07, Conor Dooley wrote:
> On Fri, Dec 01, 2023 at 09:35:27AM +0100, Michal Simek wrote:
>>
>>
>> On 11/30/23 15:58, Conor Dooley wrote:
>>> On Thu, Nov 30, 2023 at 09:46:54AM +0100, Michal Simek wrote:
>>>> arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts is defining 30 channels
>>>> that's why increase it.
>>>> But AMS binding defines 51 channels
>>>> Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml
>>>> that's why increase number to 51.
>>>
>>> Please write commit messages for bindings in terms of how they relate to
>>> some hardware. In this case I think it would be sufficient to say that
>>> the Analog Monitoring system has 51 channels, the opening sentence about
>>> the dts as justification provides no actionable information.
>>> Acked-by: Conor Dooley <conor.dooley@microchip.com>
>>
>> v2 sent.
>
> I wasn't requesting a v2 FWIW. "$file uses 30 channels" rather than
> rephrasing it in terms of the hardware actually having 51 channels just
> annoyed me, that's all.
I know and I agreed that commit message can be improved that's why sent v2.
Thanks,
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-12-04 7:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-30 8:46 [PATCH] dt-bindings: hwmon: Increase max number of io-channels Michal Simek
2023-11-30 14:58 ` Conor Dooley
2023-12-01 8:35 ` Michal Simek
2023-12-01 16:07 ` Conor Dooley
2023-12-04 7:57 ` Michal Simek
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).