Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5855962rdb; Thu, 14 Dec 2023 01:12:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUZyw2EUrL8wjwuDCRibWzSY1mIB8pIh/Lh0AtQYfz01FP5nxZWQhUH/kvug7EJsrwbMrc X-Received: by 2002:a17:902:d4ca:b0:1d3:45c8:bc12 with SMTP id o10-20020a170902d4ca00b001d345c8bc12mr3819056plg.38.1702545152246; Thu, 14 Dec 2023 01:12:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702545152; cv=none; d=google.com; s=arc-20160816; b=F4XIlxDQuv6BCIM0K4gmEhfvGvdjur/dfzoSw2QW3R+tPiRhPX/Q3dCOZbaxtJp6G3 WLKAKa/kI2L2dolnF/ZfbRO2fG892KohN6xosTDsu/E+zyKG5Nqb4FMVpUeqFunXkKzh XGuNYtPPhWQGrLR1kHg4MhGgMrHY14AanAtQ4SPJSiluUwCg4w9DUIR2XsfZ4aU8k/ue 1XA68Lw8CY6xOD46yfT2jIsETs21LM4sASSwbrVv6tjYpv2etiBoDho2P4Cl6/RAsCF5 CwQmSVfTgxv85OaIQAV/4W35JTQpMvmzsfPlyucRAkYQEb5bU18K5GejS6x1jIkVque5 KtJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9loaHfrne3H3i5jJvNSoB5V0DmyPKqbag1DqqG2m2L0=; fh=H3Hd3oRQ75JkRULKMW2cRJpc3fzoPQfKgjc+kMLfhs0=; b=G9XwH4Yy/yhQQiV566BzmpS+SPIaz58m/PeNQS8wcqUgdmzbj+DT85xkZjFZLIwQ9D UAT+lMrMdVSeuVhNL2Bj85MkYV33/ry+p5i7E8uk1ktCrUVodg8VD4nroefl2HitiiDI ueM+XNsZOXWgwqRWk5Ax5o52jUxHtAvKX/+Y3ah7vYl4J/YOQ2xpu3U8x1lQIQFVJUL1 yPWeJjhgpTzUDkv7rZPMfwInZowYWJ1q185F1MSrHKKKFuBSeAy0xlwEL0Zt6keHTKo2 2StP9/ZZHgAW5xNBT7xYMrhSL0ob9V3AkdsDrVKGwli0wbrCNKFauxSt1MR8Xi8ya+4R Dcjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YtIzLFp3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id jw17-20020a170903279100b001cfde84f92esi10807987plb.82.2023.12.14.01.12.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YtIzLFp3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id E0BD480F5F02; Thu, 14 Dec 2023 01:12:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235686AbjLNJMF (ORCPT + 99 others); Thu, 14 Dec 2023 04:12:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235681AbjLNJL7 (ORCPT ); Thu, 14 Dec 2023 04:11:59 -0500 Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B92CB10F for ; Thu, 14 Dec 2023 01:12:05 -0800 (PST) Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-5cbcfdeaff3so78947807b3.0 for ; Thu, 14 Dec 2023 01:12:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702545125; x=1703149925; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9loaHfrne3H3i5jJvNSoB5V0DmyPKqbag1DqqG2m2L0=; b=YtIzLFp3ka6zvX5MZ7z4FKYBimoBFHmxXZy3pOlX+O1POaXCRmbbEULAlqRb7nbBaj Lg/hPPbQ6jIhVSX73KZ3vcVGdh+8X8iPi7OZB8yHj4WBpbaPnRcxZSUXybzeIqeHLwhX eYlrZ1TTw4l/7qqIHSLaZe35om4skdg3lDKt3pJ5IIO0eSZtzaIWZBg05TdGZywqyv9R lQwWupBAOrMWfASmtF2HOqyRi4lzdVDAvc1oRZgzwafWS5je8+scRjG9vOydvCIhMkKc CO3Jg1+8C4VLL/Wu3+U/ckYevW/D4ttLG++Qy6lzmNuvHe7wqWBaYqVwcNmmt9OA33Ld /iQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702545125; x=1703149925; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9loaHfrne3H3i5jJvNSoB5V0DmyPKqbag1DqqG2m2L0=; b=pb4jTSi/cyzirH8IjBf6vG0jw6xM1iBnKpjeiWAa74/pPFbDUAibBIrW29GJgD/GKQ vy2N074S70iPgvj/L+6tR+6YQmS3ldcy7r6NGAX0P+drP1NspC78SY/4sVKcN6pE+UGO WnoyKdXfeTGovz5r0ZThWKJfSxVr5aB1ps0IHRUJ/p1j32RhzrUG3QCesCYZBxu9ibAG AFjRvYATZZ5F1ZrFa/nMFUeH56CA5h0vOfhSwRFecgMV5+gfHU/emuu2F6kW+ycs9/Ny kOIVvAmo6ljn0wdhObhF/EScB82MLt6YXao47uJuyszcccDLt7Dl4kyOM/50Y0p7c+aW xWCw== X-Gm-Message-State: AOJu0Yy2NT9Gm7LImLi9ly8SsqBlGwGwfVazUZAaAZgZq/YwOwkhgUJh tAj2cwLFqgftTj821E6zKQJp X-Received: by 2002:a05:690c:91:b0:5df:4992:d724 with SMTP id be17-20020a05690c009100b005df4992d724mr7706528ywb.41.1702545124893; Thu, 14 Dec 2023 01:12:04 -0800 (PST) Received: from localhost.localdomain ([117.213.102.12]) by smtp.gmail.com with ESMTPSA id qt13-20020a05620a8a0d00b0077d75164ef9sm5144119qkn.124.2023.12.14.01.11.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:04 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, sboyd@kernel.org, mturquette@baylibre.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 08/16] arm64: dts: qcom: sm6115: Fix UFS PHY clocks Date: Thu, 14 Dec 2023 14:40:53 +0530 Message-Id: <20231214091101.45713-9-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231214091101.45713-1-manivannan.sadhasivam@linaro.org> References: <20231214091101.45713-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 14 Dec 2023 01:12:29 -0800 (PST) QMP PHY used in SM6115 requires 3 clocks: * ref - 19.2MHz reference clock from RPM * ref_aux - Auxiliary reference clock from GCC * qref - QREF clock from GCC Fixes: 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 839c60351240..40394c412fdf 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -1033,8 +1033,12 @@ ufs_mem_phy: phy@4807000 { #size-cells = <2>; ranges; - clocks = <&gcc GCC_UFS_CLKREF_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; - clock-names = "ref", "ref_aux"; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_CLKREF_CLK>; + clock-names = "ref", + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.25.1