Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4817890pxb; Wed, 20 Apr 2022 10:36:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJNRxSZCwlLIFkHXJK50G+5qLfKfY6jChT9s5RIwUJOrrk3lLvIoPHcZEe8teMPTecTB3w X-Received: by 2002:a17:906:58ce:b0:6da:b548:1bbb with SMTP id e14-20020a17090658ce00b006dab5481bbbmr19442344ejs.14.1650476206936; Wed, 20 Apr 2022 10:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650476206; cv=none; d=google.com; s=arc-20160816; b=lXyedpYOIG2s08vIE48MigXMQ+J4U5BH/XH8rbT4wmBy49yvTIwj2OCRQl45znnuWd pMNe7rUgyQPxOub05gfkwSiIzBCGhYft6pua9Lo/eDi+IHx8xlmVAmb4h8Yap/KgvPyf sg9EBQqe1slsn1NooUeCyajte/AbYEH1f7zFlSEL0qG5RlWce/c9loHvD5pkACFf0fmf tX/TI2VbNj1ybiUfwaDvLMwK3ufBH3noJ6pnyFK+nWyQVPcbMtS3gKjqOggUuuA0D9lS AEpLXIT2Sk+26A8M+ToBO6+iGuuTi2rT1xNX/kWOHa3H7SjDUJ6CyWZnrRAM+xh/ah1y qAQw== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=WwYw/7+o6YUXusBvVdcg713W697lIpIcWLImq9IQZLc=; b=k+BYO3opfgspu5TPsgxZOkIQnTuXB3+P3bP/zYFNyXrrGRjOEnrk3fvESlO9NVdXAR 3TVaAb3ZlACMl6MEEIZIFZNmxi0D7cyWXRqnCWuUq1WFLqldMzfwpDAMAoOFr3HVkavd rMQrsJS7zV9iqu75OIJg+MqYV8j5HXYjwNPAWm83fqhbcyw3DiFWNSSsZf8hKLuv0+MA z/ngOMy+ggynokTxbyhQYl19hKQz0Acv7Ei56mghtFNUe4tvi4otnMK3WxE4UGsMzeLP XphU0G3Dc+V4mQMAV07sE1j1civCcv9fDh0uo3tdyq1mhmaTHVthik5rgWUS1OD2FDdU OElA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="u5OH/XQo"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dk6-20020a170906f0c600b006e86bbe41a9si2283270ejb.112.2022.04.20.10.36.23; Wed, 20 Apr 2022 10:36:46 -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=@linaro.org header.s=google header.b="u5OH/XQo"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376358AbiDTHrY (ORCPT + 99 others); Wed, 20 Apr 2022 03:47:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376356AbiDTHrT (ORCPT ); Wed, 20 Apr 2022 03:47:19 -0400 Received: from mail-oa1-x2f.google.com (mail-oa1-x2f.google.com [IPv6:2001:4860:4864:20::2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24F563BBE6 for ; Wed, 20 Apr 2022 00:44:33 -0700 (PDT) Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-e5ca5c580fso1153605fac.3 for ; Wed, 20 Apr 2022 00:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WwYw/7+o6YUXusBvVdcg713W697lIpIcWLImq9IQZLc=; b=u5OH/XQou5ikOvTKcspY/ijZaVXhW6U5psQ/O9mEKbptbh4j66ixnNtqXdwStg8beJ X45gflZSx1QfLlQPoyoHoKFb/0MLikPjKRrsoVBpHsFEBj+Gkt6/htirUu+0KqnGd2Cc aHazL9Hk+Cvhc+LwgYtYQtczBybQVPOHC7k2o6WYR9g2fzXfObo8aG4kvn58oFupo+z/ XNWw1Pq/aIK2AY09pJV0mLtjPa/fpqo4UwSroZgI8kAL0TYrSDeGBO3BEz8ON1Xu74G8 JdltELfQgLwLwaOJQ70CpVrL4PvQzNmMBiN/rQpAulP1uZVOSzND7ME4GjFnXkiDapEr ZpdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WwYw/7+o6YUXusBvVdcg713W697lIpIcWLImq9IQZLc=; b=OjdPA0TTQljji0jwsizigD5JTZiEHBnEeeh+PtODStR1v+isE+WRcep94c4Spy0dOF bBuVRxoyS+7apbBENZPpT273vUj+r/nI5mWdCKHK/TDpErVH7a//9HaH2ecSmhaGhIAj RdwGsVke4sZ0uANfVdSa/TFvPSj4piQwN97B8iOw9nGKjCMWUO728IPWKhlfie/iBEhk CTfdzoXDxCX7UgjmFsqbdfEUkYyMZVpMlksMDEmwIg31v3wVHCAeKB7ih2tIXUZaWMBr 5wQ4f9D5lg3c6gZojssRviXnYeg1LlqRmTojgCRrh6b53KI60qjsKXg7qUCzN+UwzEaA KGvA== X-Gm-Message-State: AOAM530mqvobTfK9JdaSXnZnWIJ/Fh/hFHOSGeGOwqJhLzu3AHR+rlcX NvgmEB7iHfrjVAw0Pxv9iwiolVVD3+g20/5YEBqns0fZvLg= X-Received: by 2002:a05:6870:2156:b0:e5:bb8d:f6e3 with SMTP id g22-20020a056870215600b000e5bb8df6e3mr1021563oae.48.1650440672449; Wed, 20 Apr 2022 00:44:32 -0700 (PDT) MIME-Version: 1.0 References: <20220414213139.476240-1-bhupesh.sharma@linaro.org> <20220414213139.476240-2-bhupesh.sharma@linaro.org> In-Reply-To: From: Bhupesh Sharma Date: Wed, 20 Apr 2022 13:14:21 +0530 Message-ID: Subject: Re: [PATCH v2 1/2] arm64: dts: qcom: sm8150: Add support for SDC2 To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, Rob Herring Content-Type: text/plain; charset="UTF-8" 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi Bjorn, On Wed, 20 Apr 2022 at 08:26, Bjorn Andersson wrote: > > On Thu 14 Apr 16:31 CDT 2022, Bhupesh Sharma wrote: > > > Add support for SDC2 which can be used to interface uSD card. > > > > Cc: Bjorn Andersson > > Cc: Rob Herring > > Signed-off-by: Bhupesh Sharma > > Thanks for the patch Bhupesh. I have already applied v1 though. Can you > please double check linux-next to confirm that things are in order? Sure, I will send a minor iommu sid related fix shortly as a separate patch, which is required to fix a ADMA error while using the microSD card on the ADP board (after rebasing it to linux-next/master tip). Regards, Bhupesh > > --- > > arch/arm64/boot/dts/qcom/sm8150.dtsi | 45 ++++++++++++++++++++++++++++ > > 1 file changed, 45 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi > > index 15f3bf2e7ea0..0fecebf0a473 100644 > > --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi > > @@ -3270,6 +3270,51 @@ usb_2_ssphy: phy@88eb200 { > > }; > > }; > > > > + sdhc_2: sdhci@8804000 { > > + compatible = "qcom,sm8150-sdhci", "qcom,sdhci-msm-v5"; > > + reg = <0 0x08804000 0 0x1000>; > > + > > + interrupts = , > > + ; > > + interrupt-names = "hc_irq", "pwr_irq"; > > + > > + clocks = <&gcc GCC_SDCC2_AHB_CLK>, > > + <&gcc GCC_SDCC2_APPS_CLK>, > > + <&rpmhcc RPMH_CXO_CLK>; > > + clock-names = "iface", "core", "xo"; > > + iommus = <&apps_smmu 0x6a0 0x0>; > > + qcom,dll-config = <0x0007642c>; > > + qcom,ddr-config = <0x80040868>; > > + power-domains = <&rpmhpd 0>; > > + operating-points-v2 = <&sdhc2_opp_table>; > > + > > + status = "disabled"; > > + > > + sdhc2_opp_table: sdhc2-opp-table { > > + compatible = "operating-points-v2"; > > + > > + opp-19200000 { > > + opp-hz = /bits/ 64 <19200000>; > > + required-opps = <&rpmhpd_opp_min_svs>; > > + }; > > + > > + opp-50000000 { > > + opp-hz = /bits/ 64 <50000000>; > > + required-opps = <&rpmhpd_opp_low_svs>; > > + }; > > + > > + opp-100000000 { > > + opp-hz = /bits/ 64 <100000000>; > > + required-opps = <&rpmhpd_opp_svs>; > > + }; > > + > > + opp-202000000 { > > + opp-hz = /bits/ 64 <202000000>; > > + required-opps = <&rpmhpd_opp_svs_l1>; > > + }; > > + }; > > + }; > > + > > dc_noc: interconnect@9160000 { > > compatible = "qcom,sm8150-dc-noc"; > > reg = <0 0x09160000 0 0x3200>; > > -- > > 2.35.1 > >