Message ID | 20240131-ufs-phy-clock-v3-10-58a49d2f4605@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-45865-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1717907dyb; Tue, 30 Jan 2024 23:11:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAJ62C4/h+m4fqORgL8juaMvlPjH0ALTjmDiXgRCU/tFwRhQ26p9gkVKMSbSN3d9l6zcXA X-Received: by 2002:a81:e20a:0:b0:5ff:9c9d:3cb5 with SMTP id p10-20020a81e20a000000b005ff9c9d3cb5mr559203ywl.45.1706685062977; Tue, 30 Jan 2024 23:11:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685062; cv=pass; d=google.com; s=arc-20160816; b=g6j+83DFRNn/xnNJB2q3dbUukyrSDvRxsywVfLHOxrPWuWjL8LmpZrU1Rv14zWVINm i6KEm+uwGUpyOBygG9JEOEdCgRloxIq9FlUw3LEATyGBkJ63VZu3XLCDhJ+qqoV1aB6b EjMeKgMzsJzEeqgxY/25FNZhupk/b+bxcdlM9QWw4SNVg3/x0lQHABqJ9k4WKg7xLO+P Vy752AyrK6ocuMLSeJgbwP83O17UgQDPs5P3fDJxKachYHShtgzBS0BkjHCe9ZbAlcLX V/WQ0YIWs3W/mnMpZj/VrdzKWN5q0Y7oWGDiYAyiJ1efGQRlj/4mDQWes4r2PRaXP22x +NkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=a+f1KbYOE8uwAMslptBk3PljatnhFo4ZiOznmj3zAzw=; fh=5gwwPiGqy/XYUAPuKg9h7WcOmqzdIqiW0QqPzRN1ZT4=; b=lljjXzGz/NCEFI+JR/mn7POBprw/lGeaE2Fq6my5aGCWkTaF7SEoyLCXkTwXMH2Cj4 pFHWLLVhgAG/cWCCI4y1rq6Aey9HdIi3/xFL+zc5NQY71hMEXvnfNH+gCnrkKp6/RNmf gs6Nxr1bRwt5NLpTchNCvNkkGMXkEYzCXgD9ZZFmRNJiIPoVri0oJwW25LJgHH04nS6+ mJh4rqkNLBUmi8rnobOreP/GPYXzMgXEe2/xO4j00/IFxFJcW+s2Q17zhZjbUun/mljC G5jHFKsdxLf1HfH3y9+GlNZKvuwAKCC0ytvP5zA2eNNPBQTCRBHHrcIBYgpUKIsvQH99 BUFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I5WyQyuW; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-45865-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45865-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCXlbjJxY/GNhHqJf0VZoaOoL4fn3e//KVaWhFqrO083ob1gFp4gZP38fHDRGCNaNqC+8Q5w2ut6AU8rZPDKu9EctZS28Q== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u4-20020a05620a084400b00783d7d4f220si10864191qku.302.2024.01.30.23.11.02 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:11:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45865-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I5WyQyuW; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-45865-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45865-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BF5941C20C35 for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 07:11:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 31EBE63129; Wed, 31 Jan 2024 07:09:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="I5WyQyuW" Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B23B60B85 for <linux-kernel@vger.kernel.org>; Wed, 31 Jan 2024 07:08:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684941; cv=none; b=SRlcAsp718eM+veT1z1Jr9wb5dJt1bZLw7SFJxIXbu66qOSvKm4bKrFcwcXVU+itadnf9qC8MNI67mRc+lewv8jRhzSGO4nWr/CScNFJXi0hB37T6YL/EJJ9G+UK9QSQNxGsJx0O82H4+3eI06cwuN/30pfX46NBfUGGPVno8+M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684941; c=relaxed/simple; bh=oHo9/Iv14iEYhCE+ZaJXIeO4pW3mEpTmh/ZTf4/ZBSU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PCiiM/sQNR3B7Im3vFHpZ+croDPbmsS9gD1mB1Z9DQXE/ZG0fjeduM1plvZHIA8g/9yvu2G1L63j7HIc+a6hKtSOdMGe91MYbQknYv8t3PyzaQ9AEeiQ03WPqU52TPl2zjaINhdvTMhsiA5vlC/qXf9HJtoqIYc2gwZ62Fx1n58= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=I5WyQyuW; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6ddc0c02593so2401390b3a.3 for <linux-kernel@vger.kernel.org>; Tue, 30 Jan 2024 23:08:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706684939; x=1707289739; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=a+f1KbYOE8uwAMslptBk3PljatnhFo4ZiOznmj3zAzw=; b=I5WyQyuWS/4xsi5GM7XKzDGRSIJxIyXo1LnQMaXUKyvTr1SIJQaBWejgXJgw9rvAQt VrzIFby64bBkbNC02U4jhH4veNvgHAzOD12y1rJ29/H2oaKmnMmtLPrKPIdhU6bEGWG6 3LumtCorFVUGCr33rBp+lzM3Y2eL5JdxOTh0Z1pNaX6lRVFLk0EFyYX1OaAlUxSSK5fu YEE0Ooq0sSl/PnouvgNa9hYHoAAes3CT/iHzM0S19j99WPuKdzp0TZoD6HLtYzLpAaNA WbHH6CgG8xIeCUoBhFp6zHq/FQ8TuTIwkb7aHG/dyGr6DV99zBIl5MCfhyZNPJWSTHX2 4wew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706684939; x=1707289739; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a+f1KbYOE8uwAMslptBk3PljatnhFo4ZiOznmj3zAzw=; b=ReP2ffi4uPIhQ+FZSZYigriYKEEHcw+TJSj3bH/wcCGhnBTjCVznL9pPKL+13sMhIt md55+aqF5t+oE0y8/h3zhR5cMWKdMKDjCinPlDRNxJB47pOL4xdiitmjX4xA2/no1jAU +JEmDOs333XEE2RJrabVtfcVVY5oEnoDUF4DpmM5iHkRuJFIYPgQYJuItggChBypdsYY jMHyolvwX9J+v3rOXlWxQ4PY2U3/V4dfUsjZStE/ta+JuXvMzzkUPYzvSUEeUzt50Bas jTGAWyjgVzsdDNA8hYoKVSoksAnNoq0y9fPh2UTqVIHoCBWP0/J9xdWIUmrawt44rXEV lxAw== X-Gm-Message-State: AOJu0YziKaabitc0dxjXemWFTR0tmE6I3HbqbzZajZzaRrqISP94kcOD fP5wbvoedOasMp3JaSRpa2CAiTcI/NvPGSgppsEaVVz/r880WWuBhFpxKTXi1Q== X-Received: by 2002:a05:6a21:9208:b0:19e:3096:ea24 with SMTP id tl8-20020a056a21920800b0019e3096ea24mr796815pzb.37.1706684938810; Tue, 30 Jan 2024 23:08:58 -0800 (PST) Received: from [127.0.1.1] ([103.28.246.26]) by smtp.gmail.com with ESMTPSA id lp17-20020a056a003d5100b006ddd182bf1csm9087956pfb.46.2024.01.30.23.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:08:58 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Date: Wed, 31 Jan 2024 12:37:33 +0530 Subject: [PATCH v3 10/17] arm64: dts: qcom: sm6350: Fix UFS PHY clocks Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240131-ufs-phy-clock-v3-10-58a49d2f4605@linaro.org> References: <20240131-ufs-phy-clock-v3-0-58a49d2f4605@linaro.org> In-Reply-To: <20240131-ufs-phy-clock-v3-0-58a49d2f4605@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, quic_cang@quicinc.com, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1295; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=oHo9/Iv14iEYhCE+ZaJXIeO4pW3mEpTmh/ZTf4/ZBSU=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlufG9QqK47jNzzRNotnSEbEEAFk+SwBHVzDKUd ZHt30BHclWJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZbnxvQAKCRBVnxHm/pHO 9R6OB/wMSfXE9mu08okpRkRqnZUZMmFoWUEwlG7quLwe3L+5xnSPWLu/SJ4o1XMRA+HGeM0118U Jf6XZghejsBxnhxHn+qkz+mrNocVRbcTPlQ+7+3jtXhRrRBzSmMNdMROZzSgAhEEfWC5SnD68m+ 1UcARLlmFie6CiUfpxVB/xR2ZWYvHcdcxTABL/WuMLht3K/o13XEM2FDtbaCb2uNJJbP3ikiT+7 dgAPe5c7kLMD6RKXAXCar7Q02gwv5HKkabrWv4GX6AZ36RCZeOh8MihT6w84A1Klf8yNOoWJ9Nu YQkIB3mfRFzfKUFkRXk5GbDH20rSCofr2yUxx/nW0HmwPNVl X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789588996537963954 X-GMAIL-MSGID: 1789588996537963954 |
Series |
Fix Qcom UFS PHY clocks
|
|
Commit Message
Manivannan Sadhasivam
Jan. 31, 2024, 7:07 a.m. UTC
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") Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- 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 2fd363953bdc..49fc4cbe1294 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1189,10 +1189,12 @@ ufs_mem_phy: phy@1d87000 { compatible = "qcom,sm6350-qmp-ufs-phy"; reg = <0 0x01d87000 0 0x1000>; + 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";