mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 05:07:46 -04:00
arm64: dts: qcom: Add device tree for Samsung Galaxy Tab A 8.0 (2015)
Galaxy Tab A 8.0 is a tablet, very similar to Tab A 9.7 with major differences being the display and touchscreen. Add it's devicetree reusing a common dtsi from gt510. Signed-off-by: Siddharth Manthan <siddharth.manthan@gmail.com> [Squashed multiple commits] Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Nikita Travkin <nikita@trvn.ru> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230107141911.47229-4-nikita@trvn.ru
This commit is contained in:
committed by
Bjorn Andersson
parent
7cc406151a
commit
41adc65ca5
@@ -20,6 +20,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-e5.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-e7.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-grandmax.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gt510.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gt58.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-j5.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-j5x.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-serranove.dtb
|
||||
|
||||
75
arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts
Normal file
75
arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts
Normal file
@@ -0,0 +1,75 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "msm8916-samsung-gt5-common.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Samsung Galaxy Tab A 8.0 (2015)";
|
||||
compatible = "samsung,gt58", "qcom,msm8916";
|
||||
chassis-type = "tablet";
|
||||
|
||||
reg_vdd_tsp: regulator-vdd-tsp {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vdd_tsp";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
|
||||
gpio = <&msmgpio 73 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-0 = <®_tsp_en_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
vibrator {
|
||||
compatible = "gpio-vibrator";
|
||||
enable-gpios = <&msmgpio 76 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
pinctrl-0 = <&vibrator_en_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
&blsp_i2c5 {
|
||||
status = "okay";
|
||||
|
||||
touchscreen@20 {
|
||||
compatible = "zinitix,bt532";
|
||||
reg = <0x20>;
|
||||
interrupt-parent = <&msmgpio>;
|
||||
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
touchscreen-size-x = <768>;
|
||||
touchscreen-size-y = <1024>;
|
||||
|
||||
vcca-supply = <®_vdd_tsp>;
|
||||
vdd-supply = <&pm8916_l6>;
|
||||
|
||||
pinctrl-0 = <&tsp_int_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
&msmgpio {
|
||||
reg_tsp_en_default: reg-tsp-en-default-state {
|
||||
pins = "gpio73";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
tsp_int_default: tsp-int-default-state {
|
||||
pins = "gpio13";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
vibrator_en_default: vibrator-en-default-state {
|
||||
pins = "gpio76";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user