From patchwork Fri Nov 11 09:38:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 18621 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp643631wru; Fri, 11 Nov 2022 01:45:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf49sUBIKR41HLMCa14rIiw+IQx9VGcCjTnmjz/HIlsRuYbtuEXBWAY1/d30fPqvOppwSckK X-Received: by 2002:aa7:8e81:0:b0:537:51d3:db1b with SMTP id a1-20020aa78e81000000b0053751d3db1bmr1866906pfr.42.1668159951358; Fri, 11 Nov 2022 01:45:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668159951; cv=none; d=google.com; s=arc-20160816; b=UA9g/rZQHs2UUJl+F9s0vlgRljHP5xN3cWAGniu8RG8U4sBJGtIV2GKulg6b0yJ1ux zuiKBIat4uT0tgl8fLWflzGwgUGwo8Ue3usjigF7ckxnINRvs0qUja+gv/3N2965kpUt R6NHt8SV+je6+hBZidWhzSbXGmT8xartGsEQ8u1Ji+3SN0UCCo+eUZdCmxOjPgidoW8x wTWQIZK9Ep2MuaLieMijZcbn+s+Wim1a6geqtCNivi5VIGclVT9SxBLgHh8i2ITNONlj FtTYZ6PcPrRP27Deds+DaGv7yagLSzIOZJNcaWCzjgGaxKzYJQUW2ntbunj7PcdLYjMI TGUA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=B0ELMpZR3SwJ/K+UgOsREDt324cqFbkSbK0jJ7q1V5U=; b=S2zBJlk9qtjfVYKzfWsyRq8dD0QssqSJnNYAg8zJ0mR6gdBkhqXCKuR4vt42CMONMs e9emEICkpm7BYmPxs6aE7nJrWiictRQTkXtNiYBPJ+NMcmBIn8CWEW1e9cwV1mxWzK22 8GRFBlXDnZZWO7qooUc1Z5G+1q7Wffw9h08dBTuzko/6kqHa3WWhdjrRlBrdnpa2GA7L V6ZLTcGUS+nNzbDTYqlZML9bTkd+XVuwuprdS3rkxftoEly9wMZfSOgPioPMuLWGMnUr KzWMV52/548iWqOqkSqb1w83jHwx9Jm0kKGYPxCXuem4i8WQKMppe9YlV5HLSJX4DqL5 GtiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BvB545Se; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z18-20020aa79e52000000b0055cebb19fcdsi1732741pfq.237.2022.11.11.01.45.38; Fri, 11 Nov 2022 01:45:51 -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=BvB545Se; 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 S233690AbiKKJkO (ORCPT + 99 others); Fri, 11 Nov 2022 04:40:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233116AbiKKJkN (ORCPT ); Fri, 11 Nov 2022 04:40:13 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C7C7654DD; Fri, 11 Nov 2022 01:40:12 -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 0F23E61F1F; Fri, 11 Nov 2022 09:40:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AC53C433B5; Fri, 11 Nov 2022 09:40:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668159611; bh=pwJld/NDv6EFSXj/8bGWt2JYworcFl8ayZrNG0RBYVg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BvB545SeJo3aPXhqnDqx0vrS5nZIUtHJdsgjeJ/QP+3YW3m4h9CpN9abDWqpFNTk0 HrR9sY3Z4gLQFP76NW/irY5vUP/YPJRd3UPBcRxSxor/L/Cu0x7OYotvUjkxNIVddj d9PZ2na8SyjAzvqzL/WJn/kxv7Nxzeo7sZPwynAlfC9Uewpa0lRuKPes76SB9+ho/e jy6pZa6GKjL5OQAFiBDMERdvzvqJTk4I4m+p9KV8q48pwvc/yyudz2Sk3M4x4mdzNI NmGnmVlNyPgWiqVhXOOos6J4Y3dyNn1wqsvmgbpcfNZ1G9h6XVFU3BFKIOc0WNjxmM LL7tGhslsAjpQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1otQVj-0002xl-D6; Fri, 11 Nov 2022 10:39:43 +0100 From: Johan Hovold To: Vinod Koul , Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/3] arm64: dts: qcom: sc8280xp: drop reference-clock source Date: Fri, 11 Nov 2022 10:38:57 +0100 Message-Id: <20221111093857.11360-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221111093857.11360-1-johan+linaro@kernel.org> References: <20221111093857.11360-1-johan+linaro@kernel.org> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749192488971716494?= X-GMAIL-MSGID: =?utf-8?q?1749192488971716494?= The source clock for the reference clock should not be described by the devicetree binding and instead this relationship should be modelled in the clock driver. Update the USB PHY nodes to match the fixed binding. Signed-off-by: Johan Hovold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 985138b6adac..531cd68a80ea 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1595,12 +1595,10 @@ usb_2_qmpphy0: phy@88ef000 { 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>, <&gcc GCC_USB3_MP_PHY_PIPE_0_CLK>; - clock-names = "aux", "ref_clk_src", "ref", "com_aux", - "pipe"; + clock-names = "aux", "ref", "com_aux", "pipe"; resets = <&gcc GCC_USB3_UNIPHY_MP0_BCR>, <&gcc GCC_USB3UNIPHY_PHY_MP0_BCR>; @@ -1621,12 +1619,10 @@ usb_2_qmpphy1: phy@88f1000 { 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>, <&gcc GCC_USB3_MP_PHY_PIPE_1_CLK>; - clock-names = "aux", "ref_clk_src", "ref", "com_aux", - "pipe"; + clock-names = "aux", "ref", "com_aux", "pipe"; resets = <&gcc GCC_USB3_UNIPHY_MP1_BCR>, <&gcc GCC_USB3UNIPHY_PHY_MP1_BCR>;