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 EE2BECDB465 for ; Mon, 16 Oct 2023 12:03:50 +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=iYlU2uR6+Mwou+jNPh8WQYlLTPDv6L0NAMxCLuEkA5Q=; b=y0DcWn09ys7wC2 jwKsvxfBJBY6pswg6M1O/4YnusaUXPcsVdTfQ+9S/kPbdc7HoSn4owgcnN0V6cqh8f3EnIhqP6UGa ECPiLVrWpZTyyAf7IH8N+dO9OAslUFfHySuEyANaSh7oLwaEMk7o4DsxDtXvKlkxI4vipOd4qN+L5 0kCBZMqhtu7+ZyaXQDQGvnROdkJ+kk1MUw2rBpMyDhnG3EoADhY91cax0rnW7NgHFnKSHfftv9jl1 Cg+jyZJbz3MLi/ivbQrv4QAK1QpoALdGvPGnB5l1lm/Ho89cvWUpZbe+H8KYLaeRYhsYI49w80dEQ nMnbQnhVwSc8NQTmGAdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsMJf-009Y66-14; Mon, 16 Oct 2023 12:03:23 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsMJc-009Y4e-26 for linux-arm-kernel@lists.infradead.org; Mon, 16 Oct 2023 12:03:22 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-523100882f2so7383077a12.2 for ; Mon, 16 Oct 2023 05:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697457798; x=1698062598; darn=lists.infradead.org; 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=RjUacR5/LdrXMtLaYoD++xnhGSnh9YIzXLKxqzrbi9Q=; b=eAWJ1FdQ4TTtFXI97lLNYxYNH+J1gCIV/miyadWk2LQcKFo/nF7xEjWBaMJuXNv16M D5Wu3ooqESuvFpmeSnuxmlmYdC//jHo/+9wr5rtvzFTal7Ux/Hmnj1tZ1jiB1dFz4xZ2 5M3goFmtEehGdWAwBUMbQf8CLIu/bq++T2s4P2BBu2t9UZ1nj1n+1IbjS/dX59PVZHNk zmbMDiHhxSg+NDbe/IF9IEFF7EKkKiNqp3sDndsBo1WTtJGW3vY/UmO/RCKeB2mTu/Kd zxMp8htLspMlRf6KVJ+mzA6TqVkikZaQ/uAS01+olThKB3srstS1wVJz+8v5ic2fg1KK pkhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697457798; x=1698062598; 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=RjUacR5/LdrXMtLaYoD++xnhGSnh9YIzXLKxqzrbi9Q=; b=WtTcx5QViCUZiQ+Be5M+BRHr8i+iwpAGpb0Inyqy3s0A6Xwjxy4f0z5bcKpwPvfimU xt1N2C8MEMmMFg8yvEDcSP+CFXgiUuya+oEo/dm/Uj5L9Ufvs0QgfJ/iPJ2f815xnpdz +9QzFA/1jcf6xKMAiCTOGWE00qY8/Ygz8062J7xjFweodUpP37hILVLb2M0HRtjfu+jZ V8wCtEOg/HwGO3JUEqMIE25PhsBGQKZKXqnRgrjjxMedEQqFEBYhwvowpqY1Ko7ID5e2 HzLCq4xORSHjLFey78iX+wGsEFR7rYDz+vmOfLSmk1U9WUdNa9VLGScDziM7OvtjeuUO wJ9w== X-Gm-Message-State: AOJu0Yy260f0v91giIpozSe5DutdFs32srx0P12RxkoY8vRFEfqGqaC4 aQMlJU/t/a6N1mclTU0aQEo= X-Google-Smtp-Source: AGHT+IG/Ko9BhtySUyAd73/dS5Li/71YVHmIG1DDzxo3qY5wbPYtiM5W2gXqGTMCeKeyASkqvM/FLA== X-Received: by 2002:a05:6402:42c7:b0:53e:bc08:3bb2 with SMTP id i7-20020a05640242c700b0053ebc083bb2mr3070790edc.16.1697457798241; Mon, 16 Oct 2023 05:03:18 -0700 (PDT) Received: from skbuf ([188.26.57.160]) by smtp.gmail.com with ESMTPSA id v3-20020a056402174300b0053e3839fc79sm5028824edx.96.2023.10.16.05.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 05:03:18 -0700 (PDT) Date: Mon, 16 Oct 2023 15:03:15 +0300 From: Vladimir Oltean To: Linus Walleij Cc: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Marangi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next v3 3/6] dt-bindings: net: mvusb: Fix up DSA example Message-ID: <20231016120315.nhiz6ukzmtdnx7vc@skbuf> References: <20231016-marvell-88e6152-wan-led-v3-0-38cd449dfb15@linaro.org> <20231016-marvell-88e6152-wan-led-v3-3-38cd449dfb15@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231016-marvell-88e6152-wan-led-v3-3-38cd449dfb15@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231016_050320_688775_654A0AA5 X-CRM114-Status: GOOD ( 20.80 ) 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 Mon, Oct 16, 2023 at 11:12:56AM +0200, Linus Walleij wrote: > When adding a proper schema for the Marvell mx88e6xxx switch, > the scripts start complaining about this embedded example: > > dtschema/dtc warnings/errors: > net/marvell,mvusb.example.dtb: switch@0: ports: '#address-cells' > is a required property > from schema $id: http://devicetree.org/schemas/net/dsa/marvell,mv88e6xxx.yaml# > net/marvell,mvusb.example.dtb: switch@0: ports: '#size-cells' > is a required property > from schema $id: http://devicetree.org/schemas/net/dsa/marvell,mv88e6xxx.yaml# > > Fix this up by extending the example. > > Signed-off-by: Linus Walleij > --- > Documentation/devicetree/bindings/net/marvell,mvusb.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml > index 3a3325168048..ee677cf7df4e 100644 > --- a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml > +++ b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml > @@ -56,6 +56,12 @@ examples: > > ports { > /* Port definitions */ > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + }; Could you just skip defining any port, and just leave the /* Port definitions */ comment at the end (after the newly added #address-cells and #size-cells)? This example is more about the USB adapter, not about the switch. > }; > > mdio { > > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel