Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5856268rdb; Thu, 14 Dec 2023 01:13:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFU9RwiJE2YhRPDHfJ5QVLzWURcXXdhBYt8SK/bImY9+wsGTFO19Zhm0MT/I7vo6HqdJKlY X-Received: by 2002:a05:6358:7209:b0:170:4035:4f94 with SMTP id h9-20020a056358720900b0017040354f94mr11790845rwa.25.1702545192136; Thu, 14 Dec 2023 01:13:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702545192; cv=none; d=google.com; s=arc-20160816; b=0R+0FDy98W0ZJBpf0X2rL3qypThQ+kmW/95SqVzNDvv00UDafQutF/Aszt0E38eXml GWJxbuGkdUs10aT1QCZyD2R85VWsbAY6GL6MXwSkVUr1/lAcEUtNq3pm4YDxdL3zGX1n vAgzonRuuoXjkgPo+Riev21+UTh8fITNueSvKjaRfScuDvv+Y0i8V+gAp5B8ZNw3vewT Usgi0RCma06mUAwqFs5T4vK5g3hW/xG0tg+IhqqYx6jrs8guDVrq4lghmO/e4opWTuLJ QmlwHZ2dplWtvOsT7EoKn1e6BHcm9IZly6nTxPH4INT3m57WKjeS0oPfCOD79w9JvGLQ iY1g== 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=RTvHTb3eBsG5jFvbdhGh0zasO09G1PrRZVvH3m7yDqQ=; fh=H3Hd3oRQ75JkRULKMW2cRJpc3fzoPQfKgjc+kMLfhs0=; b=dMlYUz1yJvWHlVCVy8bcQ2CCwWXfuEVBFTyRYbqnJ8rWXlD8vcR3exYHIF44gjljvL uaJNJ/RY17pXeIk43pV943MSljc7OFU8DwEvBgZPwvW16qNsdXY5hbf64HGYkcq0BpGJ qo58N19RnPg7oCLFYB44+NkBmseNeBquRbqrcMoirGMOPTe9oqCWq9fynzX79vMna+KU vNBri9wvIq4UQn1wWY2Mr1aKqIE0ML8oygiDuy7igZTyYj2GhN8lNsrvFsKbdjhRlCCE +mzpnK3WVo5WCHuyK6yV82ZwC7ATeNwupHWMmyd+Ht3ARbJsRvfoKv7gRcv+WinZ5HZy uQQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SMB8TQvx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id fb24-20020a056a002d9800b006ce921fc8f6si11164744pfb.187.2023.12.14.01.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:13:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SMB8TQvx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id E2CA48312AED; Thu, 14 Dec 2023 01:13:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235705AbjLNJMi (ORCPT + 99 others); Thu, 14 Dec 2023 04:12:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235712AbjLNJMf (ORCPT ); Thu, 14 Dec 2023 04:12:35 -0500 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EF54129 for ; Thu, 14 Dec 2023 01:12:41 -0800 (PST) Received: by mail-qk1-x72f.google.com with SMTP id af79cd13be357-77f31239797so417196885a.2 for ; Thu, 14 Dec 2023 01:12:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702545160; x=1703149960; 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=RTvHTb3eBsG5jFvbdhGh0zasO09G1PrRZVvH3m7yDqQ=; b=SMB8TQvxC/lcyxZuBGHxOxwfXLr+T6ApQrnvq+POPmCPs/mUifAGNsHPSK3CMFUILj 0ZQfqLj/x9iLvfdQ0GPqPewttGt/02fPTuw9KxDBKc4rtSEd7EtYswxm48gJOcRQIUPg Gwv8f/x5EA9G9BQTM9H+kZItNDDytWrg11EmxUEopj56FwyBXmPbDQgiQX9rsYJIx2ij qPgHTdriCW1UqHrVMpOX+/IS6Pa03/wXQjGVYFGvbdjxvx5dmdAJOot7qw8fbZi+latG 81eyWPodlRxWkZ3filaUEdVYoDibtoyoTBd85H0kLn1ett0d5EmXiweXZ/oJLhlJut8Z w3yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702545160; x=1703149960; 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=RTvHTb3eBsG5jFvbdhGh0zasO09G1PrRZVvH3m7yDqQ=; b=LsTMezIGCZbADZTpXR/GUuP6gfCs4VB7hO6CXLa/9+qoHZxV8eROfnPA+6O6271emW Mdfz+ccKKg19kIqFiEebWmr6feTeXgm9Mra8plCkcKtKBykiEehn7UwVt07zdV8IwdSs nl+HUtVlL0Skss0cxkitZNEdfE6zbxbrSJO8w67FroWu4TFy8X2B1n06dtAlrjdvRhho 9zzKT6Sl/+7++kmPYYJ+f0s1qpTKNxeysd8Z12kyz4iYBqpXFfVsFbtN+W8Zfy5yt/Gl iKTMN4DbkHylay0ZUGpLkDQO1NATKx7ThBX7sncDi/51IwEk4GwSQQIXhh0sZNWlM1bm xvhg== X-Gm-Message-State: AOJu0Yw5f1tFflt2oXJ23/8c+DyRXr/GZeLu6mALURWoD1DoOayhzU9Y PaRjwPdmnVKSN2sWH7ZvuLXN X-Received: by 2002:a05:620a:20d7:b0:77e:fba3:757d with SMTP id f23-20020a05620a20d700b0077efba3757dmr9763694qka.117.1702545160156; Thu, 14 Dec 2023 01:12:40 -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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:39 -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 14/16] arm64: dts: qcom: sc8280xp: Fix UFS PHY clocks Date: Thu, 14 Dec 2023 14:40:59 +0530 Message-Id: <20231214091101.45713-15-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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 14 Dec 2023 01:13:04 -0800 (PST) QMP PHY used in SC8280XP requires 3 clocks: * ref - 19.2MHz reference clock from RPMh * ref_aux - Auxiliary reference clock from GCC * qref - QREF clock from GCC Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index cad59af7ccef..37344abbe8bf 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -2256,9 +2256,12 @@ ufs_mem_phy: phy@1d87000 { compatible = "qcom,sc8280xp-qmp-ufs-phy"; reg = <0 0x01d87000 0 0x1000>; - clocks = <&gcc GCC_UFS_CARD_CLKREF_CLK>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; - clock-names = "ref", "ref_aux"; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_CARD_CLKREF_CLK>; + clock-names = "ref", + "ref_aux", + "qref"; power-domains = <&gcc UFS_PHY_GDSC>; @@ -2318,9 +2321,12 @@ ufs_card_phy: phy@1da7000 { compatible = "qcom,sc8280xp-qmp-ufs-phy"; reg = <0 0x01da7000 0 0x1000>; - clocks = <&gcc GCC_UFS_1_CARD_CLKREF_CLK>, - <&gcc GCC_UFS_CARD_PHY_AUX_CLK>; - clock-names = "ref", "ref_aux"; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_UFS_CARD_PHY_AUX_CLK>, + <&gcc GCC_UFS_1_CARD_CLKREF_CLK>; + clock-names = "ref", + "ref_aux", + "qref"; power-domains = <&gcc UFS_CARD_GDSC>; -- 2.25.1