Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp138768pxv; Thu, 8 Jul 2021 17:11:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNTrj2aqglVQRHdIfo6aadEM04YHO4J1VlYOAU2jykoFIar9IBzowZC0Zt4twqyd7Ipfjn X-Received: by 2002:a05:6e02:54f:: with SMTP id i15mr24745315ils.185.1625789510111; Thu, 08 Jul 2021 17:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625789510; cv=none; d=google.com; s=arc-20160816; b=f959VbIlpxIPB+6kvwRJ6mDAd1WECYehXQa4hTCKejgUEOBrU0FGaLUnYu41fYwP51 Zlctv1fbDYIl5mwHpBxGZzNgJFdv2TuAIgyFuTgfZvFMBHQ12sVMXQRnioHC5aaVV7rs xq4B1OsddyjHtDiYAQwgLVeghFzrt8uPD02TvgyUu/31pfEIvDNbJWwmzRXBXydu4ssK CqVgOSrEA7V1sFV2ymMAN7UxC/ngXKa2nduTwSEWQU7Ka1Pjc2tzXm+emy7WVVTfZnj2 X7yqSCWo7y87qEDhALePEzFyNEDBbnadzrlq91mFmJu5gs986WBwZhVrI9Ag6XxwqRfe kWvw== 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:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=GWR42JbUy+/sIryqxS932MVNmOL/59t6cQ1xgosHWYc=; b=p/KgVyBsyJ3R9Mm9vzOmU6NKSX5P89oN70AA2Sr6pw0AeaGzLATutUL0QfKh8cj7Rk 1VnQEun1w9whVmparaPTbXD/4IS1t1Wp8dRhbtCtQNfXurTwMGy5GH589msIHYrkZmWw XeCTd2mhsCTwxmQrzXED65NGpvDKPywfoYNyXqIujcmj+BKKYQYtHpG9N3etGQr7o2fT Ny5VVItu35trQ5C9z2BlqH8OzRJOGG6ZOoIuRuDE00f44WMJb0wEzWaDnz8OUEA2fyk1 N2bMOSBCgihaly0wTDQ6YcPj3e7JAhTmEhTvMBgmV08/4W8CVT71fnAps0y0B0i02YfW 7rAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=d+jLMLzz; 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 a14si4439328jat.22.2021.07.08.17.11.38; Thu, 08 Jul 2021 17:11:50 -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=d+jLMLzz; 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 S229838AbhGIAMv (ORCPT + 99 others); Thu, 8 Jul 2021 20:12:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhGIAMv (ORCPT ); Thu, 8 Jul 2021 20:12:51 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90692C061762 for ; Thu, 8 Jul 2021 17:10:07 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id s24so10078011oiw.2 for ; Thu, 08 Jul 2021 17:10:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=GWR42JbUy+/sIryqxS932MVNmOL/59t6cQ1xgosHWYc=; b=d+jLMLzzzH3wdihqtdR4LfnXdFcCeRl6qODCxtVggS9Cs4IEsIxHJ3IDF3DcMh13Tw +hKQ40Jh1LvI6+psU9W/OqkG/oWz56dN7Rcsbxshqger21NjX+7p8ZlA/3aKSZ3l+HVy 10hvfjXOxJX4XKHMOsaAwTm86fiNqbHw4xeNk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=GWR42JbUy+/sIryqxS932MVNmOL/59t6cQ1xgosHWYc=; b=XxgleW75I4dvCvthe1TRF++eVwZEWbZ5w5B1U7PbbMZYD7NmW0/cpAeIgLlNA/PAWC PRopcz9weuQtPIQ47EEXineydZtGk96SapEqvmiQhl8mhHQN9odzUiulULZzes1XB9po /s2bG35En3v7jhRujRlMuIktT1Rz/sk3TyEEM6IKhha6ZD7S5861Cfw4SiOq/U+VWFgp SKAZoylHm/mawsBi/KE19vQX7tJu5y0jfPA7hxE1LgyfVFnYSXvuCnX9S4g5N/k4OHed kWDC5awXsdqolHJzZm/x5BME8d/tdOLzctNCjbjcmIujADYbuSheQyto+gNaAu2A/bYd KPPw== X-Gm-Message-State: AOAM532v1K+0Vi7gUOrnOw+BGIZTl8m+KiWjbP+kcxpj+GOxKHuUN9zm ardCjt7SvvaGuLe2K12WCdlV96qi6KKcQ5Zi+cqNLg== X-Received: by 2002:aca:3012:: with SMTP id w18mr5800184oiw.125.1625789406755; Thu, 08 Jul 2021 17:10:06 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 9 Jul 2021 00:10:06 +0000 MIME-Version: 1.0 In-Reply-To: <1624804950-3668-1-git-send-email-sbhanu@codeaurora.org> References: <1624804950-3668-1-git-send-email-sbhanu@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Fri, 9 Jul 2021 00:10:06 +0000 Message-ID: Subject: Re: [PATCH V5] arm64: dts: qcom: sc7280: Add nodes for eMMC and SD card To: Shaik Sajida Bhanu , adrian.hunter@intel.com, robh+dt@kernel.org, ulf.hansson@linaro.org Cc: asutoshd@codeaurora.org, stummala@codeaurora.org, vbadigan@codeaurora.org, rampraka@codeaurora.org, sayalil@codeaurora.org, sartgarg@codeaurora.org, rnayak@codeaurora.org, saiprakash.ranjan@codeaurora.org, sibis@codeaurora.org, okukatla@codeaurora.org, djakov@kernel.org, cang@codeaurora.org, pragalla@codeaurora.org, nitirawa@codeaurora.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, agross@kernel.org, bjorn.andersson@linaro.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Shaik Sajida Bhanu (2021-06-27 07:42:30) > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index a8c274a..c3e8740e 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -436,6 +441,60 @@ > #mbox-cells = <2>; > }; > > + sdhc_1: sdhci@7c4000 { > + compatible = "qcom,sc7280-sdhci", "qcom,sdhci-msm-v5"; Is qcom,sc7280-sdhci compatible documented somewhere? > + status = "disabled"; > + > + reg = <0 0x007c4000 0 0x1000>, > + <0 0x007c5000 0 0x1000>; > + reg-names = "hc", "cqhci"; > + > + iommus = <&apps_smmu 0xc0 0x0>; > + interrupts = , > + ; > + interrupt-names = "hc_irq", "pwr_irq"; > + > + clocks = <&gcc GCC_SDCC1_APPS_CLK>, > + <&gcc GCC_SDCC1_AHB_CLK>, > + <&rpmhcc RPMH_CXO_CLK>; > + clock-names = "core", "iface", "xo"; > + interconnects = <&aggre1_noc MASTER_SDCC_1 0 &mc_virt SLAVE_EBI1 0>, > + <&gem_noc MASTER_APPSS_PROC 0 &cnoc2 SLAVE_SDCC_1 0>; > + interconnect-names = "sdhc-ddr","cpu-sdhc"; > + power-domains = <&rpmhpd SC7280_CX>; > + operating-points-v2 = <&sdhc1_opp_table>; > + > + bus-width = <8>; > + supports-cqe; > + > + qcom,dll-config = <0x0007642c>; > + qcom,ddr-config = <0x80040868>; > + > + mmc-ddr-1_8v; > + mmc-hs200-1_8v; > + mmc-hs400-1_8v; > + mmc-hs400-enhanced-strobe; > + > + sdhc1_opp_table: sdhc1-opp-table { Please make it sdhc1_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-100000000 { > + opp-hz = /bits/ 64 <100000000>; > + required-opps = <&rpmhpd_opp_low_svs>; > + opp-peak-kBps = <1800000 400000>; > + opp-avg-kBps = <100000 0>; > + }; > + > + opp-384000000 { > + opp-hz = /bits/ 64 <384000000>; > + required-opps = <&rpmhpd_opp_nom>; > + opp-peak-kBps = <5400000 1600000>; > + opp-avg-kBps = <390000 0>; > + }; > + }; > + > + }; > + > qupv3_id_0: geniqup@9c0000 { > compatible = "qcom,geni-se-qup"; > reg = <0 0x009c0000 0 0x2000>; > @@ -1035,6 +1094,51 @@ > }; > }; > > + sdhc_2: sdhci@8804000 { > + compatible = "qcom,sc7280-sdhci", "qcom,sdhci-msm-v5"; > + status = "disabled"; > + > + reg = <0 0x08804000 0 0x1000>; > + > + iommus = <&apps_smmu 0x100 0x0>; > + interrupts = , > + ; > + interrupt-names = "hc_irq", "pwr_irq"; > + > + clocks = <&gcc GCC_SDCC2_APPS_CLK>, > + <&gcc GCC_SDCC2_AHB_CLK>, > + <&rpmhcc RPMH_CXO_CLK>; > + clock-names = "core", "iface", "xo"; > + interconnects = <&aggre1_noc MASTER_SDCC_2 0 &mc_virt SLAVE_EBI1 0>, > + <&gem_noc MASTER_APPSS_PROC 0 &cnoc2 SLAVE_SDCC_2 0>; > + interconnect-names = "sdhc-ddr","cpu-sdhc"; > + power-domains = <&rpmhpd SC7280_CX>; > + operating-points-v2 = <&sdhc2_opp_table>; > + > + bus-width = <4>; > + > + qcom,dll-config = <0x0007642c>; > + > + sdhc2_opp_table: sdhc2-opp-table { Please make it sdhc2_opp_table: opp-table { > + compatible = "operating-points-v2"; > + > + opp-100000000 { > + opp-hz = /bits/ 64 <100000000>; > + required-opps = <&rpmhpd_opp_low_svs>; > + opp-peak-kBps = <1800000 400000>; > + opp-avg-kBps = <100000 0>; > + }; > + > + opp-202000000 { > + opp-hz = /bits/ 64 <202000000>; > + required-opps = <&rpmhpd_opp_nom>; > + opp-peak-kBps = <5400000 1600000>; > + opp-avg-kBps = <200000 0>; > + }; > + }; > + > + }; > + > dc_noc: interconnect@90e0000 { > reg = <0 0x090e0000 0 0x5080>; > compatible = "qcom,sc7280-dc-noc";