Debian Codegraph @

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

raw
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "msm8916-samsung-fortuna-common.dtsi"
4
5 /* SM5504 MUIC instead of SM5502 */
6 /delete-node/ &muic;
7
8 /* IST3038 instead of Zinitix BT541 */
9 /delete-node/ &touchscreen;
10
11 &blsp_i2c1 {
12 muic: extcon@14 {
13 compatible = "siliconmitus,sm5504-muic";
14 reg = <0x14>;
15 interrupts-extended = <&tlmm 12 IRQ_TYPE_EDGE_FALLING>;
16 pinctrl-0 = <&muic_int_default>;
17 pinctrl-names = "default";
18
19 usb_con: connector {
20 compatible = "usb-b-connector";
21 label = "micro-USB";
22 type = "micro";
23 };
24 };
25 };
26
27 &blsp_i2c5 {
28 touchscreen: touchscreen@50 {
29 compatible = "imagis,ist3038";
30 reg = <0x50>;
31
32 interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
33
34 touchscreen-size-x = <480>;
35 touchscreen-size-y = <800>;
36
37 vdd-supply = <&reg_vdd_tsp_a>;
38 vddio-supply = <&pm8916_l6>;
39
40 pinctrl-0 = <&tsp_int_default>;
41 pinctrl-names = "default";
42
43 linux,keycodes = <KEY_APPSELECT KEY_BACK>;
44 };
45 };
46
47 /* On rossa backlight is controlled with MIPI DCS commands */
48 &clk_pwm {
49 status = "disabled";
50 };
51
52 &clk_pwm_backlight {
53 status = "disabled";
54 };
55
56 &s3fwrn5_nfc {
57 status = "okay";
58 };
59
60 &st_accel {
61 compatible = "st,lis2hh12";
62 mount-matrix = "1", "0", "0",
63 "0", "-1", "0",
64 "0", "0", "1";
65 status = "okay";
66 };