Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5882008rdb; Thu, 14 Dec 2023 02:16:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJTEd/FCXGRQtV3b+3qzMfnWKnPsllZwFMUl2S5v0IqoAvRCKwHzVVnNVng7DTcEMwvfzy X-Received: by 2002:a17:902:cf41:b0:1d0:3fb3:9202 with SMTP id e1-20020a170902cf4100b001d03fb39202mr6833274plg.22.1702548960393; Thu, 14 Dec 2023 02:16:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702548960; cv=none; d=google.com; s=arc-20160816; b=NyI6+JfFuO4UGSinjWSO3M7EAVNZpDSM5FHVjSEp4HyDUY6J+jtjsGh1NfLZGcRW+o g++fY6AaFNXhkoJJdwYw6F5i54n251dmTfgjVWwLWjjHqlpisGgEKifEHlqRxbByiIQi Lf4jb0gnMh9F+oTc6zaavzhl9Fi1QKUjVyc76l7YcklHxwvr9apJ6z9OWeC1BxLzxS4N Zj0aPExW7z7qKiMCUVxyWwtnOey2usE67Mg5XokcSHsaTL2o5pkpH7Y9dvMF+Yaez5lr HhhAbaw1Ch60u8puyX47NUBNbvY6K74W5SnKMTNXaDnLA+p/L+R8LyXj7e+0gnUXMN+D feZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eNhEywl2I4YFouy6q81XyjoGgv1YaKAM3fpGLJpcx1Q=; fh=0rjpMjJoUhESvJfpyr2UUT/PyZG3rCeh0DXPtK4LiW4=; b=T5TtpuKag11B1l4BXG2xrJR/qmohnRnxcb/h+UYTOPPR+7jmM2Eac35Oq90AP4OMUY QokMCtkJqwhzoUbbY15INbe2XdDyi/SsSMn1KeYWpCakNCJo2R+diiNWc0HfhiV2rAHF 5+JHyAOkDc/y7U79zVIDCHIE0QGS6VTnmUynT/8FLUmn2nRcvXtC3yZTOi01+A0/WITH 93jfCUHXEYVyl2xrbdiXeGsaIAmQJbDt5B7KsZbSIYWoLe3hx4OWTeq6FbLX/crc2ADt m95ftNVy3+C7WKqnAsj8BAlYDh5ihGT64JzIAW+S5yi4uSy+bg1UqsIzGGQNRBVJUzsn BlqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d+HvtCwn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id jo5-20020a170903054500b001d344ae8411si3377624plb.151.2023.12.14.02.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 02:16:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d+HvtCwn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B83D1802A373; Thu, 14 Dec 2023 02:15:55 -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 S1443598AbjLNKPf (ORCPT + 99 others); Thu, 14 Dec 2023 05:15:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443594AbjLNKPd (ORCPT ); Thu, 14 Dec 2023 05:15:33 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2695110E for ; Thu, 14 Dec 2023 02:15:39 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7537C433C7; Thu, 14 Dec 2023 10:15:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702548938; bh=spD0AcUmHxYeiPYt/c3JhN1YM2jl2kjLtal2py7KBa4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d+HvtCwnirQYqb0XbaZZISMF+cDLc/3vjA3UQTYQWPiM7Z67oMaX0TSMyybRQUwo3 VoH80XOrwpYpM+tma/YD2DjOzL/RnPF419qSrGIM82tSHG+nRcI7xozewZKviSs9Mz RviVxNHT93s54OVcbGMkNUd+iiZUqIHuENqCtp6poC8CenDJLteveEAlVHawyyIctM hnaWuLkLsiVCRH4oYptbvCWKi0GoRzUO9UQglIKK4wl0Z41N4h8U2umipGVKOiHQAp wsqaBvgwqL/97KOepDh8TFUqA1+V8DLB8sRkUMQNDpQLrO8O98TyEqXdH9XFg/BvwY quC3+8ZE6Sdew== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rDikg-0007zX-34; Thu, 14 Dec 2023 11:15:35 +0100 Date: Thu, 14 Dec 2023 11:15:34 +0100 From: Johan Hovold To: Manivannan Sadhasivam Cc: 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, 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 Subject: Re: [PATCH 00/16] Fix Qcom UFS PHY clocks Message-ID: References: <20231214091101.45713-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231214091101.45713-1-manivannan.sadhasivam@linaro.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 02:15:56 -0800 (PST) On Thu, Dec 14, 2023 at 02:40:45PM +0530, Manivannan Sadhasivam wrote: > This series fixes the clocks supplied to QMP PHY IPs in the Qcom SoCs. All > of the Qcom SoCs except MSM8996 require 3 clocks for QMP UFS: > > * ref - 19.2MHz reference clock from RPM/RPMh > * ref_aux - Auxiliary reference clock from GCC > * qref - QREF clock from GCC or TCSR (TCSR since SM8550) > > MSM8996 only requires 'ref' and 'qref' clocks. > > Hence, this series fixes the binding, DT and GCC driver to reflect the > actual clock topology. Is this based on documentation for all the SoCs or on inference from the current (upstream and downstream) devicetrees? Are you sure that you should not just describe that some of these UFS reference clocks are sourced from CXO in the clock driver instead? Take a look at commits f446022b932a ("arm64: dts: qcom: sc8280xp: fix UFS reference clocks") f6abcc21d943 ("clk: qcom: gcc-sc8280xp: add cxo as parent for three ufs ref clks") Johan