Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2371997rdg; Mon, 16 Oct 2023 02:13:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHP7biIWzMtYW3RAhHpJrB3wKe3Wd+NDmQF+8ItKxuwgpbKlAiYohkp7FgtjPzT9rgedrEa X-Received: by 2002:a9d:6398:0:b0:6bd:a82:8edb with SMTP id w24-20020a9d6398000000b006bd0a828edbmr31477945otk.10.1697447600375; Mon, 16 Oct 2023 02:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697447600; cv=none; d=google.com; s=arc-20160816; b=H+1zJ10oDZjO6RYfmGlZsgykkVV7kExnULdgvkvdfpzAl5eCUMK9GKV08rrm6msOee d3DUP4dVt8+d+mfQhHlZe5ZU4t6+XhGBzux8bltZiiToctgmACG9/bp9kaU2IkCY7p2W Tzl0diXzWwANvgjraZ6aUED6SSG6GlJLcaIWH/MU0YGFDcNksnr44H1+QIc+HFHLQ8nZ CCAkiyjDzd83ERl2aOOa6PM7hIYcEuNUPgoFfxnY447XypolxIouh9ilG8VNxf3Wygyb Z1Lqy+EyQC6G6IRvstjWgZ6K70ct3KwuNoSXRquyzgR3DbZDy0IYwjfaZhBq7gfEC9gk sWZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=XQgNJEaB9CDsyBYuoK51xMQLKTuugJ9THzHXrzK30U8=; fh=4OsP5L1B9pUAL+M4LarVIcTAoEa8QdmflUFnWk97NDA=; b=Aq3MlEwfJVusH9kqURUWK/aTiCGIIpPUaiTJn1/Axxqhz+di6pWahNDrnw6Xo1YHOl uZO6BfZ2bj47CAnNG1pvmfMBOxDuei+YZDxxhEmfBwbuh6BWulJhVZZbnNaeLuT8z/1K z92v15uu9YDP8bpl4aPeTrHcGffo+WDco8IabbatMHO7YvYuZpa0QsuC5MWL7iTyFKQ+ 06QvpuYr5eogFl7Sn95j8s1Ny04Rm3uWQBVK1ZQ6VrdH1yeRyV88Kxdjb1mLm7dJwZdx lSWAS0Hx/TwYaUZPvGQTFQ5dpPxXYTtR+zXHsGpXw088uxCBuJSAVnbwe1dD0jVB/SsP 8vww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nQb0QjKa; 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 205-20020a6302d6000000b00577fc59373fsi9992323pgc.296.2023.10.16.02.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 02:13:20 -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=nQb0QjKa; 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 6EC068040EEF; Mon, 16 Oct 2023 02:13:19 -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 S232995AbjJPJNN (ORCPT + 99 others); Mon, 16 Oct 2023 05:13:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232401AbjJPJNC (ORCPT ); Mon, 16 Oct 2023 05:13:02 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42E62EE for ; Mon, 16 Oct 2023 02:13:00 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-507a55302e0so1778347e87.0 for ; Mon, 16 Oct 2023 02:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697447578; x=1698052378; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=XQgNJEaB9CDsyBYuoK51xMQLKTuugJ9THzHXrzK30U8=; b=nQb0QjKaJfnIvo4xGbOlb7nrByQ5Rzxb52OhRQingH6C7lOLJ6+YiClX5pi4SVfrf0 CJB1vn/eD5cNAbQwpqc4vGlwM5DDzPrKJmhHpAK6QZP7Sazrwt12ZCyWTiSU2vSTyuOW M91/zICsKRcowA/fbLtD2jurEDb2iCjHktQV0OXBullY5DvOtK/2Af1PFnzJUnXHtbsn xzWmbzgFD4qkTLZ41IJGdW80y2AJV43bKvAi8IVR2891r0CPF3OFHeK6aXQZGyQK8vhD 7BB+bd/jX9UnVZXBNlr136ByUytUMfoXCXGrPEhgDc/JEJ+9RpXBZhOjX+FIzKracN6n DGrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697447578; x=1698052378; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XQgNJEaB9CDsyBYuoK51xMQLKTuugJ9THzHXrzK30U8=; b=heazk2s7yaeKFZ1MZG9Y7g0xrgt+NaIiZeeiehCcV2zzGHbKYxnkV1AEM7bCvVD2R7 WgDqskIAU8tQ8A550wW3f8GDfshnsvXpb3S3cE/1gx75j2vmj+tXk9a78Eh/1JYyWZjH 4wV8jP3svi93KSEH9oB4zCuJArxT2/mm2gEcCEw7hNiHkW701iJUc/u0MO7rBG62otjc 8bApGdG0Xe34dcn7a6fUzQ1C7Sg182ZpyhYF0wcFrTgPgykJHBbakf7RNb7wSRKIWS1S 7rCx51VcxuazSYXLgmAb0ATGncTjsWVNYdqkO2BWH9QNo0deGgk9l0OQZ0xSvz2VuZVQ oRnA== X-Gm-Message-State: AOJu0Yz0XO+lkWTw35SbQDPHxCKFAT6l7Qa8E0EjIXJIRCKektXg2urL aBroO8qhWRz+fYnSnVYOjWo+kA== X-Received: by 2002:a05:6512:39d1:b0:500:ac71:8464 with SMTP id k17-20020a05651239d100b00500ac718464mr33408434lfu.66.1697447578588; Mon, 16 Oct 2023 02:12:58 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id br34-20020a056512402200b005068e7a2e7dsm4160986lfb.77.2023.10.16.02.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 02:12:58 -0700 (PDT) From: Linus Walleij Date: Mon, 16 Oct 2023 11:12:56 +0200 Subject: [PATCH net-next v3 3/6] dt-bindings: net: mvusb: Fix up DSA example MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231016-marvell-88e6152-wan-led-v3-3-38cd449dfb15@linaro.org> References: <20231016-marvell-88e6152-wan-led-v3-0-38cd449dfb15@linaro.org> In-Reply-To: <20231016-marvell-88e6152-wan-led-v3-0-38cd449dfb15@linaro.org> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Christian Marangi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.3 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=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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 16 Oct 2023 02:13:19 -0700 (PDT) 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>; + }; }; mdio { -- 2.34.1