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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/msm8916-samsung-e2015-common.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 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only
  2 
  3 #include "msm8916-samsung-a2015-common.dtsi"
  4 
  5 / {
  6         haptic {
  7                 compatible = "regulator-haptic";
  8                 haptic-supply = <&reg_motor_vdd>;
  9                 min-microvolt = <3300000>;
 10                 max-microvolt = <3300000>;
 11         };
 12 
 13         i2c-muic {
 14                 /* SM5504 MUIC instead of SM5502 */
 15                 /delete-node/ extcon@25;
 16 
 17                 muic: extcon@14 {
 18                         compatible = "siliconmitus,sm5504-muic";
 19                         reg = <0x14>;
 20 
 21                         interrupt-parent = <&tlmm>;
 22                         interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
 23 
 24                         pinctrl-names = "default";
 25                         pinctrl-0 = <&muic_int_default>;
 26 
 27                         usb_con: connector {
 28                                 compatible = "usb-b-connector";
 29                                 label = "micro-USB";
 30                                 type = "micro";
 31                         };
 32                 };
 33         };
 34 
 35         reg_touch_key: regulator-touch-key {
 36                 compatible = "regulator-fixed";
 37                 regulator-name = "touch_key";
 38                 regulator-min-microvolt = <3300000>;
 39                 regulator-max-microvolt = <3300000>;
 40 
 41                 gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
 42                 enable-active-high;
 43 
 44                 pinctrl-names = "default";
 45                 pinctrl-0 = <&tkey_en_default>;
 46         };
 47 };
 48 
 49 &blsp_i2c2 {
 50         /* lis2hh12 accelerometer instead of BMC150 */
 51         /delete-node/ accelerometer@10;
 52         /delete-node/ magnetometer@12;
 53 
 54         accelerometer@1d {
 55                 compatible = "st,lis2hh12";
 56                 reg = <0x1d>;
 57 
 58                 interrupt-parent = <&tlmm>;
 59                 interrupts = <115 IRQ_TYPE_LEVEL_HIGH>;
 60 
 61                 vdd-supply = <&pm8916_l5>;
 62                 vddio-supply = <&pm8916_l5>;
 63 
 64                 st,drdy-int-pin = <1>;
 65                 mount-matrix = "1", "0", "0",
 66                                "0", "-1", "0",
 67                                "0", "0", "1";
 68 
 69                 pinctrl-0 = <&accel_int_default>;
 70                 pinctrl-names = "default";
 71         };
 72 };
 73 
 74 &mpss_mem {
 75         reg = <0x0 0x86800000 0x0 0x5a00000>;
 76 };
 77 
 78 &reg_motor_vdd {
 79         regulator-min-microvolt = <3300000>;
 80         regulator-max-microvolt = <3300000>;
 81 };
 82 
 83 &touchkey {
 84         vcc-supply = <&reg_touch_key>;
 85         vdd-supply = <&reg_touch_key>;
 86 };
 87 
 88 &wcnss {
 89         status = "okay";
 90 };
 91 
 92 &wcnss_iris {
 93         compatible = "qcom,wcn3620";
 94 };
 95 
 96 &wcnss_mem {
 97         status = "okay";
 98 };
 99 
100 &tlmm {
101         tkey_en_default: tkey-en-default-state {
102                 pins = "gpio97";
103                 function = "gpio";
104 
105                 drive-strength = <2>;
106                 bias-disable;
107         };
108 };

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