From patchwork Sat Dec 10 03:30:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13070208 X-Patchwork-Delegate: kuba@kernel.org 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9850C3DA6D for ; Sat, 10 Dec 2022 03:31:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229723AbiLJDbL (ORCPT ); Fri, 9 Dec 2022 22:31:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229703AbiLJDbG (ORCPT ); Fri, 9 Dec 2022 22:31:06 -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 844958BD0E; Fri, 9 Dec 2022 19:30:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ghE+q91EoCOxQSMLFD073DftC8mwvVxgvHA62c3d/eJqD3mrSwqO6+bQ27r+3HtVWAk5bD/MWYDOajRxJDzaAfCU2SNWSIvwhrDVwTbr3hXr890tWpOphw/P95ajaECDpp/tEjMIzLZxb6sg0zw8IgNvCvG++khn3C/m7BVa+FuToBk26RAGlaQLAXpkTCawa0N3Tr2jYBaA7XmiP4k2+71O9gzpK+KItP9E9vJyBpzeefL8azSOggww2YYR68fWJJw5ev3dkAKSryPUlFnyQTTEUryAjbFHw/23z0vnCou1lDc52Up1l54+e8pHjzjR3sTNnlxhr0VKpqUUZLIpAA== 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=XC7UA9mftHdkkMMQIkwVhKskvNJ8tSYmrl1feSalOcU=; b=ftH5yG0J+pmIjAzmtku4j+NudqSKqaTp7SQ/pDxRDabnxfq7ylu5lw4TDrZ0Hy/mn6nTZtITVac+mRYrZ3WxEi3yl2MRVZhrMsYvFXWW8snhsYl93OFGC86Xv0BCtsDALhcwaGiqAJJ7Yme3qYZXRNOIFHhAZVv0l9jHp7Rd6RbA4VcesAghm8c2100qQNq/SrN9NGFhpY0LJGQL23m18DTIoHg3LjjWDGAMNv9z36tSgy/0bKuaKjI8C69sURW6Ekn3vZT6rj2446mrPIotTws09zR04JscPf3oXxlRTd/IxE4DA1K3naHm/yN9JWuVEHTz5fh7dt1RoG7SasoNdw== 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=XC7UA9mftHdkkMMQIkwVhKskvNJ8tSYmrl1feSalOcU=; b=HV7W6j8W7c6qm8OUVTQ4e+3H1xNNkY51GM2JEUnN4xlZEybgmm4Y5O++9uSfIZIJDw5PQSHBHD0U8TW1www0vXxWi9bF96y8osWZGBrKzPyTmPSnbN+ntHQxUUS4f6f7CQH/DxRKF36pFa9CDYvjxNP+lIHaqecRhtE6uJ0ONUI= 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:54 +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:54 +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 v5 net-next 03/10] dt-bindings: net: dsa: qca8k: remove address-cells and size-cells from switch node Date: Fri, 9 Dec 2022 19:30:26 -0800 Message-Id: <20221210033033.662553-4-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> 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: d5c83f9e-27e4-4034-aed4-08dada5ef1af X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Rhiza1CseAdrpYpVCuJO/4Mo5vRW+jI/A1p8ETH7ZOL4os0/Dz4F4INdJPa/jxkY0NoJQnn7HTBBRkiuzQOZss57uT+GIyiw7KbhWlFZfEnWvRNcZoM9lrxcgzFOY3SngIO+HIRY+C45Mu83j9uwNQbCuPBXiOg5JvEqjKnilIgghMU7zyOEyifwDwrlxENBJ1PUnU7k1myHAwIsrt+NHKlUQd6jm04DUx6XZpVdrD2bQfs/kjr7oOjzJFW7sqnpQRCJhWqnIRY/qXv6Ih0MolYxAL8o02KAsv6lyOaEhpU0SpkbDnbxdVJ5VIki02Nle6YCfKoaUpjOS0TYjXdBWiLZKi43WMQcSGevDfSkkQR2Nqdch2ah1qiHvOqUQ2uvGPj+Ws5EQ4ZhttGqoW9vTFLLHpx5JHT57s2KWG48NbLrGuOmHEMs8ncC3yMGK3EdcgSFgLwge6JC7ykZnv8rjSSK3nnSGYtdRsDCEQXGqe3x2RmiLXiGDmTGkBRbh8DuuTMSF3XpD4mDQF1fZB4ITPR2lDrNI9lYn4qxgLM9H3AqxWEb7NnExs8iMOEUEcbMvYtcGgHAFkiAfpGdjUYqwMh9qiEJeMlXA9dKiz3Me7ZmZ8PbiO+3m6onMTu05H/M2WBfzIoQhGEmdryZjUTr7hpzbAf7pckkvKObm6UQA+umF+1oX/A2qsNYpmS1yDo6GbA6jRjTx7qvIqRKWDuVPQ== 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)(32563001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Jeytx8NlBhMcP4+dlDAtnVLRQKFkes2KfN41e/SEEtCK6BqEMZHX0+6rnTeV3ojuX7aQbEihGjv8JuRPVe5GyOaAPm9k9W/n+Z9vY4g/OzGAP5hnzV0HDq+axNQhFQospg5BlnVIJFFhOP+6C4EgQjBzQ2quFEh53BolAl6/BBrPf2mXLArXyh76ro2ujltcQJ9gU30ks1mu1kkZ8c9Bn8CZZr8igi22kgw5uXhdSAKE1+XFU3SJrZKwWM/dYWFo32jjBGQwGVS9Pu/Qa9WAQN2BIBhqQZMwxBP36wLx2tqn3KYS9bV0P6gIX4Has0ttSmQk/Ea+uxmBEIuloYPUk9cnxjNA1e1gYlrV7+DSfv3+Jyn/PhqyYxxxviPO+A/N4hwjTGzBFHXuAh4XbRkr0jhf6GC5ADPIvRQVG+PbKIU29RxkgfOmSLeYE5f+gWEI5QSAd+fEH37XO3t7aw962jzmsUz0VuPOcYa4iQZ3YNALxTTWmp31B3QChUHhePMTpAu2K8gnT6O+MtYgPQnMrTgGdhUGx5KKvpOMg8J0+aM6S7JqKGbmDRTfHYMQEUB9OPJjb8EfTQ3Ecw8n6v4PkKh7jPFDhd0FSKs5tLsjbOrtpL1WNIFeAxBvdvD0dpt++y91oTjN5OSA9kq6+R75CF1zxXmW5jU0pHhGOn8C5Ka7PaowLp8E2/XI/E52eLEBGtBgA+PL+XwL1/p1AUBKpvQacI3wHYyyOMz9EPvAOYIYSB4x5eoeEMwSZs7Kqljr+00+rlGRKUQKdq63p4u2fu+MaRekp+vq8MI5IU+BCZnqgpiejpICpZKVsk/FkNMkqImdB6YYcm9zUnjW4v2YOtA+PBYvXBwFFPcIwTG+QUX52BPU6E2s47jqgoKTYlKw96sfdHtE9+2dk58WHcPtMr4ROzWCmwTijK6webSO5WE0AAlQdbPeh741WYjWR2bH7RUltYFShHVWa/355d7iigJmLliE1A7ybwQnw8U3hbbB/7t8hHtBROp9xDrjkYUd0kVboXT4lniGxx2gOd5kIsLaxtz8oZ7f/pchhCl1zWdGvvOfGlp/QQ0TElbBr8xw4Yg0yejsZPnoDszWUiyWE2m9zz6V2GV4g/4cnDIYFsz2O3Kd7UPLIlD3Wpg1dfbKSd0YBNdR0K/2VqK6W6oW1SXOeYB2e/K+959utoIcmb1oL9pFDAqH82unTWKnVIXNgNMDklu69trqBjX3m4T70b8gSVrTv+TUBkyO9mUnkn/S0oRDOh2t3EVYwZ6ccIm10xUOVMMvxUCrFrgfWscArmXatMbZXuPCMErcy50ns7hJOO2pClUVj30oWJui69oldxYC8+seKK3Ec4iTvgKgoLH4aL/dAJewNvWW2g3P5Nr2bUdknkqbWQ4PYnbhv8iWw9/bwA2UtrWKt2jVIRk47L1aX0ek7W/Z7fZLBuEvXrchWFdh1TZ7KNfnDKHCxeDRk+u2v6CuOMYRObWayOU+Vnj/+V/v8HVWdquYmRbP/O5aAypfPPanvzrrLPRpPHD8RFy1wGxxagskB0upIMdtfPpCnO/iZlmJivUpyCgszlKrLTzeeANInqmpcBA6RifenKOcoj2jWZiXOCawQITEAw== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5c83f9e-27e4-4034-aed4-08dada5ef1af 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:54.4512 (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: oWMNuB2pvB8iPljWuCVcir2fPjyKN5FOG9W34rbPUgS6V5BnlfLunwlyl+pdGUdGPtNae+XxknHD5bRO+G7xxkX6IHG+jUbFhhsCsC8lAAs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4779 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org The children of the switch node don't have a unit address, and therefore should not need the #address-cells or #size-cells entries. Fix the example schemas accordingly. Suggested-by: Vladimir Oltean Signed-off-by: Colin Foster Reviewed-by: Florian Fainelli Reviewed-by: Rob Herring Reviewed-by: Vladimir Oltean --- v4 -> v5 * No change v3 -> v4 * Add Reviewed tags v3 * New patch --- Documentation/devicetree/bindings/net/dsa/qca8k.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/qca8k.yaml b/Documentation/devicetree/bindings/net/dsa/qca8k.yaml index 978162df51f7..6fc9bc985726 100644 --- a/Documentation/devicetree/bindings/net/dsa/qca8k.yaml +++ b/Documentation/devicetree/bindings/net/dsa/qca8k.yaml @@ -148,8 +148,6 @@ examples: switch@10 { compatible = "qca,qca8337"; - #address-cells = <1>; - #size-cells = <0>; reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>; reg = <0x10>; @@ -209,8 +207,6 @@ examples: switch@10 { compatible = "qca,qca8337"; - #address-cells = <1>; - #size-cells = <0>; reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>; reg = <0x10>;