From patchwork Fri Dec 2 20:45:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13063233 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 210FBC4332F for ; Fri, 2 Dec 2022 20:47:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=CqowWdbwrOBX+gL8pv46Sj6JX66PJp7cdXQee/ebLmw=; b=2Tz/eeHx9QM+F/faeJt9XvvUv+ HiFpNGHtIWAaIAMeDRf92n+vv9ZNQ+L4itRyfgAh/EBVVoxOvNHtquelf0phpkNJ2aDhe8RZgTuB0 tK9dLjsCxfppsPpwn8nVMlDHXcsKsaE6NSH9Das03JJPBBA043d8I1ZzY5fONtYi4GZ8p8V0GuoMI wswTiLWB3qnvzh/ShP01aLQLi0Fn5lGwEhOjHJlhuii4lY4DgFImYvLEhppVW1JPEw5ZQ0c+uQeCq n2lMud2qzaj74hkwaRo1ey300N71kUeRVTFM5Umiyn7djpbjrCgS6pNFsh1XXaLHnNthXCpgr/2HL Beqmt+WQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p1Cvs-001Coc-PT; Fri, 02 Dec 2022 20:46:52 +0000 Received: from mail-bn8nam04on20730.outbound.protection.outlook.com ([2a01:111:f400:7e8d::730] helo=NAM04-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p1CvP-001Cd9-GY; Fri, 02 Dec 2022 20:46:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V2zTsdpp0VienMyDmLQmjqYJZpd39IGFWmfdBJdUmb6imTaBuCcQjAKXFywuxMdJvY8Vg2nGnReQGhJ8h7So3vbe5FXMUB7qNy+jFWzpTi5DnmLRI3O+zBLAbH18RvM8RI6BX7SlJyV+iqptITgn9Ztqv9lhkNQoWMbcHhi47XJeN0fYWkKSWE3q4BbvwdPqxe9iqpD1eeqpW5iZjJ4wHCSZb1txDsbBS0xilP1DeTNl8NrweOm+SDEnuydNgeBGUUlw2JCvF50F4IHMI7q4cLyzBwPMIXPegDo4+oC/Yb6+PjunhWvldZMnIATaOuTOCQhXOi9Kdpa+FhTNXZAXdQ== 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=CqowWdbwrOBX+gL8pv46Sj6JX66PJp7cdXQee/ebLmw=; b=lqByfXl75wNKuuQzTHVS55CsnByIALuFrOjwOadjcrjcngG40BsM1FlM22PzkAC/8vobPOtKY7eZ7LBFwy6peH3EAbv/AFeHCCgKcMY0JwobxsXBgum7LCN7XDg0zYMiYClO6z2uvUNDXBys8VkRazoauV/RtblOIYRmGa82Vzj+9XrCz2lt+jz1/prb6fr0UGOhfZBcBpd+ohZiVdwvU+r2D4gVbPqJInxsygB8CYrmWh/IH9Yyq7QjyO2YiBABW8odYyqMldavDJVNtq4Cg/re9a9aGRmAJY7CDF17FzOQ7T8Pk+6D0xaA7gyYS55G09kr4SAtx6L/GD/1e12syw== 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=CqowWdbwrOBX+gL8pv46Sj6JX66PJp7cdXQee/ebLmw=; b=dyrxCHYVYh3I5sT7ndT/QMM1Zhw53hrYL7NAO/HyYkVgN35vwYNkjJg1u9y7la7PALNfK0c+LMdrT7H9010aUrLBVqlwpL86k22F/QDo5+Pp8XrSRCoXVYViKcacuFwC/N6/6RFZ05S+QiRzlV5JKYkHIsT5Jy9/yfo4kqQqnPE= 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:15 +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:15 +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 v4 net-next 2/9] dt-bindings: net: dsa: qca8k: remove address-cells and size-cells from switch node Date: Fri, 2 Dec 2022 12:45:52 -0800 Message-Id: <20221202204559.162619-3-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> 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: 8a05f89c-9101-4505-e71b-08dad4a640aa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SrGJkOnfC0vDie/RXJZXihtKyamLqcHoj7C47c87+m8BYElrhAN5jNtd65hwnLyHZusedtPnPbR0xu38+eSbgKsjYlB62hMPnSVR6onSBKZJdrrI9cyKl6n5jwIpWIbR5ENuZ9F5VAZXilCu1k/M6qU9zrdRITxhUZ57TmOAR/DYRpQntyLJmKINGs29S0urR1dwIGqyBYYGS4LHhmfJHW7X6Y9Hovo0d2a3KR31tFatvo/iCP7WWQIIZb0/1y5mgZh0H1msaHzll32p1Pb8eo1foQLmpIvwCuWYBWdi08ql0HI6NkrXApVxFMx8PpGcWWKu3rByM89uNKfiGF3Aj5ngKxzbOTBXLL2a5SCRr9M7lrPFLAMtsfqVhg/Za2SCd15oVunfiO9fTRIVhSPOWdpZ9sZL5UzjwZoYOuaZ81ssngJdVMb145UHL2g68dmE3BCo3TLpRgEbi9UEEYFKE+AAlqhLOF3h3/kukImLXskBHUh7whF08s3fF+JQcAupEVLY2CDma75VNzE1A5Rr9cof/76YbCSwrjU4IS/RCJVHLTqxVCBwz1spJmD0REYIx2kV9IjhJfnxAHT76L9rfAd1z0VY4tFgwOdxyuRVOSD9usZVlmSQcH0Ww1KwX5PmK8UxWqrUHjDDh/zWGVuORGsaQKr/uSOj34GEG4CyJUeh6oXNca4U40fcv8j3SQIXvQMkq//BK6njlHZog7T7rw== 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)(32563001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zgeH1Y3qMhsF9BdRjczL/xzkklQczvKsPL37GN7lSRQWLT2Nruwi8k92N8fTibNtAIN1B9O4MPINsojGhLq7baVO++4u1SwAol+cxQ4kvDyk5U+M0yHjeNV/xQY+cmTJDAB295bc8ffpT3MvgTKwcjAZAmiLhUUPZdsf7foRn93fnZ+26PXdHgldgTEz5wQdWB+U2BuY3J2WZdEox5Airo+OKbbU9JyX++MVWaqyfSg8Uro5QXIQ2RolFE/M0mV/vOiI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JL9scHPyxlepBAbBhNbULF6cjL2G4iz4caqA7Xtr0kFBpNREVvQFj8QDF5zYiRsJaJAMOTaQZxcdcdm1mkL8Op2l4Ni3TQvsSuYr0c6Bd8s9+B/0KMEEaiBeZsL5Xsp+hsHgtd42Srgs0RLCCw8ELWeEARarr6A3EvcAtUaxypQxeFmdJeXsXR4iaykMfPVO+SJM7v3DrwRdu66kaOOL/N7RkxEudKv4bim+y3VIVPDQYFfotfwdpLFR9KGuKUAAfyxfIGrUJjE4t2PYIlSYQ9cCYI+GqOpIk+A== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a05f89c-9101-4505-e71b-08dad4a640aa 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:14.2823 (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: y7ozENhH506lFku4DXYGfm1/kDv62IA6f6Y5nX3XzGVUBZUhQLgzMNHbiQwulgA3ZAlHrsanDIjtdY0ugSP2nglMFIaEzXPXeB0GQE6IAC8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR10MB6258 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221202_124623_602729_B40E0453 X-CRM114-Status: GOOD ( 10.53 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.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 --- 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>;