Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2025954pxb; Sun, 17 Oct 2021 04:02:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYfJPlUmJAPu7vfZpSwVWXQyJy32Vpatbpwr0f0/YqV8zlt4Jut1SDkKT0qogEDhi6J2fH X-Received: by 2002:a17:907:7790:: with SMTP id ky16mr22014846ejc.490.1634468562339; Sun, 17 Oct 2021 04:02:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634468562; cv=none; d=google.com; s=arc-20160816; b=AaBzBODAyK6TIjtT9J3pPnhSVR01ptfnknWjKY2TYlA0FMCFe+e6UpQRr9c0MFcBIZ 0F230F+Pfycwlun7J17ncbtOkizF7C+/8E2xfmmj1GQHfa92Y8O6oE4iM0uGyoOOM9f4 buTL3lj/MAjvaBX3+iUeaegr8aBI/EBR3yFHaGm1xS4Aw0hy47QgmqZk+DBgYefScaG0 d16sVLaLmY/lrrxc4DpcHGuMz/xBZ6STqdmdrIznHgBX1AvJwAMSHaSam5/sIDQMOiJN Pn/aHvCCT/kr3yr+lEC9kYuV+jDJuDEw8n2bltq/V9XxSU1phelBkbWWY/Jn/5rFB51a Vzbw== 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=3o5yVUkAQxi7EAG4z+qLtJfsfGY9iQ3yN3rUtTSBlMs=; b=OuakleP/nk+iJ8epYT9iwY7BO0kUX69CkioLSsLxn5c0ZpMmSqvW3sEfICRe/Mc0A+ xG9Y954lSYcfvooXTMJqaKSqJ+nKaASGeuSlxgb9/8RNS/EN6rY4OkGVwjL78T+Ayr7x sXEwHlhH3x4eGIHAWWkMrrYlNNbupumaOMMNqzeXhxeKEd/E/X3Ed3wJdGLg5fpQLzzn VsqM6a1m7hSlzaCA+hiK0XYWCMgmuRq3pOhTk7xVtwWxJi1YB9LCCDL4Quc/Lvm7IqEu c5iFJhAUafyKk1+Fxp/Cy0CeS425kXY8wrun7bL+exOkbX1nI6AF7oYxvrn0E5Jy4GMO PnOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ei+YeCOr; 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 la20si19992859ejc.3.2021.10.17.04.02.07; Sun, 17 Oct 2021 04:02:42 -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=20210112 header.b=Ei+YeCOr; 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 S241667AbhJOQyE (ORCPT + 99 others); Fri, 15 Oct 2021 12:54:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241657AbhJOQyD (ORCPT ); Fri, 15 Oct 2021 12:54:03 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EEC1C061570; Fri, 15 Oct 2021 09:51:56 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id q10-20020a17090a1b0a00b001a076a59640so7626706pjq.0; Fri, 15 Oct 2021 09:51:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=3o5yVUkAQxi7EAG4z+qLtJfsfGY9iQ3yN3rUtTSBlMs=; b=Ei+YeCOrAxu8aqVNs0CM/9/iDKLQ5Onex3oMjoF66B1/hA49W3TEcgbwM10WVTYtgm GIXlPGvEo7NKvdWQFnTwT7Hhb/vR8u812yzkVREDs2mx73z9LYDYkFq/9enoOw+n4Roa WhBLJStQDSVGBdnqbdFjUie/FAk5jzQfnJfBjphV+AQtyggNukcgZj6mqjJNwvty/G5v RXV63e2kawah5zACmpqT801JGeOdLD/3Gab1a9nHMbxFBm4l2FmFbPa9a+ik1jjxeoXb bnEmerpX1ra5WlmbjvvRZyLLa7BUxzAjfekABwv2Mb9XPB0YWxPHE5X+sEe875kbsM2y YkDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=3o5yVUkAQxi7EAG4z+qLtJfsfGY9iQ3yN3rUtTSBlMs=; b=PqZ2BhxdTfUBYsSJLhytkqVBPdB7HyXUVf9hix7i0zfQ5puZ4SYcUgfM362lRM2SZ1 2MwCytu96se9ioKOnPUXNeeLvqta+cWj7k2Ov74RTlBE/XsQWx2nMuDU56GPFtc726QN mAFTZvMmM9otFrEXNUmtIpohSfJUZu/EA+fMacf6fTEyKJe8twMb3rwpa8Mslojf9K5i JqKMscDwxPrzAqOwm74xOG1+YPgsmJ+BB3sXi/MxzzsjxEk9KnrX2/aqeCcPZSQYoM3u /5TYUpOlw9wuGj2F/P5UKwJojBPVlgdPi3eKUeUZe21SQYFO21el8QpjLesJE6e+m3Z9 yKww== X-Gm-Message-State: AOAM530Vo0OU36Ibs93KNfan2j8YQbvpRACTU82Iq/2A5AgiMGhzhsyl sd8YU+fXdyUSYWTlr0duFnA= X-Received: by 2002:a17:90a:fb87:: with SMTP id cp7mr29151027pjb.114.1634316715788; Fri, 15 Oct 2021 09:51:55 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id t13sm5266201pjg.25.2021.10.15.09.51.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Oct 2021 09:51:55 -0700 (PDT) Subject: Re: [PATCH net-next 4/6] dt-bindings: net: dsa: inherit the ethernet-controller DT schema To: Vladimir Oltean , "David S . Miller" , Jakub Kicinski , netdev@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring , Shawn Guo , Andrew Lunn , Heiner Kallweit , Russell King , Vivien Didelot , Vladimir Oltean , Prasanna Vengateshan , Ansuel Smith , =?UTF-8?Q?Alvin_=c5=a0ipraga?= References: <20211013222313.3767605-1-vladimir.oltean@nxp.com> <20211013222313.3767605-5-vladimir.oltean@nxp.com> From: Florian Fainelli Message-ID: <3c794866-6319-4f5f-25cd-e2980d1fc211@gmail.com> Date: Fri, 15 Oct 2021 09:51:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211013222313.3767605-5-vladimir.oltean@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/13/21 3:23 PM, Vladimir Oltean wrote: > Since a switch is basically a bunch of Ethernet controllers, just > inherit the common schema for one to get stronger type validation of the > properties of a port. > > For example, before this change it was valid to have a phy-mode = "xfi" > even if "xfi" is not part of ethernet-controller.yaml, now it is not. > > Signed-off-by: Vladimir Oltean Reviewed-by: Florian Fainelli -- Florian