Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5856229rdb; Thu, 14 Dec 2023 01:13:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGsdjAPNGcw84itJWzzfze8utW4rTCsQgO54FVQm8Pspp2bxt0zzciXfzz/oLlcWZZHy4XJ X-Received: by 2002:a17:902:d582:b0:1d3:67b6:cf03 with SMTP id k2-20020a170902d58200b001d367b6cf03mr229046plh.36.1702545187111; Thu, 14 Dec 2023 01:13:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702545187; cv=none; d=google.com; s=arc-20160816; b=0+0sth8ORwzgS7tXuPqpeSPUFSk7NYDCnlxfRWQ4aPcFprBzyAVCtCrRyxKTgr6hae cX409KqrFMzRQP6+3I8ohBitwdMa4+00e9KF6SLB1lzbz3FerqE0JxKkuHcpKV7yuse4 7yj8oCT97BFXywDKlf4AZMCUpYpQY/dLp+0oCjvyAXhvfyg8vmQzm21NVlq7BbSMRvbd w+CNqMJk5CjCHC5wAF9d7hVaTLkkhO6HdE3FNnlr9OxDA4U8EqJ2shoW9unVCxOh/4cn bKDY8arIktEj/w8Ta8mSiuFK+hT9i5Y/MLTr0Lef5lzuKwbXn/GoFRqAsdM93s46Q8+O NsAQ== 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=dnV4bcTFVg58y8kcgwcwL2c2t/omr5+/badatgzAJ70=; fh=H3Hd3oRQ75JkRULKMW2cRJpc3fzoPQfKgjc+kMLfhs0=; b=jp2xBPsJXbNaFaF15ER/S72U146SaKoPuAHl9kGmtXxS34JjVXJieZ2CWWaan4NqhF +fpMS0RQh4ekf8bhYKxOGFJeJZ/QH5Nt9d+fY7RSWQn7F7Y735ZHRdRscCqi59AvGceJ rVn/swtyvq+DaAsLWn+Hx9ztStClV1Kmqo/vuLLNwbnVkUuGgVFAdzGkm39KReHNcpi5 u1LJp1M+vLWYT+z5SfsCckLq8zA0zH6Uq5/BdcwVDllD57rVABSYqIMQE2KiNL9Z7jQi R53FA/uEc8HwdzfP5KXp2IPa6bQvPUoYFGDlhA5aVvzSm6TxtQyX7iSmddRWNoq/PC7l JUPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GSmmSVQ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id k17-20020a170902ba9100b001d05aa54912si10710786pls.504.2023.12.14.01.13.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:13:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GSmmSVQ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 1D31980DF9BB; Thu, 14 Dec 2023 01:13:02 -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 S235716AbjLNJMr (ORCPT + 99 others); Thu, 14 Dec 2023 04:12:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235715AbjLNJMk (ORCPT ); Thu, 14 Dec 2023 04:12:40 -0500 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5FEBA6 for ; Thu, 14 Dec 2023 01:12:46 -0800 (PST) Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-77f8e4702a6so149269985a.1 for ; Thu, 14 Dec 2023 01:12:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702545166; x=1703149966; 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=dnV4bcTFVg58y8kcgwcwL2c2t/omr5+/badatgzAJ70=; b=GSmmSVQ6n4phhTJUIx0pcX5tKIAnI1/2BGlcPTO4DAUywUsd5Gszhj4xF6XwIUH1Fj QAZJ9OXqBDY1EcdSu2PcuVdK1z3PhbZA4srn3+B7mloOUzxZbzofAVv9Kwq36Be7Y5Vg gQYeTSGK3Rm3efPLqgLwivOSSHKZFMu+9Hm9RK9GAPfqwPvbm9zjJPjXzVciI3PXZ/c4 xTgA/e5Ea1HyrODKO5gm2tm9m1r7mQcBN3/wJmkhr3fmLogrUX4bPlWMVRym2Dx1tqZI IIcyLN7nDuu+T664TJj4igJBZIbzaUOKyG/o/ij5OBKnjaEfsdPfSIhMGgAG55oO7Aka Ckhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702545166; x=1703149966; 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=dnV4bcTFVg58y8kcgwcwL2c2t/omr5+/badatgzAJ70=; b=FiU0GdwEdlJo+SHVDhglwkCiaB753ZFwjF8saDg0wCtldH8NNKIAP9+PYt/IlYGaiS 877P38fS46X7c2WoI5pzi8iTgG2theLRv23sV23J3XkMort5opTcvbmNeuZfGRJXiT8+ 2UGe+Ia9HNtBGAtxhFLVmx70R5WAFLiYoe7aZ06UOKbGfGzajMJz0VvKCTVjaHqivHrZ gkUg9G9FhHPTaN5cz4mdNPRQ9bPSwyTiHH77fwEOvipqvNE8DvY+o4SKVQrNheX+L1yv 8X/6MpCQ1sddpSNj1D0zz5cjf+JakXf1OtqpZAfXFRmPMtzZIRrA4icJe/+rZI0okLOE +rKQ== X-Gm-Message-State: AOJu0Yx7xufGWVbwSB4XPaKNGpGHbl2A7Kteh6qoZjXj/o3Da5KDSHzI nbiaj9Og+AdU6B0yXCMjexNB X-Received: by 2002:ae9:e00d:0:b0:77d:7446:d4df with SMTP id m13-20020ae9e00d000000b0077d7446d4dfmr11263131qkk.76.1702545166023; Thu, 14 Dec 2023 01:12:46 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:45 -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 15/16] arm64: dts: qcom: sm8350: Fix UFS PHY clocks Date: Thu, 14 Dec 2023 14:41:00 +0530 Message-Id: <20231214091101.45713-16-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:13:02 -0800 (PST) QMP PHY used in SM8350 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: 59c7cf814783 ("arm64: dts: qcom: sm8350: Add UFS nodes") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index f4b8439200f5..38a09d71b3e9 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1727,10 +1727,12 @@ ufs_mem_phy: phy@1d87000 { #address-cells = <2>; #size-cells = <2>; ranges; - clock-names = "ref", - "ref_aux"; clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_1_CLKREF_EN>; + clock-names = "ref", + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.25.1