Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp242890iob; Mon, 2 May 2022 18:17:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbKRMmtushPktx3KJ1iHzgiWhCaAI50grS/L4CYpnya5CcothEjhC+sSwAFvqBhnqriwD1 X-Received: by 2002:a17:902:f708:b0:153:839f:bf2c with SMTP id h8-20020a170902f70800b00153839fbf2cmr14636050plo.113.1651540641050; Mon, 02 May 2022 18:17:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651540641; cv=none; d=google.com; s=arc-20160816; b=zzjIQmAFfzjMNr2VKuq+TgFj4UlPaViHSeJ8ldq7RvR91x2cdcnm15QK8eCznkQKy7 twkA85ex7oo9sedSjbwpiv5wPJYs0XjksxdkldxvKJ7ZNgZL42YLF4APmF8bsQ861Mo+ OdWZV3zqtFLTIKx6MjiWet4DC1LQuqrvM6vgwzlH0XLbA1BWK5bRqWqrvxfbD8AdRaau B3fWqrsa1OlC2XH7iO+dUsio2azOv4ceafGTTUU0YJiPASVAsbEVGsj5QlarBNzjyf13 PFqgp5SrW97q5XsnaBcTETL0UT5FWE/oFF0vmq3mdrBP5B93SR7LhitN1pCqbztEGdYQ 4wvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=48+rVERvNTQxNqzw5fqv4Nm35unnocBFemLJibc0Q54=; b=QXSBrzp19r+OKOFVdKUOiNvb8UIY7i5g2vpLZ0F1ZZd08o9WOqTuNXZi0MSsAHAacL eV6AEDB+w+944btql6SeF06kN42CpMGTn3wXL8BVQ7ccg0RIRdndekbi02UIC5ODttUl Ed+7JIC0B3lyAPQxKMrWXyrDE7tqpqkAyKktg3hITjcXJN8xzL+A9CuwSX+5xK9L4SyM o34Nbj42dbEWlQrUVByGY3HaqG/369sQX2vJsv4t9gFRyw5xVXjNpzGuAyHCuPiMhz1p m4mfCZ3H+tqXyL1pKXy8xzqi6TNO4oUzqCp4SafatyzJvma76IWFqnRwUljdSdSt2Gms oteg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=YWgn7RQ6; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c13-20020a65674d000000b003ab573bd7dfsi2554883pgu.80.2022.05.02.18.17.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:17:21 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=YWgn7RQ6; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CA3E651E72; Mon, 2 May 2022 17:56:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1385525AbiEBOSg (ORCPT + 99 others); Mon, 2 May 2022 10:18:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385523AbiEBOSd (ORCPT ); Mon, 2 May 2022 10:18:33 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9E8915830; Mon, 2 May 2022 07:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651500904; x=1683036904; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=48+rVERvNTQxNqzw5fqv4Nm35unnocBFemLJibc0Q54=; b=YWgn7RQ6jD7QXGM2gYgQbmq3fRy0lv+IPXNbXBVF/OioVLNtFyjr+4zs cxBgY1x7MemnpDRsO9KjxGbeA4uYVOkNltNDNL7iMPfo/dSaO2ZRbXbXe zceIAQ5UvikRdNKVE9217mN8cCCmCsG5oR8OvimjxbdrI35pQkYlnzIVk w=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-01.qualcomm.com with ESMTP; 02 May 2022 07:15:04 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2022 07:15:04 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 2 May 2022 07:15:04 -0700 Received: from kaushalk-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 2 May 2022 07:15:00 -0700 From: Kaushal Kumar To: , , , CC: , , , , "Kaushal Kumar" Subject: [PATCH v2 2/4] ARM: dts: qcom: sdx65: Add QPIC NAND support Date: Mon, 2 May 2022 07:14:36 -0700 Message-ID: <1651500878-10244-3-git-send-email-quic_kaushalk@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1651500878-10244-1-git-send-email-quic_kaushalk@quicinc.com> References: <1651500878-10244-1-git-send-email-quic_kaushalk@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree node to enable support for QPIC NAND controller on Qualcomm SDX65 platform. Since there is no "aon" clock in SDX65, a dummy clock is provided. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Kaushal Kumar --- arch/arm/boot/dts/qcom-sdx65.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi index d6a6087..a75e9f1 100644 --- a/arch/arm/boot/dts/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi @@ -37,6 +37,12 @@ clock-output-names = "sleep_clk"; #clock-cells = <0>; }; + + nand_clk_dummy: nand-clk-dummy { + compatible = "fixed-clock"; + clock-frequency = <32764>; + #clock-cells = <0>; + }; }; cpus { @@ -211,6 +217,22 @@ status = "disabled"; }; + qpic_nand: nand-controller@1b30000 { + compatible = "qcom,sdx55-nand"; + reg = <0x01b30000 0x10000>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&rpmhcc RPMH_QPIC_CLK>, + <&nand_clk_dummy>; + clock-names = "core", "aon"; + + dmas = <&qpic_bam 0>, + <&qpic_bam 1>, + <&qpic_bam 2>; + dma-names = "tx", "rx", "cmd"; + status = "disabled"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x01f40000 0x40000>; -- 2.7.4