Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1880555rda; Tue, 24 Oct 2023 06:18:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGV1pWkfTB4VS9EwqYebFmgh4T2cIC063Er6TksCWF4g1k3iY20UadCMxfU0SOQAoqnIiz7 X-Received: by 2002:a05:6a20:4310:b0:17b:9d92:7d0 with SMTP id h16-20020a056a20431000b0017b9d9207d0mr3012766pzk.52.1698153516278; Tue, 24 Oct 2023 06:18:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698153516; cv=none; d=google.com; s=arc-20160816; b=WOZEtLo603b1vgnos31Dhab18LoxzAXCAZGP3iwzUnrWp9nfB8OEe7oGRnS6CpaUWC cdYEPaprbQS0RDlBxYTaXef2zRQTYTgnR2oXOdS4rUJIbAaLruVLAPjHy5cAg642QBkn hOqlJulbXORTDw2SWn1PmaKmP1x6V/BsD2g3T2om7OzWIFX132GoV9jIJyl1kZTRZGyq iM0NkL8mu+LPX4uLFBX3qyCc3OYGA0Nv63e5vsAchar1tZ2MdInQbKbVW7vQ59O1qSGY 1yAuXquAQ279iYDJSpNGtYaywKjjGGiu+LDQUNE91bJ1u81RKTTE8KeKqODfv2mywTIR c+HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=RK4tlfB40aqyIbGfcZKKtFRCSp8E1XW/N6tHWlAqgFs=; fh=VDOYzvjHqYUIi48garTST+ugM6J+kRwV+bLOcac+1y0=; b=aFz3LBwgLIrNArC9J0vKxcEGBo0pxCC78UfpDWQth5Fs1gp/dI7OREMc2syXQnPcVJ AwncJQZApLybNJtyl/Q62GFt/ZY1XTbpypuK8/tyskE3FjG12z9uSBCbXVXeUHgygcBj JsuXSYYMu64aq/WMV7YmnMk3S6WadQFZ7aRBuME4yydiBnzcp4Z9ppFBUASE34HmD/1J va6iOBUJrUJItkoLLdApsVz1yFMlYkzfkyMzoRnB7rh02G4QtECl7oI7BMDjZUbTPNnV JhCUS50+RRIGMFq7OWqBgIh573tFOLyBP0wxj6qREmGoFEPZ9lANTrZy1B2FsnbC8Fjz TTUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pdum9Tot; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 14-20020a63184e000000b005b88fc22307si5835387pgy.312.2023.10.24.06.18.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 06:18:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pdum9Tot; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 645A7805DC36; Tue, 24 Oct 2023 06:18:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234374AbjJXNS3 (ORCPT + 99 others); Tue, 24 Oct 2023 09:18:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234255AbjJXNS2 (ORCPT ); Tue, 24 Oct 2023 09:18:28 -0400 Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76C52E8 for ; Tue, 24 Oct 2023 06:18:25 -0700 (PDT) Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-5a7b91faf40so44454487b3.1 for ; Tue, 24 Oct 2023 06:18:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698153504; x=1698758304; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RK4tlfB40aqyIbGfcZKKtFRCSp8E1XW/N6tHWlAqgFs=; b=pdum9Tot8y7I0KBpyt/DHom/G4gWQavA3NQm/z4lf57FC3hgzzk/0n/Y3TWCrFcRo5 1ZjCRVSC6YdjpMWmOplkz7DnJ/Y0O6E1VjI2UyB0hKjB+jjUSRoXalkLZlmblX/5fGuN Pf4fMYHJZzxWrU1H8tPel4uZr1fF0L4It7kOhi/yREHtEuCTegxveVZGt0o86Z+xw/Af nmIag8FspgsueQm+rkNTIdGBaMOVl3aO8B8/K8Q5E4lWmRmi3w9VD0PElzkPtod4BRm4 fUOlqaA06dWis8I3JedDhuWtPbRZSMiSzM3QHj3lZtUfVnuxd3dQEIDJ70XV2+0hN+i0 p6+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698153504; x=1698758304; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RK4tlfB40aqyIbGfcZKKtFRCSp8E1XW/N6tHWlAqgFs=; b=kFU06L//FNVZWSiVA6Hd7ocs+SxLtFKnqxUVDwNmZLbROMsQcQvtVe/NJN9Iwx7Mj4 otk5lZ5jUW0HghBKRNV1Fq1c8+0zfI4nymB7rQzpDnDGcaZtxGm1BVhVVQDaMdRmDEqy waDMl/xfb3/9d7PmMxq/N/Y70zXPXRekziojURHVRByw4nIlBKCtqeXt5qz7QR2uF4WF evleS581iJnctmNhHSgU+SMy1h3VUvHwcQ6H/YvSiVZjOCg1dQJB2dRIlJ8pCEsgSmxz jjfyp97gNurTQ+/059VSnXcRP4iwceyBZVVC9fifxEVof/x0SG4pjusgD/vMEusEfLjw /rDw== X-Gm-Message-State: AOJu0YzTiZbkdBPlh8wrYJwTWxl6Y3ZEp1I82rJKdh7ye4x/sjoc2/iD z6oG8iJYzYam88KirylgfGvnJKqqIxWIZQDK5dgGXw== X-Received: by 2002:a05:690c:18:b0:599:da80:e1e6 with SMTP id bc24-20020a05690c001800b00599da80e1e6mr14174785ywb.34.1698153504688; Tue, 24 Oct 2023 06:18:24 -0700 (PDT) MIME-Version: 1.0 References: <20231024-marvell-88e6152-wan-led-v6-0-993ab0949344@linaro.org> <20231024-marvell-88e6152-wan-led-v6-1-993ab0949344@linaro.org> <169815156038.3447619.17571704457000261488.robh@kernel.org> In-Reply-To: <169815156038.3447619.17571704457000261488.robh@kernel.org> From: Linus Walleij Date: Tue, 24 Oct 2023 15:18:13 +0200 Message-ID: Subject: Re: [PATCH net-next v6 1/7] dt-bindings: net: dsa: Require ports or ethernet-ports To: Rob Herring Cc: linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth , devicetree@vger.kernel.org, "David S. Miller" , Paolo Abeni , Russell King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Jakub Kicinski , Krzysztof Kozlowski , Conor Dooley , Vladimir Oltean , Florian Fainelli , =?UTF-8?B?TWFyZWsgQmVow7pu?= , Christian Marangi , Rob Herring , Eric Dumazet , Gregory Clement Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 24 Oct 2023 06:18:35 -0700 (PDT) On Tue, Oct 24, 2023 at 2:48=E2=80=AFPM Rob Herring wrote= : > On Tue, 24 Oct 2023 11:24:53 +0200, Linus Walleij wrote: > > Bindings using dsa.yaml#/$defs/ethernet-ports specify that > > a DSA switch node need to have a ports or ethernet-ports > > subnode, and that is actually required, so add requirements > > using oneOf. > > > > Suggested-by: Rob Herring > > Signed-off-by: Linus Walleij > > --- > > Documentation/devicetree/bindings/net/dsa/dsa.yaml | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > My bot found errors running 'make DT_CHECKER_FLAGS=3D-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > ./Documentation/devicetree/bindings/net/dsa/dsa.yaml:60:5: [warning] wron= g indentation: expected 6 but found 4 (indentation) > ./Documentation/devicetree/bindings/net/dsa/dsa.yaml:62:5: [warning] wron= g indentation: expected 6 but found 4 (indentation) Oh yeah Krzysztof actually explained to me why these have to have two spaces extra. Oh well I just keep hitting the robot for testing this. Yours, Linus Walleij