Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1392230rwb; Mon, 7 Nov 2022 00:47:19 -0800 (PST) X-Google-Smtp-Source: AMsMyM4h4USFnVfvhkYd7UiCoHSjwKwnGNTlYvj77P7UVTQjU/s2O1xUNY8MnnnNX7EiD76f3V+B X-Received: by 2002:a17:907:2714:b0:7ad:e2b5:e068 with SMTP id w20-20020a170907271400b007ade2b5e068mr35339958ejk.715.1667810839205; Mon, 07 Nov 2022 00:47:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667810839; cv=none; d=google.com; s=arc-20160816; b=r/IUe3kE+z1+J7NLpcnO7ABj8dSUSm7QlL7TvYzic7dqg41+AjP3INCuzHRUFEXevs tHXkZy75d3e5q8yvQRZ7p/RI4d1/sUqdYXxc2kfvZpfwnyOBv/ZyamlCIKPiRAVxN7Up hfeO/W/OsQOTtZWj1wAJM+/DzHWghQN4vOb4xkgwisVZ5ecF1NCzZDCE/VOb872ifUmp I+IQQIfqosF/siJeI690F2LdsBy7iP5v9zRVHcTfozbrYF/wV7TjZ5ttOye2D07MAqoY WTHnNT+CggVR6xuMSX7VPiPsv4fML9KCieuj8r6zHOPohQ0RKgeB+uiymaxbKoQtknqx OGDg== 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=lpjQ86z5NXes1QO0CFaIpyXymD/Lv0DrGQO+0TFbgZw=; b=uwpecnnGOBjket5/wTihXxExa6fBsUigC0MedDNtSe7DhmlCf6rBRPd10h8esD5iZg SIzr/EAX9FaDcgsD1q+ZCuvuGYUlT+iJXXKkfVK/aXLd0W38/JGwsMoA0dbIeaQiy8su 2Wph2zjgzWEk8308Ca1lWQj474dWTNOHgLEC1ykNhGAEg3tL9QE6kuz13wId3Z+InbC7 Y6GfhrzS4pIYZcw64MPcVIKyqTKVzBSq3LoC6WK9HoayJViDypnCHqJNf+WnRDbcCmuQ moH47X2NtBp+ARnUMYiDcD5uIgwXO4nRpYAJYwP5C2ZUC5YXx3ww4nINiikaVTddBq2v 63dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l19TsNhT; 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 nb5-20020a1709071c8500b007aa6ce58d9asi9008854ejc.712.2022.11.07.00.46.56; Mon, 07 Nov 2022 00:47:19 -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=l19TsNhT; 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 S229687AbiKGIS0 (ORCPT + 95 others); Mon, 7 Nov 2022 03:18:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230304AbiKGISY (ORCPT ); Mon, 7 Nov 2022 03:18:24 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1A4F244; Mon, 7 Nov 2022 00:18:22 -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 ams.source.kernel.org (Postfix) with ESMTPS id 5FA1BB80E2D; Mon, 7 Nov 2022 08:18:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 037A5C433D6; Mon, 7 Nov 2022 08:18:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667809100; bh=j88niuCnMaWKRA1D9Tj+CFIRdasfCLQF6vaVFEFj1hY=; h=From:To:Cc:Subject:Date:From; b=l19TsNhTWnCAxWk0yNb9IdBjsFgTpEdeolXBRMeqA022OkA4/Ao0rFJKQBzG90Ihv 6sbL3Py7nFZzNbqi7szpCLPJmwYPuRHp/Q3fAU3ohIPCS6jy6HyK1FeNBJ46IO4Ntk X9kLlHJLFFQ7deZMjokLmfJ9Jtxp756vSiopdCbC120vHqMyvPiiBngxeBPhRuIrd/ DwtYHhq0UlimumfIN81WG56CEj/os2Qy3sDKY3MKWJfPhQk78WkVTC87KwcIExYA9L ZiTePZMjQeRV5udtRZSfYBhFb7KAoSZ/nLjDYug5MSwAOTtrvBeZP+YpLz6/9C47Vm QpOe6Hl0zCu/w== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1orxKO-0004oF-8B; Mon, 07 Nov 2022 09:17:56 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH] arm64: dts: qcom: sc8280xp: fix USB MP QMP PHY nodes Date: Mon, 7 Nov 2022 09:17:05 +0100 Message-Id: <20221107081705.18446-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Update the USB MP QMP PHY nodes to match the new binding which specifically includes the missing register regions (e.g. PCS_USB). Signed-off-by: Johan Hovold --- The corresponding binding and driver fixes are now in linux-next so that the devicetree can be updated. [1] Note that there's yet no support for the multiport controller in mainline. Johan [1] https://lore.kernel.org/lkml/20221028160435.26948-1-johan+linaro@kernel.org/ arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 62 ++++++++++---------------- 1 file changed, 24 insertions(+), 38 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 1b309fa93484..506172206b8a 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1090,70 +1090,56 @@ usb_2_hsphy3: phy@88ea000 { status = "disabled"; }; - usb_2_qmpphy0: phy-wrapper@88ef000 { + usb_2_qmpphy0: phy@88ef000 { compatible = "qcom,sc8280xp-qmp-usb3-uni-phy"; - reg = <0 0x088ef000 0 0x1c8>; - #address-cells = <2>; - #size-cells = <2>; - ranges; + reg = <0 0x088ef000 0 0x2000>; clocks = <&gcc GCC_USB3_MP_PHY_AUX_CLK>, <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_USB3_MP0_CLKREF_CLK>, - <&gcc GCC_USB3_MP_PHY_COM_AUX_CLK>; - clock-names = "aux", "ref_clk_src", "ref", "com_aux"; + <&gcc GCC_USB3_MP_PHY_COM_AUX_CLK>, + <&gcc GCC_USB3_MP_PHY_PIPE_0_CLK>; + clock-names = "aux", "ref_clk_src", "ref", "com_aux", + "pipe"; resets = <&gcc GCC_USB3_UNIPHY_MP0_BCR>, <&gcc GCC_USB3UNIPHY_PHY_MP0_BCR>; - reset-names = "phy", "common"; + reset-names = "phy", "phy_phy"; power-domains = <&gcc USB30_MP_GDSC>; - status = "disabled"; + #clock-cells = <0>; + clock-output-names = "usb2_phy0_pipe_clk"; - usb_2_ssphy0: phy@88efe00 { - reg = <0 0x088efe00 0 0x160>, - <0 0x088f0000 0 0x1ec>, - <0 0x088ef200 0 0x1f0>; - #phy-cells = <0>; - #clock-cells = <0>; - clocks = <&gcc GCC_USB3_MP_PHY_PIPE_0_CLK>; - clock-names = "pipe0"; - clock-output-names = "usb2_phy0_pipe_clk"; - }; + #phy-cells = <0>; + + status = "disabled"; }; - usb_2_qmpphy1: phy-wrapper@88f1000 { + usb_2_qmpphy1: phy@88f1000 { compatible = "qcom,sc8280xp-qmp-usb3-uni-phy"; - reg = <0 0x088f1000 0 0x1c8>; - #address-cells = <2>; - #size-cells = <2>; - ranges; + reg = <0 0x088f1000 0 0x2000>; clocks = <&gcc GCC_USB3_MP_PHY_AUX_CLK>, <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_USB3_MP1_CLKREF_CLK>, - <&gcc GCC_USB3_MP_PHY_COM_AUX_CLK>; - clock-names = "aux", "ref_clk_src", "ref", "com_aux"; + <&gcc GCC_USB3_MP_PHY_COM_AUX_CLK>, + <&gcc GCC_USB3_MP_PHY_PIPE_1_CLK>; + clock-names = "aux", "ref_clk_src", "ref", "com_aux", + "pipe"; resets = <&gcc GCC_USB3_UNIPHY_MP1_BCR>, <&gcc GCC_USB3UNIPHY_PHY_MP1_BCR>; - reset-names = "phy", "common"; + reset-names = "phy", "phy_phy"; power-domains = <&gcc USB30_MP_GDSC>; - status = "disabled"; + #clock-cells = <0>; + clock-output-names = "usb2_phy1_pipe_clk"; - usb_2_ssphy1: phy@88f1e00 { - reg = <0 0x088f1e00 0 0x160>, - <0 0x088f2000 0 0x1ec>, - <0 0x088f1200 0 0x1f0>; - #phy-cells = <0>; - #clock-cells = <0>; - clocks = <&gcc GCC_USB3_MP_PHY_PIPE_1_CLK>; - clock-names = "pipe0"; - clock-output-names = "usb2_phy1_pipe_clk"; - }; + #phy-cells = <0>; + + status = "disabled"; }; remoteproc_adsp: remoteproc@3000000 { -- 2.37.4