Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5856094rdb; Thu, 14 Dec 2023 01:12:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHf1YSfe5JantuVxC63CkJj3XpAf/GGl9UMABw2qQ2IwCJwb0KEFWX9rkZY9ZLBzVJZKHu7 X-Received: by 2002:a17:902:d2c5:b0:1d0:476f:b2ba with SMTP id n5-20020a170902d2c500b001d0476fb2bamr11850309plc.50.1702545168103; Thu, 14 Dec 2023 01:12:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702545168; cv=none; d=google.com; s=arc-20160816; b=Ul5UlULQkViJqILm4QdBkI8fIauI1UXyJ7RlRDM0NoF9QkMMLhd3FnxQHT6h6eWZcS 8Kwq8INRp3KJM7XQGpOXVLhTt4SdmXcOvLLlNB66kweBqjF5Mb6DxWYR1GL38OU/7GXr 05pOjKyt30QZXdBLLMi51ADZA2DxvbvHGEIqw5F9Ptw/GNYZNmJe3ENaygPKFQAlt0x+ 889/+FplfgxbHyw+iITNGQBuXWd/O+hqztPFrx9WMMd29HmP+d8gN39mUuTT5zt6FtJA 8qPDqlR36gz3DL4qQRsxOSDPqKDhywpId4PCI4ZJkVsSKhs+YMEK1OqUcea5PHx3hz4G wSjA== 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=h2DCBxer6HmgtNkGKJ5qBuor3JmQBFkVeksd4AY7uXs=; fh=H3Hd3oRQ75JkRULKMW2cRJpc3fzoPQfKgjc+kMLfhs0=; b=RTf6Uc7EGsY9EroggnmG8cEAKjPt1iLwlEjoVNfNor1SBHEnhCUqxU41pRvmw2av7k DoRv1dGEnlf21AuUFoEnKgBm1caBkD8jdsUdR25fTqJI+cIXAqtQBgefglxu2Z08t8qL Cm3P2/gs+MhGZ1lHo/JofVHM2OsSk82jREPh8tgcE/0Eb9F0g6NgjLviqXqQEDR8QOyU UaM1diKhM8zlNruxm69z3avRiMGaJvNc2VGr9KEfY7SoKqSlRQznNqaHa6TgMCaQ2QPh Yc+vIFzUYGVJVMrJKgD0Rn0UiOY/MxWmKQWNarDlZTJxCEtBWJbjJMR1SrNQsGU8LBuq xufQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="EZtDLq/H"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id jg1-20020a17090326c100b001cfc4d8eddbsi10723866plb.173.2023.12.14.01.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="EZtDLq/H"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 3F7EE82FA5D3; Thu, 14 Dec 2023 01:12:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235693AbjLNJMP (ORCPT + 99 others); Thu, 14 Dec 2023 04:12:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235658AbjLNJML (ORCPT ); Thu, 14 Dec 2023 04:12:11 -0500 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E339126 for ; Thu, 14 Dec 2023 01:12:17 -0800 (PST) Received: by mail-qk1-x732.google.com with SMTP id af79cd13be357-77f35009e78so461366585a.1 for ; Thu, 14 Dec 2023 01:12:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702545136; x=1703149936; 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=h2DCBxer6HmgtNkGKJ5qBuor3JmQBFkVeksd4AY7uXs=; b=EZtDLq/HI79bcsz2P1q56tHB+9aIk3GB44kaMqKEyr/ZNhFBygCWZxafZhG0LD/EdK wLEv8+WgXswNUAMOn5cAnEGAnqdYhT5BHf7h0OOOl+OlTxfVLvn2D4Sddmqv7xh1xykc aGVXEdUraCWWV8GRM6il1JMCwxt+Yxj/cSH+Uo6gI3Iq+1NvPLlG6dXhk49PGJYAY57X OgVW+tIeII6DLbdteNNObDmfy/3q+Juu4WP7T2GsQ5esVtqpshCyDUKma9iqJV+Aj8eX d7HyiJIzL6/KqnOOf84vYwjXGvQbEPKatamIsXngigWczEehHQOxFFfnpzAbqNBsQAml fftQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702545136; x=1703149936; 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=h2DCBxer6HmgtNkGKJ5qBuor3JmQBFkVeksd4AY7uXs=; b=flQG/0ljdfokgrhY9xzsfGkDVaKvlH/CUnZzbpwLQhG+pVvYJRo9gSY4AfhNJ8LWKs bpIZqfQvzECYsxNvI1LlDMo1X3w47O5X8eqfp5i2YUKVeUO39OoR2hI3wgpUuhCZnRyK bCiUpj0XtD0l9I7eCIDeYd8sQFItwyJffZHPgcN5OQW+z8BdBsjHfF9LZzJ9cmMXODSk Zp8WQUzUo6TMyGherde2s2DdlpOUlz9PodnTaVrY9aahm6mojqxph27YUsiR57EXtiQ5 4yk8zvXHDT4EzGjRO7bYHq1y3M3k9TY470jS0ovBKQXTIPCpU8Ohu/ojGRbpiv9ZMn1+ HIEg== X-Gm-Message-State: AOJu0Yz5yYctlTJ9XnfMy5mCX6CrFSRABYIIL11C6M3HPe3Z+vmim+c4 wL57dNLWtCKaYhKbqiMRW6cP X-Received: by 2002:a05:620a:6109:b0:77f:983d:9606 with SMTP id oq9-20020a05620a610900b0077f983d9606mr1935569qkn.98.1702545136695; Thu, 14 Dec 2023 01:12:16 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:16 -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 10/16] arm64: dts: qcom: sm6350: Fix UFS PHY clocks Date: Thu, 14 Dec 2023 14:40:55 +0530 Message-Id: <20231214091101.45713-11-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 howler.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 (howler.vger.email [0.0.0.0]); Thu, 14 Dec 2023 01:12:45 -0800 (PST) QMP PHY used in SM6350 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: 5a814af5fc22 ("arm64: dts: qcom: sm6350: Add UFS nodes") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 8fd6f4d03490..ef793d48316d 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1192,10 +1192,12 @@ ufs_mem_phy: phy@1d87000 { #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"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.25.1