From 7ee9fb7697e923b7f10eb84d221df04d7b70f041 Mon Sep 17 00:00:00 2001 From: DeltaSporos <60284244+DeltaSporos@users.noreply.github.com> Date: Sat, 8 Feb 2025 15:57:44 -0500 Subject: [PATCH] Add support for LG G5 (H850) --- Documentation/devices.md | 1 + lk2nd/device/dts/msm8996/msm8996-lg-h850.dts | 15 +++++++++++++++ lk2nd/device/dts/msm8996/rules.mk | 1 + 3 files changed, 17 insertions(+) create mode 100644 lk2nd/device/dts/msm8996/msm8996-lg-h850.dts diff --git a/Documentation/devices.md b/Documentation/devices.md index da926bd9c..91876e553 100644 --- a/Documentation/devices.md +++ b/Documentation/devices.md @@ -167,6 +167,7 @@ ### lk2nd-msm8996 +- LG G5 - h850 - LG V20 - h990 - OnePlus 3T - Xiaomi Mi5 - Gemini diff --git a/lk2nd/device/dts/msm8996/msm8996-lg-h850.dts b/lk2nd/device/dts/msm8996/msm8996-lg-h850.dts new file mode 100644 index 000000000..327db5379 --- /dev/null +++ b/lk2nd/device/dts/msm8996/msm8996-lg-h850.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 G5 (H850)"; + compatible = "lg,h850"; +}; diff --git a/lk2nd/device/dts/msm8996/rules.mk b/lk2nd/device/dts/msm8996/rules.mk index e6d5865c0..6064f4d6f 100644 --- a/lk2nd/device/dts/msm8996/rules.mk +++ b/lk2nd/device/dts/msm8996/rules.mk @@ -3,5 +3,6 @@ LOCAL_DIR := $(GET_LOCAL_DIR) ADTBS += \ $(LOCAL_DIR)/msm8996pro-oneplus3t.dtb \ + $(LOCAL_DIR)/msm8996-lg-h850.dtb \ $(LOCAL_DIR)/msm8996-lg-h990.dtb \ $(LOCAL_DIR)/msm8996-xiaomi-mi5.dtb \