Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5856031rdb; Thu, 14 Dec 2023 01:12:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/rXaYraM+ucNibsrYsInZr2Rv/lRzkuUmTxeBgikKdAw1WqAAgvbLmRUL1rzpfDXCIzrl X-Received: by 2002:a17:90a:e992:b0:285:93d4:1d0 with SMTP id v18-20020a17090ae99200b0028593d401d0mr4422533pjy.6.1702545161353; Thu, 14 Dec 2023 01:12:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702545161; cv=none; d=google.com; s=arc-20160816; b=wKc99rSnSG6/pY+ho7YJDgLGSmM4nRfDMDClURq7ns02bXPWbuOl4xL2jwGejyLTKJ LByNNTJsh8qpuZWoH/JH56rejwqvS+S+H2tvnjGxkJXVoONFiktNkVUGWkHRqWg6Qe1I kRDTMm/KqujBeASVtfwHQ8qkX3eZQSsUI2ZuEk7YBdqqyhKusyzE4c2jG0GYckvrbFYB 6NqDQcMk3/W/4BZZpJHqZQFU8EVuSyIi1IPhLKyxMCKlmGgw3krhhnnmltEdPV/Y/vLA su1cc7i9ATL1IEvjKLkldme7gEaFsiEXq5hvaNXZvj3ViSFI2j29Zrg8sWp3maVvAR6t 42dw== 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=+NpBpw87ancReoayxiYNLEpdh+qbLyvkQJUBfcAOaoQ=; fh=H3Hd3oRQ75JkRULKMW2cRJpc3fzoPQfKgjc+kMLfhs0=; b=Pwmt9AKCTX/cRR+g4M58mWnDk0pcXzAUqq233qnIjIDr5cDHyRQdpH4ManwgM7/z/L xw0CcZV4JrU5NJF5jypWw+tNkOrXBocX0vLgQjf7E03vhbOQHv0Z1DJrVSkJmpQC96AS bBf31W/Oye3TTABV7wbLsAVYiCpLfSHQJ8PE3m56X0qcoHEorv+roZpkiTP01nWHu7PI 5b82aYzfu/p4qYW6O6c/GJmWuKatrveLTftP7Ovm3LvWIQbQ45TEGTyBlD2Cc/kbwYT9 zC3x4o7bYDxDVCUEGKkM1VFxsexAIz8mVYkCP/zbc8QY0s7ky2CKUrfjIsA8Mx3GumDI Q4nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i0x1jBDt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id 19-20020a170902c11300b001d3598b87cfsi1776895pli.60.2023.12.14.01.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i0x1jBDt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 97F6E80DF9A3; Thu, 14 Dec 2023 01:12:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235697AbjLNJMU (ORCPT + 99 others); Thu, 14 Dec 2023 04:12:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235660AbjLNJMS (ORCPT ); Thu, 14 Dec 2023 04:12:18 -0500 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5769911F for ; Thu, 14 Dec 2023 01:12:23 -0800 (PST) Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-77f58040770so405354585a.2 for ; Thu, 14 Dec 2023 01:12:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702545142; x=1703149942; 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=+NpBpw87ancReoayxiYNLEpdh+qbLyvkQJUBfcAOaoQ=; b=i0x1jBDtKLGBSHWJe6Y5P8awCV4vjrBhYub4s5xNckoIF1vPLDN59GTsfMUebze/I+ IBiMHqpy+V3baWZHsw2W4UWAk33Bo08J+iF0RCJ/vf2cy3fov/Ryqsut5i8HJW2Sdnqk oiXV4JKPHMgshO0ACaFFhpin5RbCNH0qZMy71Bz7+NUyyegtQXu+AxRsZydhZSohJAAw h9TtttUvYsJSBtKFKuWa915707Y55mEqevxlKIpJcOdwTLjU+IIYbYNsnjkuM2Hm3Mk+ Hvd9DfgK2GMhT31GtcFbLWd+9k+uxeppfgIjWLFmY6/Ux72DBJ6s7RnusGtgO2XT+eFg xO0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702545142; x=1703149942; 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=+NpBpw87ancReoayxiYNLEpdh+qbLyvkQJUBfcAOaoQ=; b=WMH0BLTDgcJhEDCfHAVFImU09HEpZT89D5FQ9lmp524FTANj8exbmzWr6l44nkKyTR V+SiZpeOhXVLIxzqBbZ6kdPJG+K6oMqPNGpF9iSWPCWA0IxuAzupDqyiMGnJSd1ZmpPF vUcGKUlts9/ipskrRsGDtEX5r8yEYbacgZ7Ill4qojFgvctfxwGpAZLy/ZAE/VIiZydi 5ToWtUWrVzMbCSwT5GdAar5lwr7Kj3zlI/08bS2MOD5z50bcCLQG57MJReSgHHLbkD4w DXJM5icvtpxO7mLyAPu6K2nyBR56fYJ7T16z3oP0gOa7GrvgahLrfLjP3LcBOqUWa28p D6Ew== X-Gm-Message-State: AOJu0YxMxivNOxpFJTEyWkGQQNEubdVKJi6QCQSfrkh5aUk7zJ/0337g KUcmVInW4ZCkXBpKOaShsiY6 X-Received: by 2002:a05:620a:260e:b0:77e:fba3:81e5 with SMTP id z14-20020a05620a260e00b0077efba381e5mr10587915qko.123.1702545142533; Thu, 14 Dec 2023 01:12:22 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:22 -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 11/16] arm64: dts: qcom: sm8150: Fix UFS PHY clocks Date: Thu, 14 Dec 2023 14:40:56 +0530 Message-Id: <20231214091101.45713-12-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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 14 Dec 2023 01:12:38 -0800 (PST) QMP PHY used in SM8150 requires 3 clocks: * ref - 19.2MHz reference clock from RPMh * ref_aux - Auxiliary reference clock from GCC * qref - QREF clock from GCC While at it, let's move 'clocks' property before 'clock-names' to match the style used commonly. Fixes: 3834a2e92229 ("arm64: dts: qcom: sm8150: Add ufs nodes") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 43d56968a382..18af94852974 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2065,10 +2065,12 @@ ufs_mem_phy: phy@1d87000 { #address-cells = <2>; #size-cells = <2>; ranges; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_MEM_CLKREF_CLK>; clock-names = "ref", - "ref_aux"; - clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + "ref_aux", + "qref"; power-domains = <&gcc UFS_PHY_GDSC>; -- 2.25.1