From fdc653163c91da353d37ae7ff6266ac49e25a00d Mon Sep 17 00:00:00 2001 From: wangxf14 Date: Wed, 8 Dec 2021 15:28:29 +0800 Subject: [PATCH] devicetree: qcom: update DT for the change of hwid in rhodep update DT for rhodep according to https://sites.google.com/motorola.com/runtime-product-ids-2018/sm4350 Change-Id: Ia0a5f223c75cc2e047c3829192b7d9dfc5064f9a Signed-off-by: wangxf14 Reviewed-on: https://gerrit.mot.com/2138510 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wei Wei Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/Makefile | 10 ++++++-- qcom/blair-rhodep-dvt1-overlay.dts | 24 +++++++++++++++++++ qcom/blair-rhodep-dvt2-overlay.dts | 24 +++++++++++++++++++ qcom/blair-rhodep-evb-overlay.dts | 2 +- qcom/blair-rhodep-evt1-overlay.dts | 24 +++++++++++++++++++ ...rlay.dts => blair-rhodep-evt2-overlay.dts} | 0 6 files changed, 81 insertions(+), 3 deletions(-) create mode 100644 qcom/blair-rhodep-dvt1-overlay.dts create mode 100644 qcom/blair-rhodep-dvt2-overlay.dts create mode 100644 qcom/blair-rhodep-evt1-overlay.dts rename qcom/{blair-rhodep-evt-overlay.dts => blair-rhodep-evt2-overlay.dts} (100%) diff --git a/qcom/Makefile b/qcom/Makefile index 4b4460aa0824..e45510531a4e 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -100,10 +100,16 @@ blair-milanf-dvt2-overlay.dtbo-base := blair-moto-base.dtb dtbo-$(CONFIG_RHODEP_DTB) += \ blair-rhodep-evb-overlay.dtbo \ - blair-rhodep-evt-overlay.dtbo \ + blair-rhodep-evt1-overlay.dtbo \ + blair-rhodep-evt2-overlay.dtbo \ + blair-rhodep-dvt1-overlay.dtbo \ + blair-rhodep-dvt2-overlay.dtbo blair-rhodep-evb-overlay.dtbo-base := blair-moto-base.dtb -blair-rhodep-evt-overlay.dtbo-base := blair-moto-base.dtb +blair-rhodep-evt1-overlay.dtbo-base := blair-moto-base.dtb +blair-rhodep-evt2-overlay.dtbo-base := blair-moto-base.dtb +blair-rhodep-dvt1-overlay.dtbo-base := blair-moto-base.dtb +blair-rhodep-dvt2-overlay.dtbo-base := blair-moto-base.dtb else diff --git a/qcom/blair-rhodep-dvt1-overlay.dts b/qcom/blair-rhodep-dvt1-overlay.dts new file mode 100644 index 000000000000..08323e0cffa1 --- /dev/null +++ b/qcom/blair-rhodep-dvt1-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 "blair-rhodep-common-overlay.dtsi" + +/ { + model = "rhodep"; + compatible = "qcom,blair-rhodep", "qcom,blair-moto", "qcom,blair"; + qcom,msm-id = <507 0x10000>; + qcom,board-id = <0x4D 0xB100>; +}; + diff --git a/qcom/blair-rhodep-dvt2-overlay.dts b/qcom/blair-rhodep-dvt2-overlay.dts new file mode 100644 index 000000000000..ec9e49366f44 --- /dev/null +++ b/qcom/blair-rhodep-dvt2-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 "blair-rhodep-common-overlay.dtsi" + +/ { + model = "rhodep"; + compatible = "qcom,blair-rhodep", "qcom,blair-moto", "qcom,blair"; + qcom,msm-id = <507 0x10000>; + qcom,board-id = <0x4D 0xB200>; +}; + diff --git a/qcom/blair-rhodep-evb-overlay.dts b/qcom/blair-rhodep-evb-overlay.dts index 17c4ec8f41fc..72d89ed4ae49 100644 --- a/qcom/blair-rhodep-evb-overlay.dts +++ b/qcom/blair-rhodep-evb-overlay.dts @@ -19,6 +19,6 @@ model = "rhodep"; compatible = "qcom,blair-rhodep", "qcom,blair-moto", "qcom,blair"; qcom,msm-id = <507 0x10000>; - qcom,board-id = <0x4D 0xA100>; + qcom,board-id = <0x4D 0x9000>; }; diff --git a/qcom/blair-rhodep-evt1-overlay.dts b/qcom/blair-rhodep-evt1-overlay.dts new file mode 100644 index 000000000000..17c4ec8f41fc --- /dev/null +++ b/qcom/blair-rhodep-evt1-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 "blair-rhodep-common-overlay.dtsi" + +/ { + model = "rhodep"; + compatible = "qcom,blair-rhodep", "qcom,blair-moto", "qcom,blair"; + qcom,msm-id = <507 0x10000>; + qcom,board-id = <0x4D 0xA100>; +}; + diff --git a/qcom/blair-rhodep-evt-overlay.dts b/qcom/blair-rhodep-evt2-overlay.dts similarity index 100% rename from qcom/blair-rhodep-evt-overlay.dts rename to qcom/blair-rhodep-evt2-overlay.dts