1 Device Tree Bindings for LED support on MT6323 PMIC
3 MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED
4 controllers are defined as the subnode of the function node provided by MT6323
5 PMIC controller that is being defined as one kind of Muti-Function Device (MFD)
6 using shared bus called PMIC wrapper for each subfunction to access remote
9 For MT6323 MFD bindings see:
10 Documentation/devicetree/bindings/mfd/mt6397.txt
11 For MediaTek PMIC wrapper bindings see:
12 Documentation/devicetree/bindings/soc/mediatek/pwrap.txt
15 - compatible : Must be "mediatek,mt6323-led"
16 - address-cells : Must be 1
17 - size-cells : Must be 0
19 Each led is represented as a child node of the mediatek,mt6323-led that
20 describes the initial behavior for each LED physically and currently only four
21 LED child nodes can be supported.
23 Required properties for the LED child node:
24 - reg : LED channel number (0..3)
26 Optional properties for the LED child node:
27 - label : See Documentation/devicetree/bindings/leds/common.txt
28 - linux,default-trigger : See Documentation/devicetree/bindings/leds/common.txt
29 - default-state: See Documentation/devicetree/bindings/leds/common.txt
34 compatible = "mediatek,mt6323";
39 compatible = "mediatek,mt6323-led";
46 linux,default-trigger = "timer";
52 default-state = "off";