Lines Matching +full:0 +full:- +full:pwrkey
1 // SPDX-License-Identifier: GPL-2.0
6 #interrupt-cells = <2>;
7 interrupt-controller;
8 #address-cells = <1>;
9 #size-cells = <0>;
11 pwrkey@1c {
12 compatible = "qcom,pm8921-pwrkey";
13 reg = <0x1c>;
14 interrupts-extended = <&pm8921 50 IRQ_TYPE_EDGE_RISING>,
17 pull-up;
21 compatible = "qcom,pm8921-mpp",
22 "qcom,ssbi-mpp";
23 reg = <0x50>;
24 gpio-controller;
25 #gpio-cells = <2>;
26 gpio-ranges = <&pm8921_mpps 0 0 12>;
27 interrupt-controller;
28 #interrupt-cells = <2>;
32 compatible = "qcom,pm8921-rtc";
33 reg = <0x11d>;
34 interrupts-extended = <&pm8921 39 IRQ_TYPE_EDGE_RISING>;
35 allow-set-time;
39 compatible = "qcom,pm8921-keypad";
40 reg = <0x148>;
41 interrupts-extended = <&pm8921 74 IRQ_TYPE_EDGE_RISING>,
44 scan-delay = <32>;
45 row-hold = <91500>;
51 compatible = "qcom,pm8921-gpio",
52 "qcom,ssbi-gpio";
53 reg = <0x150>;
54 interrupt-controller;
55 #interrupt-cells = <2>;
56 gpio-controller;
57 gpio-ranges = <&pm8921_gpio 0 0 44>;
58 #gpio-cells = <2>;
63 compatible = "qcom,pm8921-adc";
64 reg = <0x197>;
65 interrupts-extended = <&pm8921 78 IRQ_TYPE_EDGE_RISING>;
66 #address-cells = <2>;
67 #size-cells = <0>;
68 #io-channel-cells = <2>;
70 vcoin: adc-channel@0 {
71 reg = <0x00 0x00>;
74 vbat: adc-channel@1 {
75 reg = <0x00 0x01>;
78 dcin: adc-channel@2 {
79 reg = <0x00 0x02>;
82 vph_pwr: adc-channel@4 {
83 reg = <0x00 0x04>;
86 batt_therm: adc-channel@8 {
87 reg = <0x00 0x08>;
90 batt_id: adc-channel@9 {
91 reg = <0x00 0x09>;
94 usb_vbus: adc-channel@a {
95 reg = <0x00 0x0a>;
98 die_temp: adc-channel@b {
99 reg = <0x00 0x0b>;
102 ref_625mv: adc-channel@c {
103 reg = <0x00 0x0c>;
106 ref_1250mv: adc-channel@d {
107 reg = <0x00 0x0d>;
110 chg_temp: adc-channel@e {
111 reg = <0x00 0x0e>;
114 ref_muxoff: adc-channel@f {
115 reg = <0x00 0x0f>;
124 * That is why the ADC is referred to as "HKADC" - HouseKeeping
127 iio-hwmon {
128 compatible = "iio-hwmon";
129 io-channels = <&pm8921_xoadc 0x00 0x01>, /* Battery */
130 <&pm8921_xoadc 0x00 0x02>, /* DC in (charger) */
131 <&pm8921_xoadc 0x00 0x04>, /* VPH the main system voltage */
132 <&pm8921_xoadc 0x00 0x0b>, /* Die temperature */
133 <&pm8921_xoadc 0x00 0x0c>, /* Reference voltage 1.25V */
134 <&pm8921_xoadc 0x00 0x0d>, /* Reference voltage 0.625V */
135 <&pm8921_xoadc 0x00 0x0e>; /* Charger temperature */