Commit 28ae8aa3 authored by Anton Bambura's avatar Anton Bambura Committed by Bjorn Andersson

arm64: dts: qcom: add device tree for LG G7 and LG V35

Adds initial support for the LG G7 (judyln) and
LG V35 (judyp) phones.

Currently supported features:

 - Display via simplefb (panel driver is WIP)
 - Keys
 - Micro SD card
 - Modem (not tested much, but initialises)
 - UFS (crashes during intensive workloads, may need quirks)
 - USB in peripheral mode

Notable missing features:

 - Enabling WiFi causes a remoteproc crash, so it's disabled here.
   Needs to be debugged - ideas welcome!
Signed-off-by: default avatarAnton Bambura <jenneron@protonmail.com>
Signed-off-by: default avatarStefan Hansson <newbie13xd@gmail.com>
Tested-by: default avatarGregari Ivanov <llamashere@posteo.de>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220626164536.16011-2-newbie13xd@gmail.com
parent 2b111e30
......@@ -120,6 +120,8 @@ dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r1.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r2.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r3.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-db845c.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-lg-judyln.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-lg-judyp.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-oneplus-enchilada.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-oneplus-fajita.dtb
......
This diff is collapsed.
// SPDX-License-Identifier: GPL-2.0
/*
* SDM845 LG G7 (judyln) device tree.
*
* Copyright (c) 2022, The Linux Foundation. All rights reserved.
*/
/dts-v1/;
#include "sdm845-lg-common.dtsi"
/ {
model = "LG G7 ThinQ";
compatible = "lg,judyln", "qcom,sdm845";
chosen {
framebuffer@9d400000 {
compatible = "simple-framebuffer";
reg = <0x0 0x9d400000 0x0 (1440 * 3120 * 4)>;
width = <1440>;
height = <3120>;
stride = <(1440 * 4)>;
format = "a8r8g8b8";
lab-supply = <&lab>;
ibb-supply = <&ibb>;
};
};
/* Additional ThinQ key */
gpio-keys {
pinctrl-0 = <&vol_up_pin_a &thinq_key_default>;
key-thinq {
label = "ThinQ";
linux,code = <KEY_ASSISTANT>;
interrupt-parent = <&tlmm>;
interrupts = <89 IRQ_TYPE_LEVEL_LOW>;
};
};
};
&adsp_pas {
firmware-name = "qcom/sdm845/judyln/adsp.mbn";
};
&cdsp_pas {
firmware-name = "qcom/sdm845/judyln/cdsp.mbn";
};
&gpu {
zap-shader {
firmware-name = "qcom/sdm845/judyln/a630_zap.mbn";
};
};
&mss_pil {
firmware-name = "qcom/sdm845/judyln/mba.mbn", "qcom/sdm845/judyln/modem.mbn";
};
&tlmm {
thinq_key_default: thinq-key-default {
pins = "gpio89";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
};
};
// SPDX-License-Identifier: GPL-2.0
/*
* SDM845 LG V35 (judyp) device tree.
*
* Copyright (c) 2022, The Linux Foundation. All rights reserved.
*/
/dts-v1/;
#include "sdm845-lg-common.dtsi"
/ {
model = "LG V35 ThinQ";
compatible = "lg,judyp", "qcom,sdm845";
chosen {
framebuffer@9d400000 {
compatible = "simple-framebuffer";
reg = <0x0 0x9d400000 0x0 (1440 * 2880 * 4)>;
width = <1440>;
height = <2880>;
stride = <(1440 * 4)>;
format = "a8r8g8b8";
};
};
};
&adsp_pas {
firmware-name = "qcom/sdm845/judyp/adsp.mbn";
};
&cdsp_pas {
firmware-name = "qcom/sdm845/judyp/cdsp.mbn";
};
&gpu {
zap-shader {
firmware-name = "qcom/sdm845/judyp/a630_zap.mbn";
};
};
&mss_pil {
firmware-name = "qcom/sdm845/judyp/mba.mbn", "qcom/sdm845/judyp/modem.mbn";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment