Re: [PATCH v4 1/1] dt-bindings: hwmon: Convert ltc2978.txt to yaml

From
Frank Li <Frank.li@nxp.com>
Date
2024-08-28 18:35:54
Also in
imx, linux-hwmon, lkml
Reply to
Guenter Roeck, 2024-08-28
On Wed, Aug 28, 2024 at 10:06:25AM -0700, Guenter Roeck wrote:
On 8/28/24 09:41, Frank Li wrote:
quoted
Convert binding doc ltc2978.txt to yaml format.
Additional change:
- add i2c node.
- basic it is regulator according to example, move it under regulator.

Fix below warning:
arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dtb: /soc/i2c@2000000/i2c-mux@77/i2c@2/regulator@5c:
	failed to match any schema with compatible: ['lltc,ltc3882']

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Change from v3 to v4
- keep under hwmon directory.
Change from v2 to v3
- put my name into maintainers.
change from v1 to v2
- maintainer change to Mark Brown [off-list ref] (regulator maintainer)
- update title to (from ltc2978 data sheet).
octal, digital power-supply monitor, supervisor, sequencer, and margin controller.
---
  .../bindings/hwmon/lltc,ltc2972.yaml          | 94 +++++++++++++++++++
  .../devicetree/bindings/hwmon/ltc2978.txt     | 62 ------------
I still fail to understand the rationale for renaming the file from ltc2978
to ltc2972. I can see that 2972 is currently the alphabetically first supported
chip, but that is, in my opinion, irrelevant, and it will change.
Conor suggest use one of compatbile string as filename. I random pick one.
I am not care about filename. If you like, I can use lltc,ltc2978.yaml
or other filename.

Frank
If/when support for LTC2971 is added to the file and to the driver, do you plan
to rename the file again ?

Thanks,
Guenter
Thread (6 messages) 6 messages, 2 authors, last reply 2024-08-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help