Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1488271rdb; Tue, 30 Jan 2024 23:10:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IF13TZVgkYYq6QHof5hWyKDj4Bi0uDMs3CnmjWWfNx3+cQRvXH59zZMWttA0M6rP7xk0cHj X-Received: by 2002:a05:6402:204d:b0:55e:f33c:ea4b with SMTP id bc13-20020a056402204d00b0055ef33cea4bmr322347edb.40.1706685053348; Tue, 30 Jan 2024 23:10:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685053; cv=pass; d=google.com; s=arc-20160816; b=iTXRlfxKeyd3/YNvcLkroK6K9GdVPQoNfJJSFDp7ED+2/rHs7abSWHIRIrpK9/3A2R yhs9fdP+NS7K5ng4zB+3BDPwsD1NOp6ndtsFhlF8c0vJD9Lr6POAFd+k0+i6f+gJm2Na I1kEKNd/7nMjRs967oRBAuVrK1uq0os4ZD3InzZLv5Q3wM0GFuDynoHGbrS9rdQG3RZ4 7FX7mi6SxBKtJnTb9YLXZm71/19QAuGfURq96lySZCkyGpz5OgjpAvFL66DTepQCBuwj /PtzKVF6UEgEP5z80CFm2inxJTjeBc7CRNoGnMWxqH3Om6XAz0zfyYETpjyNuTQlgePJ wOCw== 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=gJzG/5N5oQtv/TSCSnSh5ZawdieMuuj1vdHwxZhCvmg=; b=YjWvQrrgixkw/fH3lfMPOE3ZSidb5n4hhaL2/Tzo4qFKodff9MiektneIyhWCf27ur tuOn3vpth/EzhWLjMM8hkTm6FkYZqF7ImgCeDUgqpA0SymyxVaN0J9OjeFiQujlZc6kn E8vW/CaLFSOIja22JsfMODiM3mcSgHoJWRq9+6T0RIKi3CHDycDUU0UEghJvBvweG5sJ GKDxYcJsXwaqNmXWW4TLjW+Ow2vrkyByrvMjnF08/9G4qjo6d/BEodoZo7bGuCuy+8Nf TPmmays+dIunn646iipVg+Q3Bel4plokwSwsmxRpYAK9wWLMWcckVFXRvPm4CJiFCgK4 UzjQ==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45865-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCXioq0eZQtQwNIvZvXYaBhkZko0UsUiLWgmP9xH2oSNeHMHBaeoAl1LiK4FyjV/QrbjgRwyOa1Mor5LStOh3VmpU6t0MXg6Uq7mpydo7A== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n22-20020a05640205d600b0055f92d02d14si11414edx.598.2024.01.30.23.10.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:10:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45865-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45865-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id E2ACF1F26864 for ; Wed, 31 Jan 2024 07:10:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1995C60ECB; Wed, 31 Jan 2024 07:09:02 +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 ; 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 ; 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 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: List-Subscribe: List-Unsubscribe: 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 , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd 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 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 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 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 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"; -- 2.25.1