Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2085571pxb; Thu, 28 Oct 2021 16:01:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHuielBY/A9V2Zo7gb++m+yP2nqow0BrwVwsdaICZf8lH1T/RkA8p+B9TYZt5VmUngJ4Jq X-Received: by 2002:a05:6a00:1c46:b0:47b:e953:cf03 with SMTP id s6-20020a056a001c4600b0047be953cf03mr7389458pfw.2.1635462116166; Thu, 28 Oct 2021 16:01:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635462116; cv=none; d=google.com; s=arc-20160816; b=nIqJm4mA/HunqZM6ZxxGFuY9Y2hiVDp9TV3+PjDX36YM4rCYFiI7qkJm2PSgK2YdqS qFjS8c1Hf2voOBiqiwuQ5qGjxxSgoUIYu3N5urzconjmzgNeyHE9Jk4TTm0O2Nux3qtO KypZdYMGDNTk4Teem2OfkHIySE5hx3uLCwje9gjaUSi2NP08Vf8tj9jlzBpG/1/SKY+5 YeQT4gR/LDANeWkp7XIJdjxE8gs7T74/WfbCPPvegXboBJmYDQePMyW9RfIthy3VZmzI 8IzHkNin0Fiyxyi0wY/glHehsG5H1oCGap4+1BRHNeX4uNLFSUtvAyQL5DTKzFO92Zub nNPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=65adDYZK+vJThwwhpee2/9MrxFuS8APYICngTX1DB0s=; b=liHUmZr/6473UM9rO3MdRoXyThtXh33WQDi+hNqXn+wnW/CIWu3LrFd+3l0fTBaD2o dMvWcNpnd+TXqK/p2MZFSRUbu9m07ghR6UtNJERZ8p+biy8WdC8M3NX+PC/8FkJOgStj AiIvHkilBMCfL+3XiZsF/X5Q5MA8gTF+SZ+SAg1ECDBMOKkf2exgEEHMFI8xMm5jm/ZM BtlXjR/+9249M0rhCGZgSXQ+5kAGr4/+MmcovQEcfCbxSgLRSbs4nM4sU4SV0vCI/uMN K6YorBBTvOii1oW7Y6D2/NwLSqQKR7ptIQrI6nFMiU/4L3fKTsHvrCY6bpEpvw6se0Og EsIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oae5dTKt; 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 ob17si6260688pjb.78.2021.10.28.16.01.41; Thu, 28 Oct 2021 16:01:56 -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=oae5dTKt; 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 S231508AbhJ1XDC (ORCPT + 99 others); Thu, 28 Oct 2021 19:03:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231493AbhJ1XDB (ORCPT ); Thu, 28 Oct 2021 19:03:01 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F8CAC061767 for ; Thu, 28 Oct 2021 16:00:34 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id o83so10590484oif.4 for ; Thu, 28 Oct 2021 16:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=65adDYZK+vJThwwhpee2/9MrxFuS8APYICngTX1DB0s=; b=oae5dTKtxGu2NToR+ozf+x63DzWhTgCYSjaT8t75vHruG8iqdS97M5yJsuwkrTQav2 gJG3hZJACb5/R2h4Uu5MqKHUdyI+77qO3b4Kbdl5bzZLo8VXve3XhwHNzOjCd2uz/rG4 52GFzHK+hDwYaQqLefCuonC/yNG8PuBJgCDQ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=65adDYZK+vJThwwhpee2/9MrxFuS8APYICngTX1DB0s=; b=Kbx9OnzemIn37WYddaFYp/gJ/z17TRp+tAadM+vMNqkQcqRedfRkelbi7ADP3uKRze m1awutP9aNtJW9gQMBqtwjgJGdjkPxu77eWXzjngpKyr+/x9QDvcWzyA2oohwZDoMPdj knVdTlMtrY448L2uzzcMxrkdCFBrjtFft3k3frOtzLOAEy3eC3/1h2rEqoY9Rd5vd1zj VFtJT8MP3LkV65lY7FjkeQMgln4bKYeGgjR3fKhkvnQymgKtBhtWOELcdq1+GPEApFko GvpOBZ/P4ZtNq5h2MhTOhCgRYrMy+9Fd3u4Rh47DLTvNRv/lMjsBgJkaG9E1bMKiRJpF FMvQ== X-Gm-Message-State: AOAM5329sUyxNInJRoqH6/IhhEKcjkx3bTjktNmDME7EUZUKN5bPMXsT gj/2ab9gxZobTHJUM781DQSsXD0l7gHFCcJWLcNHv6993IY= X-Received: by 2002:a05:6808:23c2:: with SMTP id bq2mr11188025oib.32.1635462033433; Thu, 28 Oct 2021 16:00:33 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 28 Oct 2021 16:00:32 -0700 MIME-Version: 1.0 In-Reply-To: <20211028151022.1.Ie56f55924f5c7706fe3194e710bbef6fdb8b5bc6@changeid> References: <20211028151022.1.Ie56f55924f5c7706fe3194e710bbef6fdb8b5bc6@changeid> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Thu, 28 Oct 2021 16:00:32 -0700 Message-ID: Subject: Re: [PATCH 1/2] arm64: dts: sc7180: Support Lazor/Limozeen rev9 To: LKML , Philip Chen Cc: dianders@chromium.org, Andy Gross , Bjorn Andersson , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Philip Chen (2021-10-28 15:11:31) > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi > index 8b79fbb75756..69666f92176a 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi > @@ -5,13 +5,10 @@ > * Copyright 2020 Google LLC. > */ > > -#include "sc7180.dtsi" > - > ap_ec_spi: &spi6 {}; > ap_h1_spi: &spi0 {}; Can we get rid of this node swap now? I think it is only around because early on we swapped the EC and H1 spi interfaces and then we had to swap it every time we made a new board. $ git grep ap_ec_spi arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi:ap_ec_spi: &spi6 {}; arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi:ap_ec_spi: &spi6 {}; arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi:ap_ec_spi: &spi6 {}; arch/arm64/boot/dts/qcom/sc7180-trogdor-r1.dts:ap_ec_spi: &spi6 {}; It feels like we'd be better off leaving that quirk in trogdor-r0, which conveniently isn't upstream, and then relabel the spi nodes in sc7180-trogdor.dtsi now. Otherwise I look at this and have to remember that whenever this dtsi file is included, we've already included the sc7180.dtsi file before it, so that the relabel actually works. > > #include "sc7180-trogdor.dtsi" > -#include "sc7180-trogdor-ti-sn65dsi86.dtsi" > > &ap_sar_sensor { > semtech,cs0-ground;