Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5855993rdb; Thu, 14 Dec 2023 01:12:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9XXbEQ26tkSgkDFMHezGis8p0Kvkm8BxuHQa2L1Bojkl+tbmIPb7lOQusLaYpK0gAVJ9N X-Received: by 2002:a05:6a21:2723:b0:18f:97c:975c with SMTP id rm35-20020a056a21272300b0018f097c975cmr8972955pzb.68.1702545156439; Thu, 14 Dec 2023 01:12:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702545156; cv=none; d=google.com; s=arc-20160816; b=OgdIZnMiWqTKx6GJBViTXdwMuum20fkk/v2ErYCLzXHmTWgeY6F52zLZBsKBcqfWrH RCGV01d6PEAtNnEO0+4TNfGIzaGZFaAz6Nnw3+Vb1P//jB4xd2odQtMYJ6VsvgkTxkFZ kMPz7TKH/MyECrtxoqra708sGNjB3fc30nCKJ/wnJ7nG9B/ec43JF4+Rz+st1AiDnphM CKkxCjKh6fnzF3UuCQeNK4k+y174XwgmhvU82fZ5wAJB6X5V8H/Q5zLCSJS8xfhX7+S0 Fqkw996VsxHTRMNmYOGEr3VriGdrs74t9Fy3dW6z8x3hLR8auiyP3+whMUkn8OBBqvHe Lhdw== 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=/R/hqTzd/o8JpkxBFS0sj0AJtadDOIWSQt92Ki/rlFQ=; fh=H3Hd3oRQ75JkRULKMW2cRJpc3fzoPQfKgjc+kMLfhs0=; b=K/emLIl/4bi6//UyDi2bJfAq1XLNBqIpm8K3SWh9aM33XAA1HUmuC900fk/2cZqSP8 UfNUya1QWd9wMGus/8Jgb8Rw8Y4rqzxiqwCwidkHGkwf2LNg5uftyywIuldnIRVUXYrT xJRJrh571Tq2B59sBbOxc5PBWwnVculmJFO7wMCMc/mioYrtlZfrempzl0gIAY7Ua0Ue FpjxVDK6OGPnWjzFL4Kw/3dWWuYg2JfTQ6Ee081gxJGL2tPTRWDIj+Sufdpw92BcZpex GpSOJYEfVpMAPtQHFn8RhwXEtBvZ2l7CRGDpiAbEfXrpEhBwz2dKvsLdtaCi7IvS91rY 2aHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y9U5aAtV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id y190-20020a6364c7000000b005c60319034bsi10911045pgb.481.2023.12.14.01.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y9U5aAtV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 28D2D81F3821; Thu, 14 Dec 2023 01:12:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235680AbjLNJMI (ORCPT + 99 others); Thu, 14 Dec 2023 04:12:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235652AbjLNJMG (ORCPT ); Thu, 14 Dec 2023 04:12:06 -0500 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 841E3129 for ; Thu, 14 Dec 2023 01:12:11 -0800 (PST) Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-77f9c7d35deso56579985a.1 for ; Thu, 14 Dec 2023 01:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702545130; x=1703149930; 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=/R/hqTzd/o8JpkxBFS0sj0AJtadDOIWSQt92Ki/rlFQ=; b=Y9U5aAtVpuqyaHEOhPjqJQWRjaWfK1VHaRThfYhNah5w7ATQgZ0rivTV+d77wPCCiE plEpYJekA13ZFYgCc9Csi3/3D+9voMgdSJibOfuTwbEOsFvbQb/hBxaDAIKIEkHdHR89 G7QT/qHSVGRzRDbRhJQDIUqVc7HAGrfG1opQpW7CBILy+jKDZhjgKcJD5Q+/m3GxHln7 DoR4VphYtNiJNQwJkZZr4arLGaVGIGEPAOUsd1ptKciVukh50p91Btun05BYLUBoJSQI yfPaXM1GZYgIjgwXyKTyMn+IurijwBDdSOYYNx/aImODFtH+7m1b6bye+Rnd4Zj0Q9rU AHsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702545130; x=1703149930; 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=/R/hqTzd/o8JpkxBFS0sj0AJtadDOIWSQt92Ki/rlFQ=; b=h5mfymrsV1hrTM8hzc0/Ex9XqQSZ0FxvSy1fC6H45KAiIZz6n2LbZGcGMz2gTCZfxR ExG4NBBG3H56AJ3UGynXZVt442CtNrCoJbkod13iZyuctzmrerTuZ/07YUj735On8IO7 G1sqYoQ04qTK8dyaWmHw2Q54WqycPgHmBmYbdau5y21rnE5d7I5Vi1l1YHF2OSDzNulD tCyCDsI0Ni7MT3Cvi9NzUmm7zLarsEfnOsm6zcL5QbkAhdvK5nYv7b0d+JXOYeV6+Iam n+QnSRLe8YhuetJ5a6evJ6QFSUr3GjjCwrWUf8ampeQ6FEnYut+7Z+h0fn7gd0WpN1GK /BdA== X-Gm-Message-State: AOJu0YzWL+U1qqwwJs9JEu+Iv09J24v4003JZxMlaios8c6Dbq8Y5HeP ak9/WuAhu4YpZIDYyEItb+FQ X-Received: by 2002:a05:620a:2707:b0:776:f5bb:f2fc with SMTP id b7-20020a05620a270700b00776f5bbf2fcmr8186278qkp.9.1702545130709; Thu, 14 Dec 2023 01:12:10 -0800 (PST) Received: from localhost.localdomain ([117.213.102.12]) by smtp.gmail.com with ESMTPSA id qt13-20020a05620a8a0d00b0077d75164ef9sm5144119qkn.124.2023.12.14.01.12.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:10 -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 09/16] arm64: dts: qcom: sm6125: Fix UFS PHY clocks Date: Thu, 14 Dec 2023 14:40:54 +0530 Message-Id: <20231214091101.45713-10-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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 14 Dec 2023 01:12:34 -0800 (PST) QMP PHY used in SM6125 requires 3 clocks: * ref - 19.2MHz reference clock from RPM * ref_aux - Auxiliary reference clock from GCC * qref - QREF clock from GCC Fixes: f8399e8a2f80 ("arm64: dts: qcom: sm6125: Add UFS nodes") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi index eb07eca3a48d..b46d3c1fa47a 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -812,10 +812,12 @@ ufs_mem_phy: phy@4807000 { compatible = "qcom,sm6125-qmp-ufs-phy"; reg = <0x04807000 0xdb8>; - clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_MEM_CLKREF_CLK>; clock-names = "ref", - "ref_aux"; + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.25.1