From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC9B0C433EF for ; Tue, 12 Oct 2021 14:41:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 877F06101D for ; Tue, 12 Oct 2021 14:41:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 877F06101D Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kMGwdDMsYFnLrvLP1ioBWUQ0BCuGb7rd984I/ox8Y0Q=; b=B8KTTXzB/rR4nN vJb7iqK8ePFzmE+N85t1fjL9paCuEb2wZUbWtDAueCBGqQsbFCOPxR1YiFxfsZK4tRu1TXQnXEPIs 9DBOOs8kD/dZTh54wTFD7fhudDcWSkPCmATXlQzwFZ4FDDZJY5FtidMZtV8wgm/Ew+MfI0xHaMbY6 mPtxduQmKkzp0TimVVVKKVutbqZLtQFOhH0VPj6PPTHNZAfgaLS8f0VnkG1eQtnuNRuvXwNW7LM16 TbvZ2zGidyY5yCrPD8q1Pbrdr4dK4P/FUatUrfUmrct/XT8gyM4iPyWAnFXhfflOg/mZtSDaigTbA ysfxfTHz1XnP02GOvDIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1maIwC-00DE9N-IT; Tue, 12 Oct 2021 14:39:28 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1maIw6-00DE7S-47 for linux-arm-kernel@lists.infradead.org; Tue, 12 Oct 2021 14:39:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1634049561; x=1665585561; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=WtvyiwpQIdZSLb8nnAndMS1Cf2XB7Oc9bMXdt1ZKjI8=; b=x0rK7ip+hRIiP4az1MXhYo7WJNQJ7SnRnPtc5cN7gGZ+I2GMpPpfW7K+ +Ec3ORI1H4icEBCsUY7t4619pTZZbc51cOwkesy0W68tkMt8bNJQQQDM9 a66qq9LiWKaIiP+0Oro70jfhS3GNsX/02K4HlrBlAyfgxJiJnSVOkP3BY NVRnDke2gR+tAhM9hdjfI1Fh6XcbxDikg7Bn8Cd8ZltnMpnoUVyHyyFhy vP8+rtTx/FMIvuaosQTa5hYYWI4C7cr41w7rDNxis5K65kivrW0iSDXic tHzGnVnNwqX93LuU00LwKmSfVM+wAyG4oqu2eiiP695qgh9AQZC5WRwdA Q==; IronPort-SDR: d07ygs5Vjduz6DOM6xDKgqbCuKmg/1GTwqx1wU3Lgl+Ybg81S1Z+7ir49SyqHVhQKSBpWm9ubq 9mAwirrkE/1cPlHmP+/3W89dQvP0sWNewuyDExl3g/Lb2+UaMPttsbZrb6qXTzff9ewlXZLD3Z ebScA9AMtMKjU2ZQg5+5dK34xFS/zyz5mo/JuVRXovvJzBBV29gbWrWoERGO8p0m7pDLy/Cc7G FZMaGWA0E5zihjRtVRGWpH3fU3SvWhIb1nVrTRyZXiQE/9tAEsB4XdI48jkB3sW5GFWzolElmH NY05ZyIzP97C4HlOZVf6Yjxg X-IronPort-AV: E=Sophos;i="5.85,367,1624345200"; d="scan'208";a="147780029" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 12 Oct 2021 07:39:21 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 12 Oct 2021 07:39:20 -0700 Received: from localhost (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Tue, 12 Oct 2021 07:39:20 -0700 Date: Tue, 12 Oct 2021 16:40:52 +0200 From: Horatiu Vultur To: Philipp Zabel CC: , , , , , , , Subject: Re: [PATCH v2 1/2] dt-bindings: reset: Add lan966x support Message-ID: <20211012144052.pmn4u3s2j27itwxe@soft-dev3-1.localhost> References: <20211012114238.2060101-1-horatiu.vultur@microchip.com> <20211012114238.2060101-2-horatiu.vultur@microchip.com> <91ae922d66b4b8c521142c8030bdd1a9f6d2fad1.camel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <91ae922d66b4b8c521142c8030bdd1a9f6d2fad1.camel@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211012_073922_198745_36438277 X-CRM114-Status: GOOD ( 18.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The 10/12/2021 15:35, Philipp Zabel wrote: Hi Philipp, > > 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. Yes, I can rename this. > > > + 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? I am not sure, this is more board specific than PHY specific. On lan966x ung8290 board, the external PHYs are kept in reset until this GPIO is toggled. > > regards > Philipp -- /Horatiu _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel