From 5a72bd3baa26ccedfd2562c1ba1e396155388d9a Mon Sep 17 00:00:00 2001 From: AKAsaliza <33549290+AKAsaliza@users.noreply.github.com> Date: Fri, 20 Sep 2024 12:29:19 +0900 Subject: [PATCH] dts: msm8996: Add support for LG V20 --- Documentation/devices.md | 1 + lk2nd/device/dts/msm8996/msm8996-lg-h990.dts | 15 +++++++++++++++ lk2nd/device/dts/msm8996/rules.mk | 1 + 3 files changed, 17 insertions(+) create mode 100644 lk2nd/device/dts/msm8996/msm8996-lg-h990.dts diff --git a/Documentation/devices.md b/Documentation/devices.md index cee87336c..5fbae38f7 100644 --- a/Documentation/devices.md +++ b/Documentation/devices.md @@ -149,6 +149,7 @@ ### lk2nd-msm8996 +- LG V20 - h990 - OnePlus 3T ### lk2nd-msm8960 diff --git a/lk2nd/device/dts/msm8996/msm8996-lg-h990.dts b/lk2nd/device/dts/msm8996/msm8996-lg-h990.dts new file mode 100644 index 000000000..8af70b675 --- /dev/null +++ b/lk2nd/device/dts/msm8996/msm8996-lg-h990.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: BSD-3-Clause + +#include +#include + +/ { + qcom,msm-id = ; + qcom,board-id = <0xc08 0x00>; + qcom,pmic-id = <0x20009 0x10013 0x00 0x00>; +}; + +&lk2nd { + model = "LG V20 (International)"; + compatible = "lg,h990"; +}; diff --git a/lk2nd/device/dts/msm8996/rules.mk b/lk2nd/device/dts/msm8996/rules.mk index 474361a26..acdfd2a43 100644 --- a/lk2nd/device/dts/msm8996/rules.mk +++ b/lk2nd/device/dts/msm8996/rules.mk @@ -3,3 +3,4 @@ LOCAL_DIR := $(GET_LOCAL_DIR) ADTBS += \ $(LOCAL_DIR)/msm8996pro-oneplus3t.dtb \ + $(LOCAL_DIR)/msm8996-lg-h990.dtb \