]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: leds: Convert leds-tlc591xx.txt to yaml format
authorFrank Li <Frank.Li@nxp.com>
Tue, 7 Jan 2025 16:16:26 +0000 (11:16 -0500)
committerLee Jones <lee@kernel.org>
Tue, 11 Feb 2025 15:07:37 +0000 (15:07 +0000)
commit346e704278151149e9b4c6807686ee667b911e77
treef52edba9811163ae85b59bf737d2239c15469b79
parent8168906bbb3ba678583422de29e6349407a94bb5
dt-bindings: leds: Convert leds-tlc591xx.txt to yaml format

Convert binding doc leds-tlc591xx.txt to yaml format to fix below DTB_CHECK
warning.

arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dtb:
  /soc@0/bus@30800000/i2c@30a30000/tlc59108@40: failed to match any schema with compatible: ['ti,tlc59108']

Additional change:
- ref to common.yaml for child nodes.
- limit child's reg to 0 - 7 for ti,tlc59108.
- fix typo 'linux,default_trigger' in example.
- change child node name's prefix to led-.
- change nodename to led-controller.
- fix properties order in example.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250107161628.121685-1-Frank.Li@nxp.com
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/leds/leds-tlc591xx.txt [deleted file]
Documentation/devicetree/bindings/leds/ti,tlc59116.yaml [new file with mode: 0644]