Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3718020rwb; Fri, 9 Dec 2022 19:40:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf4r4W8DTQtVzCUqAOa0STHxVkJ4Pn5dcrX0l8jYllU8387NPnlpLRSgj61+3Uk12C6pPspA X-Received: by 2002:a17:906:cec1:b0:7c0:d606:c570 with SMTP id si1-20020a170906cec100b007c0d606c570mr6918387ejb.61.1670643627203; Fri, 09 Dec 2022 19:40:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670643627; cv=pass; d=google.com; s=arc-20160816; b=LYRcL1VJ2S/Am0xgcQJ7iozhr7p1beA1w2LpeR9BsljWPolEnDoHcLCjcN+pPdadyy txrIC3XISRXBy09J6tIBs69NfPsAeGAFJm55xkdWRB1bYkzabRzDV4vST3YOH6Rgcww4 WRRhg9VfnMcJ0xJRsw3NGfKTfW8GjfwAERlQGskLyj01qw/4ZozXUovZarEtsqSC4mTJ UctFJLx1fkrxkO/AOtEEdTG7rh3pg5qGhFVDXlfNiWUr6mhlbSVYXpnxv3sri76VqIk4 ubB20E5c4dIcaPYpk7gkPE8pdxNARaIZHi2QxEdNVrZFuo4ycOy1VzFAHmWtqZAkRmpo Zchw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yjaMZnGag/P+VQM6ozRTghG4Ww1JDT1CjIpPmJJncEI=; b=sk/DC8szlpHOfTA97Kem1AWcQr1eXNn72J0mha19ihJ6nfKV+Yw4lEZ6DRPR3D8cYn nnY/P7e56uH71SdmyGui+KC0PL0D8BLTStaSslWHiOQvLILbmiEFw2XCrUDhyKKjcnpN bR4v2Jo7GOCzofGi2Peb5SE6J0j+GjjXjkvRw/PBHNDfgC/Xt0TescmUQZQO5UANJh85 G4fcwDLv7DsUCmpe5FVw+PmhZsFy94y8FweOWSZnyfO9Npw7Uz3SB3mw0KKZ160XtAVf NwDHRTruVEDJ2HHjREf/FB+ttnTmlczas/iIjS+rhCcm9ozKozgVrcIxtJH1RcD7x79r JuFw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=gOtHhIGw; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js9-20020a17090797c900b007c10516b7aesi1666788ejc.214.2022.12.09.19.40.07; Fri, 09 Dec 2022 19:40:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=gOtHhIGw; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbiLJDbO (ORCPT + 75 others); Fri, 9 Dec 2022 22:31:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbiLJDa5 (ORCPT ); Fri, 9 Dec 2022 22:30:57 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2101.outbound.protection.outlook.com [40.107.223.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 773F38B38B; Fri, 9 Dec 2022 19:30:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n7axXMZU5agFtM8CT7wiusAYYAcmHfxlAOIdW7BFyIDkCzzTWNfcWp2WzOICOfaJgvJemyGOXD55eOEW5ZogcpflvWvauq6Q7ctK1vzTPhDb2A8VIXL8PHlcQM4dkOkdshjJsvpp07h1sgrq+/EWwlAd0RD9hDTn73M06t1vn8zFnbwS3gI3hi9RIxqIMSjdLPDl/czIGJ7Uqd4a1V+0DIGVUI3cSyuIp1AAEEpOcxs5hnxm1GVNLI3s+rTYWXG/4oIHgcKlMyk4FhfsZ0Ijcx/FNe9CsQ6wLarjdpP30R3jrMNmIpFO7qlM59WGke/8C3ycGLpCSfUPR/wfA7hNSw== 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=yjaMZnGag/P+VQM6ozRTghG4Ww1JDT1CjIpPmJJncEI=; b=KHxhGTDOAyNmhhKqQaAWcRxwIglOCnjw3za9q8HZ7f9lt3/aT0aylDSDKJ0dTAw2rwsuaNh4c+xeikarQXRtj+Yknzvl5fGzHNpbpjWOaxABWCsT9BnaBuy3oFpfENHldmHlt4CAOQBpUfqR+qPbSG+8Tp+I6+USCByFQOxOxxJeTPBbXI/8TX2Wy7qZN6w9adGOeX2GS/lze9166e2tX1aLcpx5QGSE9Om44CipC+fz+lPXwX9woXQYUQe3psyV4w87NrWsYSB13B3Wih11tji0hdFER+QDZKJwz6rgsW9hxxlR+PB4yf1JuACYMWYtc6WQIBnnkXy6oTVBCkzVjw== 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=yjaMZnGag/P+VQM6ozRTghG4Ww1JDT1CjIpPmJJncEI=; b=gOtHhIGwjc3ZEZ43aHdxJUeWOBj52isFAagDPR6fsqOF2uUvT09ZwkBbpwc5ILFccJNYF+tOiA9mIlvIzRWQE8uyJPzV5GbnFNLfuNKl7ECttfKx18JJigybqu7jByiUP3l4aRIAxY2NDpkLV8DtsgPr7A/VjJcDqy4M5fkRSno= 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 SA2PR10MB4779.namprd10.prod.outlook.com (2603:10b6:806:11f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19; Sat, 10 Dec 2022 03:30:52 +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.5880.014; Sat, 10 Dec 2022 03:30:52 +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?q?n=C3=A7=20=C3=9CNAL?= , Vivien Didelot , =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , =?UTF-8?q?Alvin=20=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 v5 net-next 02/10] dt-bindings: net: dsa: sf2: fix brcm,use-bcm-hdr documentation Date: Fri, 9 Dec 2022 19:30:25 -0800 Message-Id: <20221210033033.662553-3-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221210033033.662553-1-colin.foster@in-advantage.com> References: <20221210033033.662553-1-colin.foster@in-advantage.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BY5PR13CA0002.namprd13.prod.outlook.com (2603:10b6:a03:180::15) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|SA2PR10MB4779:EE_ X-MS-Office365-Filtering-Correlation-Id: c5f107dc-6538-4a34-c716-08dada5ef03b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KiED3mnu45pl8kbP0h0d6ujPmteSGe6/ouAvEPZB6cmUug9WUg6QGgsGRU0+NM53BZP0/HTQsA5CrozaO01FR42jRt6JNDL3hOA3L0IgHDblD2TeEJ1rYTxb5DlUcmsFXpEDGgVul8AHYq2nS8VxkzAO6IIP9gfreDzBTLm5v+T7mYOH50Ocxudjw+8MUlmUwaHwr5nkEniBRCEoAXInCZOzHsMNy9XGKYRLOYeCbxU3yK/1GxOn5ujWb8j7eQnOv951IlVKgGi1sD/uyC256tjhGc0moPTaIyITEaJJ0GOqcJPNzcawBCinYztIFKQ0CxY2gM41AZn3mjStd6VKRjl+pg61wjX1t9/Bhw5E4+ndoDne737XkrHZFFA30QDyE65ZrokOLyDBVUUIOO4DILDt6mqfajrC3dHxZIrqSRZxckfqh5YasOTGTapGaONgnsbBNkrK2yv02zQ8n+GTMxpc3EQ9lRM3N6r618Dm91r5oPin4TBmrFSYHHwBwyprZhqpH6rQoeB03gjmztky3ck5VF5Rnij0GhrJH/DtniU93ZmcQxzCIPRw6nGVpDNEapPcb8z1aEi/MBUGaXscPdUDCBS2Wtoikleq27ydJ5mGVT64ni7iTIQaIYyKOtwd98sR2UvJffFNwSvICBjxQ17tbPZiJK5taA/J30jVZG4qI5zW5YLTGsHont+sVTju 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)(366004)(376002)(346002)(396003)(39830400003)(451199015)(6486002)(478600001)(52116002)(2906002)(6506007)(6666004)(86362001)(36756003)(6512007)(26005)(44832011)(186003)(7406005)(7416002)(8936002)(5660300002)(38100700002)(1076003)(38350700002)(2616005)(4326008)(41300700001)(83380400001)(54906003)(66476007)(66556008)(8676002)(66946007)(316002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Aq2S7LE4Y9oQ0vbnhkTK6rXMf6M16IBccKGNrIVNYt0Lw8nrs8kz8QGjBcm/?= =?us-ascii?Q?pVmbYXaGItscHbESnARhfliIMVNJEx+ZuxSs6ZS6MUV+F08HUNxGDSdl9YK5?= =?us-ascii?Q?8B3jT9g115RJMjmcRS7Mc9RWTifVIyySzUbHGOHTBpjLCmf91j7b38QKMyAx?= =?us-ascii?Q?x41IJlpYBvN7oRvp/MotavGsYyWiTvX9gE7ZoTjRpn/YAxDM5KD/t392G39b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3GsOQ7ug5pLh7aZl7NBEHCP+66PuExqIaRMtTs?= =?us-ascii?Q?cQurdXEBjvPeT0xCpVX/o7Zr9hCtrpnefpzrHVm1SirI68zGwwQOnp66ip8l?= =?us-ascii?Q?K9uQTFBMKp6940J8hEedn7PYjCbqJob60+IhwZM7KIrRedAP+AYEurj/PeGk?= =?us-ascii?Q?hLR63cHKwGy4/FM1hPDWVObVkWcktHGs9VZ6+Ucy2oJWmhgV1bNmVTYKSHFj?= =?us-ascii?Q?etj/L1M5vTrk9QrEIh5B8cGE7nnn+8/fpOJLCjwqtDVxM+WjDxD4LLZEUuaZ?= =?us-ascii?Q?mzf/FzxT9C6U9B48wiAtG1zFZpXI/yzAJRkikpqHlevJjxGyNqbWrIio7gzE?= =?us-ascii?Q?sKFKU2VFGt70Cbxx3/iDfdi6wbKmT+g9o5yLBXH0YAp1lfSVuPCWputGgsLu?= =?us-ascii?Q?FnppJ8Xe+lQrNt8KHnQRwjGjoxp24quPggJ/9ZfOFRzGLEp4UOXTnrjyYftp?= =?us-ascii?Q?iOAB+8NgrpOnmj8kxAIc1NOwIbMF7A45bP/vt/QY0xUQEH9n2O2FX8h94//q?= =?us-ascii?Q?2g=3D=3D?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: c5f107dc-6538-4a34-c716-08dada5ef03b X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2022 03:30:52.0451 (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: 9x+dQ0IeQs3DUjz6KqFRnX0Flnwg1bCKCNFh6HqB0GcAAe88/KF6vwdT7hDAjGf8xt4F+XqhRwaDpt0NTfi5TMVYl2bH9Y4PCqdFHoN/wxo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4779 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 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 --- v4 -> v5 * No change v3 -> v4 * Add Acked and Reviewed tags 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 -- 2.25.1