Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2164248pxb; Thu, 28 Oct 2021 17:51:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsv8vvPCuare+nbQnUU4a4mQtOOX5mDiAMbqmYYtSO8fBV4Gr9kP/BHKlF9QgJb5Ntx84A X-Received: by 2002:a17:907:3da3:: with SMTP id he35mr2298047ejc.245.1635468683861; Thu, 28 Oct 2021 17:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635468683; cv=none; d=google.com; s=arc-20160816; b=Gmx15qwI8izjEmxAIkH73+an6zExCNvaNfRFJgHGfx8w1eSEu52WRdnZJogTK3ELqy YLBi8vV3Fv4/6/vPMAmcexgU1p3ZVfAriXqm3o/ZQ+N2AbyuO5Dl6ug2HhNPytDs+Cl5 o/jPgU+kkhmuyTnbka2xQTD4Yn74478qRbyScEUJaicZBiEXj+j5V1UZVo1xHHexgufc jQ6sCStjH0BDP8R/xuZ/xd50Asm1oN9uGXaNiIeMja/Ev9Y27SZso9E68v529jcj3ieB kV2VEwOwgDTyMaAUlr4bfabDuoamB/x//F359EEBETuxZ1cU31xzlxg4WK/TX/ekgbuG mnnA== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=RR10NcdVnk1TXpaY9k+McyemxyXRCAjJsI5p8UJyeEE=; b=YXYLFqdm3EU+W38rC2TiKk9oOxNtdWf0mfu9cPWarQ9NCXwRq1+CMf3TWtTtEcsCji T1a3Edf9xWcx85s2DfIP19JV3Vs/t/dqQb4CFR7WBmJDgx3dgj9ha8QiJXllGAkaaFNP lJCkRuLgFJ+PeYoYzJgMgk/eE2P3r1en+rBmFue7Ldmau1UnNXUhTUEdMqpvGvo6sgOK pduMVF3Xg//9PS0DcBRCtuKPOpSUfvaeeqCFaSI6sz0gs3fsztAc1i4smWFyu5XGBuk5 H3iv+L3gA7UEfGWr/L7v6tfq6hNT38Wevl8brZok3WIOS9ODkSFbuliPohypsYfUPt2O 8umw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=je1Q1O+E; 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 mp15si9221570ejc.733.2021.10.28.17.51.00; Thu, 28 Oct 2021 17:51:23 -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=je1Q1O+E; 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 S231476AbhJ2AvV (ORCPT + 99 others); Thu, 28 Oct 2021 20:51:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231463AbhJ2AvT (ORCPT ); Thu, 28 Oct 2021 20:51:19 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E05CC061745 for ; Thu, 28 Oct 2021 17:48:50 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id 67so19882173yba.6 for ; Thu, 28 Oct 2021 17:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RR10NcdVnk1TXpaY9k+McyemxyXRCAjJsI5p8UJyeEE=; b=je1Q1O+E+IAMH50n6kSYsYBq9DP2BbOqvwHFjhTQwTnTpPDQW/KLax+sy3hh1Ti83A KBvlt0NDKjloxRzR46VYgbrCrj92wJfs3v7xQ4kAwamgXAy8ntZsv90ahoYFtM6FZZdm SjY0gcrVltLksvtwLXhUsPPxvyrEHQalRHfY4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RR10NcdVnk1TXpaY9k+McyemxyXRCAjJsI5p8UJyeEE=; b=ZpNSt6D1Yi1kMSI7DMaPvXcJ1GwVDxQ5DhDlKJUv7vjK3ymmgIoQBSSoTalhn8UWvj r7EyKmEmCx+blu38q8eDkXJ+5gBP4YRgSsGKr+2a9Fw7lh1Nhn35RC+hj7B4KElGk5Ov DHn+6rJK4bZmlmPkdqOeUcSy7MGz8f0vO2tu1Zc7gWjlAFlbkaa6ke/aUmdw9escmn6e N8CPdCpG9WLnrQIX+pS3Bo8KqwdVoOSb7NS/6B0AC/1SZUbgA6/W+i/9z54M+yUTmPZG luxJ7sTx0Hf4tulPwn3W+569AwJYUstxEA6PShp0MQgLzqQaYZhtNKhomhE0crpCyPpR tAiQ== X-Gm-Message-State: AOAM5314DA5Unt92Js6ZAhbQpc8YGGmy4qyDzbLNJyDt/0izMXDzZjQ0 6hKhLFv4C8r0YoOFG+qWs+AvkTSoETrPc9ZIHgK2NA== X-Received: by 2002:a25:bfce:: with SMTP id q14mr4166387ybm.508.1635468529683; Thu, 28 Oct 2021 17:48:49 -0700 (PDT) MIME-Version: 1.0 References: <20211028151022.1.Ie56f55924f5c7706fe3194e710bbef6fdb8b5bc6@changeid> In-Reply-To: From: Philip Chen Date: Thu, 28 Oct 2021 17:48:39 -0700 Message-ID: Subject: Re: [PATCH 1/2] arm64: dts: sc7180: Support Lazor/Limozeen rev9 To: Stephen Boyd Cc: LKML , 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 Hi Stephen, On Thu, Oct 28, 2021 at 4:00 PM Stephen Boyd wrote: > > 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. I agree it'll be great if we can get rid of the node swap. It's out of the scope of this patch series though. We should probably send a separate patch for this change later? > > > > > #include "sc7180-trogdor.dtsi" > > -#include "sc7180-trogdor-ti-sn65dsi86.dtsi" > > > > &ap_sar_sensor { > > semtech,cs0-ground;