Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2159032pxb; Thu, 28 Oct 2021 17:43:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaCQn3NJivFZ9gtSVrokvJI5Ec5iad+S/7ZbMUHwAbv2cDB1p+LQ1tSFhcH5V0CRg17TL5 X-Received: by 2002:a17:90a:df15:: with SMTP id gp21mr8208129pjb.73.1635468230101; Thu, 28 Oct 2021 17:43:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635468230; cv=none; d=google.com; s=arc-20160816; b=jvEwFPFLBYwGMhFpNv8pYt/JVtImXej7bXX4NC2Z7Q6dgTbeH7M7KrQ2wiNmwdYWe8 h5m8TZNqqwV4Sh65tPHJ3MNbpSSyaxZJk2p1xxmyRjrBf/7x3iQV5IqGCDmvvTR3dYXL Zdv4EF8qEKEXuwvR0JaY992eUuCNDOGxOt2jruyWfk8I70EobNh+gM4ye9Wz1CtOHqUE AXFG+rbbu/a2MY+2DQ9zg3E6I0wgRr9E88VnbpECFQ0vq7K+mRspx2tVcDeSBRs4V64v Ef472LoKWTs+Iw97R8G2znTZAyhrzrktIntch49GpRbTey00P0LUdoptpSzDPwb2lVtB IDKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=I9emccBjxIUKCazA5NlmCKoYwEhSE/Ii2FhA4UznN5A=; b=qD+K+iQgoqlQLpOKD7XT8Esvr/folSleK+WKm6ZQevW1G9slN90F0EDJTYzmm1qZLl IFbLYWsyLtTME55G8e8Myu6HEGkqdT3jsvlfVusXSHYoeGrv0/8+1SZWv4ZqRbsS3heg YOAzbnkNSdKy3W2ZFtn3FmZgWfWcJku6PXLzzogjb8iRQEETHdo7ArBuT1xnTft2JFXF tSjhndNCR1tu8hO0ZRUM74MKwDTdRPWC5ikfapLGpJ3o9PM8TvPtFzcjqN9HbxEMuDeV LEf9aiciTdzvPa/uzZPdq/sqhXSYYfyJ67k+i5z7dPhHJA1qYg797mdt/ATUDSmo6z49 lSAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hptQ6NfM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e3si6029303pgv.129.2021.10.28.17.43.26; Thu, 28 Oct 2021 17:43:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hptQ6NfM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231476AbhJ2AoY (ORCPT + 99 others); Thu, 28 Oct 2021 20:44:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231400AbhJ2AoR (ORCPT ); Thu, 28 Oct 2021 20:44:17 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74F8EC061348 for ; Thu, 28 Oct 2021 17:41:47 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id f5so8133195pgc.12 for ; Thu, 28 Oct 2021 17:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I9emccBjxIUKCazA5NlmCKoYwEhSE/Ii2FhA4UznN5A=; b=hptQ6NfM9kgGdpm18xSquI4pxrrC/WROjj1EsjD5DGn3bcVZA1hEN5MEBjxgpP09ac b/jUrV4wpWEoZYy2wGFW7BHk8cJyXp6DYC0c5Aq03lafir7TgGYbMJylJJJhmgfgDK2E oExV3wQZmW7hj0gNAXkekbgwgwLf4XiQuK9MY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I9emccBjxIUKCazA5NlmCKoYwEhSE/Ii2FhA4UznN5A=; b=PmLdRDVJ+EdUvyOVKm4rb1MwH71DxTKOVBbZU6n8LbMqSiQRk99bDa6s7G0Bu/Af8g 3bFV/lS+2cGnEOU4tTg4SpYPThhxsy0KEk1AbnEISiHAsxqBrWaQzS+kg6XNFFpfYWq4 FbvRT3PY36BdBW9EMrE3UVg92WVWAV10V8ngerxRgY47tnbnHGzamSCPD/IQrRVcGdFf D8F/+FNulmP6d+w4la9qxfvge9jjFSGjG6vi9a906dgIz+RXJkM39Jh35+olu+7zddb7 E4FDw4icqsu2ie8/esuaI2hKC29v2W8QT1yu73PAZAFCRCxG37bCwnTLkzURRhfztjYF 61bA== X-Gm-Message-State: AOAM5321mTsM8fqiuHb+018MjFUphoOTWXOYLluCLqLRrMB3UybR/q6C VGU2KIInzgYxw5uRgvptCECZ6hHCpdpSRQ== X-Received: by 2002:a63:1cd:: with SMTP id 196mr5668549pgb.39.1635468106740; Thu, 28 Oct 2021 17:41:46 -0700 (PDT) Received: from philipchen.mtv.corp.google.com ([2620:15c:202:201:e956:ddc4:6e27:e270]) by smtp.gmail.com with ESMTPSA id s2sm4373846pfe.215.2021.10.28.17.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 17:41:46 -0700 (PDT) From: Philip Chen To: LKML Cc: dianders@chromium.org, swboyd@chromium.org, Philip Chen , Andy Gross , Bjorn Andersson , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 3/3] arm64: dts: sc7180: Support Homestar rev4 Date: Thu, 28 Oct 2021 17:41:17 -0700 Message-Id: <20211028174015.v2.3.If7aaa8e36f1269acae5488035bd62ce543756bf8@changeid> X-Mailer: git-send-email 2.33.1.1089.g2158813163f-goog In-Reply-To: <20211028174015.v2.1.Ie17e51ad3eb91d72826ce651ca2786534a360210@changeid> References: <20211028174015.v2.1.Ie17e51ad3eb91d72826ce651ca2786534a360210@changeid> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Support Homestar rev4 board where Parade ps8640 is added as the second source edp bridge. Support different edp bridge chips in different board revisions, now we move the #incldue line of the edp bridge dts fragment (e.g. sc7180-trogdor-ti-sn65dsi86.dtsi) from "sc7180-trogdor-homestar.dtsi" to per-board-rev dts files. Since the edp bridge dts fragment overrides 'dsi0_out', which is defined in "sc7180.dtsi", move the #incldue line of "sc7180.dtsi" from "sc7180-trogdor-homestar.dtsi" to per-board-rev dts files too, before the #include line of the edp bridge dts fragment. Signed-off-by: Philip Chen Reviewed-by: Douglas Anderson --- Changes in v2: - Explain why "sc7180.dtsi" is moved out of "sc7180-trogdor-homestar.dtsi" in the commit message. arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/sc7180-trogdor-homestar-r2.dts | 2 ++ .../dts/qcom/sc7180-trogdor-homestar-r3.dts | 6 ++++-- .../dts/qcom/sc7180-trogdor-homestar-r4.dts | 17 +++++++++++++++++ .../boot/dts/qcom/sc7180-trogdor-homestar.dtsi | 3 --- 5 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index f637c4d3729f..ba99aba1d51a 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -57,6 +57,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r3.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r3-lte.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-homestar-r2.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-homestar-r3.dtb +dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-homestar-r4.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r0.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r1.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r1-kb.dtb diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts index db6c2da67cea..70032983fb65 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts @@ -7,6 +7,8 @@ /dts-v1/; +#include "sc7180.dtsi" +#include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-homestar.dtsi" / { diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts index 3fd8aa5bb7a6..e92e2e9e48ed 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts @@ -7,9 +7,11 @@ /dts-v1/; +#include "sc7180.dtsi" +#include "sc7180-trogdor-ti-sn65dsi86.dtsi" #include "sc7180-trogdor-homestar.dtsi" / { - model = "Google Homestar (rev3+)"; - compatible = "google,homestar", "qcom,sc7180"; + model = "Google Homestar (rev3)"; + compatible = "google,homestar-rev3", "qcom,sc7180"; }; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts new file mode 100644 index 000000000000..fb27106bbb4a --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Homestar board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-homestar.dtsi" + +/ { + model = "Google Homestar (rev4+)"; + compatible = "google,homestar", "qcom,sc7180"; +}; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi index 4ab890b2a1d4..f32369af1351 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi @@ -5,13 +5,10 @@ * Copyright 2021 Google LLC. */ -#include "sc7180.dtsi" - ap_ec_spi: &spi6 {}; ap_h1_spi: &spi0 {}; #include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-ti-sn65dsi86.dtsi" / { /* BOARD-SPECIFIC TOP LEVEL NODES */ -- 2.33.1.1089.g2158813163f-goog