Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1767247rwb; Mon, 7 Nov 2022 05:40:17 -0800 (PST) X-Google-Smtp-Source: AMsMyM7EMAcYZmmHl9ExXaiu06jxsNwjtRHKe6UnBJqPbjsTrttVXe0SmrwWo/HYUxN8Wve50fzD X-Received: by 2002:a17:90b:3510:b0:214:2af4:f8ae with SMTP id ls16-20020a17090b351000b002142af4f8aemr29225785pjb.173.1667828416911; Mon, 07 Nov 2022 05:40:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667828416; cv=none; d=google.com; s=arc-20160816; b=KU3FWWXFRyXk++Fuz3Nu+a079yZD9UkK+NNl20lsyHH/Q43u16vSWJaP9w+bvw6VxD UCys911UzPFKIPxvuwgOCPnIFqykAgKT58H2g7MniIhUAEF/levMwDQl8Fyku595227A 3WC9PacO42wDx818pLuc85JEKFyF3/shvkYq83iJ8kz0MNQyysAMs19qoWOeuES/92Hr W2KYgeljDBys6pI28HHGPR91xrmZbDaQcDzmdHD39AKaez6UNcqFbi23eMg+ozdNszJR CjcAZp6Pz2Z/p0JCGRWJ35OcQBvN93qwdAVO//h+p0EoZpPQjdzy7kT3HfpXLHk1MLgS hkbQ== 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=xL6PAsV6FNm3LXEYWUIKFnd8dCJym3qyirKOFqt1R6I=; b=zxPqqcdsi/CV3fZCXMFKmr4SlFv7+57EYF+b7MTvq08tIyBY+fkz3DFus/47EIgmJG eEnOBh+ls3PbTZJnzv6N6NN2a9+E9sAiw0lbqRrfLljG6oG+Pw+Stuek6QB3EFdstMsD 77jZmSKoZNPoR6/WUST/9a0nS/808+UH820M+qrZCybhmwrAXITIfBBMxYHTt4PWwNl9 D7u8uUdpPPFXamUa2YqGJNj1VfDTieor6TBhLrNvbgKte0lo/Qk9M/OY6/vXHGpS13eP XFSdHja/9+CdusX5Jy3Ju5FhD7zMDVp1WYwH43EQP4E+us668gh+jWU5gU5e5T3xcgBM inMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Cjo/qXHY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a24-20020a170902b59800b00186dcc35018si9019939pls.108.2022.11.07.05.40.04; Mon, 07 Nov 2022 05:40:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Cjo/qXHY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231755AbiKGMYX (ORCPT + 93 others); Mon, 7 Nov 2022 07:24:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232174AbiKGMYQ (ORCPT ); Mon, 7 Nov 2022 07:24:16 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5CF2262D; Mon, 7 Nov 2022 04:24:14 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 646D26101C; Mon, 7 Nov 2022 12:24:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC3B1C433D7; Mon, 7 Nov 2022 12:24:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667823853; bh=iQ5ViS/Km14zaC7mgBP0y2BtAXFP1Zx2+Nc0cPz+2qA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Cjo/qXHYDinqnN1BP/cR4oeVGmag98le5Rk5ncBzR62I69Fw268at7QCX1YlMexDs cYsR6k3RHR3tfPbvEeOzkiaWT6N9rawd5MC1JTSWjOpi02oykFYTdnYSEEZrKRshkS lZRGonQGVwvMXfHpmxqhifkluwQLYdW2ric5Ig0eODnqS3Vp/5oU7aFwKcyW7IFeNb hjpmQDzp7CktfXP5ghOjSepmNfg2eTsoOo02ssHsmhDeojtrjRS900yNpfXGzJipJK XNKzSCLix4khBHtq05cl/AVx0RXjO9Zy27GtkoYKeaG7vTHok6UmjqZcANYTz1Ytj1 OFPJ+xVgD9Hcw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1os1AL-0004DQ-56; Mon, 07 Nov 2022 13:23:49 +0100 Date: Mon, 7 Nov 2022 13:23:49 +0100 From: Johan Hovold To: Brian Masney Cc: Johan Hovold , Bjorn Andersson , Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Shazad Hussain , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 1/2] arm64: dts: qcom: sc8280xp: fix UFS reference clocks Message-ID: References: <20221104092045.17410-1-johan+linaro@kernel.org> <20221104092045.17410-2-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 07, 2022 at 06:09:12AM -0500, Brian Masney wrote: > On Fri, Nov 04, 2022 at 10:20:44AM +0100, Johan Hovold wrote: > > There are three UFS reference clocks on SC8280XP which are used as > > follows: > > > > - The GCC_UFS_REF_CLKREF_CLK clock is fed to any UFS device connected > > to either controller. > > > > - The GCC_UFS_1_CARD_CLKREF_CLK and GCC_UFS_CARD_CLKREF_CLK clocks > > provide reference clocks to the two PHYs. > > > > Note that this depends on first updating the clock driver to reflect > > that all three clocks are sourced from CXO. Specifically, the UFS > > controller driver expects the device reference clock to have a valid > > frequency: > > > > ufshcd-qcom 1d84000.ufs: invalid ref_clk setting = 0 > > > > Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") > > Fixes: 8d6b458ce6e9 ("arm64: dts: qcom: sc8280xp: fix ufs_card_phy ref clock") > > Fixes: f3aa975e230e ("arm64: dts: qcom: sc8280xp: correct ref clock for ufs_mem_phy") > > Link: https://lore.kernel.org/lkml/Y2OEjNAPXg5BfOxH@hovoldconsulting.com/ > > Cc: stable@vger.kernel.org # 5.20 > > Signed-off-by: Johan Hovold > > Reviewed-by: Brian Masney > > Note that there was no 5.20 kernel; that should be 6.0. Bjorn should be > able to fix this up during merge. Good catch. I based this on a tag created before 6.0 was released and failed to notice. Johan