~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/qcom/pma8084.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/qcom/pma8084.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/qcom/pma8084.dtsi (Architecture m68k)


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2 #include <dt-bindings/iio/qcom,spmi-vadc.h>         2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
  3 #include <dt-bindings/input/linux-event-codes.      3 #include <dt-bindings/input/linux-event-codes.h>
  4 #include <dt-bindings/interrupt-controller/irq      4 #include <dt-bindings/interrupt-controller/irq.h>
  5 #include <dt-bindings/spmi/spmi.h>                  5 #include <dt-bindings/spmi/spmi.h>
  6                                                     6 
  7 &spmi_bus {                                         7 &spmi_bus {
  8                                                     8 
  9         pma8084_0: pma8084@0 {                      9         pma8084_0: pma8084@0 {
 10                 compatible = "qcom,pma8084", "     10                 compatible = "qcom,pma8084", "qcom,spmi-pmic";
 11                 reg = <0x0 SPMI_USID>;             11                 reg = <0x0 SPMI_USID>;
 12                 #address-cells = <1>;              12                 #address-cells = <1>;
 13                 #size-cells = <0>;                 13                 #size-cells = <0>;
 14                                                    14 
 15                 rtc@6000 {                         15                 rtc@6000 {
 16                         compatible = "qcom,pm8     16                         compatible = "qcom,pm8941-rtc";
 17                         reg = <0x6000>,            17                         reg = <0x6000>,
 18                               <0x6100>;            18                               <0x6100>;
 19                         reg-names = "rtc", "al     19                         reg-names = "rtc", "alarm";
 20                         interrupts = <0x0 0x61     20                         interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
 21                 };                                 21                 };
 22                                                    22 
 23                 pon@800 {                          23                 pon@800 {
 24                         compatible = "qcom,pm8     24                         compatible = "qcom,pm8941-pon";
 25                         reg = <0x800>;             25                         reg = <0x800>;
 26                                                    26 
 27                         pwrkey {                   27                         pwrkey {
 28                                 compatible = "     28                                 compatible = "qcom,pm8941-pwrkey";
 29                                 interrupts = <     29                                 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
 30                                 debounce = <15     30                                 debounce = <15625>;
 31                                 bias-pull-up;      31                                 bias-pull-up;
 32                                 linux,code = <     32                                 linux,code = <KEY_POWER>;
 33                         };                         33                         };
 34                 };                                 34                 };
 35                                                    35 
 36                 pma8084_gpios: gpio@c000 {         36                 pma8084_gpios: gpio@c000 {
 37                         compatible = "qcom,pma     37                         compatible = "qcom,pma8084-gpio", "qcom,spmi-gpio";
 38                         reg = <0xc000>;            38                         reg = <0xc000>;
 39                         gpio-controller;           39                         gpio-controller;
 40                         gpio-ranges = <&pma808     40                         gpio-ranges = <&pma8084_gpios 0 0 22>;
 41                         #gpio-cells = <2>;         41                         #gpio-cells = <2>;
 42                         interrupt-controller;      42                         interrupt-controller;
 43                         #interrupt-cells = <2>     43                         #interrupt-cells = <2>;
 44                 };                                 44                 };
 45                                                    45 
 46                 pma8084_mpps: mpps@a000 {          46                 pma8084_mpps: mpps@a000 {
 47                         compatible = "qcom,pma     47                         compatible = "qcom,pma8084-mpp", "qcom,spmi-mpp";
 48                         reg = <0xa000>;            48                         reg = <0xa000>;
 49                         gpio-controller;           49                         gpio-controller;
 50                         #gpio-cells = <2>;         50                         #gpio-cells = <2>;
 51                         gpio-ranges = <&pma808     51                         gpio-ranges = <&pma8084_mpps 0 0 8>;
 52                         interrupt-controller;      52                         interrupt-controller;
 53                         #interrupt-cells = <2>     53                         #interrupt-cells = <2>;
 54                 };                                 54                 };
 55                                                    55 
 56                 pma8084_temp: temp-alarm@2400      56                 pma8084_temp: temp-alarm@2400 {
 57                         compatible = "qcom,spm     57                         compatible = "qcom,spmi-temp-alarm";
 58                         reg = <0x2400>;            58                         reg = <0x2400>;
 59                         interrupts = <0 0x24 0     59                         interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
 60                         #thermal-sensor-cells      60                         #thermal-sensor-cells = <0>;
 61                         io-channels = <&pma808     61                         io-channels = <&pma8084_vadc VADC_DIE_TEMP>;
 62                         io-channel-names = "th     62                         io-channel-names = "thermal";
 63                 };                                 63                 };
 64                                                    64 
 65                 pma8084_vadc: adc@3100 {           65                 pma8084_vadc: adc@3100 {
 66                         compatible = "qcom,spm     66                         compatible = "qcom,spmi-vadc";
 67                         reg = <0x3100>;            67                         reg = <0x3100>;
 68                         interrupts = <0x0 0x31     68                         interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
 69                         #address-cells = <1>;      69                         #address-cells = <1>;
 70                         #size-cells = <0>;         70                         #size-cells = <0>;
 71                         #io-channel-cells = <1     71                         #io-channel-cells = <1>;
 72                                                    72 
 73                         channel@8 {                73                         channel@8 {
 74                                 reg = <VADC_DI     74                                 reg = <VADC_DIE_TEMP>;
 75                         };                         75                         };
 76                                                    76 
 77                         channel@9 {                77                         channel@9 {
 78                                 reg = <VADC_RE     78                                 reg = <VADC_REF_625MV>;
 79                         };                         79                         };
 80                                                    80 
 81                         channel@a {                81                         channel@a {
 82                                 reg = <VADC_RE     82                                 reg = <VADC_REF_1250MV>;
 83                         };                         83                         };
 84                                                    84 
 85                         channel@c {                85                         channel@c {
 86                                 reg = <VADC_SP     86                                 reg = <VADC_SPARE1>;
 87                         };                         87                         };
 88                                                    88 
 89                         channel@e {                89                         channel@e {
 90                                 reg = <VADC_GN     90                                 reg = <VADC_GND_REF>;
 91                         };                         91                         };
 92                                                    92 
 93                         channel@f {                93                         channel@f {
 94                                 reg = <VADC_VD     94                                 reg = <VADC_VDD_VADC>;
 95                         };                         95                         };
 96                 };                                 96                 };
 97         };                                         97         };
 98                                                    98 
 99         pma8084_1: pma8084@1 {                     99         pma8084_1: pma8084@1 {
100                 compatible = "qcom,pma8084", "    100                 compatible = "qcom,pma8084", "qcom,spmi-pmic";
101                 reg = <0x1 SPMI_USID>;            101                 reg = <0x1 SPMI_USID>;
102                 #address-cells = <1>;             102                 #address-cells = <1>;
103                 #size-cells = <0>;                103                 #size-cells = <0>;
104         };                                        104         };
105 };                                                105 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php