Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4398148pxt; Wed, 11 Aug 2021 05:17:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKykNjLXCEy/Z/4F1sWeimw2qEEtQRX7EsM7FHGw6/LAuMHuECkLggzgbi21FyASYloxC+ X-Received: by 2002:adf:f748:: with SMTP id z8mr12213676wrp.25.1628684264256; Wed, 11 Aug 2021 05:17:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628684264; cv=none; d=google.com; s=arc-20160816; b=kET+vfTRSxiqFnJsr1u+SGbxVT8nPxS+08+rlDmLN5wKZv1ogm9XuAWJpGPWF5yDj8 p3IL/PMav4FskcgAl6QY1Rkzj6FWhnSAfCwj2l/aDuBOk02WTGsze/6I4k1L2BVK9Hk7 JyxwuAI/v/KM/1ttD8vDfu9UlyoSZcrB8gKFNHIVLJ4HceXuhwFBpM5dYf/vcYW8vTiU ohOGKWdkSIa1KnGsQ2CLlL0YxuyA86C/qMIGaZOdTfVee4O2eG/VlPBASfRTjg79ewgS DZw6fE8BwUP5j3C9sp4ZRA+l3UF03KGIrQxh5bi3GQAQL5wjOGT9e+56T85GOct16PhL Oksw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=eeQDSyTuRUKPuLNTBtQ/IN9VyL6uflUZq+4lo9oZ6Ck=; b=Aop7Op/eVecD3H+xVKQOnizMLO7OOvfZbL/5RvWVUo4PnxqmzN6EXfQj/dT+iNJpnG ayUEoWhPRnJojQlx+h4NxDh83N5JwYUehD5F5rQCp0C/+NgneEwFy7CyXD4JWP8X9R6H PksgDDCz9yDPbXJQV3fkE6x8u4QrKCulbPP7CdLljRsTb9AMUJ6MZjveAd+wIOb4mrsT ShJRf2QEGGH13kQiaH/yuAc12WYIrTZTLeJpLlpZzUhPKOLi9FeDsPT1v4M2AnOOoDmG OYxoLwQJOAe3UNOs7UdOYe60FKmcxzh1pFfbleUpNY8dAraVytNKoXc5TW3l23ulmpSE vNfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=H+9hZmEY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si22913578edw.18.2021.08.11.05.17.18; Wed, 11 Aug 2021 05:17:44 -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=@mg.codeaurora.org header.s=smtp header.b=H+9hZmEY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232496AbhHKMPQ (ORCPT + 99 others); Wed, 11 Aug 2021 08:15:16 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:19372 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237364AbhHKMPO (ORCPT ); Wed, 11 Aug 2021 08:15:14 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1628684090; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=eeQDSyTuRUKPuLNTBtQ/IN9VyL6uflUZq+4lo9oZ6Ck=; b=H+9hZmEYU11XmYxABtEKc2DqOJJnfefEb6qlFa1ylw+a8/3W3xJO75xQb0FOqcLeX9jApkS2 aMhtYZvhNCrztX84W86p6rLgAMRjzE/V5OSyYS6v/qX7NPL+lHuFzDQbmRKGj0Qt8y81f2wa 3q3TFDRunbVs36rp4dlAazUPySM= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-east-1.postgun.com with SMTP id 6113bf21b3873958f5726bc6 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 11 Aug 2021 12:14:25 GMT Sender: rajpat=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6E82DC43217; Wed, 11 Aug 2021 12:14:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: rajpat) by smtp.codeaurora.org (Postfix) with ESMTPSA id DA4F7C433F1; Wed, 11 Aug 2021 12:14:21 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 11 Aug 2021 17:44:21 +0530 From: rajpat@codeaurora.org To: Matthias Kaehlcke 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 In-Reply-To: References: <1627306847-25308-1-git-send-email-rajpat@codeaurora.org> <1627306847-25308-2-git-send-email-rajpat@codeaurora.org> Message-ID: <4b676cb57f0c179df56bb7681555d409@codeaurora.org> X-Sender: rajpat@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-07-26 21:37, Matthias Kaehlcke wrote: > 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. Okay.