Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2434467pxb; Tue, 12 Oct 2021 06:37:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwt85/fwZue7iBiREo4xyvAWJcFRBhAHQQ/+KAs+Zl0WTa8UX+BxdninjfNbSWv6GPxODu2 X-Received: by 2002:a63:f512:: with SMTP id w18mr22633820pgh.280.1634045831116; Tue, 12 Oct 2021 06:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634045831; cv=none; d=google.com; s=arc-20160816; b=vaLOXqrF7++O101H2CVt4UhlYZtZiujQ/0nlO0S89UheKIEuSY3wcNhohYZqkPY9ut kTAU1VwUaRt/YpWtr7GthZyW49CQpeCv5+vo7ILJspmOWopUur3oj21bqVW8c2qn7sQy ASx6nBZM0xWUGfsqWW2GHqkb93q0ckD3mY/xRFdgz031Mj94sAuqTdhWd3w/KO4isoSJ LqqdzRsMdKQZ8IhQlQLNWQRI/DRQolGFM1IRgv0awvKiVPbf8ZnVRVxso0N9rkwEJ6li mPaf9upL8WUPCm1IukhMZLoeTGb9VKF91VFi5wuXMmWel9E1Wg21HXkSxrgsCmp9TkER t1sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id; bh=Inc+f3J7rNiom9PvFel+0O0sQ+gEVGHld4ZURQNz0DQ=; b=jfkSv3AzbNuZvQ5nSFKEKk6A/eS/FueCNN52Vjm8pRpzKZnqZGQLootoHegwPFJGO/ vML4nwmohzUwVPNTJRVdjkZ7lAKPGC4u5z21pCKTdoTWLVYhXTHbPkj9CIg9IJBHkPJY lGecYwIsEpjnUzcrVCxAo6kukOQ0W5ef/sJ6qK1F1Hjrl09lFvMz5QUJD/kYRsHChmTa SXg4xfqqIodKqMC1cYh+HJKy2hlz5/1AS/my1520Cq8MFHHE0Gxzb2/P9CFHv/Z3W8me OmF1acEwoNGwow4hF+th/xXsF6BI8tyMPGJjOmqJq4ntr+4XzQMmuSiRc4PaBBoTO+2c r0Zw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w20si15483561plq.240.2021.10.12.06.36.57; Tue, 12 Oct 2021 06:37:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236853AbhJLNh5 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 12 Oct 2021 09:37:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236730AbhJLNh4 (ORCPT ); Tue, 12 Oct 2021 09:37:56 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BE3DC061745 for ; Tue, 12 Oct 2021 06:35:55 -0700 (PDT) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maHwV-00025C-Sk; Tue, 12 Oct 2021 15:35:43 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1maHwV-0001ab-Ct; Tue, 12 Oct 2021 15:35:43 +0200 Message-ID: <91ae922d66b4b8c521142c8030bdd1a9f6d2fad1.camel@pengutronix.de> Subject: Re: [PATCH v2 1/2] dt-bindings: reset: Add lan966x support From: Philipp Zabel To: Horatiu Vultur , robh+dt@kernel.org, andrew@lunn.ch, lars.povlsen@microchip.com, Steen.Hegelund@microchip.com, UNGLinuxDriver@microchip.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Tue, 12 Oct 2021 15:35:43 +0200 In-Reply-To: <20211012114238.2060101-2-horatiu.vultur@microchip.com> References: <20211012114238.2060101-1-horatiu.vultur@microchip.com> <20211012114238.2060101-2-horatiu.vultur@microchip.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Horatiu, On Tue, 2021-10-12 at 13:42 +0200, Horatiu Vultur wrote: > This adds support for lan966x. > > Signed-off-by: Horatiu Vultur > --- > .../devicetree/bindings/reset/microchip,rst.yaml | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/reset/microchip,rst.yaml b/Documentation/devicetree/bindings/reset/microchip,rst.yaml > index 370579aeeca1..622cf3d0455d 100644 > --- a/Documentation/devicetree/bindings/reset/microchip,rst.yaml > +++ b/Documentation/devicetree/bindings/reset/microchip,rst.yaml > @@ -20,7 +20,11 @@ properties: > pattern: "^reset-controller@[0-9a-f]+$" > > compatible: > - const: microchip,sparx5-switch-reset > + oneOf: > + - items: > + - const: microchip,sparx5-switch-reset > + - items: > + - const: microchip,lan966x-switch-reset > > reg: > items: > @@ -37,6 +41,14 @@ properties: > $ref: "/schemas/types.yaml#/definitions/phandle" > description: syscon used to access CPU reset > > + cuphy-syscon: > + $ref: "/schemas/types.yaml#/definitions/phandle" > + description: syscon used to access CuPHY > + > + gpios: From the description I'd expect this to be called phy-reset-gpios. > + description: used for release of reset of the external PHY > + maxItems: 1 > + Shouldn't an external PHY be described as a separate DT node, with its own reset gpio? regards Philipp