Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5717965pxu; Thu, 22 Oct 2020 09:19:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiyN6aZhN4VrqyC5d5tkCmTD96jYd1ArNXYPXuk1fhJCn+X5FSPy4AX6Ty6ilgNUZ7FPPD X-Received: by 2002:a05:6402:2208:: with SMTP id cq8mr2801831edb.191.1603383553912; Thu, 22 Oct 2020 09:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603383553; cv=none; d=google.com; s=arc-20160816; b=wWVmZzSKloGVaJvYAyc/E6jCNGJzRE2/YiXjM5pi2BffebhD9BOJH8qKdmVTo580Em yJJK+GYXJerv8RZAVUjP1w9uh1Pivh1k6vmcJLbLjcrtUJ4kOmwG75fOaV2gcOQVqtUJ V0UeCy3HZEj2Qwnee8wgqZiLF0EKoGhcRJMW8NJxALdlZ43E2oItQ75jzevpLHhtRVD/ iTwNNK4OHburom0vxw9VP8Whusy0uoAx3wN6IVIthQjg0zst3bczHfK6VsrKBLw83SGu yXCWKU7NdbDsEUceltSFoaCEOg+2eW0J2hBSIoOShiZEqWSmD5Mx243o34ZDKr5uGM7x pPxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=M/fC5Y7y3IxeDmxl+3w+jc+KFBzOSk//96ieJ/UONk0=; b=gS0sFbrG6BhQT5NohTPcxHMA6ArhegRosfibzn4Obz2bjaO1KWucBC/a5VmUH7kMAG 4YtO9yo07DGGFa8EWd6Rhfqiyf46Tc7hm8eI9yUOmSCWJvtnq4T+gcHtGjJpTtGCi5Zs 8Mf8gztelPl+llM2btHFZGNeTqUS3kg2UtF0ydvoge/0fihSBO5KlMaCvvFw9WQsuHjJ NK+0uDw1HSq/bb5uZ0ZG58wImz59hPK8fZJ/kBxT1oAEcwqUJ7n5i2l72CCK7Lp24DJx eSbTQpGkWatN2DQbRNZUeL+kP1sMcDE+TdFf4W8ku7PzeTELFtc7juXl69JAoKmURBjJ 9ZFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=viQtrCkK; dkim=neutral (no key) header.i=@linutronix.de header.b=NLUz3Cmc; 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=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si1249597edr.440.2020.10.22.09.18.50; Thu, 22 Oct 2020 09:19:13 -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=@linutronix.de header.s=2020 header.b=viQtrCkK; dkim=neutral (no key) header.i=@linutronix.de header.b=NLUz3Cmc; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2896803AbgJVKy5 (ORCPT + 99 others); Thu, 22 Oct 2020 06:54:57 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:46776 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2444354AbgJVKy5 (ORCPT ); Thu, 22 Oct 2020 06:54:57 -0400 From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1603364094; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=M/fC5Y7y3IxeDmxl+3w+jc+KFBzOSk//96ieJ/UONk0=; b=viQtrCkKSe30Qieil1Gu5eZpDPKTS8n4OBk34mB3YNQe02Dp7rchwDv09VV2ywHi952kLI BG64szPZnlLvxpDXRwBgDApGkdg6BYyNOmumdMivLSc7+5hzmDmGsm8XcMbe49RpWpv49D PBHnMOHxEbhCAs4d9zwgKist/vgI6r9C0lYh3YepYxcbAX1XcyxwkIvT6cZstwS1SqT6ca XRM1A6/vsKo7VSKelcAHMvFOL9AvVsDHkFSMmbaPtwq0Z1HqhtIoeZm+eozl31zVa34dOu HsYWEiQP6c255ydM1+7t7HFPkQi4/pLCZOW/dPpBrPaoZWZ0TI5fjK+6wWa+Tw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1603364094; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=M/fC5Y7y3IxeDmxl+3w+jc+KFBzOSk//96ieJ/UONk0=; b=NLUz3CmcxqLBMNZvyJBu++JD+0bv79htNvwhfhBi4+dWJgUZ/Tfw9yX3Wt26nvZey4k6Q4 U/8kjN4l2Quxh0AQ== To: Florian Fainelli , Vladimir Oltean Cc: Christian Eggers , Andrew Lunn , Vivien Didelot , Jakub Kicinski , Rob Herring , Helmut Grohne , Paul Barker , Codrin Ciubotariu , George McCollister , Marek Vasut , Tristram Ha , "David S . Miller" , Woojung Huh , Microchip Linux Driver Support , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH net-next 1/9] dt-bindings: net: dsa: convert ksz bindings document to yaml In-Reply-To: <3cf2e7f8-7dc8-323f-0cee-5a025f748426@gmail.com> References: <20201019172435.4416-1-ceggers@arri.de> <20201019172435.4416-2-ceggers@arri.de> <87lfg0rrzi.fsf@kurt> <20201022001639.ozbfnyc4j2zlysff@skbuf> <3cf2e7f8-7dc8-323f-0cee-5a025f748426@gmail.com> Date: Thu, 22 Oct 2020 12:54:52 +0200 Message-ID: <87h7qmil8j.fsf@kurt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed Oct 21 2020, Florian Fainelli wrote: > On 10/21/2020 5:16 PM, Vladimir Oltean wrote: >> On Wed, Oct 21, 2020 at 08:52:01AM +0200, Kurt Kanzenbach wrote: >>> On Mon Oct 19 2020, Christian Eggers wrote: >>> The node names should be switch. See dsa.yaml. >>> >>>> + compatible =3D "microchip,ksz9477"; >>>> + reg =3D <0>; >>>> + reset-gpios =3D <&gpio5 0 GPIO_ACTIVE_LOW>; >>>> + >>>> + spi-max-frequency =3D <44000000>; >>>> + spi-cpha; >>>> + spi-cpol; >>>> + >>>> + ports { >>> >>> ethernet-ports are preferred. >>=20 >> This is backwards to me, instead of an 'ethernet-switch' with 'ports', >> we have a 'switch' with 'ethernet-ports'. Whatever. > > The rationale AFAIR was that dual Ethernet port controllers like TI's=20 > CPSW needed to describe each port as a pseudo Ethernet MAC and using=20 > 'ethernet-ports' as a contained allowed to disambiguate with the 'ports'= =20 > container used in display subsystem descriptions. Yes, that was the outcome of previous discussions. > We should probably enforce or recommend 'ethernet-switch' to be used > as the node name for Ethernet switch devices though. After using grep, it seems like 'ethernet-switch' as well as simply 'switch' are being used today. Yes, maybe both should be allowed. Thanks, Kurt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEooWgvezyxHPhdEojeSpbgcuY8KYFAl+RZPwACgkQeSpbgcuY 8KZ1Zg/+O1K8qE24ikz3QxBFBaUfbiSIbx8FLtvGbeYwH+KwOgx2Qi6KZQaGBKjP MHIoWH2k8SrxY9JdMTanf7YK8b7/vrQ0GuGjl1D0gTrvoU3sT1FgTP8gcnN/aoxh mPwZpj2QWiYbcr25tmPHW757+eo8TQ9GR8A2Jh+Sb/wucV+vdpToV3fMTuIGL55r WFJ/Es5/ZoSqa52i/YHXgD6e/zlChqDh6/MPJhvvznjbg3ehHSw3OTB8fane82+r /8MlavfklKX7mPawBYPZPZxXerElc9lQ1GUoYC7w6M6nF6HWhPhDIM1Q2LjCGRFa YUhtB6mcP+oIMSQc6RjcBX2pVGzs/K+uvhZZ3LxUTeseUbX4teoKp1cz3M//e6Yt hwsIb1EbfIzm2DMatNzE+kjmq7uBdNHtuiDpja5gaoEx+/JjnpwBcEubVfT9YBaH J6kBRwueamWEVDMoJmojar/rG7yBURS/BZaUouXl+J+EYY3kIrknNnwjh78qF+cM FURCf/EgSSuxfiIf+t3CorDWpbr0+2eYIkWFACU1OWeszFsFTGEpJCIaO6bHxoAy vYkzzYSxwWjyoV4nonErHaYId4ixojSiE3cad5w2UQxvI8tvYPuFcFbHtwUnPSJ4 fOmcXPjSzzG5iieus7POa6n7+Mf6xJl/uPdtbnwDupu1UoAutBc= =Ks1w -----END PGP SIGNATURE----- --=-=-=--