From patchwork Thu Jan 12 17:56:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13098583 X-Patchwork-Delegate: geert@linux-m68k.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 DEFF3C54EBE for ; Thu, 12 Jan 2023 18:22:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240678AbjALSWU (ORCPT ); Thu, 12 Jan 2023 13:22:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240564AbjALSVW (ORCPT ); Thu, 12 Jan 2023 13:21:22 -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 9FBDE14033; Thu, 12 Jan 2023 09:56:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h3uAQTj4UtZnVqtmduYd/t+dGQYG88XKuut7PXX41/TLwsus4ZgvhlaEf8B+9lkzw/WVV5y87/L3u/LmURswL2zBx49FnUBzZSA1cRSWsUlr1/8TAoKfj3o9j/w2sK29esv0U6PBYWJJ4jSrfMYb0EyEa9hA3nUqeWjO39nov1H/2hJjmWQGIRN7Lq+KVncQIunOa6o5C2Y/8G2VzNgMyg8qBug3zg3jyE6kEkrce4k6+hgmkMYURw5kmYSqyUFhjP53eT0JQ4Il/uGcJNYy62vVfCeGuidCL8ZT2GEXoC0ep2E8WuaDDhg2bA5rpjJhhUNUfweiTsM7doNBtqirMA== 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=4DrvsQ/tz3r/k7xNTF5Z49aZdUaQ4DAq1eAb2foYGT0=; b=drZB0i7/BnMej2rTGcFbyZ1kuwKlMuy1xeXcD85Lj8sWn77g2LZwetFrV4odwjmg2E8iyx/Xoz40TZt5nBFL3sGg0BKU6AGuwLPwvsOQDjKH3TIdm16qneAj4ZnqwvrwBJCsh3iSn9/6kLP9inPwpww3Pz0ZmnUCEdyEVCR6On44f4/DxZ0pt4+Q9qHxJXtdBJbO++8ZET2oEkAptFHrZNkaomGhP50XCr92m/yvUGInlX2HKTDdiNrN9q425Df8fIu3d/h1dFZkOP4T5fAnwzlQsNHt+eHXliT//TMZUri7s0RptvtLy3wHe8Nc439FmZxSdsWLOkbDtEmyy5x8Gw== 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=4DrvsQ/tz3r/k7xNTF5Z49aZdUaQ4DAq1eAb2foYGT0=; b=E70MmB79gepBI/2N7qb2Fmzh5du8MWVq5mDLJWmY1SGYH1VK1Qv/5rTGvGooRf0OJfRDj09nXVlHvAZX6fnAG26321y2+V+IxFZlrvOfTwc3uTACQ1E23yPF78fNFazA5MNMUR8gdN6FAizZUorhSMZaV7uZz7RujNIpjkX0q04= 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 SN7PR10MB6548.namprd10.prod.outlook.com (2603:10b6:806:2ab::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Thu, 12 Jan 2023 17:56:39 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::2015:3589:3e96:2acd]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::2015:3589:3e96:2acd%5]) with mapi id 15.20.6002.012; Thu, 12 Jan 2023 17:56:39 +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 , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn , George McCollister , Rob Herring Subject: [PATCH v7 net-next 03/10] dt-bindings: net: dsa: qca8k: remove address-cells and size-cells from switch node Date: Thu, 12 Jan 2023 07:56:06 -1000 Message-Id: <20230112175613.18211-4-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230112175613.18211-1-colin.foster@in-advantage.com> References: <20230112175613.18211-1-colin.foster@in-advantage.com> X-ClientProxiedBy: BY3PR03CA0002.namprd03.prod.outlook.com (2603:10b6:a03:39a::7) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|SN7PR10MB6548:EE_ X-MS-Office365-Filtering-Correlation-Id: a71aff7e-689e-481b-a7bc-08daf4c65ae5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sV5nYhmSmJT5SngEM2g+tTD/3SQ42b5riFWvzczZ5jFkT/xvP3+4v2zOLuZ3Og1tZY33H44o6npJkPe0a3EeBT43mWiwEC4ozP6Ga2fOUtGmk+JLEhHEGbn92A+9F5VcKzjvYlK5ts/kiwC2QaOYdDLxz6U9OHIbFElfRWa9jnrwSiB4k8nAxSk/xA3G4medZW+jlw/Z6ln+k0Ll1M1x7fnFogtRATCrtLJc5kFQlTk909BJYyWztQMifD9MbAWOjJQuOt6mUAtZTs3A4I+YyqWzl8l3549TFS8NV05CraomSDvOiWa1h//v4r/0DlArC+kwVwurCuv5F/UiutOdpY+0+x3QxoJG16KJWSvZy1wBk1BBLSS1lV7SNliqEqg7MBM7FONscVmKLBfKBjL/C7CI25+0+FAgQjMezYAY4eLlYxlraCAcghlhcfanpDSuoYxy8Igdqi5c5ULpOm3YjhHgNjepOrbRVzKcaNzSzh1BYygrYS602yPyflEBuhXttqaBtSTscSBbl6pmMLEhiHDKBt3ULcpDfWxmcLL+f8b5DJ9vQXZpwIUOkYR3rqFdurWrdtOMunEINgIvomuD6u1fdQeIIBBc5WPTN8w3FBzLhWvxDpSsd5028Y1zHDQ6GShzDQJaNSbNAjQ6szhh52lg1zMhjJtYkd3FVVJTABGsXycHfMY+H/YcmLL30ObX 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)(136003)(376002)(39840400004)(366004)(346002)(451199015)(66476007)(41300700001)(66556008)(66946007)(8676002)(7406005)(5660300002)(7416002)(316002)(44832011)(54906003)(4326008)(8936002)(2906002)(86362001)(38100700002)(478600001)(36756003)(6486002)(52116002)(6666004)(186003)(6506007)(1076003)(2616005)(6512007)(83380400001)(32563001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 26KlAV0yhJ19g1+oRvWYvpyIlRywRxUMP/7NJ9CCQRx7zE8sDYE/jI5DmYXLFQiYdxpXy0//gTpN5RUOmR/Jw3qYE20YHUGJGOTYXcPRn96ij5DrRNKP/8GmnXP4DeHU3ufXHjggb2jzjrXzTcnG+9lj23ojpbVahINzktGxgn9BnmcGc40Z2jAkMmYPh5/YIWqUlXZaUuByXu130UcjHV3U0l8HoWwXBIrT3+ZJyG7zSgi45XFUKma+mPaC9okAqfy7P9pqqlcXvJu0T4HJay5wAFYt0Z6iG+jODGULe9RSkvuyEa7h4g03yI+WtOrBaRf51F2vDI3ZIuOjF9pUVWJ+o/EHIODkfZHsOanBv158z1kvznkTP1XSeIIYI4EpJnrmCvYqSnGgKUFhroQ9I5zlT3BG+oLhAt8S0xMoql46u3zDIbBwJ+gdJmo7BiJ3fSzOV+hwoEkyT6r40abNinRLk6orW089Q07nM3x6qJvpTRIN/RA9qTvHLG4g2aSiF5esAEqK+tyFNzbT9gzukNz9vTv6F79qqAxLy1DwANNOxN9zwe9PCEQYK2SD8ETj89xzwOWz2ebvhfslcRuQY1LPqwG5h0pBR1c37LepOqnMFQd1pSG3qSx0QF16fTt/w9zCK6Dsv/UU2W2E0sErlVqNSKzx0qaP7D5FJpwRKhwyrH+1v9fB+2EcKtKXVI/CoCOuDuVZ56nu/zzfwE8HCdZ64GwaDX/AEfuvAfKnAdmZlrSARy7wq9WSSlp8N9ZtjadKhfRuPeHnOu1qn8GqSYdeplxD8pHkhqaZq4hcXt2R+jA2qGTKAyO+75nR7qwQS+AOOZbPww0LoT7/EjEwM3gj/QBV77y5LA/1j+djx94ENhoOKwb9MYpJibTS99B2XMUQeW2EpgjxkVAsOCCq8dWl7PybtO6I/s0l1xnklwnSuvb4LJ0epToLLh65LGAT7sCaHWN7/V2qozfUduFiBnSOaLgM+HetIqGlw1vwaGyWUh7kL+WFnVX/3e4qnmTzfWHqvEV9UfksQI3VG5KJOOFmkB72dnURSyGHrabNmhrG6dy3uHh9T1CCM/NNxsKpADsmELG5kEFF2Ff1iK1BfQDSOORuLzJ+BKB8pzUOJlVgwjLNTmOsJGQ3JClOmgYvn6dmwM97/oqzHmQGr6ANwGyUKiv8FyUJ9gGtUFX2tHqq3WUEpxKHo08jkWFiJZpvpWGzrKKznDH4DrSoqNpMUjJ8pkg3NI5E0gPArmmWoTZVpDlc8VtJG0dChWQhk9n3PZ5FrlA3peut2jDOJjArnQhAeUrdsu1ndqsVFti7569rAT1fy4OhUol1wxOP4L/Wc+JVhFiuNyOy1MrzwGaX7kKJwu2wD4V1GSJ7QgaiOjJ2dW6e6hkH+DYeDsuH4VswpndfhsetsNyH3DapBCwegDaRtUvBximrzYRRN+PoV/8zztq35ZjJwzipE93BSBnwYwaQJQefDA8LaLLxYncyDKKYTQ9TOkUbq2oyN8pus0r+rvyToxN4NywGX27gmql3fSZmllToY5aRB/T/c+g/jfHIWbQUHNyOJ6rskpPAFUgOE4GsaH+fsWzAbEABR44kY3r+idmnTElsuvhqg1OXxlGQ5zpSJP/NiyJGzuQeg/Zk5491E5YNVqLo5u5DMArxMT5DXKvWqqU5OHBjOqYSrwfkodJ9tIf1qzLWDtMzNUE= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: a71aff7e-689e-481b-a7bc-08daf4c65ae5 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2023 17:56:39.4860 (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: NOkqZQvnuhY+L7ODjCFQ1/1ply2fXF+l64ctgeONfXXZjUsCWcgHbzBYbYCMrYLxwrZQxF5CcSqrBNj43VYODjVju0hC4enODUI/jsVV+mk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR10MB6548 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.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 --- v4 -> v7 * 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>;