mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Core Prime uses an Imagis IST3038 touchscreen that is connected to blsp_i2c5. Add it to the device tree. Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20240723131441.1764-1-raymondhackley@protonmail.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
43 lines
862 B
Plaintext
43 lines
862 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
/dts-v1/;
|
|
|
|
#include "msm8916-samsung-rossa-common.dtsi"
|
|
|
|
/ {
|
|
model = "Samsung Galaxy Core Prime LTE";
|
|
compatible = "samsung,rossa", "qcom,msm8916";
|
|
chassis-type = "handset";
|
|
};
|
|
|
|
&battery {
|
|
charge-term-current-microamp = <150000>;
|
|
constant-charge-current-max-microamp = <700000>;
|
|
constant-charge-voltage-max-microvolt = <4400000>;
|
|
};
|
|
|
|
&blsp_i2c5 {
|
|
touchscreen@50 {
|
|
compatible = "imagis,ist3038";
|
|
reg = <0x50>;
|
|
|
|
interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
touchscreen-size-x = <480>;
|
|
touchscreen-size-y = <800>;
|
|
|
|
vdd-supply = <®_vdd_tsp_a>;
|
|
vddio-supply = <&pm8916_l6>;
|
|
|
|
pinctrl-0 = <&tsp_int_default>;
|
|
pinctrl-names = "default";
|
|
|
|
linux,keycodes = <KEY_APPSELECT KEY_BACK>;
|
|
};
|
|
};
|
|
|
|
&mpss_mem {
|
|
/* Firmware for rossa needs more space */
|
|
reg = <0x0 0x86800000 0x0 0x5800000>;
|
|
};
|