Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp496041rwl; Fri, 4 Nov 2022 02:59:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6d5d/+La0iPMDKB/DYnE6vD1ql1rmvuYNf7Qp3btxSIeUSOLQZQWGl2J8uMRQ3mvJjZQ7x X-Received: by 2002:a17:907:7621:b0:741:6656:bd14 with SMTP id jy1-20020a170907762100b007416656bd14mr33247423ejc.298.1667555994154; Fri, 04 Nov 2022 02:59:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667555994; cv=none; d=google.com; s=arc-20160816; b=TQVcO3JHEpNwgq3JcWrRi4CCSKZcHkMUIh/jQo5kpBjOvtpRNEe4U6nHNXqcLYdP8p TlCVQZPMvg6KE8rJQ9sQoSLmG6rQP8rdXZHe67Jq22RrGp9ImGzF6+Xx5a2axuJywgmU n43PzF4rzg+K3YKzzueBL1KsDem2NhZfESj8WzMjFRO9+x4Vx3YiAwHiASCqiFaLMbI1 Ij8xRl+u2rhww2E+9XcOS6BMKfi1g51tdi1CqRG4Gc1CjSOTJbep3afZeMY9cmiv9HMb MWa6PpyhSx9XldmnmFHxCowDTb4JzOwngUBR+Jl3BAUE8xcDyD8y2D2ORoo1mhsqo9Ok jfGQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=6BdWqeMBhmHc+f/LCtokw6qGu6o6r42lE9l+MNDbH7I=; b=Cemg52NYTNOolHCF5hIvYF9pJfpRznMzk01HeNmImv8VaL7/3aiLVVMUyi29rLloUk k/e+ExY5wKqc9aboQqQoNGLejoNTCScE8odTcKISvyH06Z4Rp0v6l9LCEjOFtq8/P+r8 DPmogWA5621BkhF6UaBx+fNguNge21qBLf4FFDpVCYFCUrdYI2FrjZJVtzyzo/zqRWBZ duVl1F0Q6MfUVI6XFa8rf9P+avpjIabXkISp2MhIMqYI9+C2fc9fOivZD5nx39T24iGl Njx1Lbhz5MUXK9RuL0/YHi5MVwY8KKfFmljZd2KXXkF5MVo5BCO6dWGHjvb39kGwgkhB KN9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lR6xkhsN; 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 n25-20020a170906689900b007a087cce094si370192ejr.512.2022.11.04.02.59.28; Fri, 04 Nov 2022 02:59:54 -0700 (PDT) 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=lR6xkhsN; 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 S231446AbiKDJV2 (ORCPT + 96 others); Fri, 4 Nov 2022 05:21:28 -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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.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 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(-) -- 2.37.3