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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D4124C433F5 for ; Thu, 24 Feb 2022 17:19:58 +0000 (UTC) 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=kKz24NPXcTUHjyAYJmWFjHmr1KqczPFzINxYLO3PLpw=; b=hnOjxo2Z819t63 M16sgP1qwdQCYh20Jxjo3/1mSDQ4cox3FGQPKJst1T3vMszMIlJ286+6DTJwsNRcnm9ejGVY3+ax4 BbRFWmd8g9yVG5lq3HEbdZWCtF616mr6X9TptevLjxcerbgWS06G0GT6zcWP0a1q2YblUJ8XkW9de 3udnhTZxUidzN8JZMiwjKooQWeAN42dRtPq8MeJJVAMbnZU5rs+jfdJ2tA8PRBNUm04xceUHyOQKa TXcdAVtjdzv3OjygDeBs+H6n9o5ug9Er4FPmIRKOi70MQwGbNDO4as5YQ9o969N+98KfEIi2ojbdl /Mm0pk5QkedhEDEabICg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNHlH-001kVS-JA; Thu, 24 Feb 2022 17:18:39 +0000 Received: from mail-oi1-f181.google.com ([209.85.167.181]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNHlC-001kU1-Vu; Thu, 24 Feb 2022 17:18:36 +0000 Received: by mail-oi1-f181.google.com with SMTP id j2so3577468oie.7; Thu, 24 Feb 2022 09:18:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7slgzKqOG5WOC/WsENczH0GLZVRx1odPiIFNJSTj50w=; b=RwtVUGQvmGyOD3V7MXue18JHY6x3hWkxzN5G5s7OmFkmFMbvplUw3roo0OAyNUrvYB qhMqd28EzuuzTNmC4T16IyTov59PTgYx1lvQ0Y2Y35Z/fMObnNkSOyK2m8owHH0MJGV1 ihpJc8r/11EjIYWzZhsKcqBwBOlNnsju6uMGXXuf4ngOktaeITDOpKG6KLC0qE7GV4ql j9tUG3twgLgxXy8UZW2nvRiBj2cJ+Yl4cpTMaeHuqv7WgX6Nst40kACRfDPbT6aS556b GmP5DBVVl7LEsMlQnQ6VgCqDPCeMYghTBYwwq0OH83x8ZTXeTHH9gVwND82HRMylQa1F F2cw== X-Gm-Message-State: AOAM530sTX1v0+zQHgf2/6RRCBSw8WybxHYPk23rH80rQHg7PqJNm95n DYrERQhyzBiXJmUMnyQy8Q== X-Google-Smtp-Source: ABdhPJy7WQuDbUVEbzTIos+FK5YUQdNoBAGXEivNXy6JWYVM6FV6rNsboC4U1JBu0ZFrlMKW5PA40g== X-Received: by 2002:a05:6808:202a:b0:2d4:df36:68a4 with SMTP id q42-20020a056808202a00b002d4df3668a4mr7750425oiw.16.1645723111948; Thu, 24 Feb 2022 09:18:31 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id t40-20020a05680815a800b002d48ffad94bsm11498oiw.2.2022.02.24.09.18.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 09:18:31 -0800 (PST) Received: (nullmailer pid 3263579 invoked by uid 1000); Thu, 24 Feb 2022 17:18:30 -0000 Date: Thu, 24 Feb 2022 11:18:30 -0600 From: Rob Herring To: Oleksij Rempel Cc: =?iso-8859-1?Q?Beno=EEt?= Cousson , "David S. Miller" , Florian Fainelli , Jakub Kicinski , Krzysztof Kozlowski , Nicolas Saenz Julienne , Ray Jui , Sascha Hauer , Scott Branden , Shawn Guo , Tony Lindgren , kernel@pengutronix.de, bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-omap@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH v5 2/9] dt-bindings: net: add schema for Microchip/SMSC LAN95xx USB Ethernet controllers Message-ID: References: <20220216074927.3619425-1-o.rempel@pengutronix.de> <20220216074927.3619425-3-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220216074927.3619425-3-o.rempel@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220224_091835_052837_DF150F03 X-CRM114-Status: GOOD ( 18.84 ) 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 On Wed, Feb 16, 2022 at 08:49:20AM +0100, Oleksij Rempel wrote: > Create initial schema for Microchip/SMSC LAN95xx USB Ethernet controllers and > import some of currently supported USB IDs form drivers/net/usb/smsc95xx.c > > These devices are already used in some of DTs. So, this schema makes it official. > NOTE: there was no previously documented txt based DT binding for this > controllers. > > Signed-off-by: Oleksij Rempel > --- > .../bindings/net/microchip,lan95xx.yaml | 80 +++++++++++++++++++ > 1 file changed, 80 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/microchip,lan95xx.yaml > > diff --git a/Documentation/devicetree/bindings/net/microchip,lan95xx.yaml b/Documentation/devicetree/bindings/net/microchip,lan95xx.yaml > new file mode 100644 > index 000000000000..8521c65366b4 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/microchip,lan95xx.yaml > @@ -0,0 +1,80 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/microchip,lan95xx.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: The device tree bindings for the USB Ethernet controllers > + > +maintainers: > + - Oleksij Rempel > + > +description: | > + Device tree properties for hard wired SMSC95xx compatible USB Ethernet > + controller. > + > +allOf: > + - $ref: ethernet-controller.yaml# > + > +properties: > + compatible: > + items: > + - enum: > + - usb424,9500 # SMSC9500 USB Ethernet Device > + - usb424,9505 # SMSC9505 USB Ethernet Device > + - usb424,9530 # SMSC LAN9530 USB Ethernet Device > + - usb424,9730 # SMSC LAN9730 USB Ethernet Device > + - usb424,9900 # SMSC9500 USB Ethernet Device (SAL10) > + - usb424,9901 # SMSC9505 USB Ethernet Device (SAL10) > + - usb424,9902 # SMSC9500A USB Ethernet Device (SAL10) > + - usb424,9903 # SMSC9505A USB Ethernet Device (SAL10) > + - usb424,9904 # SMSC9512/9514 USB Hub & Ethernet Device (SAL10) > + - usb424,9905 # SMSC9500A USB Ethernet Device (HAL) > + - usb424,9906 # SMSC9505A USB Ethernet Device (HAL) > + - usb424,9907 # SMSC9500 USB Ethernet Device (Alternate ID) > + - usb424,9908 # SMSC9500A USB Ethernet Device (Alternate ID) > + - usb424,9909 # SMSC9512/9514 USB Hub & Ethernet Devic. ID) > + - usb424,9e00 # SMSC9500A USB Ethernet Device > + - usb424,9e01 # SMSC9505A USB Ethernet Device > + - usb424,9e08 # SMSC LAN89530 USB Ethernet Device > + - usb424,ec00 # SMSC9512/9514 USB Hub & Ethernet Device > + > + reg: true > + local-mac-address: true > + mac-address: true > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + usb { > + #address-cells = <1>; > + #size-cells = <0>; > + > + ethernet@1 { > + compatible = "usb424,ec00"; If this is a hub/ethernet combo device, how is it valid to be standalone without the hub? > + reg = <1>; > + local-mac-address = [00 00 00 00 00 00]; > + }; > + }; > + - | > + usb { > + #address-cells = <1>; > + #size-cells = <0>; > + > + usb1@1 { > + compatible = "usb424,9514"; Not documented. > + reg = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + ethernet@1 { > + compatible = "usb424,ec00"; > + reg = <1>; > + }; > + }; > + }; > -- > 2.30.2 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel