Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2645476rwb; Fri, 2 Dec 2022 12:50:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ZHCw3sUwF9diIhTQ7p7xNTai3o9IadXdoV+MMTfDpyui6LMGbQT7+/hB7X4zr9ykO8EyI X-Received: by 2002:aa7:81d8:0:b0:561:c694:80b with SMTP id c24-20020aa781d8000000b00561c694080bmr54255656pfn.47.1670014205954; Fri, 02 Dec 2022 12:50:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670014205; cv=pass; d=google.com; s=arc-20160816; b=Kgq+RsEDE8Pe1BUFbiixQaR9Y4dg3E1isfALaYNMtpUzmhZ7APrBtaoejQmS8uCfW6 HCEVNNptc3846wF6Tf1v+DybnX77GXEqmLFSNCBMDV5yYqwEZsFbCWMzVVF2T26LkGZZ LFGCiRDSw5IyIsPWII2FJckUVMbtctFbRSyIvY8DUQjEifmk3WfFYVFovznGUWfOaafN pP2dKG0m2ptxbEQzy5Z4EGETb3yXzOC2+AZF7tlZFUPVVahQzQ9ezMx7ExR3RfHK72M/ OgKrY0iACZOP68tpp2zZLp4/3z4NzRdu0be3aEgfwFbToE5xIoQImIyIBqbmlB1jeAwl p6iA== 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=PXFi++lkja16w/FExAPqKh64NH+6QWLAkwGLxKjTCNc=; b=igVnm0EHqMV7DHSzjdIE4JO2Mfd+jemiQ0UTCrq8HLLZYqEsLjhfKrLa6kfrZ0Zmwk LNF9XBCjgaUD4JiNu1gbSzvPYoYS1revReyiksmRQbUbSJC/yiQZVkCHPxFpdkrM3KF/ hMWiuOekcx7ghYj5aFTx8qke29f+2uWjCoRTbl1hPXD6opMmK4KCd4XXfe8qoiIp1Nul CEGOtkeQfaVvxDwQb+WOx5nmbethl+K7cFEWetU0bZB6h6iiV22hK1AZ7ZMheIC2YKw7 YV//+fhcGMCmj6Uk9omTqvgEwuutz7zc4Vs1VXEdg0iyuV+JjmRRy+zoF7zPxlO8sp11 fYaQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=y5oxsdAK; 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 n184-20020a6327c1000000b0045ffd2d21c3si8418133pgn.582.2022.12.02.12.49.55; Fri, 02 Dec 2022 12:50:05 -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=y5oxsdAK; 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 S234895AbiLBUqU (ORCPT + 82 others); Fri, 2 Dec 2022 15:46:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbiLBUqR (ORCPT ); Fri, 2 Dec 2022 15:46:17 -0500 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2100.outbound.protection.outlook.com [40.107.236.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9E54E174E; Fri, 2 Dec 2022 12:46:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AzaxF1iUyGW75v14ILjL5QJimgU809aaDu5syjWYKzUILaZRNVr1qFnIGGTfHszGGJA9EFfXM/moGeGpFGYbYW7B51Xi/dORg2bvczng6PcFWtqyH1DRrK87OzZ+KC5yEscsbmcteiLWl3ea27Ho4z3XEHvGDgF8uOYSi20sskEblJbWBnje4cpdDW4Pa10cIQrXJgRWE4q4uK0DSZeNYsne8xt9BpKMIsssNPi2vmomGqa/5VAcHZKLx+vK3CvcITPPb8HxakEagLdihRxae73s/lz/9fr3hvHBjB32Q41jpK6T+WTvl3/zhNboH+ky6IwmJbdgx6lViJd25kKPQA== 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=PXFi++lkja16w/FExAPqKh64NH+6QWLAkwGLxKjTCNc=; b=j4QMaEQlhGwbTF19KV1Oz3N/y7subJErz4BGsWT8rYAnNiefefhhIVhHkJ7xTHl8fUu/Qo6pna73jUyv5qrgwQDbmcomaMnZ0g0l1+3U/klB+pGjflRqrwMMZqKj1QhyCdBnQGySta4EK+J6/5iT59+grVDOMEqWQ1I4rKVZfCsVHUji94W+MssjCj2peYZQDZB6g2Uz4/j00eYdc1uGbvPL4+JuLhQvbmlVVMeEjUyNqBjfYQzfI8/NdiFDQw7cFUfKHLb3/XScLXQq4Nf50YXblg3D2CU9LpptKtRj0UPYja1cTPtZHCXK48LnX6NaX5ixCVU4x5l8AGAMmTE3jA== 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=PXFi++lkja16w/FExAPqKh64NH+6QWLAkwGLxKjTCNc=; b=y5oxsdAKSd663eaxPO/bBlyKsEYKvAIhov+g05CRmAX+wVlpQiGr0k2uc5NmLfaJSnGP9gY3O9XFaXwXQQKwDZhlsTwcPOvNvXaOpCvYfhEQpolCbvwAt1TZ7OnzxpKRo4NjMlC1TsSwoJ+pbArVjQFFPqgzHmOhAOj/LRRRsmA= 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 BL3PR10MB6258.namprd10.prod.outlook.com (2603:10b6:208:38d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.8; Fri, 2 Dec 2022 20:46:14 +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.023; Fri, 2 Dec 2022 20:46:14 +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 v4 net-next 1/9] dt-bindings: net: dsa: sf2: fix brcm,use-bcm-hdr documentation Date: Fri, 2 Dec 2022 12:45:51 -0800 Message-Id: <20221202204559.162619-2-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221202204559.162619-1-colin.foster@in-advantage.com> References: <20221202204559.162619-1-colin.foster@in-advantage.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4PR03CA0201.namprd03.prod.outlook.com (2603:10b6:303:b8::26) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|BL3PR10MB6258:EE_ X-MS-Office365-Filtering-Correlation-Id: 5ceb862d-b331-4adc-0576-08dad4a64004 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d6vSPXLhePwAc1Awb/z1YhET95zN7HmaqAfWiat4lQRdIYCw/juPM2nlwnDyxTHP8Af+mQUnENA/NBSpMpjmkKBy3l0l5Ge080Gr2ESzwPwkJEWfGy3/SHXGd3DReFqTOLq10GAvBfuagB0gfa5Ogj4so2K6/dD3a6kdqrEzzTICyYYud84r5MHcOBifxspcU7mvFXcBcwYWleMptWNSRU+GPFYe0XDReSHQJ5f1rMh+FvatBCzZ35SSQDscOK5oUEW3hkKhImIehuuZed4+rn5SbvPQxgmZ8v7eliurgOyO/zee+ujs3WESlQmzncEPmsMWRaoiZK0K4doxCt3UKqiUQqk2hsltrqUUHeehrz9rLxGXJTpqhRYxh2WEdPTn1otcKxYNTy18xmcPoOdwnYM1cFh/UUA0ptY7tgTQlJDomqcHmMDi7/lwax7DVABwVAFyKniQ+kCgwXKsZYWIM7+e/eFLQ0A562yY+X9I+XbMk3Xs9e18cGehwodVFzHufBgS+riLYrRKltYGheGdOyZPIrUY2sdcNj4SdkpOcRiBJBVaBLYbo/cwIc9aSPvZhFGo9r2HGNm4dMnV41Zyy1COCb27VhGYbNT6kY3VpiCRj3YupWsrv5KJHAundufaLpxtPRdp7Cq3qXWTulvNwXuliLZFLnqqAE/9kW9J5Ss4Urgmk1YPLjqQQd2kcTzfoe1T2sb2dYre32zSwCIEgA== 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)(396003)(39840400004)(346002)(376002)(136003)(366004)(451199015)(36756003)(86362001)(6512007)(54906003)(6486002)(6506007)(52116002)(44832011)(478600001)(7416002)(5660300002)(41300700001)(6666004)(7406005)(66556008)(316002)(4326008)(2906002)(8676002)(66946007)(66476007)(8936002)(38100700002)(38350700002)(1076003)(26005)(186003)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?DwoQ9nKMGN2wIwM+ruDF/Ix7neG6BLeE3klHh7+kwrfY66J9H0UOKwMqwALF?= =?us-ascii?Q?0u1ULAeIJngT7NE+AUSO4ZK9+qM4jcEts7RKI5uOd7w3C9T4etVOvwVgRe2y?= =?us-ascii?Q?Atx0UiUH0iy84wmo6PPeEPsRSt719POgjOL88e3FOLsRomtB4XBzLsOqDEcz?= =?us-ascii?Q?r4P5kIihYCiJDIcFSfmFPboq+BE5eNmiaG3BlZci5e2n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61LpCyZNTGHc51V0BOWADjeeRSrCTjjHErxy+NJ+fumzaueX?= =?us-ascii?Q?J6pK2kDJZPOh7WQyPap6uOLzkkRehXSx0lBJNqjoll5uZ2HY7xstudvBdEY9?= =?us-ascii?Q?Y4ywEjD8jvLHCtpDEfJqGlaZbWwgF+fDktX8gnIfL+FNhAJEG5ZcIZf5oAz8?= =?us-ascii?Q?cJX0+ohr9XaRtGzOlqb9mo/L4Wm/HTYVqnkD5t+hrgxM8VbmvbVKpM50UkY0?= =?us-ascii?Q?qmwxarVAs44wV54gM13Skr491mx2pTGO1UhQFR+apk2uawmjZYLvRNDR2Ws/?= =?us-ascii?Q?FyPb5/5eNQOwX/Il8Ws5YIeipo82saY6UuB+lg0tycB5RCbPm0Id8gkoLh5g?= =?us-ascii?Q?QyWKE1eTQRnd6VLgBRXSykv9G/tFR02vUJP+o/nfnhne7Gpp2diufiMNNOKY?= =?us-ascii?Q?PkOKSOaE5E4RM8H+Sp3gxqo+inxo5FlNqJ2sLkp4/hbHq5tS5PDd0hNh55RW?= =?us-ascii?Q?3U1hUmOQkleIUczNQFKZzl5EC1ZmbsIv7pf3mUlBHzHIjFVXNgiE4Ixm4VfQ?= =?us-ascii?Q?pg=3D=3D?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ceb862d-b331-4adc-0576-08dad4a64004 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2022 20:46:13.2042 (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: inXOEd69Q4Slpxi17lVvcXFxI3DyZ4tEqDP89cQgXrHlv8IWf1LCbMjbV9bbD2CbRPFzZVKiOphzpi6lWvX/IrX2NcuFyRpMw+O/NgMEBt8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR10MB6258 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 --- 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