From b4064d6dea7acdd922bd7405be05ef3340f93e26 Mon Sep 17 00:00:00 2001 From: houdz1 Date: Thu, 16 Dec 2021 15:55:37 +0800 Subject: [PATCH] dts/base: milanf: disable ssc on dsi0 Some projects need to disable "pll ssc", while others do not. For milanf, we must disable "pll ssc", so we create a new dts/base file for milanf, to distinguish it from other projects. Change-Id: I6259575faefd9fa10c172bfd1ce1a11e6eb50c9a Signed-off-by: houdz1 Reviewed-on: https://gerrit.mot.com/2146504 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiaojun Ji Reviewed-by: Hujun Liao Submit-Approved: Jira Key --- qcom/Makefile | 8 +++--- qcom/blair-moto-milanf-base.dts | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 qcom/blair-moto-milanf-base.dts diff --git a/qcom/Makefile b/qcom/Makefile index e45510531a4e..28b78b34b39a 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -93,10 +93,10 @@ dtbo-$(CONFIG_MILANF_DTB) += \ blair-milanf-dvt1-overlay.dtbo \ blair-milanf-dvt2-overlay.dtbo -blair-milanf-evb1-overlay.dtbo-base := blair-moto-base.dtb -blair-milanf-evb2-overlay.dtbo-base := blair-moto-base.dtb -blair-milanf-dvt1-overlay.dtbo-base := blair-moto-base.dtb -blair-milanf-dvt2-overlay.dtbo-base := blair-moto-base.dtb +blair-milanf-evb1-overlay.dtbo-base := blair-moto-milanf-base.dtb +blair-milanf-evb2-overlay.dtbo-base := blair-moto-milanf-base.dtb +blair-milanf-dvt1-overlay.dtbo-base := blair-moto-milanf-base.dtb +blair-milanf-dvt2-overlay.dtbo-base := blair-moto-milanf-base.dtb dtbo-$(CONFIG_RHODEP_DTB) += \ blair-rhodep-evb-overlay.dtbo \ diff --git a/qcom/blair-moto-milanf-base.dts b/qcom/blair-moto-milanf-base.dts new file mode 100644 index 000000000000..e9b5f91a2ff2 --- /dev/null +++ b/qcom/blair-moto-milanf-base.dts @@ -0,0 +1,45 @@ +/* Copyright (c) 2020, 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/; + +#include "blair.dtsi" + +/ { + qcom,board-id = <0 0>; + channel-id-map = ""; +/* + * Some nodes need labels assigned to appear in __symbols__ + */ + chosen: chosen { }; + aliases: aliases { }; + reserved_memory: reserved-memory { }; + mot_batterydata: qcom,battery-data { }; + utags: utags { }; + hw: hw { }; +}; + +&reserved_memory { + /delete-node/ ramoops; +}; + +&tlmm { + /delete-node/ nfc; +}; + +&firmware { + /delete-node/ android; +}; + +&mdss_dsi_phy0 { + /delete-property/ qcom,dsi-pll-ssc-en; +};