Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp907239rwi; Thu, 27 Oct 2022 08:52:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5jmwIs22/djxIo1tCZUfdE82QR9mym7t7Lk/pqx1X9dO74O5bIE00M6EcRAhHbfzuGSpEZ X-Received: by 2002:a05:6402:50c:b0:461:bc01:1828 with SMTP id m12-20020a056402050c00b00461bc011828mr21299905edv.64.1666885953058; Thu, 27 Oct 2022 08:52:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666885953; cv=none; d=google.com; s=arc-20160816; b=ZvPeQzV67SfaYUfpaQQyHtUpTP7iUsW1xyF4GkfBZRGLDGJy47c7iHmB8Cc38YlBMQ 4EpYjD/bVEadhF9WmlkfhanZ4ch6nkwQHytmZes+oaPLWLS+rm9Q6ZI01svHILNOIm1b F4KOg0O3JrSt198582P8kVz6yqL63VgvQmrr6BzWnjdSmwry7V+dVbfa0uOT9fRnpeQx Iqdau3mp22nF2e2Pm5QG25cctFBsdDiRriWb3jrKi8Do7Ks+sFvpMd0xxz0yjOAUHLA7 3Blb4TEgTBjBhDlVdSq/BMs8eJsUtlpgcZ9gyDgQmaSOIwOipqw3q9532eFVgJIak3RJ 2/wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Foe3NaxZvpwgbIwWLGZVEAQzzIpp6zxIwx25sYmkf4U=; b=ICm/UPe59mV01uPse0zSvp9H7kKx6+sNziY3mWVu1HsmRXCZepBr15dLIcqCDOrpWf +rpm8dVHN4pzThVRGUWhrFj/VuA5PdDGZjFwWgkEYPgXyamu2dmYA9hq5MthdStIWPi9 h86NQQqDXZrWuxB6IgWk30EbQ5Ex7pGKauEe4uunUPhOY8S2P9qDGHMU2744MfJ4Jlex aKLIVuAHWP5VSTJMKdGwAuMG3dkwKWuQF/rjkfSzQYFuY6kb3Z9l4M6t61/JbbYpZgNL X1/dDLHwkHgofJu2qFVQZId1YOAPYO6Wp29kZpVEybF07LYFg2TQ1C89rB3a/LdlqdvO rmCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XTXK7tjq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg32-20020a170907a42000b00791a3dd01b6si1691553ejc.864.2022.10.27.08.52.06; Thu, 27 Oct 2022 08:52:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XTXK7tjq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236271AbiJ0PmF (ORCPT + 99 others); Thu, 27 Oct 2022 11:42:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235608AbiJ0PmC (ORCPT ); Thu, 27 Oct 2022 11:42:02 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42BC4C6954; Thu, 27 Oct 2022 08:42:01 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id ud5so5817821ejc.4; Thu, 27 Oct 2022 08:42:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Foe3NaxZvpwgbIwWLGZVEAQzzIpp6zxIwx25sYmkf4U=; b=XTXK7tjqoiAMq5OJ2BI3Ue+mXD2T4Ihcfep1IxX1JNjE1zfAgKQDWCXBCKTavCasQr CSP6UfEyH0nYnrpeMmLRxDZ3jKL8M2IItTjyk0E28ALTAl4lMT+MCiCRP8YRWCjnUkmC n8htJH9ZrIioOlxyFX1B7sOoa0jZf1afDGy5kzzluyZKK77+2sfJLLUXZ4AUntH+L3LR VNDIfaJ3azos1WX1KbVaYG1ERviugCQozqYxF3Ra3/i9rDXZamra1bBLQHBFKamTK7pl 3vVNhwkL/ACt1oKlOZzAF5AweaMErjX1bcGmsKJtcQJFjwjrEA/u6nMY8Ot1dHC3WEB0 1wEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Foe3NaxZvpwgbIwWLGZVEAQzzIpp6zxIwx25sYmkf4U=; b=n95Cop2/w08ibnGErYhlnzwiia2Kee2IW8wlS5wgh4CDfKnLqGBK87O6E9MbcB0Uay 0uZ0aWcAb2rYXrnBYBV2Kcc4PgpC0yCe8LlsgalROWkd3Zkx+6+HCa9Qz3JKnM6NkYrO 7XAlzvlrwFCq4BQF1lPwNfkMV0BQA9bvYpZnuq670tijblGKoYcO5R2C41FTeE1Ht9tM 2NlaVIhxGl51TW3PFR+nqPwTQsQpZiAhoXV9lFHP4dYolCtcAmutm46cYwCHXPyu9WQg lgKpeFGsJvVcZTOoZuwD7y2B0ahpP3Ew+rueAceLjngRU4i/iLOkNg8lEFj/GodvJ/LM gMSQ== X-Gm-Message-State: ACrzQf2N7z/nMQyTAG2UKCjsy06nhdpOPD5W5Ii8DaJMXrRk4tus2E0F sGVYiGeqYWtD+65EK2zAjdY= X-Received: by 2002:a17:907:983:b0:77b:6e40:8435 with SMTP id bf3-20020a170907098300b0077b6e408435mr40638628ejc.570.1666885319692; Thu, 27 Oct 2022 08:41:59 -0700 (PDT) Received: from skbuf ([188.27.184.197]) by smtp.gmail.com with ESMTPSA id p25-20020a056402075900b00457b5ba968csm1166237edy.27.2022.10.27.08.41.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 08:41:59 -0700 (PDT) Date: Thu, 27 Oct 2022 18:41:56 +0300 From: Vladimir Oltean To: Camel Guo Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Krzysztof Kozlowski , Paolo Abeni , Rob Herring , Russell King , Vivien Didelot , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Rob Herring , kernel@axis.com Subject: Re: [RFC net-next 1/2] dt-bindings: net: dsa: add bindings for GSW Series switches Message-ID: <20221027154156.wdi2ka52xwdgm7cj@skbuf> References: <20221025135243.4038706-1-camel.guo@axis.com> <20221025135243.4038706-2-camel.guo@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221025135243.4038706-2-camel.guo@axis.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Camel, On Tue, Oct 25, 2022 at 03:52:40PM +0200, Camel Guo wrote: > +additionalProperties: true I don't think the switch schema should have additionalProperties: true. Only shared schemas should. WHat should be here is "unevaluatedProperties: false". > + port@5 { > + reg = <5>; > + label = "cpu"; Please drop label = "cpu" for the CPU port, it is not needed/not parsed. > + ethernet = <ð0>; > + phy-mode = "rgmii-id"; > + > + fixed-link { > + speed = <1000>; > + full-duplex; > + pause; > + }; > + }; > + };