From 8ddeba9f4756a1c7061fea45c3bd0d16d2f831b4 Mon Sep 17 00:00:00 2001 From: Yiwen Liu Date: Mon, 31 May 2021 14:21:46 +0800 Subject: [PATCH] arm64/dt: corfup: add evt2 dts file Changes require new dts on EVT2: - sensors Change-Id: I1b1bdc53b0d927aadc8759f8e6067bb088482bc6 Signed-off-by: Yiwen Liu Reviewed-on: https://gerrit.mot.com/1965160 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Lijun Chen Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/Makefile | 4 +++- qcom/holi-corfup-evt2-overlay.dts | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 qcom/holi-corfup-evt2-overlay.dts diff --git a/qcom/Makefile b/qcom/Makefile index 7894b76166b5..1370f03aa1f4 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -35,10 +35,12 @@ holi-ibiza-pvt-overlay.dtbo-base := holi-moto-base.dtb dtbo-$(CONFIG_CORFUP_DTB) += \ holi-corfup-evb-overlay.dtbo \ - holi-corfup-evt1-overlay.dtbo + holi-corfup-evt1-overlay.dtbo \ + holi-corfup-evt2-overlay.dtbo holi-corfup-evb-overlay.dtbo-base := holi-moto-base.dtb holi-corfup-evt1-overlay.dtbo-base := holi-moto-base.dtb +holi-corfup-evt2-overlay.dtbo-base := holi-moto-base.dtb dtbo-$(CONFIG_CYPFG_DTB) += \ holi-cypfg-evb-overlay.dtbo diff --git a/qcom/holi-corfup-evt2-overlay.dts b/qcom/holi-corfup-evt2-overlay.dts new file mode 100644 index 000000000000..00455b48d584 --- /dev/null +++ b/qcom/holi-corfup-evt2-overlay.dts @@ -0,0 +1,24 @@ +/* Copyright (c) 2021, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +/dts-v1/; +/plugin/; + +#include "holi-corfup-common-overlay.dtsi" + +/ { + model = "corfup"; + compatible = "qcom,holi-corfup", "qcom,holi-moto", "qcom,holi"; + qcom,msm-id = <454 0x10000>, <472 0x10000>; + qcom,board-id = <0x45 0xA200>; +}; +