Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2686145pxj; Mon, 14 Jun 2021 04:59:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrkLe3V65TxjSZqTC6YfcRL3QA4L9xNavLtpzFpjg1JVr3h1RKai5lnZdfBb8MjxMWUU+G X-Received: by 2002:a17:906:ca4c:: with SMTP id jx12mr14989852ejb.155.1623671973363; Mon, 14 Jun 2021 04:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623671973; cv=none; d=google.com; s=arc-20160816; b=nmW9uqqIwpK34Jmsq3OSor+834hJdvFZ+rrLCQM58d1FdszPRT/2NUa4Be06ZfOGX8 f2sc9H6CNUgYK/qo/9EmCpE8s7PRJ+SCHwgRj6eyvEJ70MpLmrA0HsgMXJedq0s6kQF2 jC/NHosbVnizcQW4rqjBJIpN7dgd1HiSKdFZVUxGSj61bMLZAJ84S8HxV2B7oxgcHu1G UlU0y2SFpwnTCixyh0L1t98z2we9wJz8i3JjpwTWZ85NsnYL4uUmZoGhyN6T4WyEDQFc Kg22jsT8du+7OUncSBhlmUcuWryql31ihozDeTF7KAl9tIqO5gxteuSeGjF8/uHY2aE5 3y2g== 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=cqG1thvBylRxuDcCaNArs/dxgNQZPARI5YwgxMBAoi8=; b=U6orw0MGHEx2wtBsqEuaQlrRuJ4AFCF1KacOBVzAzHrBahdWozpPQRLRuJUVtd8ifO WOXlfhe4r6H0aBeby2huvce8d35/T5/1dndIvLzQhsvdhDyKirFuvxe1Dc7Cc9Sb7kzM E7D9lHSlwITZF70lzGNsdiyFN7dsH9/+GcBotJxpNqdr4JEihxg9GkjWpiKwbnI0ND2c iaFIO1OHzj+DPqMTh87EfpjGiB56ZZeKf+93ujy3nUGYa0G2jghBBnESEx8Hq9GLGPop SbtJ3nhAtXBpYhxwbaLKWFEQUPEsF9BCShACtukXT1QLdK3DLDTpqx605Eri36GQyo84 hkoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=cyxD2b+q; 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 11si11490532ejf.165.2021.06.14.04.59.10; Mon, 14 Jun 2021 04:59:33 -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=cyxD2b+q; 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 S233173AbhFNL5h (ORCPT + 99 others); Mon, 14 Jun 2021 07:57:37 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:15317 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233213AbhFNL5g (ORCPT ); Mon, 14 Jun 2021 07:57:36 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1623671732; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=cqG1thvBylRxuDcCaNArs/dxgNQZPARI5YwgxMBAoi8=; b=cyxD2b+qd5+Fgc12SX0+w3IzSDjEEix/qpSJlTsEuAe5pioVIX+HoxDW3KPOrBIVVx0mk1rB AqZ9E/GzLsPpExAKobnPuzSliUoX1GQ4vS2sy6+oQXiKGSsDQ9EuF3EIw4EJxToCp46Eb6bU FBi4oNYEsT9nSdLUNZxXuTPp/KA= 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-n03.prod.us-west-2.postgun.com with SMTP id 60c743b4ed59bf69cc2c9f7e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 14 Jun 2021 11:55:32 GMT Sender: sbhanu=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id E5222C4338A; Mon, 14 Jun 2021 11:55:31 +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: sbhanu) by smtp.codeaurora.org (Postfix) with ESMTPSA id 97EB0C433D3; Mon, 14 Jun 2021 11:55:30 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 14 Jun 2021 17:25:30 +0530 From: sbhanu@codeaurora.org To: Bjorn Andersson Cc: adrian.hunter@intel.com, ulf.hansson@linaro.org, robh+dt@kernel.org, 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 Subject: Re: [PATCH V1] arm64: dts: qcom: sc7180: Added xo clock for eMMC and Sd card In-Reply-To: References: <1623309107-27833-1-git-send-email-sbhanu@codeaurora.org> Message-ID: <1230be3c7f350b1f33110df2a9744e15@codeaurora.org> X-Sender: sbhanu@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-06-11 10:00, Bjorn Andersson wrote: > On Thu 10 Jun 02:11 CDT 2021, Shaik Sajida Bhanu wrote: > >> Added xo clock for eMMC and Sd card. > > Was about to push out my branch of patches, but before I do. Can you > please describe WHY this is needed? > > Regards, > Bjorn We are making use of this clock in dll register value calculation, The default PoR value is also same as calculated value for HS200/HS400/SDR104 modes. But just not to rely on default register values we need this entry. > >> >> Signed-off-by: Shaik Sajida Bhanu >> --- >> arch/arm64/boot/dts/qcom/sc7180.dtsi | 10 ++++++---- >> 1 file changed, 6 insertions(+), 4 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi >> b/arch/arm64/boot/dts/qcom/sc7180.dtsi >> index 295844e..5bb6bd4 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi >> @@ -701,8 +701,9 @@ >> interrupt-names = "hc_irq", "pwr_irq"; >> >> clocks = <&gcc GCC_SDCC1_APPS_CLK>, >> - <&gcc GCC_SDCC1_AHB_CLK>; >> - clock-names = "core", "iface"; >> + <&gcc GCC_SDCC1_AHB_CLK>, >> + <&rpmhcc RPMH_CXO_CLK>; >> + clock-names = "core", "iface","xo"; >> interconnects = <&aggre1_noc MASTER_EMMC 0 &mc_virt SLAVE_EBI1 0>, >> <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_EMMC_CFG 0>; >> interconnect-names = "sdhc-ddr","cpu-sdhc"; >> @@ -2666,8 +2667,9 @@ >> interrupt-names = "hc_irq", "pwr_irq"; >> >> clocks = <&gcc GCC_SDCC2_APPS_CLK>, >> - <&gcc GCC_SDCC2_AHB_CLK>; >> - clock-names = "core", "iface"; >> + <&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 &config_noc SLAVE_SDCC_2 0>; >> -- >> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a >> member >> of Code Aurora Forum, hosted by The Linux Foundation >>