Debian Codegraph @

scripts/dtc/include-prefixes/arm64/qcom/msm8916-samsung-j3-common.dtsi

raw
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "msm8916-samsung-j5-common.dtsi"
4
5 / {
6 reserved-memory {
7 /delete-node/ tz-apps@85500000;
8
9 /* Additional memory used by Samsung firmware modifications */
10 tz-apps@85800000 {
11 reg = <0x0 0x85800000 0x0 0x800000>;
12 no-map;
13 };
14 };
15
16 reg_vdd_tsp_a: regulator-vdd-tsp-a {
17 compatible = "regulator-fixed";
18 regulator-name = "vdd_tsp_a";
19 regulator-min-microvolt = <3000000>;
20 regulator-max-microvolt = <3000000>;
21
22 gpio = <&tlmm 16 GPIO_ACTIVE_HIGH>;
23 enable-active-high;
24
25 pinctrl-0 = <&tsp_ldo_en_default>;
26 pinctrl-names = "default";
27 };
28 };
29
30 &accelerometer {
31 vdd-supply = <&pm8916_l5>;
32 vddio-supply = <&pm8916_l5>;
33
34 mount-matrix = "0", "-1", "0",
35 "1", "0", "0",
36 "0", "0", "-1";
37 };
38
39 &gpio_hall_sensor {
40 status = "disabled";
41 };
42
43 &i2c_muic {
44 /* GPIO pins vary depending on model variant */
45 };
46
47 &i2c_sensors {
48 /* GPIO pins vary depending on model variant */
49 };
50
51 &touchscreen {
52 vdd-supply = <&reg_vdd_tsp_a>;
53 };
54
55 &tlmm {
56 tsp_ldo_en_default: tsp-ldo-en-default-state {
57 pins = "gpio16";
58 function = "gpio";
59 drive-strength = <2>;
60 bias-disable;
61 };
62 };