Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3363819iob; Sun, 1 May 2022 15:10:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylb1T1xgHuobiB58uTUJPLkh5SUtU0ggOpoQsrR/8Ni8NfLocncGN8gGJ5rHQIQ1rEZfgP X-Received: by 2002:a17:90b:1b03:b0:1d2:a577:d52 with SMTP id nu3-20020a17090b1b0300b001d2a5770d52mr10000296pjb.58.1651443049543; Sun, 01 May 2022 15:10:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651443049; cv=none; d=google.com; s=arc-20160816; b=ofPzYOVbBF33c3di++Y3j3hEVh6MyJ7BXxEO/YBrSFY1i25de0STNeD87OjAuQQdQA vBAl/zTtGZQI5gHBlfXNr12HZic8uRe96hRYCyGOYvhYNhvsFZ8X1atNfHB3jxIDjvGJ vOfIzU16ZvgSun7n5uKrZFO6nc2JmG5MCdh3kpCGf3Z28/9sCu1xRfPXJSKIffAfFHE8 3QmyKcbarQ3LC+ic1zIx0j4yX1e6ZgCc902k99HN12R7wVsuq4PY7fCG2G61729AyghD 5yByX+/XBlF0xZ7t01L5BOUfyT2Ho2vW63f8UWe7jayGtfxWZs9BGJYcVmkxpORo3m58 WodQ== 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=LgRKR+kMO8bVjCXhBUYvuZNCnQBGBr53fcBrq4rdF0M=; b=CeUU1Y0r/Ms54bTkr4Ly77SEV/z6Frk+G9DFoRB7SVyTTVnr04Ki6coVoTmX+MPlzX o5/SC/IhLv+P1EerRKJZcgkxzP0COJui9PqPbNpbTngG7XMM2hROibcNW/rFMR6zigHJ 56pIEJ3OS4cKC4+kLkJWXdpx9tRVQJ9DA32SrzhASxX0bm9yYhjaeiyTNB1hbl8oaTYo ybqJhUUbghgOMAwuZLnMe2rOULhNYgNfBaMKwhhTzQYWQxxVO2VJdoYO4E13QV7dwnKo EbaRehaQCOG7CB55BiA10jJI8RL6btPkmw5cn36bTK4J/Dz6aWAplTeto4mDGZMePEYk aQ0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=QKZSoTTC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r19-20020a63ce53000000b003aa8b88b231si12750931pgi.805.2022.05.01.15.10.34; Sun, 01 May 2022 15:10:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=QKZSoTTC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382936AbiD3PeT (ORCPT + 99 others); Sat, 30 Apr 2022 11:34:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382929AbiD3PeR (ORCPT ); Sat, 30 Apr 2022 11:34:17 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24C5C193E7; Sat, 30 Apr 2022 08:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651332655; x=1682868655; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=LgRKR+kMO8bVjCXhBUYvuZNCnQBGBr53fcBrq4rdF0M=; b=QKZSoTTC2bNUNqy9D20gB1ZSzdeOyRLSji5rlsORCspOSYS4IvZOwpY8 keZ5zo23I89oEFi9SohDz5T2Yq2XJouBpwOwDsQCoy2GlEJTcRIXaBSA9 2IPq3rka4Yb+dUAvPG0eV8vcRFn1NIryzfxOwCP++cN+lLiT3u1aDjmE6 g=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 30 Apr 2022 08:30:55 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2022 08:30:54 -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; Sat, 30 Apr 2022 08:30:54 -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; Sat, 30 Apr 2022 08:30:51 -0700 From: Kaushal Kumar To: , , , CC: , , , , "Kaushal Kumar" Subject: [PATCH 2/4] ARM: dts: qcom: sdx65: Add QPIC NAND support Date: Sat, 30 Apr 2022 08:30:08 -0700 Message-ID: <1651332610-6334-3-git-send-email-quic_kaushalk@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1651332610-6334-1-git-send-email-quic_kaushalk@quicinc.com> References: <1651332610-6334-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: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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. 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