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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/pmm8155au_2.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/arm64/qcom/pmm8155au_2.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm64/qcom/pmm8155au_2.dtsi (Architecture mips)


  1 // SPDX-License-Identifier: BSD-3-Clause            1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*                                                  2 /*
  3  * Copyright (c) 2021, Linaro Limited               3  * Copyright (c) 2021, Linaro Limited
  4  */                                                 4  */
  5                                                     5 
  6 #include <dt-bindings/input/input.h>                6 #include <dt-bindings/input/input.h>
  7 #include <dt-bindings/interrupt-controller/irq      7 #include <dt-bindings/interrupt-controller/irq.h>
  8 #include <dt-bindings/spmi/spmi.h>                  8 #include <dt-bindings/spmi/spmi.h>
  9                                                     9 
 10 / {                                                10 / {
 11         thermal-zones {                            11         thermal-zones {
 12                 pmm8155au-2-thermal {              12                 pmm8155au-2-thermal {
 13                         polling-delay-passive      13                         polling-delay-passive = <100>;
 14                                                    14 
 15                         thermal-sensors = <&pm     15                         thermal-sensors = <&pmm8155au_2_temp>;
 16                                                    16 
 17                         trips {                    17                         trips {
 18                                 trip0 {            18                                 trip0 {
 19                                         temper     19                                         temperature = <95000>;
 20                                         hyster     20                                         hysteresis = <0>;
 21                                         type =     21                                         type = "passive";
 22                                 };                 22                                 };
 23                                                    23 
 24                                 trip1 {            24                                 trip1 {
 25                                         temper     25                                         temperature = <115000>;
 26                                         hyster     26                                         hysteresis = <0>;
 27                                         type =     27                                         type = "hot";
 28                                 };                 28                                 };
 29                                                    29 
 30                                 trip2 {            30                                 trip2 {
 31                                         temper     31                                         temperature = <145000>;
 32                                         hyster     32                                         hysteresis = <0>;
 33                                         type =     33                                         type = "critical";
 34                                 };                 34                                 };
 35                         };                         35                         };
 36                 };                                 36                 };
 37         };                                         37         };
 38 };                                                 38 };
 39                                                    39 
 40 &spmi_bus {                                        40 &spmi_bus {
 41         pmic@4 {                                   41         pmic@4 {
 42                 compatible = "qcom,pmm8155au",     42                 compatible = "qcom,pmm8155au", "qcom,spmi-pmic";
 43                 reg = <0x4 SPMI_USID>;             43                 reg = <0x4 SPMI_USID>;
 44                 #address-cells = <1>;              44                 #address-cells = <1>;
 45                 #size-cells = <0>;                 45                 #size-cells = <0>;
 46                                                    46 
 47                 pon@800 {                          47                 pon@800 {
 48                         compatible = "qcom,pm8     48                         compatible = "qcom,pm8916-pon";
 49                         reg = <0x0800>;            49                         reg = <0x0800>;
 50                                                    50 
 51                         status = "disabled";       51                         status = "disabled";
 52                 };                                 52                 };
 53                                                    53 
 54                 pmm8155au_2_temp: temp-alarm@2     54                 pmm8155au_2_temp: temp-alarm@2400 {
 55                         compatible = "qcom,spm     55                         compatible = "qcom,spmi-temp-alarm";
 56                         reg = <0x2400>;            56                         reg = <0x2400>;
 57                         interrupts = <0x4 0x24     57                         interrupts = <0x4 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
 58                         io-channels = <&pmm815     58                         io-channels = <&pmm8155au_2_adc ADC5_DIE_TEMP>;
 59                         io-channel-names = "th     59                         io-channel-names = "thermal";
 60                         #thermal-sensor-cells      60                         #thermal-sensor-cells = <0>;
 61                 };                                 61                 };
 62                                                    62 
 63                 pmm8155au_2_adc: adc@3100 {        63                 pmm8155au_2_adc: adc@3100 {
 64                         compatible = "qcom,spm     64                         compatible = "qcom,spmi-adc5";
 65                         reg = <0x3100>;            65                         reg = <0x3100>;
 66                         #address-cells = <1>;      66                         #address-cells = <1>;
 67                         #size-cells = <0>;         67                         #size-cells = <0>;
 68                         #io-channel-cells = <1     68                         #io-channel-cells = <1>;
 69                         interrupts = <0x4 0x31     69                         interrupts = <0x4 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
 70                                                    70 
 71                         channel@0 {                71                         channel@0 {
 72                                 reg = <ADC5_RE     72                                 reg = <ADC5_REF_GND>;
 73                                 qcom,pre-scali     73                                 qcom,pre-scaling = <1 1>;
 74                                 label = "ref_g     74                                 label = "ref_gnd";
 75                         };                         75                         };
 76                                                    76 
 77                         channel@1 {                77                         channel@1 {
 78                                 reg = <ADC5_1P     78                                 reg = <ADC5_1P25VREF>;
 79                                 qcom,pre-scali     79                                 qcom,pre-scaling = <1 1>;
 80                                 label = "vref_     80                                 label = "vref_1p25";
 81                         };                         81                         };
 82                                                    82 
 83                         channel@6 {                83                         channel@6 {
 84                                 reg = <ADC5_DI     84                                 reg = <ADC5_DIE_TEMP>;
 85                                 qcom,pre-scali     85                                 qcom,pre-scaling = <1 1>;
 86                                 label = "die_t     86                                 label = "die_temp";
 87                         };                         87                         };
 88                 };                                 88                 };
 89                                                    89 
 90                 pmm8155au_2_gpios: gpio@c000 {     90                 pmm8155au_2_gpios: gpio@c000 {
 91                         compatible = "qcom,pmm     91                         compatible = "qcom,pmm8155au-gpio", "qcom,spmi-gpio";
 92                         reg = <0xc000>;            92                         reg = <0xc000>;
 93                         gpio-controller;           93                         gpio-controller;
 94                         #gpio-cells = <2>;         94                         #gpio-cells = <2>;
 95                         gpio-ranges = <&pmm815     95                         gpio-ranges = <&pmm8155au_2_gpios 0 0 10>;
 96                         interrupt-controller;      96                         interrupt-controller;
 97                         #interrupt-cells = <2>     97                         #interrupt-cells = <2>;
 98                 };                                 98                 };
 99         };                                         99         };
100                                                   100 
101         pmic@5 {                                  101         pmic@5 {
102                 compatible = "qcom,pmm8155au",    102                 compatible = "qcom,pmm8155au", "qcom,spmi-pmic";
103                 reg = <0x5 SPMI_USID>;            103                 reg = <0x5 SPMI_USID>;
104                 #address-cells = <1>;             104                 #address-cells = <1>;
105                 #size-cells = <0>;                105                 #size-cells = <0>;
106         };                                        106         };
107 };                                                107 };
                                                      

~ [ 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