Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3692210pxv; Mon, 26 Jul 2021 09:30:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/I6fKpEGTgOs+9xg7dOWGOnvov03WFv1ppoVIbp7TnCRE4AtodmVToPqUHAAzqucUa/Kq X-Received: by 2002:a17:906:dfdb:: with SMTP id jt27mr18320256ejc.138.1627317040198; Mon, 26 Jul 2021 09:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627317040; cv=none; d=google.com; s=arc-20160816; b=sEjyvW0f7F2StU/nw4vijwVViH0yPZdrnH/S59+/3dpAMvkmu1RDBXEjAyylROzypx nOb7EoswD+pmHVSVFi0xpDf1sQyByh6z9PPPJWqxbsQ1xaTatmSKuqHPJwzt+x9bU59O +HvoWL2Zlz5ZxR+WN59AIqzffr5lcIUUtAm1hp7feNc+RVLIB87uuFaMxyR0Q2NgYMsp ydecJbIKeJ5GDEdSMEr/PKUbuAg+d0FFRppPtDilIeDRm8HUWnFJQ3zM1agep23zz0OP P3s24KAJM9NO1+nNkGP23z1XBfq/0ZHg/TiJ9+Ef4bJnbYLe4/+UTKCHw+Xn7RSsXrH9 x7bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BHTk+Z+0QSOpCt1sappkmwhVqvSoFxs0RZxbYZqcDGg=; b=cY8bRsZFqg7Sbn0sVACKgWBjKjPdmROvL3afs9OFSpMkwF4+ykKWyrrQWTGBcTMPYS GlYf1L61RZQ2t1kBCJRazyV/psenqbiGrG+tMGq0zH8/a9MgubECr0G0If6HVcwz9zZs gW+nW7zx5OztXMC/K/Bcz9FK2hKf2wh7ebTRcXp6o70uvbheLwcxZ/GVbyG0i/uVGvB4 c7RhBZnGGNHhnXnmjoNQ/40VrWhxpWXsrQI2uDu38s/I0wEfuV+JeiZfONaF/czCs2jy dSGr32PziIOQPlbIll74nlHD3VcNKLT7mAmnLLoLEAp/0gEE6jneILz01AhsigzJoGWv IIPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iG9Cnaei; 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 z18si377649edc.216.2021.07.26.09.30.10; Mon, 26 Jul 2021 09:30:40 -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=iG9Cnaei; 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 S239362AbhGZPp3 (ORCPT + 99 others); Mon, 26 Jul 2021 11:45:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbhGZP25 (ORCPT ); Mon, 26 Jul 2021 11:28:57 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CBB4C0613D5 for ; Mon, 26 Jul 2021 09:08:00 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id t21so12047143plr.13 for ; Mon, 26 Jul 2021 09:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=BHTk+Z+0QSOpCt1sappkmwhVqvSoFxs0RZxbYZqcDGg=; b=iG9Cnaei0YWF3dL5PXk9Go6U1qBL6VEUhK+y+da767lITj04u3O07EZ7CSEdmLxT6+ z+WKSbAjjUAmr0Jf9C7enUdsjh6fO17iGTDgOt2KKuap7hWNAcEsM+RKTFdAskec1kLM hJNEtLjaGHW641moe7Qa5waVLuX+WKfSUuBzA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BHTk+Z+0QSOpCt1sappkmwhVqvSoFxs0RZxbYZqcDGg=; b=KdZ3+YClKxV2zOSotlaOSBZlm5Wmn8/cpSRc0S60OvQiNGGwFPQgffFGtRyDRcWv2a 6iYD9540YciWZCrAtSk/AjQ80ZEq1J1aLEgZNKPZAZEtNtBHFl+djafqwMkvNrRvONWK rT4Ijbop7KaLfNZ19jV7lNY82rJGB2W4CDGlbxlkh0obj7LoEET+APZQfVCEOyQcwi69 2YPSTyZYtS+I9SwUk5TeT+oXdDmcGao+2kePuwSSOk2A50+POJ6R8E+Dzw2WIzLib4Fw NCNBddKqQSgdyCVQElMjcVe2+kSgEPuQIIQ0osdDsvobKXqlaDB4m1kjFGqPImwADyzp h1YA== X-Gm-Message-State: AOAM531Pb2/3+T0Daf0J0SM6qj/G1D9g8w0XVzNkVu58i5rbKosM2mYZ BvS33pBQkUCzhJ7JF+ltVDYovg== X-Received: by 2002:a63:1656:: with SMTP id 22mr19008943pgw.163.1627315679965; Mon, 26 Jul 2021 09:07:59 -0700 (PDT) Received: from localhost ([2620:15c:202:201:f794:2436:8d25:f451]) by smtp.gmail.com with UTF8SMTPSA id m1sm484988pfc.36.2021.07.26.09.07.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jul 2021 09:07:59 -0700 (PDT) Date: Mon, 26 Jul 2021 09:07:58 -0700 From: Matthias Kaehlcke To: Rajesh Patil Cc: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, rnayak@codeaurora.org, saiprakash.ranjan@codeaurora.org, msavaliy@qti.qualcomm.com, skakit@codeaurora.org, Roja Rani Yarubandi Subject: Re: [PATCH V4 1/4] arm64: dts: sc7280: Add QSPI node Message-ID: References: <1627306847-25308-1-git-send-email-rajpat@codeaurora.org> <1627306847-25308-2-git-send-email-rajpat@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1627306847-25308-2-git-send-email-rajpat@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 26, 2021 at 07:10:44PM +0530, Rajesh Patil wrote: > From: Roja Rani Yarubandi > > Add QSPI DT node for SC7280 SoC. > > Signed-off-by: Roja Rani Yarubandi > Signed-off-by: Rajesh Patil > --- > Changes in V4: > - As per Stephen's comment updated spi-max-frequency to 37.5MHz, moved > qspi_opp_table from /soc to / (root). > > Changes in V3: > - Broken the huge V2 patch into 3 smaller patches. > 1. QSPI DT nodes > 2. QUP wrapper_0 DT nodes > 3. QUP wrapper_1 DT nodes > > Changes in V2: > - As per Doug's comments removed pinmux/pinconf subnodes. > - As per Doug's comments split of SPI, UART nodes has been done. > - Moved QSPI node before aps_smmu as per the order. > > arch/arm64/boot/dts/qcom/sc7280-idp.dts | 27 ++++++++++++++ > arch/arm64/boot/dts/qcom/sc7280.dtsi | 62 +++++++++++++++++++++++++++++++++ > 2 files changed, 89 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts b/arch/arm64/boot/dts/qcom/sc7280-idp.dts > index 73225e3..b0bfd8e 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dts > +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dts > @@ -269,6 +269,20 @@ > }; > }; > > +&qspi { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data01>; > + > + flash@0 { > + compatible = "jedec,spi-nor"; > + reg = <0>; > + spi-max-frequency = <37500000>; > + spi-tx-bus-width = <2>; > + spi-rx-bus-width = <2>; > + }; > +}; > + > &qupv3_id_0 { > status = "okay"; > }; > @@ -346,6 +360,19 @@ > > /* PINCTRL - additions to nodes defined in sc7280.dtsi */ > > +&qspi_cs0 { > + bias-disable; > +}; > + > +&qspi_clk { > + bias-disable; > +}; > + > +&qspi_data01 { > + /* High-Z when no transfers; nice to park the lines */ > + bias-pull-up; > +}; > + This configures the SPI flash of the SC7280 IDP board, which is neither mentioned in the subject nor the body of the commit message. IMO this should be split out into a separate patch.