Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2329319pxb; Tue, 12 Oct 2021 04:26:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxj1v8xk8pO4B8Bfy4SLQFerrwZJAvEtIEUJNaPTWSaNJ2XOJBPlh+q8x0RKvIDdIN2lxDO X-Received: by 2002:a17:902:d50d:b0:13e:a44e:2d2a with SMTP id b13-20020a170902d50d00b0013ea44e2d2amr29041403plg.89.1634037982319; Tue, 12 Oct 2021 04:26:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634037982; cv=none; d=google.com; s=arc-20160816; b=IsVw1/02YM5H1qgQhnG9lmY1N4fMsyv7kVPZv6dugnDiUndnAIIdCrclyK0mXomO1e OihiG/deUNzWH2gFmhUO37fWtccVskR8wJUymtCyMNopSH0kFaySGgC69QjRU0wD6ki+ K2CPkPGg2Q20vIn4erEvs3JpEjUh1j6xdHXxu83td0mwlRZpK/pl+eybVaecgnhZEOlo O96+DtIqwzBMIVPD7PphkqqC8gWZ5gcTCeA0HQK6EarFizs0zBDCZC8Hl+K6Tjh8DGn7 o3Fzi0EVBMHJ7UhiZDoC5rsm4/Gk3VQfgZa5D25yKZtYZi+js11MI4UN7yBYZf8W9wAb wCsg== 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=XVOm5FGSYg3Wq94ChxX1Do2Ep5eV8n1vjTJF2QVl0/0=; b=HUsjtxRGHd0FZpesGjSL1MGT26K+atXhsssVRkay59rZ8EABmc79Gf3omSBuML0mwJ 409tm41GaIR3CEVSI9Yx9He8vtfMICjpXUrsHxC6sw7jBl66omT4dtPUIZgihrwKqEFp ZM6BfhuEh3qXgx7QJQPsg4FiHt0uhayfh04F8oUxIz67/c8idfHgKE1xqPMw25uuG9/1 QjIW9uFHivj/k7K/C7i3JehjdMcYQ+njOvDxFKoMIvmCWYGhmMcqWGQxn8wLXVPGw479 1DBdRXw1h/itjbFwCI6lnh+7amtiXNoZxfwhKkU7rStmVxRnnK3zA2aI0V7oCimG4M6p xe+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BWZ+p8qD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n8si2911373pjn.177.2021.10.12.04.26.08; Tue, 12 Oct 2021 04:26:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BWZ+p8qD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236158AbhJLL0j (ORCPT + 99 others); Tue, 12 Oct 2021 07:26:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236190AbhJLL0d (ORCPT ); Tue, 12 Oct 2021 07:26:33 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5AA8C06161C; Tue, 12 Oct 2021 04:24:31 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id z11so77435417lfj.4; Tue, 12 Oct 2021 04:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XVOm5FGSYg3Wq94ChxX1Do2Ep5eV8n1vjTJF2QVl0/0=; b=BWZ+p8qDQDxGbNrPcN16gX5ktfYM5CuLC9Yl7J9QByxYXfR9WKt69BG9hhcogYnIB4 ds+KDyyHEAaeP4dnmIxfDKyYfB5I3DpcyH4hxOamp8KzS79SQuKO8hFnUzGZM4C4YqS1 wLK8yANYm2DetRPmP22pYyNOi61V1SagzxWblNXKTPkSrnu+YdgP1e8s2sjeIv/c7uGy gcJ5ZEZpkcQnomPsmexcxqb4peUv12VVCf6Hfb77i/czvGtUzGe+TVKuOCS3AacNsYdc p2aBWMKkn3NkzQlXUI8LZGWGBK2OFQSSWo4VlSFjNq+LP1Q8I+C1VIZHujCb9hyZYx72 G0EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XVOm5FGSYg3Wq94ChxX1Do2Ep5eV8n1vjTJF2QVl0/0=; b=UkWVowkgfvcd0zkmiUqlBreHvDDXSWPoNDnxsSQJXf50UIsjP3tLEeHHz6WqLBq5aj hGaud38YqKuo0ScL9VPNkia9e8cmXfGpklSnZ7nElaLchn5qoTuGAxC97mfi8lKUeXQj VH5IN9H1UzDfuXl7UdnWLfaq930PJ4NeyjEUINa/1xuQlQq6+3r+9iGYfU/tk3CO5FkW Mx4YIEBaALlOOIfK9Ml6fgXIF3ZdyeaaSOqqcim+Pk//fflvPlo7V6lbnPknok+e/Xvu vW9FMdmzj4eCnn1/up/Bj7I3rbUBBRXXL7puvYuB0MgMTLwbrrEPJ88Dx8OornDUW1zw hBlA== X-Gm-Message-State: AOAM531CkYhzhrL9amIJauxh/dSTGpbgAExYZ+an3YJMDTVt7gkg4W7Y Nn7zr3vMSum8pFBi0xLgVx8= X-Received: by 2002:a05:651c:1615:: with SMTP id f21mr28174162ljq.318.1634037870108; Tue, 12 Oct 2021 04:24:30 -0700 (PDT) Received: from archbook.localnet (84-72-105-84.dclient.hispeed.ch. [84.72.105.84]) by smtp.gmail.com with ESMTPSA id o6sm157218lfr.19.2021.10.12.04.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 04:24:29 -0700 (PDT) From: Nicolas Frattaroli To: Yifeng Zhao Cc: heiko@sntech.de, robh+dt@kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, vkoul@kernel.org, michael.riesch@wolfvision.net, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, kishon@ti.com, p.zabel@pengutronix.de Subject: Re: [PATCH v1 3/3] arm64: dts: rockchip: add naneng combo phy nodes for rk3568 Date: Tue, 12 Oct 2021 13:24:27 +0200 Message-ID: <13667811.Il6DKqvvJ9@archbook> In-Reply-To: <20210826123844.8464-4-yifeng.zhao@rock-chips.com> References: <20210826123844.8464-1-yifeng.zhao@rock-chips.com> <20210826123844.8464-4-yifeng.zhao@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, 26. August 2021 14:38:44 CEST Yifeng Zhao wrote: > Add the core dt-node for the rk3568's naneng combo phys. > > Signed-off-by: Yifeng Zhao > --- > > arch/arm64/boot/dts/rockchip/rk356x.dtsi | 68 ++++++++++++++++++++++++ > 1 file changed, 68 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi > b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index d89831bee1eb..b421e3d52412 > 100644 > --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi > @@ -214,11 +214,31 @@ > }; > }; > > [...] > > + combphy0_us: phy@fe820000 { > + compatible = "rockchip,rk3568-naneng-combphy"; > + reg = <0x0 0xfe820000 0x0 0x100>; > + #phy-cells = <1>; > + clocks = <&pmucru CLK_PCIEPHY0_REF>, <&cru PCLK_PIPEPHY0>, > + <&cru PCLK_PIPE>; > + clock-names = "ref", "apb", "pipe"; > + assigned-clocks = <&pmucru CLK_PCIEPHY0_REF>; > + assigned-clock-rates = <100000000>; > + resets = <&cru SRST_P_PIPEPHY0>, <&cru SRST_PIPEPHY0>; > + reset-names = "combphy-apb", "combphy"; > + rockchip,pipe-grf = <&pipegrf>; > + rockchip,pipe-phy-grf = <&pipe_phy_grf0>; > + status = "disabled"; > + }; RK3566 doesn't have this PHY I believe so it shouldn't be in the rk356x.dtsi file. It needs to be moved to rk3568.dtsi. The other two combphy nodes are shared between the two SoCs so they can stay here. > + > + combphy1_usq: phy@fe830000 { > + compatible = "rockchip,rk3568-naneng-combphy"; > + reg = <0x0 0xfe830000 0x0 0x100>; > + #phy-cells = <1>; > + clocks = <&pmucru CLK_PCIEPHY1_REF>, <&cru PCLK_PIPEPHY1>, > + <&cru PCLK_PIPE>; > + clock-names = "ref", "apb", "pipe"; > + assigned-clocks = <&pmucru CLK_PCIEPHY1_REF>; > + assigned-clock-rates = <100000000>; > + resets = <&cru SRST_P_PIPEPHY1>, <&cru SRST_PIPEPHY1>; > + reset-names = "combphy-apb", "combphy"; > + rockchip,pipe-grf = <&pipegrf>; > + rockchip,pipe-phy-grf = <&pipe_phy_grf1>; > + status = "disabled"; > + }; > + > + combphy2_psq: phy@fe840000 { > + compatible = "rockchip,rk3568-naneng-combphy"; > + reg = <0x0 0xfe840000 0x0 0x100>; > + #phy-cells = <1>; > + clocks = <&pmucru CLK_PCIEPHY2_REF>, <&cru PCLK_PIPEPHY2>, > + <&cru PCLK_PIPE>; > + clock-names = "ref", "apb", "pipe"; > + assigned-clocks = <&pmucru CLK_PCIEPHY2_REF>; > + assigned-clock-rates = <100000000>; > + resets = <&cru SRST_P_PIPEPHY2>, <&cru SRST_PIPEPHY2>; > + reset-names = "combphy-apb", "combphy"; > + rockchip,pipe-grf = <&pipegrf>; > + rockchip,pipe-phy-grf = <&pipe_phy_grf2>; > + status = "disabled"; > + }; > + > pinctrl: pinctrl { > compatible = "rockchip,rk3568-pinctrl"; > rockchip,grf = <&grf>; Regards, Nicolas Frattaroli