From patchwork Tue Jan 3 05:13:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13087179 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 48F72C3DA7D for ; Tue, 3 Jan 2023 05:17:32 +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=Q0R20xnv43HQ6evcc+3bzFdjxVEnWiRRAUq98gi1PP4=; b=lUQFMvNTO/g3Wb EGdBpMGIjuL97zaLbYJwmMtSqfPHBluk6/H0cidu3hvy890CS4iByrmGVWt7cByNWnvIEKAAP+/IF V8R7Yk6/KbW8/QFl+2lnHlCcrLdq2HA+B8O5JUN9xtE+rtB6koBlPBn6JZ1SgYYkGqLjKhxD5W6c0 qT8pIxKow2ifTrLtV6DhJtz2s59i6TxhOg/0YJjp+nSAcztY0ZhH4XPX0LzHV8VM6TKfreHjGdOPp hfz+RN7a4Gyq7Jmj6829xFepSzP5syRAViLAEhfVqfL13XIqkKpTzyrVS13ZiU/1CuxqCpPJzeEg4 JFIk2iH8WskrBmTORXCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCZeY-00GfwH-8f; Tue, 03 Jan 2023 05:15:59 +0000 Received: from mail-bn8nam04on2137.outbound.protection.outlook.com ([40.107.100.137] helo=NAM04-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCZdC-00GfLO-4I; Tue, 03 Jan 2023 05:14:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L7wcofpZZads6L3/2+XrUJtM3DnBtJbI8RnV73mftWJ83cEsyaBSvKdF0ZjEXVoVtVs9b77fGLC+DTnaV55Z/osJArEhmKT5GoUOtVm9ZtzT2jLUOO0cpgeiWy0X7Au/FZCK0YydMHiZn8EeD6zzT+mC/7UbeqEfVdeai3LjCCFG40QSVaiISD0fBHX/wTkgH6rwqz0qKOEtvtsoIBqt+Yin3pE86VD1kfHsOSC4NMUUpNcR7wNnY6NYDNYkLNQqGKFRnEYX7K0qDGtVEZO4+2XsG+z0brBrmXsu1GKuJi/qVOZSSqUHYBbyZ1dRfiNBZA7kITIjqs8OAzuXf8WjPg== 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=s6TxISdy0ZBiWuyQaNqOXiRTe5eJIJA3T89HTJe3DC0=; b=Rny53f/0vGH62qwlnTDMG6xsk3KZfPQxi5O6bY6TUpdnghvmccR862LHHRo1l/5OSw2hZRDQO+Kk0PLr2WkBIq1KbUI9UxGJIAhXoWCvom/uzDetDYZHBUtFKor4HK0Zwj6PYiggBwIDyMLnCaB3dHiVOjb8iBoKpCAKiW/nnEBQX+EyuZx4SXJUjb+Jv0fsEzONO2gJXZ+xkwEzW07HLSJqAWIXF6lMTZwvS1O0MtqW/I0C1NmQO/bZFzD/aRBBI/YfGwav2nOhv7NmEXHaUWx0XlcaNWs3KKSyoYJK8VGie+J0Gaf0iC0SUYjOJ0gWYrsDSlcsgnpqfZ4SgHmSmw== 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=s6TxISdy0ZBiWuyQaNqOXiRTe5eJIJA3T89HTJe3DC0=; b=bkw06cjsaR1PtGMNR3BAo2P7/mIY8nxvxG46t4wBU/O7kVTfvgxF61d7a2kBxgzqvRniMitKla7nWUFDclT/CQlI0Bq4II3zp5VN/fnL5L8BB+0e3OJCAEsETBFUGe+9DnjEy0R54AA0HBPR2ZTThMkk644U0/V5UGoYmu3vWJg= 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 SA1PR10MB5823.namprd10.prod.outlook.com (2603:10b6:806:235::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 05:14:18 +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.5944.019; Tue, 3 Jan 2023 05:14:18 +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?= , =?utf-8?b?Q2zDqW1lbnQg?= =?utf-8?b?TMOpZ2Vy?= , =?utf-8?q?Alvin_=C5=A0ipr?= =?utf-8?q?aga?= , 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 v6 net-next 02/10] dt-bindings: net: dsa: sf2: fix brcm,use-bcm-hdr documentation Date: Mon, 2 Jan 2023 21:13:53 -0800 Message-Id: <20230103051401.2265961-3-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230103051401.2265961-1-colin.foster@in-advantage.com> References: <20230103051401.2265961-1-colin.foster@in-advantage.com> X-ClientProxiedBy: SJ0PR13CA0057.namprd13.prod.outlook.com (2603:10b6:a03:2c2::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_|SA1PR10MB5823:EE_ X-MS-Office365-Filtering-Correlation-Id: c926db88-b9ea-4b7c-9e4b-08daed495d89 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: U7drSaq7W04n/WvypzGHPnNnoNMkF5+r6M/lqCymh4tEw/5cr8771/qfe3Apc9CdxHqlLnShCzs6ODBdtE3KEZHQoedNIybn4JUMPgrQs8ArHXMQJoKfmydOfsPbAmjQ4EoqL/HT7ty0vbGHFUFXI5G7UkyPhlH8rrEjm1jep9+pwDRPFBsTSxv9I1Ai22ZVXZbvCSYqSTVI+yK4t4M6aaOlC2XmJmvcjjTcJGspFTnDIAkWG6g4k1mZUv7hP57Dp71qEOyH8RjjKSxzjlUu5GVKsu9jwThG0T0buAuS9l5xj/9xMRIWnvuuJ5cl1QS8G+n0G8BnBYO3oImSvqpNB5bGe6c5p2JkvLcw0IftVs85Vln0OPi9TLoof1gZSkvAPd6oB0ZP6g32Db4HDnQa4QLDRYqvlPIpA2oaKQWjmdH1O3CnJnpF9e2mMOnV1er7UyO/MTzU80eakcNONAj9RgLQcaGXkyzwzvRl6Fmc0uJGZe5aQYJIPTcPfY7Dj6gRlRAbgu/0Yk8hZiRHqda6pG5Vkh5RPiwgz8lMaWSMtSi7gxKCLqEaJ8fB0rNi5X/Hz2z5FHud+sh593tTp3v2f/i+ziR8fEfZw+i7oDvBJImukAiHnOyzSnu0zztf7sDy3a/q6xb9qwsuYBWkPczz0da0TNoQwQRYOEY3u0vN5iwU8fnoUE5wN2u65dAoAweZ/dx9tZMDUM6+xaLTozzVig== 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)(39830400003)(376002)(366004)(136003)(396003)(346002)(451199015)(54906003)(26005)(186003)(52116002)(6666004)(2616005)(66556008)(66476007)(6486002)(1076003)(316002)(66946007)(478600001)(6512007)(4326008)(8936002)(8676002)(7416002)(83380400001)(5660300002)(41300700001)(7406005)(44832011)(2906002)(38100700002)(38350700002)(86362001)(6506007)(36756003)(22166006);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: JYIJ4QdfziifASH4u2TwJp6M4k4k5BVBMltqNkdaDp6vIXjJ+QKNigE39NYuBxmRuIG9zzUeyTjktWSCMFLS3GLFvAqQVN4iAswrPU3hbixA4XxEASmtiYg95Nm2fYW52OUVTW2x80wcJ+ZgEpJPEBUjVmZd4PBjy6Cekslk4F/rN0tcZ0P8RNKM6EBSQ6h2blLWMSPFAsh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+TyFqwnUEEq1ub1T9PHEbh1zVRlSt394hcCQ8gO9tfIudEX5tI1W92/S3pwm9iXk21Hn5HU2XFpS3T/mJnGIITI1/kmucPTgQpIvx/sowk90ZePKYQGmjtjF1XgrewKn+0mdgXiiHn6Da2C/8uvBqNCqTX0jDkU9CfT0PGWKXMwfp5CoYrsWfMggUfwDDbikqwrSu4fmwQe2q5P8h1smELU0MZT17u/206DcuGhb6OU1/LLpIDi+ekcC7DwlaOT4nYw8DWu9moFQSUrLuqv6hIQC/7NMhD3U5tFQkF+A3A7ENH/A0HpCkLAJQSVHIbX1Hbu2wEhZGDZqkC4g== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: c926db88-b9ea-4b7c-9e4b-08daed495d89 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 05:14:18.7010 (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: tnx1bPxNTr1unyplnz45pntBK2WFN626dPFJdlQ4sCbruIepsMjV0Qqu4O8pTu6dNZkQSvs2V6C7WUpuCzvdsEORBYswDORL9f7vCUW/np8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB5823 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230102_211434_442331_4F8E55E0 X-CRM114-Status: GOOD ( 11.01 ) 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 --- v4 -> v6 * 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