Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5855948rdb; Thu, 14 Dec 2023 01:12:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjSy8bpA6roas+OLTAfzE485rpguQ0ASVumKzAWVi1V1SJOXYBuQKfiErVJKdAkAi7gM2w X-Received: by 2002:a05:6870:1f13:b0:203:2e9c:eeb2 with SMTP id pd19-20020a0568701f1300b002032e9ceeb2mr2247272oab.32.1702545150602; Thu, 14 Dec 2023 01:12:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702545150; cv=none; d=google.com; s=arc-20160816; b=FMhPGD7QqzPNzaNdDXO+Y9tch+60Xh8F1hyKHApwRnwdLCTZyIaAx85xDvIQEv3Xau fQf3ZoLnCYrl0QzWGyzwy5dKrcW6gwTOo65Nd92+oANvhMo/7pKqHhqPUG4PUeXfYv2X m9VBovSaZco253ox1H7z+atuNTjB31HA/E8fj2CWSj8WN+TPwQrSY18Mot6e1QdwZCJj BNGj/zsuYg5ya/At1CzpxKk/0HRuhiSyDUl6gSIc+mMtKsTWGHWUd7xXQm3nI0s7AVme CxX5q71epfjhSSBH46rcJvDgGFvMLSNevSPX6wBTpDeTI/m2Bq0V+yIli2ZRrgSAsbDZ P8Qg== 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=bQdElwhJNkunjNkKmQMPCEqC6kOTfOJsifUeDg9TJE0=; fh=H3Hd3oRQ75JkRULKMW2cRJpc3fzoPQfKgjc+kMLfhs0=; b=D5qrB5ejyUihPmBVHAzhsCwm0GKDPZPLw4ia4nTzBR4uyny12KOOf+ce8Fsqv76zSa Gg7+yC1xRetZqFBBwDxEt514qSX4vBDhqKW3Ox12IFHPKRa2HtPdoY/wgEhkG3h338gA Tl+87YX5RB79NqiEt8rDkx16Pa5kaZzyx11eg8r8sPEZo+dTeoiXGTV8Jz0NpySL9vDN TNW375+dX8hdDRZ9lec80pDs++XhjbqrE8KxlPEGUaoi4a9Lu51VG54HwqLhRRaWLeCp xP233lueX2G/+ehcICm2VUczTLMn727dBcY9mjz6a1tQNrSTwdhs4NI4Xmvl5nCRm+o1 st+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bnvqq210; 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 h5-20020a62b405000000b00690f9e835d8si10775680pfn.132.2023.12.14.01.12.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:30 -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=bnvqq210; 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 120D4801B1A8; Thu, 14 Dec 2023 01:12:25 -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 S235626AbjLNJL5 (ORCPT + 99 others); Thu, 14 Dec 2023 04:11:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235646AbjLNJLx (ORCPT ); Thu, 14 Dec 2023 04:11:53 -0500 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EDD010F for ; Thu, 14 Dec 2023 01:11:59 -0800 (PST) Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-3ba2dd905f9so670558b6e.2 for ; Thu, 14 Dec 2023 01:11:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702545119; x=1703149919; 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=bQdElwhJNkunjNkKmQMPCEqC6kOTfOJsifUeDg9TJE0=; b=bnvqq210/sD9uB5iUjNiccXabIWTbWHGSlfSfgtUe2fhIpPOj0QpgAz1kNKzA6Z2Qe HrwNAiZYLGmnCb+/wUxEYvakgpjnLVGusDl6UTHH/ioS5ccABMe0gY2r3ZCCdEkTfz98 ZPr8OP+JfQx/njHzFi2BigjevR/3qv7ct1E0SesSm6wnUYBQ8wH/186zM/qiwIa49pV7 sj15f1JN2Ppk3vh2ZW2rWZNoyQBsf6J0WutZ5IxJx47+tbeiYV0ALbJI97mDo97+Ap9j YlMRumb8n+d9zxCjErTgTPF+rPnIc0NWR/fmrubxyd5VxBHlclJCqIpLWsZ3LpPcKV0W H3Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702545119; x=1703149919; 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=bQdElwhJNkunjNkKmQMPCEqC6kOTfOJsifUeDg9TJE0=; b=UIMXE0aH8gmkSVdkz5JtCTNGALBKsC5xZCM3BVErEk5b45PT81bOGCq1+t4b0a7Thw TEh+BrwnJcZYZ2cgWLIg4OoEU63/8IlmQqUeywM2TewJH9M0tiPY2T7UIDRdzR0maoNe w3Bu4c6YzINlj8+l9RYh8ViCDOUg2Zby0O4BwUg1cho8oNUPgQ03xSQ3ez/r6D94eVsF nk7wRKqJ5KTf/uU0jONC6Rme9PFKWjdd9BdXJ5+aTrKp9obWYjO+wmOrjn/e1TlkOcw3 d3OC5RuzHUUhYJesn02mJ82BE5+ekZ7f3uBWMgOi5xlcxh7dryLRArdok2EBwnTwIgB7 ekEQ== X-Gm-Message-State: AOJu0YzoWJqFCN0MPGbWFU33SdNvQv6ucvjX1ZGZ9Ea39qmk9XZi1UTC QWXeDzGOP7ZBW6kfpAOsPlpV X-Received: by 2002:a05:6808:1b11:b0:3b8:b063:5d67 with SMTP id bx17-20020a0568081b1100b003b8b0635d67mr11293668oib.78.1702545118828; Thu, 14 Dec 2023 01:11:58 -0800 (PST) Received: from localhost.localdomain ([117.213.102.12]) by smtp.gmail.com with ESMTPSA id qt13-20020a05620a8a0d00b0077d75164ef9sm5144119qkn.124.2023.12.14.01.11.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:11:58 -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 07/16] arm64: dts: qcom: sdm845: Fix UFS PHY clocks Date: Thu, 14 Dec 2023 14:40:52 +0530 Message-Id: <20231214091101.45713-8-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:25 -0800 (PST) QMP PHY used in SDM845 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: cc16687fbd74 ("arm64: dts: qcom: sdm845: add UFS controller") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index cb3bfd262851..a7529af5bc6d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2619,10 +2619,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"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.25.1