Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5856194rdb; Thu, 14 Dec 2023 01:13:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IE32xnVpObQJelFFWAzqvp+gdFa4slHI/XNizHbBfHhFIrRhEh8J3NkprJ+jJ4NaUy/CPNx X-Received: by 2002:a17:902:e84a:b0:1d0:ccd9:8572 with SMTP id t10-20020a170902e84a00b001d0ccd98572mr12690129plg.8.1702545181430; Thu, 14 Dec 2023 01:13:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702545181; cv=none; d=google.com; s=arc-20160816; b=O/js1dZ55XuEBwDvU5a9R6umRtBvmeV4Xr3Yi2/XBVxVYJszXIwRyS4i0Cze/98u8p FWv4P0F7gk2glbDDGUhDONJotcD2dLsTYVFyICvZEEvwNcmY1n8OGn4DDDkWqZd+LDC/ U7ow7SniufdT1wWjQBOlK/Tf6wROwLvZcNtwrvW1FflwEl6Go8jFZdBskna8O0Fk/VLn FP3R5FI96fw19pWKMpIjatixhm+KvFXU2HFR3gEnnXepNFMYW3yFHKGV7c17zqLM0Uca csfGMaXp0PWGZ//tdu4D9fkWUTKrMhyhWDeDs3ILzNt0fP5Fd3VPYDSFoYkfolwmx8DR E2Lw== 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=hkhidzmVun0Q+RVPRPkagjowO4OR2Vwj/TtI5d1pEJU=; fh=H3Hd3oRQ75JkRULKMW2cRJpc3fzoPQfKgjc+kMLfhs0=; b=0l+FS/tNj5As/pGSqirIqTQm0jgEn/SaB0JNh6ZhEdV8VhREwLRAytx7BujgctYbAT FLpTT/FQMXSn9gdcfmml7Mnp4+xdMxYWWT1Ee5BsenlBqhE1Yocv+XJkHg360vBXzp5s XHZpPkX/Fim/jp7zzRKmgIYuu8AamKeRzWGKzB1fabn83h5KI+40M1kX2XNKj/Vak5/K VexOMKFC9pfZb8f48NWcEFdyp1IPsCpVWMYtuYG5XzBhfAU9JDD+OlrsNScxvVJmIrBy f6LNZa231XiSywkuB/jGVf8p5a+mE0Ylsr2RA74sCvlGOLbIjLtciaOkVSr61L0iTVeK OnqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=clxzH0FP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id be9-20020a170902aa0900b001cfc9a1915bsi10828618plb.234.2023.12.14.01.13.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:13:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=clxzH0FP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 0E92D830D366; Thu, 14 Dec 2023 01:12:57 -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 S235701AbjLNJMk (ORCPT + 99 others); Thu, 14 Dec 2023 04:12:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235710AbjLNJMa (ORCPT ); Thu, 14 Dec 2023 04:12:30 -0500 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D844136 for ; Thu, 14 Dec 2023 01:12:35 -0800 (PST) Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-77f43042268so32322885a.1 for ; Thu, 14 Dec 2023 01:12:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702545154; x=1703149954; 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=hkhidzmVun0Q+RVPRPkagjowO4OR2Vwj/TtI5d1pEJU=; b=clxzH0FPsT5iPZx+DVeG9g4dLw9kIzROfXH+lilTPy2AD9hGKVHriS6EV++/jMeops /W1L4Bk0k8kS1kB/BixiOHaMlv99z014kiZxEiD1k5A28yo4q1YNmhfRGXM9UNg7S1wA /lFHKtgr+3QdgfcP9fVihw4fky1fRiA/B+KqMfAW/e7HP6Bvj6uOsyjQZsL1v2KzCIBc Yj7mqYsaBXzRgG8G6vq09rsJ+swGufRz90D/aR2QQmRVCVFufC8hhCAEMn/urh6epb+G YYcNuwVJG7HSe0sDrxkAi1iNzeh53Iu81YE0XL6/r1d5F7MO/PQ9ErAC9BaKagtNx8OW wEFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702545154; x=1703149954; 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=hkhidzmVun0Q+RVPRPkagjowO4OR2Vwj/TtI5d1pEJU=; b=gdR7CxJmO2Y0S0okmJYbsvY7JYASn3fJsWr9gymEk/BEJfjnkL1XGp0U/QKhSlJGQF GlLD88bl3BdV30gz0NBKECn+nWRQHlK81NfbawOrzYUShmrjiGdT9kqB1qv1kJtosPK4 i6FwrrPLDsxJ2lAJy4rVtsOHc7s18JwsyIbwXPQk41OBRcVMme6dc61iC5IMGs9k0TQo jwvEd0mHEmiWz+oZVrtpKd2wDBjHgLWtggNXU7o5/mn05P+6XXbyrAW7eHpEOlUpVrUI feXlI8r1gRy/4YqEAa3hvTasCoSr2Ks33xYfBANKcOIQgdC09hKooyuxxqxmiTyL+MU0 l4/w== X-Gm-Message-State: AOJu0YxJ46fkU74CyMkfJ9yClOzUzHUyKjWaOU0arSenALTGeWfzaTxJ xa/LVfFxUpDfasiJut4mzv3F X-Received: by 2002:a05:620a:14af:b0:77e:fba3:3e61 with SMTP id x15-20020a05620a14af00b0077efba33e61mr12750317qkj.42.1702545154261; Thu, 14 Dec 2023 01:12:34 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:12:34 -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 13/16] arm64: dts: qcom: sc8180x: Fix UFS PHY clocks Date: Thu, 14 Dec 2023 14:40:58 +0530 Message-Id: <20231214091101.45713-14-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:57 -0800 (PST) QMP PHY used in SC8180X requires 3 clocks: * ref - 19.2MHz reference clock from RPMh * ref_aux - Auxiliary reference clock from GCC * qref - QREF clock from GCC Fixes: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index 8bcc8c0bb0d0..5591e147bde1 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -2122,9 +2122,11 @@ ufs_mem_phy: phy-wrapper@1d87000 { reg = <0 0x01d87000 0 0x1000>; clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_MEM_CLKREF_EN>; clock-names = "ref", - "ref_aux"; + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.25.1