* [PATCH 1/1] dt-bindings: trivial-devices: Add compatible string adi,adt7411
@ 2025-05-23 15:13 Frank Li
2025-05-23 15:30 ` Conor Dooley
0 siblings, 1 reply; 5+ messages in thread
From: Frank Li @ 2025-05-23 15:13 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Guenter Roeck,
Jonathan Cameron, Noah Wang, Naresh Solanki, Michal Simek,
Fabio Estevam, Rodrigo Gobbi, Grant Peltier, Laurent Pinchart,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: imx
Add compatible string adi,adt7411, which is temperature sensor and
8-Channel ADC.
Fix below CHECK_DTB warning:
arch/arm/boot/dts/nxp/vf/vf610-zii-scu4-aib.dtb: /soc/bus@40080000/i2c@400e6000/adc@4a:
failed to match any schema with compatible: ['adi,adt7411']
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Documentation/devicetree/bindings/trivial-devices.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 27930708ccd58..38bc1937ff3c9 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -41,6 +41,7 @@ properties:
- adi,ad5110
# Analog Devices ADP5589 Keypad Decoder and I/O Expansion
- adi,adp5589
+ - adi,adt7411 # Temperature Sensor and 8-Channel ADC
# Analog Devices LT7182S Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher
- adi,lt7182s
# AMS iAQ-Core VOC Sensor
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] dt-bindings: trivial-devices: Add compatible string adi,adt7411
2025-05-23 15:13 [PATCH 1/1] dt-bindings: trivial-devices: Add compatible string adi,adt7411 Frank Li
@ 2025-05-23 15:30 ` Conor Dooley
2025-05-23 16:02 ` Guenter Roeck
0 siblings, 1 reply; 5+ messages in thread
From: Conor Dooley @ 2025-05-23 15:30 UTC (permalink / raw)
To: Frank Li
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Guenter Roeck,
Jonathan Cameron, Noah Wang, Naresh Solanki, Michal Simek,
Fabio Estevam, Rodrigo Gobbi, Grant Peltier, Laurent Pinchart,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]
On Fri, May 23, 2025 at 11:13:37AM -0400, Frank Li wrote:
> Add compatible string adi,adt7411, which is temperature sensor and
> 8-Channel ADC.
Usually for iio devices supplies are meant to be documented, and this
device has one.
>
> Fix below CHECK_DTB warning:
>
> arch/arm/boot/dts/nxp/vf/vf610-zii-scu4-aib.dtb: /soc/bus@40080000/i2c@400e6000/adc@4a:
> failed to match any schema with compatible: ['adi,adt7411']
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> Documentation/devicetree/bindings/trivial-devices.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> index 27930708ccd58..38bc1937ff3c9 100644
> --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> @@ -41,6 +41,7 @@ properties:
> - adi,ad5110
> # Analog Devices ADP5589 Keypad Decoder and I/O Expansion
> - adi,adp5589
> + - adi,adt7411 # Temperature Sensor and 8-Channel ADC
> # Analog Devices LT7182S Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher
> - adi,lt7182s
> # AMS iAQ-Core VOC Sensor
> --
> 2.34.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] dt-bindings: trivial-devices: Add compatible string adi,adt7411
2025-05-23 15:30 ` Conor Dooley
@ 2025-05-23 16:02 ` Guenter Roeck
2025-05-23 16:26 ` Frank Li
2025-05-23 16:37 ` Conor Dooley
0 siblings, 2 replies; 5+ messages in thread
From: Guenter Roeck @ 2025-05-23 16:02 UTC (permalink / raw)
To: Conor Dooley, Frank Li
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jonathan Cameron,
Noah Wang, Naresh Solanki, Michal Simek, Fabio Estevam,
Rodrigo Gobbi, Grant Peltier, Laurent Pinchart,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
On 5/23/25 08:30, Conor Dooley wrote:
> On Fri, May 23, 2025 at 11:13:37AM -0400, Frank Li wrote:
>> Add compatible string adi,adt7411, which is temperature sensor and
>> 8-Channel ADC.
>
> Usually for iio devices supplies are meant to be documented, and this
> device has one.
>
FWIW, the driver supporting this chip is some 15 years old. I don't think
anyone was talking about supplies at that time.
Also, this is currently implemented as hwmon driver. Is there an effort
to move the driver out of hwmon and into iio ? Fine with me if this is
where things are going (one less driver to maintain), but I would caution
that this will result in an ABI break for users of the hwmon driver.
Thanks,
Guenter
>>
>> Fix below CHECK_DTB warning:
>>
>> arch/arm/boot/dts/nxp/vf/vf610-zii-scu4-aib.dtb: /soc/bus@40080000/i2c@400e6000/adc@4a:
>> failed to match any schema with compatible: ['adi,adt7411']
>>
>> Signed-off-by: Frank Li <Frank.Li@nxp.com>
>> ---
>> Documentation/devicetree/bindings/trivial-devices.yaml | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
>> index 27930708ccd58..38bc1937ff3c9 100644
>> --- a/Documentation/devicetree/bindings/trivial-devices.yaml
>> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
>> @@ -41,6 +41,7 @@ properties:
>> - adi,ad5110
>> # Analog Devices ADP5589 Keypad Decoder and I/O Expansion
>> - adi,adp5589
>> + - adi,adt7411 # Temperature Sensor and 8-Channel ADC
>> # Analog Devices LT7182S Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher
>> - adi,lt7182s
>> # AMS iAQ-Core VOC Sensor
>> --
>> 2.34.1
>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] dt-bindings: trivial-devices: Add compatible string adi,adt7411
2025-05-23 16:02 ` Guenter Roeck
@ 2025-05-23 16:26 ` Frank Li
2025-05-23 16:37 ` Conor Dooley
1 sibling, 0 replies; 5+ messages in thread
From: Frank Li @ 2025-05-23 16:26 UTC (permalink / raw)
To: Guenter Roeck
Cc: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jonathan Cameron, Noah Wang, Naresh Solanki, Michal Simek,
Fabio Estevam, Rodrigo Gobbi, Grant Peltier, Laurent Pinchart,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
On Fri, May 23, 2025 at 09:02:12AM -0700, Guenter Roeck wrote:
> On 5/23/25 08:30, Conor Dooley wrote:
> > On Fri, May 23, 2025 at 11:13:37AM -0400, Frank Li wrote:
> > > Add compatible string adi,adt7411, which is temperature sensor and
> > > 8-Channel ADC.
> >
> > Usually for iio devices supplies are meant to be documented, and this
> > device has one.
> >
>
> FWIW, the driver supporting this chip is some 15 years old. I don't think
> anyone was talking about supplies at that time.
>
> Also, this is currently implemented as hwmon driver. Is there an effort
> to move the driver out of hwmon and into iio ? Fine with me if this is
> where things are going (one less driver to maintain), but I would caution
> that this will result in an ABI break for users of the hwmon driver.
I think no one want to move such old device. We just missed binding doc
for this compatible string.
Frank
>
> Thanks,
> Guenter
>
> > >
> > > Fix below CHECK_DTB warning:
> > >
> > > arch/arm/boot/dts/nxp/vf/vf610-zii-scu4-aib.dtb: /soc/bus@40080000/i2c@400e6000/adc@4a:
> > > failed to match any schema with compatible: ['adi,adt7411']
> > >
> > > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > > ---
> > > Documentation/devicetree/bindings/trivial-devices.yaml | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> > > index 27930708ccd58..38bc1937ff3c9 100644
> > > --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> > > +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> > > @@ -41,6 +41,7 @@ properties:
> > > - adi,ad5110
> > > # Analog Devices ADP5589 Keypad Decoder and I/O Expansion
> > > - adi,adp5589
> > > + - adi,adt7411 # Temperature Sensor and 8-Channel ADC
> > > # Analog Devices LT7182S Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher
> > > - adi,lt7182s
> > > # AMS iAQ-Core VOC Sensor
> > > --
> > > 2.34.1
> > >
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] dt-bindings: trivial-devices: Add compatible string adi,adt7411
2025-05-23 16:02 ` Guenter Roeck
2025-05-23 16:26 ` Frank Li
@ 2025-05-23 16:37 ` Conor Dooley
1 sibling, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2025-05-23 16:37 UTC (permalink / raw)
To: Guenter Roeck
Cc: Frank Li, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jonathan Cameron, Noah Wang, Naresh Solanki, Michal Simek,
Fabio Estevam, Rodrigo Gobbi, Grant Peltier, Laurent Pinchart,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]
On Fri, May 23, 2025 at 09:02:12AM -0700, Guenter Roeck wrote:
> On 5/23/25 08:30, Conor Dooley wrote:
> > On Fri, May 23, 2025 at 11:13:37AM -0400, Frank Li wrote:
> > > Add compatible string adi,adt7411, which is temperature sensor and
> > > 8-Channel ADC.
> >
> > Usually for iio devices supplies are meant to be documented, and this
> > device has one.
> >
>
> FWIW, the driver supporting this chip is some 15 years old. I don't think
> anyone was talking about supplies at that time.
That extra context is helpful.
> Also, this is currently implemented as hwmon driver. Is there an effort
> to move the driver out of hwmon and into iio ? Fine with me if this is
> where things are going (one less driver to maintain), but I would caution
> that this will result in an ABI break for users of the hwmon driver.
What subsystem doesn't really matter, particularly the difference
between what is a hwmon or not seems to be up to the whims of the first
submitter for some devices. I don't know anything about moving drivers
or w/e, I am literally just reviewing this one patch that landed in my
inbox that had a supply missing.
If this is some 15 year old device, then I can live without the supply
I suppose.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Really trivial-devices should have an optional supply in it, if someone
comes along with a generic name for that supply..
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-05-23 16:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-23 15:13 [PATCH 1/1] dt-bindings: trivial-devices: Add compatible string adi,adt7411 Frank Li
2025-05-23 15:30 ` Conor Dooley
2025-05-23 16:02 ` Guenter Roeck
2025-05-23 16:26 ` Frank Li
2025-05-23 16:37 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox