From patchwork Mon Dec 6 17:41:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 1564067 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by bilbo.ozlabs.org (Postfix) with ESMTP id 4J79jD218Lz9s0r for ; Tue, 7 Dec 2021 04:41:52 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244522AbhLFRpT (ORCPT ); Mon, 6 Dec 2021 12:45:19 -0500 Received: from mail-oi1-f169.google.com ([209.85.167.169]:36362 "EHLO mail-oi1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244538AbhLFRpS (ORCPT ); Mon, 6 Dec 2021 12:45:18 -0500 Received: by mail-oi1-f169.google.com with SMTP id t23so22853792oiw.3; Mon, 06 Dec 2021 09:41:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9AfD5dtJAGMw4/58KHugg0lmexdD4Jfgcey/X/Q75WU=; b=cx6s0N9zEXx7zj+Yu43Lol9Lz7yBquSBbWwZqIZEyp3INSUPQpzaCS93CyT7yuigB/ HlutBpkx31BJGW5qH0yAuYppSJG+i/EjnQjSbLELBxLLJomnwzfADNlzTN87vShe0R8J rChFvARtZ2p3fwX7bfqdvZ2PGrG5PBR9zX3su3hV26YBId/DX5Ct5NrM6/DJq8BHp23E 5Ynl6HxwqDZX0on6Pgnc9LG9Ayci2i+odHO9Wmbv1+uiZRp4F9FwT5dduXZEU9auqHtM 2DE87Ud1zbgR/lqPsOVZJACwtKePgCwX1usbGgoOPxKNsQ6QridIO3D66qPvsD5KC7FC TAxw== X-Gm-Message-State: AOAM531g8qAGkYqKat/gQFByEn7aqtsj7Lg2LdGYVhuKs2W+Zp8TdL4u xwDkZXeHSrLXa55/mSJHyQ== X-Google-Smtp-Source: ABdhPJzi/ryRkEuy/DOqoCJZv47XAma1f41in9AMJ9aIjUHNcIz6n2SpCbT5RoOBx+t/yxtNX6pS7A== X-Received: by 2002:aca:5b45:: with SMTP id p66mr24746740oib.9.1638812509312; Mon, 06 Dec 2021 09:41:49 -0800 (PST) Received: from xps15.herring.priv (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.googlemail.com with ESMTPSA id m3sm2358065otp.6.2021.12.06.09.41.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Dec 2021 09:41:48 -0800 (PST) From: Rob Herring To: "David S. Miller" , Jakub Kicinski , Alexandre Torgue , Giuseppe Cavallaro , Jose Abreu Cc: devicetree@vger.kernel.org, Thierry Reding , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: net: snps,dwmac: Enable burst length properties for more compatibles Date: Mon, 6 Dec 2021 11:41:47 -0600 Message-Id: <20211206174147.2296770-1-robh@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org With 'unevaluatedProperties' support implemented, the properties 'snps,pbl', 'snps,txpbl', and 'snps,rxpbl' are not allowed in the examples for some of the DWMAC versions: Documentation/devicetree/bindings/net/intel,dwmac-plat.example.dt.yaml: ethernet@3a000000: Unevaluated properties are not allowed ('snps,pbl', 'mdio0' were unexpected) Documentation/devicetree/bindings/net/stm32-dwmac.example.dt.yaml: ethernet@5800a000: Unevaluated properties are not allowed ('reg-names', 'snps,pbl' were unexpected) Documentation/devicetree/bindings/net/stm32-dwmac.example.dt.yaml: ethernet@40028000: Unevaluated properties are not allowed ('reg-names', 'snps,pbl' were unexpected) Documentation/devicetree/bindings/net/stm32-dwmac.example.dt.yaml: ethernet@40027000: Unevaluated properties are not allowed ('reg-names', 'snps,pbl' were unexpected) Documentation/devicetree/bindings/net/toshiba,visconti-dwmac.example.dt.yaml: ethernet@28000000: Unevaluated properties are not allowed ('snps,txpbl', 'snps,rxpbl', 'mdio0' were unexpected) This appears to be an oversight, so fix it by allowing the properties on the v3.50a, v4.10a, and v4.20a versions of the DWMAC. Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Alexandre Torgue Cc: Giuseppe Cavallaro Cc: Jose Abreu Cc: netdev@vger.kernel.org Signed-off-by: Rob Herring Reviewed-by: Thierry Reding --- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 7ae70dc27f78..1d67ed0cdec1 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -326,6 +326,9 @@ allOf: - ingenic,x1600-mac - ingenic,x1830-mac - ingenic,x2000-mac + - snps,dwmac-3.50a + - snps,dwmac-4.10a + - snps,dwmac-4.20a - snps,dwxgmac - snps,dwxgmac-2.10 - st,spear600-gmac