From patchwork Sun Nov 27 22:47:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13056897 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 054ADC352A1 for ; Sun, 27 Nov 2022 22:50:55 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=a7DwPhehIIRkieLueFn8mTApX4hhcH2ktZbXmrMOuQU=; b=OT7fS8SDItlKF3 WN2Zr9uqv4TOA0kFusnL0QH7nPkpZ04Lmok9Ae3f8TZmkfthM3cWiIFGsVEb2NcSdD2ij+99a3KbU ik7Goc9FD+WCsnj19WEFVpyjVhJAJ7qO7nTjXohwTHACCc38RVAG30G5XJO4Hfnu+ZpUEbF0lgG5k mHJ4p2kD052MQMmO6cNz4UdaFg6Y9H9jVWVvkaZveBacEZ88FQ1gLKkPjZny2sG9vGyLEQK8rYDxT NEJP13M9Crw8QvSmMS+TePgQgJFVQAgRZ5QDZhT40AaxVhnBowzG2HPPHKuzG53u4wllJqND2i1cP btNeVHSLSRULjiV1PpOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozQT5-00E1QF-TM; Sun, 27 Nov 2022 22:49:48 +0000 Received: from mail-mw2nam10on20717.outbound.protection.outlook.com ([2a01:111:f400:7e89::717] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozQRP-00E0fb-GB; Sun, 27 Nov 2022 22:48:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LTIPFdc9OqdY1VNmLzhWFsWidCebOcunMqvyfdU4G7Ddq/lol/csa4c2ZPFK0CEM/h3zH16iZbD190dfIR3ALHPJaMUAvCaVsCcH4j3f6RritrvW5dRWNzftL7bqCvO2rhXKB6Gn2yHDK7xY60mN2em0xoshiHVwYa/dnrdhTXkq4TvfvLOEbw3HTsPyYg/KJd626Mt9/Vqv2Ia+8jB36CjqMXYiv9L2OeXiDFk4hU/1h2GO60xY0oFV2my3VuwJqRdorEl5eNPgFcgD5Pm+UVuO3rGBJbi8DCeGtc0WJguw7aRmUaw4bCQMZcyfff18a7rbmqFogJ15aUy3pi5WXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vcbWsb9oJJB3MTUecATLv2JH2gCX/danEzE9/kV6How=; b=CEDfUohfPgiNR7vvYfiJirXzrm1zEX6GDG7DjzXdUbBgmpl/RDgajNkdtjcL0Z9nJqA6c+iknfYg2ls4zIGShZmSrbPQx2YBEHQnZoeVnhkOSwvtA1x5Gs5bue0L8iUOMn4zrdIc+wSOuqaYziwjHhDmrzBzInNGWLtLtz46bOU2+niHQwB+bsQhmy/Lhrcr4Dvuw3oD7dnWiZNz4XChXLWIAHXGPSE1WZPR+f9Qeexj2YU84tvIVREb6vhLlnqAVh+dKbIL9VTKJiWOokacAGXpslVqDGjK/MwqjJI0W7lNqoLXjfEdccmQgaXEp8NklJsAR6EmNPH5Cd/nZDBjOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in-advantage.com; dmarc=pass action=none header.from=in-advantage.com; dkim=pass header.d=in-advantage.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inadvantage.onmicrosoft.com; s=selector2-inadvantage-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vcbWsb9oJJB3MTUecATLv2JH2gCX/danEzE9/kV6How=; b=B4WlSxkPnbUVc8cbKz01Iff8bOZK7dlJ91fmgZTxT1Rq+00lNqEsD8zP1jSxZD+R3LdJl2MgcUYWP17ePc1ayb6LCUsEbXc8JVLj/mczyMAynJE33wztrdkvuZDemHJe+XhE+6N4ytHzmmUhfgvl2KgKYaDUTZguLngUgB02x7Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) by BN0PR10MB4998.namprd10.prod.outlook.com (2603:10b6:408:120::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.22; Sun, 27 Nov 2022 22:47:48 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c%4]) with mapi id 15.20.5857.022; Sun, 27 Nov 2022 22:47:48 +0000 From: Colin Foster To: linux-renesas-soc@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org Cc: John Crispin , Alexandre Belloni , Claudiu Manoil , Marek Vasut , Sean Wang , DENG Qingfang , Landen Chao , =?utf-8?b?bsOnIMOcTkFM?= , Vivien Didelot , =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= , =?utf-8?q?Alv?= =?utf-8?q?in_=C5=A0ipraga?= , Linus Walleij , UNGLinuxDriver@microchip.com, Woojung Huh , Matthias Brugger , Kurt Kanzenbach , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn , George McCollister , Rob Herring Subject: [PATCH v3 net-next 01/10] dt-bindings: net: dsa: sf2: fix brcm,use-bcm-hdr documentation Date: Sun, 27 Nov 2022 14:47:25 -0800 Message-Id: <20221127224734.885526-2-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221127224734.885526-1-colin.foster@in-advantage.com> References: <20221127224734.885526-1-colin.foster@in-advantage.com> X-ClientProxiedBy: SJ0PR05CA0027.namprd05.prod.outlook.com (2603:10b6:a03:33b::32) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|BN0PR10MB4998:EE_ X-MS-Office365-Filtering-Correlation-Id: 14587bb9-4a40-4e5d-9929-08dad0c96833 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JUlRkfqYhvmg3BtkgByfwhz93emVcsxx4jkTUCsWuiWXNIe3B3w9aDWSbj4qnFDBu5Z5AI8pz0LdLXBUyW3g2IpNYX6vCksCT6n5D9l/hTGcoXW6pseB8DRVjvmVdcFQD16TPkdMtrwdQw8sU8ofZ8QpcCgyMV+wHpfuisLXfvWqY05vQmr547MgNFlSDy+0EU4AoqZ1tE0ehJRfmlQZiB8avjc8zA94VPGeeb4dw2MHd1ITwZcAQUdFFMqSaWdi8qplAjwj+c//FvsE3v9IgL5DMeGTV3SZtDlieGZ5cxGCGUuitGEzILxkNLm8L0qTYqWYxXiykjHn4vn0jd8Gx8KHMDNuQHaegmjKL2ZwhKlEOHmOd3qJqMqeeaBodI7OSMQM3Mjkt4+Zjv9fo7jltccrUZgKF4hmz//hin0lqSQDb/yC7MPKf/H8q+8ACGDMPn2nYRrOhboZR+jyW0S+KXZbZHXDneJa0XHF0qoE2zNE5erVHOUW5xP+I9RkmBybvaxzXR/xehZcrjbV8vNc+p9vge3g0iFUZjyFCitrtK5aEqv2DeDTlXvQazH9n3MHCy+6SAyA/FSbi4yZW3mO3mFY0R8wCjUXEJO0AbeRmzM+Io0b7wxsjtsb5/u4Bh+qdM7yTLMglcA2fkHK+YDML0pL8EljdGiYC04qkZxqdxonBpN5anszOZ02PxQu3efj X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2351.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(136003)(396003)(39830400003)(376002)(346002)(366004)(451199015)(6506007)(2906002)(36756003)(86362001)(7416002)(7406005)(6486002)(478600001)(52116002)(316002)(66946007)(66556008)(66476007)(6666004)(41300700001)(4326008)(5660300002)(8936002)(54906003)(8676002)(44832011)(38100700002)(38350700002)(2616005)(26005)(186003)(1076003)(83380400001)(6512007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: EKphD66QngkxR+bX0nSv70AUpQd0CTtpADD5kgZ6JBiqQUzM+LKrI9rFkGv+mgoJ/aXIzy7SE9rlxQ/MJkDBbbpRtM3bfiDB30zYC5KE7Ey29rUgbRMAu0ryR41d9r2pVp74Yy5uZQM2XqoJFZqTgFVumoCWxsDPh9aobzK2VK0maBfGKREwCWmtASm53Emj+HZBQuB59G06tRf2OmZrVrwtyntMHWaDe1lw79cIgbTuaAVL/+1YDIMGOE9KZ8txO8Ee0cgH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liIxnxzBsTXxJ6W2s3VUQH9sENXefmIblk/gFkjE9GVvGxsEiOJougbbE2InyfJpLqSo7zOLaptjCRA2SQXtCaR6VmUWlIn5siFdffLv/MGWw9I7gFIdZZmyAEVcEzmftw82L91GK11syYQP6ccC4fPS/SeHRKzSa4DETOsfR/SejpxlTpGhMnZH2qLZuYhHeW/vmqUwfoGIPSBYfodLJJbTtU+5gt6vauRVyyFWnYZ3lbkP977oaSWppNRnlkxWyXZYRGx6+Fr55nJ2nkdqA== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 14587bb9-4a40-4e5d-9929-08dad0c96833 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2022 22:47:48.4374 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 48e842ca-fbd8-4633-a79d-0c955a7d3aae X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3WKf3H781wnNx0dQf2WPtnLf3//UCezk0akZtJ3EyYsyd2QwNL9MySXn9vRaPGwD4FogDyS5TNUDJc7qSjOYfVqnOlt1+Eya1/cI8GD13/Q= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB4998 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221127_144803_576468_65B4BE1A X-CRM114-Status: GOOD ( 10.18 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The property use-bcm-hdr was documented as an entry under the ports node for the bcm_sf2 DSA switch. This property is actually evaluated for each port. Correct the documentation to match the actual behavior and properly reference dsa-port.yaml for additional properties of the node. Suggested-by: Rob Herring Signed-off-by: Colin Foster Acked-by: Florian Fainelli Reviewed-by: Rob Herring --- v3 * New patch --- .../devicetree/bindings/net/dsa/brcm,sf2.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/brcm,sf2.yaml b/Documentation/devicetree/bindings/net/dsa/brcm,sf2.yaml index d159ac78cec1..eed16e216fb6 100644 --- a/Documentation/devicetree/bindings/net/dsa/brcm,sf2.yaml +++ b/Documentation/devicetree/bindings/net/dsa/brcm,sf2.yaml @@ -85,11 +85,16 @@ properties: ports: type: object - properties: - brcm,use-bcm-hdr: - description: if present, indicates that the switch port has Broadcom - tags enabled (per-packet metadata) - type: boolean + patternProperties: + '^port@[0-9a-f]$': + $ref: dsa-port.yaml# + unevaluatedProperties: false + + properties: + brcm,use-bcm-hdr: + description: if present, indicates that the switch port has Broadcom + tags enabled (per-packet metadata) + type: boolean required: - reg