From patchwork Fri Nov 4 09:20:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 621423 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AD55C433FE for ; Fri, 4 Nov 2022 09:21:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231387AbiKDJVW (ORCPT ); Fri, 4 Nov 2022 05:21:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbiKDJVV (ORCPT ); Fri, 4 Nov 2022 05:21:21 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 347A0248DB; Fri, 4 Nov 2022 02:21:19 -0700 (PDT) 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 sin.source.kernel.org (Postfix) with ESMTPS id 1E8B5CE29F5; Fri, 4 Nov 2022 09:21:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59070C433C1; Fri, 4 Nov 2022 09:21:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667553674; bh=ZNT0XwYAgRKuTKTfJu0Te8j5hILWxto2RffwHpENdF8=; h=From:To:Cc:Subject:Date:From; b=lR6xkhsNRtS7thTObdaB0xQK8Em+2A4+Ez2ybWVpI7xOyc2YCzsnhsbwOtcwLianv kOaG4ZZQ7aU0kFMePoZyERKA2b7xfR8VFFsQcOvpMwGQb1hFWq9R3eaFb80Jqt3j1I fnKjcG7MvczFgLJ1zgXZy69ZoOrScZD/5pptmh2VbQUAKQxnHeZdxqtBV8Dl7RpC1X QGCSd4jYfrb7sM3TiQsiA8c0rX+DdNTFJTFq2z7Sb5TSruWVPXX+nl2LeLW7+Nm6rg dzbAZBWGIhVCWTCUXut9+qyz02aQCZ40/4jGs6RShJykBd5dB3NU8Q9Xcnj1LZ2IMs lotEsNdcdYMrQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oqssh-0004XX-PF; Fri, 04 Nov 2022 10:20:56 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Brian Masney , Shazad Hussain , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] arm64: dts: qcom: sc8280xp: fix UFS reference clocks and PHY nodes Date: Fri, 4 Nov 2022 10:20:43 +0100 Message-Id: <20221104092045.17410-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org After some initial confusion, we've finally settled how the UFS ref clocks are used. The first patch fixes the UFS controller and PHY nodes so that they reflect the hardware. This one should go in 6.1-rc where the two previous attempts to address this are heading. Note this patch depends on first updating the clock driver to reflect that the device ref clock is fed from CXO. This is needed as the UFS controller driver requires a valid frequency for the ref clock. A patch that addresses the this has been submitted, but a v2 is in the works. [1] The second patch updates the UFS PHY nodes so that they reflect the fixed UFS PHY binding that is now in linux-next. This one is 6.2 material but depends on first fixing the clocks. So to summarise the dependency order: 1. clock driver should be fixed in 6.1-rc 2. patch 1/2 should go in 6.1-rc (after 1) 3. patch 2/2 should go in 6.2 (after 1 and 2) Johan [1] https://lore.kernel.org/r/20221030142333.31019-1-quic_shazhuss@quicinc.com Johan Hovold (2): arm64: dts: qcom: sc8280xp: fix UFS reference clocks arm64: dts: qcom: sc8280xp: update UFS PHY nodes arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 57 ++++++++++---------------- 1 file changed, 21 insertions(+), 36 deletions(-)