Skip to content

Commit 5014e1e

Browse files
TheOrangeCatandersson
authored andcommitted
ARM: dts: qcom: Add Sony Xperia Z3 Compact smartphone
Add the dts for the Z3 Compact. This is currently almost the same as the plain Z3 as they share almost the same hardware and nothing device-specific is currently supported. Signed-off-by: Valeriy Klimin <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 81fc54e commit 5014e1e

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

arch/arm/boot/dts/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
5050
qcom-msm8974pro-oneplus-bacon.dtb \
5151
qcom-msm8974pro-samsung-klte.dtb \
5252
qcom-msm8974pro-samsung-kltechn.dtb \
53+
qcom-msm8974pro-sony-xperia-shinano-aries.dtb \
5354
qcom-msm8974pro-sony-xperia-shinano-castor.dtb \
5455
qcom-msm8974pro-sony-xperia-shinano-leo.dtb \
5556
qcom-mdm9615-wp8548-mangoh-green.dtb \
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
#include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi"
3+
4+
/ {
5+
model = "Sony Xperia Z3 Compact";
6+
compatible = "sony,xperia-aries", "qcom,msm8974pro", "qcom,msm8974";
7+
chassis-type = "handset";
8+
9+
gpio-keys {
10+
key-camera-snapshot {
11+
label = "camera_snapshot";
12+
gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
13+
linux,code = <KEY_CAMERA>;
14+
debounce-interval = <15>;
15+
};
16+
17+
key-camera-focus {
18+
label = "camera_focus";
19+
gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
20+
linux,code = <KEY_CAMERA_FOCUS>;
21+
debounce-interval = <15>;
22+
};
23+
};
24+
};
25+
26+
&gpio_keys_pin_a {
27+
pins = "gpio2", "gpio3", "gpio4", "gpio5";
28+
};
29+
30+
&smbb {
31+
usb-charge-current-limit = <1500000>;
32+
qcom,fast-charge-safe-current = <2100000>;
33+
qcom,fast-charge-current-limit = <1800000>;
34+
qcom,fast-charge-safe-voltage = <4400000>;
35+
qcom,fast-charge-high-threshold-voltage = <4350000>;
36+
qcom,auto-recharge-threshold-voltage = <4280000>;
37+
qcom,minimum-input-voltage = <4200000>;
38+
39+
status = "okay";
40+
};
41+
42+
&synaptics_touchscreen {
43+
vio-supply = <&pm8941_s3>;
44+
};

0 commit comments

Comments
 (0)