Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5398313pxu; Thu, 22 Oct 2020 00:50:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMEpxNllBCMoSGpeHwUQsEhSvXp3OrMiJdswA1ATGfnXYdffdk2XAVPPWxZGF7qbn62G8O X-Received: by 2002:a17:906:d292:: with SMTP id ay18mr1135007ejb.244.1603353040228; Thu, 22 Oct 2020 00:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603353040; cv=none; d=google.com; s=arc-20160816; b=gGuYf9TAc+jIsRYN5quCCqzA6tGv5Cgbq8tZz4AVQEJCxDrQ/QgkCQO+LmAqw2gssg QYQdtcOkT1f2r/C0cRMsiAI521KFRrKs0bdTjbPiZ6r970EsrWtZMwWHpGcNX9lAJnQM BvgwUhmWDzT07LkopPkYp2WewVdX0v30w0GLfYPE8K2uvU6Y9FpRDZ+hhFpnPf3PVCfm CaZxqDZLwvYD72CErr5LkpDaH41UFvisLqE1ttcHvgsCKxXGAGV59a5V4zHTo6303ISW HOiz1pF7Sxza7lMHiTVUTHj99p6rprPUPeABD4UZeFUZKCSmBquK98VfVQZSG5Tqq995 YJ2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=sXxuJU6MPXl/18D00kPNzDn0CowkC3WiTbGwtlRZpQc=; b=xoYnfQJoODMJiPCG0mnqvudJpl2WBeXiiiNs6boPqRGMi9e0INWFxSu292v/aOjbM5 cozadyDutXoWjL3ZEGjykhxwHKyAjI5LytWj9yqZr2dww25G7aRG9QV3g3foW0pcjbVX ZfkHuyf+Dhi7DqB2q9zGloY6uz6tJG8ceiVqD/YtbtR3xtpxVJl8Lk+UxFYfFYunVUWS rJNyZRFI1QHTHoks0/MV6pFIwui0QaLtjildIOTAOX/+DXMYyWTO4F6uHAbcDRAz61jS KhhKtb/kSkcO3EylfpwO0dcT2s1pDL21DmAq/WljFXCd78kj406rw9X7K2iVP1r2SvTg sZJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SfbwQu02; 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 w22si441779edi.294.2020.10.22.00.50.17; Thu, 22 Oct 2020 00:50:40 -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=20161025 header.b=SfbwQu02; 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 S2894420AbgJVAk3 (ORCPT + 99 others); Wed, 21 Oct 2020 20:40:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395158AbgJVAk3 (ORCPT ); Wed, 21 Oct 2020 20:40:29 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85504C0613CE; Wed, 21 Oct 2020 17:40:27 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id t22so23479plr.9; Wed, 21 Oct 2020 17:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=sXxuJU6MPXl/18D00kPNzDn0CowkC3WiTbGwtlRZpQc=; b=SfbwQu02QhtBliWNIQXDgwN47rY8WkTcBE5C5aBgim4J+8GwCO8FKz0z6BXncGpSGM RAHoU1X6KXqnuZmrCEIrPqhzKVfpuV36Sac603xmoehNTXyS33/EQfyS8k7grlL4C52r 5bFIxVa9tuKAc18RoI4uGo4sXeAvz5sB3RDGJzS2XaGzf+OUT5IKWe2/XZrSGPU+VLdG mT/qBCD2R4W6NZuPuZ2dwXAxA/GLTttjwRND0RL4ql1phzNIfwTER3rypnlMQwW+BQ0h 7s+ujPB5trRDJPmIdTIRK5QcRlQFkvYtksmfFwlQiNpwUZxZJCJE/I6Z8bkaHFmtYVEf nPsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=sXxuJU6MPXl/18D00kPNzDn0CowkC3WiTbGwtlRZpQc=; b=N9Ug+YKCNZ+LPLDeFd0vnPNVKBQEA1Sb+DtsGQMgkKOCE9XhJpFpufr5FLD7saiqAT Pe9lFooU2ONv2ScdnVuRDn/rmZCJA12+ppViSu9E5qJ3umc/N5VD1f6KcZI4Sl/ZDYwu BeuaZx+DBsnzMvaRMEvbowjyIwqD67WrcA/GRif4+2DnlJe5tJi+ddPo/1hXKy8xG1gh VGhOp/508YxH4N2e7+eXyecdldSQArIfts47gbGsOL7y9o+ADDcrxHjjZuilvThRsA5L j5V4dp23lPAkLYUdg1BMJ6CY7Q3ejAnUJ+x1ASuBY5BKj9O30t/lgpUkrS85MD9gEAOO 5NNg== X-Gm-Message-State: AOAM531xSDodL5WcVSkp1AmZ9ckDJ0A06ap2m4ivENmW+Zld1OJvBDWA EmiPDGqYQv/VSKrOg/1C0tnF5XTPjbM= X-Received: by 2002:a17:90a:cb86:: with SMTP id a6mr163887pju.161.1603327226629; Wed, 21 Oct 2020 17:40:26 -0700 (PDT) Received: from [192.168.1.3] (ip68-111-84-250.oc.oc.cox.net. [68.111.84.250]) by smtp.gmail.com with ESMTPSA id q4sm51542pgj.44.2020.10.21.17.40.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Oct 2020 17:40:25 -0700 (PDT) Subject: Re: [RFC PATCH net-next 1/9] dt-bindings: net: dsa: convert ksz bindings document to yaml To: Vladimir Oltean , Kurt Kanzenbach 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 References: <20201019172435.4416-1-ceggers@arri.de> <20201019172435.4416-2-ceggers@arri.de> <87lfg0rrzi.fsf@kurt> <20201022001639.ozbfnyc4j2zlysff@skbuf> From: Florian Fainelli Message-ID: <3cf2e7f8-7dc8-323f-0cee-5a025f748426@gmail.com> Date: Wed, 21 Oct 2020 17:40:23 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.3.2 MIME-Version: 1.0 In-Reply-To: <20201022001639.ozbfnyc4j2zlysff@skbuf> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 = "microchip,ksz9477"; >>> + reg = <0>; >>> + reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; >>> + >>> + spi-max-frequency = <44000000>; >>> + spi-cpha; >>> + spi-cpol; >>> + >>> + ports { >> >> ethernet-ports are preferred. > > 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 CPSW needed to describe each port as a pseudo Ethernet MAC and using 'ethernet-ports' as a contained allowed to disambiguate with the 'ports' container used in display subsystem descriptions. We should probably enforce or recommend 'ethernet-switch' to be used as the node name for Ethernet switch devices though. -- Florian