@@ -15,11 +15,14 @@ Required properties
1515
1616compatible : Must be "ams,as3645a".
1717reg : The I2C address of the device. Typically 0x30.
18+ #address-cells : 1
19+ #size-cells : 0
1820
1921
20- Required properties of the " flash" child node
21- =============================================
22+ Required properties of the flash child node (0)
23+ ===============================================
2224
25+ reg: 0
2326flash-timeout-us: Flash timeout in microseconds. The value must be in
2427 the range [100000, 850000] and divisible by 50000.
2528flash-max-microamp: Maximum flash current in microamperes. Has to be
@@ -33,20 +36,21 @@ ams,input-max-microamp: Maximum flash controller input current. The
3336 and divisible by 50000.
3437
3538
36- Optional properties of the " flash" child node
37- =============================================
39+ Optional properties of the flash child node
40+ ===========================================
3841
3942label : The label of the flash LED.
4043
4144
42- Required properties of the " indicator" child node
43- =================================================
45+ Required properties of the indicator child node (1)
46+ ===================================================
4447
48+ reg: 1
4549led-max-microamp: Maximum indicator current. The allowed values are
4650 2500, 5000, 7500 and 10000.
4751
48- Optional properties of the " indicator" child node
49- =================================================
52+ Optional properties of the indicator child node
53+ ===============================================
5054
5155label : The label of the indicator LED.
5256
@@ -55,16 +59,20 @@ Example
5559=======
5660
5761 as3645a@30 {
62+ #address-cells: 1
63+ #size-cells: 0
5864 reg = <0x30>;
5965 compatible = "ams,as3645a";
60- flash {
66+ flash@0 {
67+ reg = <0x0>;
6168 flash-timeout-us = <150000>;
6269 flash-max-microamp = <320000>;
6370 led-max-microamp = <60000>;
6471 ams,input-max-microamp = <1750000>;
6572 label = "as3645a:flash";
6673 };
67- indicator {
74+ indicator@1 {
75+ reg = <0x1>;
6876 led-max-microamp = <10000>;
6977 label = "as3645a:indicator";
7078 };
0 commit comments