File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 70
70
#size-cells = <1>;
71
71
hwlocks = <&hwlock 12>;
72
72
73
+ fgu_calib: calib@6 {
74
+ reg = <0x6 0x2>;
75
+ bits = <0 9>;
76
+ };
77
+
73
78
adc_big_scale: calib@24 {
74
79
reg = <0x24 0x2>;
75
80
};
90
95
nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
91
96
};
92
97
98
+ fgu@a00 {
99
+ compatible = "sprd,sc2731-fgu";
100
+ reg = <0xa00>;
101
+ bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
102
+ io-channels = <&pmic_adc 3>, <&pmic_adc 6>;
103
+ io-channel-names = "bat-temp", "charge-vol";
104
+ monitored-battery = <&bat>;
105
+ nvmem-cell-names = "fgu_calib";
106
+ nvmem-cells = <&fgu_calib>;
107
+ interrupt-parent = <&sc2731_pmic>;
108
+ interrupts = <4>;
109
+ };
110
+
93
111
vibrator@ec8 {
94
112
compatible = "sprd,sc27xx-vibrator", "sprd,sc2731-vibrator";
95
113
reg = <0xec8>;
You can’t perform that action at this time.
0 commit comments