mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 16:53:20 -04:00
dt-bindings: input: microchip,cap11xx: Update datasheet URL and LED reg range
- Add datasheet links for all supported CAP11xx variants. - Update LED node regex and replace enum constraints with minimum/maximum for LED reg ranges in preparation for CAP1114 support. CAP1114 has 11 LED channels. minimum/maximum constraints are easier to maintain than long enum lists when expanding channel count later. Drop unnecessary led unit-address pattern. Signed-off-by: Jun Yan <jerrysteve1101@gmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20260617150318.753148-4-jerrysteve1101@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
@@ -10,6 +10,15 @@ description: |
|
||||
The Microchip CAP1xxx Family of RightTouchTM multiple-channel capacitive
|
||||
touch controllers and LED drivers. The device communication via I2C only.
|
||||
|
||||
For more product information please see the links below:
|
||||
CAP1106: https://ww1.microchip.com/downloads/en/DeviceDoc/00001624B.pdf
|
||||
CAP1126: https://ww1.microchip.com/downloads/en/DeviceDoc/00001623B.pdf
|
||||
CAP1188: https://ww1.microchip.com/downloads/en/DeviceDoc/00001620C.pdf
|
||||
CAP1203: https://ww1.microchip.com/downloads/en/DeviceDoc/00001572B.pdf
|
||||
CAP1206: https://ww1.microchip.com/downloads/en/DeviceDoc/00001567B.pdf
|
||||
CAP1293: https://ww1.microchip.com/downloads/en/DeviceDoc/00001566B.pdf
|
||||
CAP1298: https://ww1.microchip.com/downloads/en/DeviceDoc/00001571B.pdf
|
||||
|
||||
maintainers:
|
||||
- Rob Herring <robh@kernel.org>
|
||||
|
||||
@@ -131,7 +140,9 @@ patternProperties:
|
||||
|
||||
properties:
|
||||
reg:
|
||||
enum: [0, 1, 2, 3, 4, 5, 6, 7]
|
||||
description: LED channel number
|
||||
minimum: 0
|
||||
maximum: 7
|
||||
|
||||
label: true
|
||||
|
||||
@@ -158,7 +169,7 @@ allOf:
|
||||
- microchip,cap1298
|
||||
then:
|
||||
patternProperties:
|
||||
"^led@[0-7]$": false
|
||||
"^led@": false
|
||||
|
||||
- if:
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user