From patchwork Tue Oct 25 05:03:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13018465 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 6FD0BC38A2D for ; Tue, 25 Oct 2022 05:05:44 +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=EUMS3bpuRsIO+fCfYTVLoXFMXjrEF2kOha1zRC4gaLU=; b=hMeKe88XuYqlV4 vwaU/MFNdc7BhMUh+aKF1eTyMZZKuua3thFcRyFtgFf02PtIDRb9A0nRmE4Da1P6T+krrsASQqhWU QWDeMFzs1GsnpgloVsRIb5nVNizXhArr5SVXtMuWmrw4ns7yPMAFhinUCF8bG+BCHQ4l0Cpa/DUeR NV6FSAJopvDSVwD9zdZoBG6Hbcd9LembErUnpspB8+z/2FqrILij79/EZJKPbjVBfGX0HO+yzQq4I kqCo/Ll4ibQAeX3Il4+VWOulUnWl6zBu5G6hEk2CnrM66f+hf9Ho5vUUgdOC3CaIDnloPsl+T2gYY 65AVVjHHnNBPRz+zaYZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC77-003qOM-RT; Tue, 25 Oct 2022 05:04:34 +0000 Received: from mail-bn7nam10on2123.outbound.protection.outlook.com ([40.107.92.123] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC6t-003qFv-63; Tue, 25 Oct 2022 05:04:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f/xoMMwJiZE5NLp8Xu00kAvBV6brZY9rSLQAoPzU+HK3V9hLgTdenmUooovGy4wG7A1FiSthulpojjGQEN+BFEpwhZN5xCzTF7TITzrICEBiVC1KArNBKe2/AtTEZ5UCmwVknu0/GGMU9QfUf/zj6lmw4O3rd192HPImYOmzjnW/lGcytUVDi7BxwF4RYFxAz7jAnzMTV1lTXe2pWS8dEYBG8Co/0lG0eidgDdk531/yrguMxqq3bZkb2W6UrBL7lMI/rnyLtbOppLcfXWdr7d4suAuh6e0AcXICPQFDII/I+WWYyRSHbSDG0w7dyZ9XbTiMghJ9el9bWPP2/Yi2CQ== 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=201egdP56/L9olqTXpdoJUXA45E/g3ZpaPtzI5fTHAA=; b=N8CrbmuCtq05n4xv5waN/VqxYK+QqwA3RQLK4CS5fB3xqqvkkOH45GjzrrUQqRyqEjoqaiRQCdh0ZLugeb0gRziu9JqJ/AJEaG/aJ65tZlbvvk8Csndd03n7bUi3WF0M0i5D1sdr9qUQ0e5WiWBHvL+YN53H1MBlhCwX3OfS5xc5oNsclOUICi+pi2yVFJoEZ0jvVFO2DEk+u9VRGfj/+G/Xy9En6acfBjVfZavkMcgxmgZFPze3kRIFhQiZJELWgTUY0fbNKzIEE9Uqe6Ai81Rhzy535V5wBjY4X0/MMVLN4tdvXXQVKRp/TJP6at2K9fAQ97nTjWl25cNUMuMj2w== 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=201egdP56/L9olqTXpdoJUXA45E/g3ZpaPtzI5fTHAA=; b=Z1BgVFv74bm1QLsZmCM4fgbCPoUvw1HUzlRdca2PcnqQQetoXw3bsAoeo+iBuAvgf3EPglwxNlnY0N6JEPSyWL1QKHWV9+ILEllHs0knitHC5vgGmZn9SlExupOjT8PEyxsmJtzbx00YLKrOrfomRmBqFt7UXPTOjx9R0C+LnB0= 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 DS7PR10MB4989.namprd10.prod.outlook.com (2603:10b6:5:3a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Tue, 25 Oct 2022 05:04:09 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492%5]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 05:04:09 +0000 From: Colin Foster To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Alexandre Belloni , Claudiu Manoil , John Crispin , Sean Wang , DENG Qingfang , Landen Chao , =?utf-8?b?bsOnIMOcTkFM?= , Matthias Brugger , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Vivien Didelot , Andrew Lunn , Krzysztof Kozlowski , Rob Herring , Lee Jones , Krzysztof Kozlowski Subject: [PATCH v1 net-next 1/7] dt-bindings: mfd: ocelot: remove spi-max-frequency from required properties Date: Mon, 24 Oct 2022 22:03:49 -0700 Message-Id: <20221025050355.3979380-2-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025050355.3979380-1-colin.foster@in-advantage.com> References: <20221025050355.3979380-1-colin.foster@in-advantage.com> X-ClientProxiedBy: SJ0PR03CA0189.namprd03.prod.outlook.com (2603:10b6:a03:2ef::14) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|DS7PR10MB4989:EE_ X-MS-Office365-Filtering-Correlation-Id: 592e5b3b-e448-47e4-b9b0-08dab6465989 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NMZar3S3XnvssXzspj08x1zt/hWllsWpzf/BLIzeW5IgDD7XMyjRQcJSGQRP1lIjQLuAf7Ctn/JSEdqxw/TNGwQzzEK0e9a2pT0xTrTZ5B35c+orXgJxzed7mYMmF3hW65O8+BvT1HgVWZTkMFjaRgzhSdgxjBVBXfQn2pFV6NEUb3T97momYxfZxEHiyO0/VU7NwpTYrXe7b3n+cbZ+H2W+ISgDElkTSnPDdETd+Jpc4MCLyUvGk5BIwjLd6zEClG87koyGZsqjc5HCxHLzS3ey/vEtflho8Dzl8AVPe9ItfIih/FRoVKT6z9IphZof04mNBxwNEmWVylOw3abUekfImDPI41cRVyHNGKnLNhpf1h3ggxi8TgZvNdhTuam4VfLu6duf4OA/TC2uTgbm/nsUUhjWCZuv+gqj2KfiZjIeTQYQdXoACgaI0n307wX45A+oFreOmfqDI7WagY9u3fiAqtdWTs97SuPD60Ba4verCfpAeCAWPExGuikxg+U+kOGBzizEA/0kXchi8mTbL4H/IyE55tkx46PwV9GccqmhWaI4NVqOG8rCur0A12NLdNW+kJ/kv5OJFvLSWxbVqp/1idmlPB5gwR7a4UzlQDz+Lhe2LA62YAaSNYlM3zGk9UYbN6AkXNLRJE7Fij75DTXQZne/UbKTqA9jmwrmVRzLMnsDd1GEgGYC9wDDW6gIvkyL2/i1VujvzcsoQB4iJV50KWFUr0pdns0ttGjMxblFj6BeGQRjmKDyLO4XHtqVL8tA9/Fz/NjStXMaK0fzlA== 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)(366004)(39840400004)(136003)(346002)(376002)(451199015)(316002)(52116002)(66476007)(6512007)(26005)(54906003)(44832011)(36756003)(4744005)(7416002)(66556008)(4326008)(41300700001)(8676002)(66946007)(86362001)(8936002)(5660300002)(2906002)(6666004)(478600001)(6486002)(83380400001)(6506007)(1076003)(38100700002)(186003)(38350700002)(2616005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FOGho1Vf2UKTdHWt16nXqX9+2Ig+IACy6u5bVBd0L6ABNCSjBhrNrWNHCthf3cYGZNUGj9Df9HaLAg5miZSwtePtljfsfBUEsHrO3Qg+ikNxXCVMIMYyNqJ9v8wXUJZx42+997huHlWK8G6EerKyph+NWZryY6nme7GPpm+J5Oxk17mEQUttTjpcBNbL7iKe5H7L2sFShzVhOoIMCpCr4bObk2X4Q2KvSs6Gjqi9WOUwxoNEaYQ3lnjOJ0JZ4G0L4GeX58bvN0ELTWNTKMFfWP4NixCxZpTc9fYC3k/A4AW/hBFJBA08glXjWLUCu7RQjjjYx7hPxg5e9U/cgciB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CIen0gto9HZYJnAKI/3RqJxKmJirs0sP17CTsNWTk8YgzMFcwzvDVaMAmmb1SduarY4P5lFXBAuGCI9VwRTNaN6YAZcIUEKLw6Jo4U1JbRy0RyUya8ir7AroBSDDU9cVEMdYf866V8dnwNpokIlE3V8LQjdsPz6vXPOhqsjifm2qyGIW2k/+caZG4TJTnqf82on73jUr32BXXSnRVvrkQ== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 592e5b3b-e448-47e4-b9b0-08dab6465989 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 05:04:09.5635 (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: cTaLyismx1GK/VyhKQnQAO5hugONkmxz8nJ0B5QJ7QmQe4t/KKaHUvs6A/AKPN3CvjdsjRw15UF5WyOnqH7bU/AJu0q0qOoEdVmDUV1rJP0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB4989 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_220419_245338_B27E9FDA X-CRM114-Status: UNSURE ( 9.35 ) X-CRM114-Notice: Please train this message. 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 spi-max-frequency was initially documented as a required property. It is not actually required, and will break bindings validation if other control mediums (e.g. PCIe) are used. Remove this property from the required arguments. Signed-off-by: Colin Foster Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml b/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml index 8bf45a5673a4..c6da91211a18 100644 --- a/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml +++ b/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml @@ -61,7 +61,6 @@ required: - reg - '#address-cells' - '#size-cells' - - spi-max-frequency additionalProperties: false From patchwork Tue Oct 25 05:03:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13018466 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 364B7C04A95 for ; Tue, 25 Oct 2022 05:06:00 +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=Cz+MQhGXDujslyd1xDZN+pUbor6/M/58W4TIqlrGMRQ=; b=R9/oKQPYl+/gHG jfFrGz0f78Nm3eFRPGiMO86s+/UnfR4Y5oauIDjO5S6Ws2X3Dbo+NcG/BbdEpc+woWv2KZ+9+ApiN 4iJYoqSSDYogH5GULZxjKUaqzuJuxult/LhUjkrk3V1v2z24MHSn5m+3KiJr3N7sbtmKLYgFNAU2k T1kAMliXpSSQd4dJUJ+U45lECAwoHF+ON4fTidm3P4U7Z6B5MJUpqWx/X1DklXG+WrJotV0mQV1Rm JYNuWt8mOYYWfMDaxdM6OjgHIbvT8qr0dwQZ8h2TJLzzYJkBXAaM2KiW6w8IkKzINR2TqBK6kiCxu HUIu2Hkdf3yT2xrBcqRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC7M-003qT5-R1; Tue, 25 Oct 2022 05:04:49 +0000 Received: from mail-bn7nam10on2123.outbound.protection.outlook.com ([40.107.92.123] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC6u-003qFv-K0; Tue, 25 Oct 2022 05:04:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c1l/UHTOMBc5X2Lbt4Sw/n9cb3QRcXSRxWPqQ5Ty4X2XSRZLFPzYePQ6d5qWRZfi1MrEApGDmzG+U/BgBAlzbAMJzsyyozY+vV8+FKtijvGJM5I7MTHjWCZ8n0jRqupkTd2S4C+Ej3UCLxeftXl9Q9B3vWV0eMoyfYMjxsfVGryLucUSAeTVkj+XHWksnCrNPdoLWm2+kk9MmVYHgtPskNZ5apEWD7yPm2lbgyG3wlb1GZP7eq7RinTrgl2hKdYbR/QA4ag2oj7fVFFh8qwAI07uLYGQmaL/wi2UhFCaEeAw+7douClIiZ9ecCeadd0cU3sFfcr5p+dIF8aNa8D9Ng== 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=W554CbodlPh0WHKkp9NYut+Dz3hG5Wy53IA+JsFxgwE=; b=e+T2LXx0wgXJn0oRMwx3zvqg493iz4S2V45xRO855sEQHCSjlE1IuKUHP9F3hH2id2JrhH2YZJb3MMQtzlKY2ex+yKZTWaQ7Q7F8oDbJsX1ZkWcFRi/dbbQFxZXg7FMHKEDQ/AjkIyKe4cvCkjwRtcCueYPq8qsHSpXxXBvCzPZZ4hukzfStFbvw4US8o67S29eYxPfRxsaxi9TZXUxaIiIW6ghjoV2/Uzcda+W7XgXxx76aWoKmjPQVG+TrpkNBaUCnxye120wPUIdgsaknH3bUNaS7V0qSA1S3XaohZrCeN5aiz86t+QDSeJnZp3HqqxdrGTEZ4n5dIWTtjTFZOg== 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=W554CbodlPh0WHKkp9NYut+Dz3hG5Wy53IA+JsFxgwE=; b=MQrlKQubIN/yuyfZ1965kg+ht4XzHeoNIlUXAtnAlb3VKHb1/UO5B35hnhDNKAKe2yuGn6iTqBJ/MIbdp7kZxNDrJe9KD6rzxbqd0rHJpkRLCYlfl9chgxZtCsMR0TvJratN30YCXt2CF7MenX4pifG6I5Pm4WEuR0erR6HGDQ8= 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 DS7PR10MB4989.namprd10.prod.outlook.com (2603:10b6:5:3a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Tue, 25 Oct 2022 05:04:11 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492%5]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 05:04:11 +0000 From: Colin Foster To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Alexandre Belloni , Claudiu Manoil , John Crispin , Sean Wang , DENG Qingfang , Landen Chao , =?utf-8?b?bsOnIMOcTkFM?= , Matthias Brugger , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Vivien Didelot , Andrew Lunn , Krzysztof Kozlowski , Rob Herring , Lee Jones , Krzysztof Kozlowski Subject: [PATCH v1 net-next 2/7] dt-bindings: mfd: ocelot: remove unnecessary driver wording Date: Mon, 24 Oct 2022 22:03:50 -0700 Message-Id: <20221025050355.3979380-3-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025050355.3979380-1-colin.foster@in-advantage.com> References: <20221025050355.3979380-1-colin.foster@in-advantage.com> X-ClientProxiedBy: SJ0PR03CA0189.namprd03.prod.outlook.com (2603:10b6:a03:2ef::14) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|DS7PR10MB4989:EE_ X-MS-Office365-Filtering-Correlation-Id: fd394396-6c70-4b55-ced4-08dab6465aa7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ghoCqzVC8nhvCXh97X1RLonl1BXP3HnouorVKqrzjZcbq7T26DIoW/0uiGyo0ApQjQEmjk1fFSc04/Rnn3SDTgo/mKlW2/cPk+b3TrgBpLDs1TAg4Dw6aS5EniOGKBCn3P07yGYocr98nldN3HlAoVT+d7KNywUN1/dTOW06ksgaRKOdLudipuMfclNRfZr2lZ7MT9mQRYkX5j5Ms7Vk9mpkfXtYXRElg/04uWLqZCPTaxiAOT2DjAGvrlg+sk0imVByvEjrM0Z+7zrRqrTpNNoqYbodZaf2ohu6FQS8P9AKRIoAjSBMt7k/+4PFcIaaYcvun1CP3NoviKyI4s/tXBUSPBvE3OOWNpAHcFwf9cXNZE3iBd0z9A3zyFkAzavPeX1P/YD2Xe8N9ZoB4sbjdK0Hie/sS/snAxvO5ERLOAJ1QZCoT7lgyLgnIysxKCI9Q56TJkv5aAd66qVz5aVj3Djpuihzlh/POu41VaGvLyvBpzaukUn+LrdKp1LVF05u3wGh0L/ARGu82nGsSwSl6FET8LjNkp8xWe6Dd1WydsfdT9CRCHF3dFahUAjsYUEd8KHbF8l07MoM0sZMFteKUYEz0Gjt6aUhsPpwqb+E0iV/jUF62z+e/efjSJaVdC8MxtytEgva0DCnVLWciIO3chjeWNQjG2tf1NOh1FSAcKreBWkr9rKoW1C4hc61zgz0jkGCxNMwLlo8/h2EJXZPV+vEpott7Tl7KGfzlKlIYFTqr6ICFbZFkYlv7VVxe8IKRs6Lzmwb/4WVmEqp/U07zQ== 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)(366004)(39840400004)(136003)(346002)(376002)(451199015)(316002)(52116002)(66476007)(6512007)(26005)(54906003)(44832011)(36756003)(7416002)(66556008)(4326008)(41300700001)(8676002)(66946007)(86362001)(8936002)(5660300002)(2906002)(6666004)(478600001)(6486002)(83380400001)(6506007)(1076003)(38100700002)(186003)(38350700002)(2616005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3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3XFCpFpgdrGloWKZ962+4KmaIFd0EdoU+hPYrUUGl4VcyXYpFBtElx/hv1eorcMZ3w6PHMXgTfEgJpwRY+JgnjNLwH7SLVpjtJVJ9JFrZX8auZI/T4fNCf0Q1UyWs1fj9y4afx2ZEmoqM60nkE+n328DOJm7aMwkHs22V0NwDS+0ZzhO3wt01F25w87YhfIuVgaqYXVn/blyH16m1EhDBzOQgTQ5B7G7Ubib4F5pOSNxSaBizDHu/jWxW6PMcKWisd9yNpQqF1rWuu2dOepdJHY8270ARSvmd23TSX6tVUCyfZ4od/wko+c9seWJcMhZtNfZ+LyFDyORbVMQaqufMfP3wsDlRQpqxFPVWWnlZZVXt7ruRvChFOt4x88NnabrTyAYhKC75bDsDJbCvwUhMIvqGAzkCeLm1GD1jHTS7HB/BzaPoiMjuIX7KrJn0d6hMC4KinIXHo+payXgt1AztvTXzF4PRIP5PRDBt99ANmO+KiFiw0cgSPf+ldSBFZcqhCwan4Jrun7mO+lDjypiEHkas533tVLph7t8iyb9Zv81d2gBwNQ== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: fd394396-6c70-4b55-ced4-08dab6465aa7 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 05:04:11.4071 (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: nufLTtRW/DIt+tQgpam13hGRjXY4I4hspWkoYxoSVoEP7ENMaTFlKMyUPTIGGi37+GUali7CydhqeXPWlo40EnrwcnDJf7QpHbVsDEgb6Qs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB4989 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_220420_721205_C48D9F0E X-CRM114-Status: GOOD ( 11.82 ) 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 Initially there was unnecessary verbage around "this driver" in the documentation. It was unnecessary. Remove self references about it being a "driver" documentation and replace it with a more detailed description about external interfaces that are supported. Signed-off-by: Colin Foster Suggested-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml b/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml index c6da91211a18..1d1fee1a16c1 100644 --- a/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml +++ b/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml @@ -12,7 +12,8 @@ maintainers: description: | The Ocelot ethernet switch family contains chips that have an internal CPU (VSC7513, VSC7514) and chips that don't (VSC7511, VSC7512). All switches have - the option to be controlled externally, which is the purpose of this driver. + the option to be controlled externally via external interfaces like SPI or + PCIe. The switch family is a multi-port networking switch that supports many interfaces. Additionally, the device can perform pin control, MDIO buses, and From patchwork Tue Oct 25 05:03:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13018477 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 E3165C38A2D for ; Tue, 25 Oct 2022 05:07:41 +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=WBE1hLD07yXFUgbk9++dGvpFX2VFBLJrp36Cgrh23Tk=; b=HwO3racnHhYp/W V67tmUUPRbbuuBRt0zCx76YDeHbTzeE48n6Rgl7Rhu1nWyxoiutS29587CWKb9g6WB8Xk1jDjtixX DXyEGEGcXO8SWRXeUUYgM3bkz41/f+SIm1EoEcrjh1g1qEudVA7T11B2+eAmjnfrnzBDynfDe+Ed2 8PQnHyntNfJJggeOOo9SeXzqM2cNHgLL+n3uK2E3wBijrpVmMV4/DJIptW5jo+EIwj1jHqWhaDhpw +Kjuh1lKv37x0uKLLWHtmBPNIlFy8Zz3ZRO95/g7efD86oHlxyAvKwrOe71wC3ugLB5vLWdyfGnbC +1hh57z4E1VxsWG6HU5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC8t-003r6F-TM; Tue, 25 Oct 2022 05:06:24 +0000 Received: from mail-bn7nam10on2138.outbound.protection.outlook.com ([40.107.92.138] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC6y-003qK8-Ph; Tue, 25 Oct 2022 05:04:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fnMrKXBhiu5AucnP2TAqzB6aZrLfyd82gWgpvUt/o/aOxRGcq1w49WTMWi5jU5E3/njbJYGvJ0hnv14/RBdt9GaABK+SFNeqbbJnlFnGHEYZLFDltadEz4W6oStRbyuhmoFTxxuLd4SspSIeT8x+89sS3fTcXgaZ7AqDlVPZ9N91PE9B8Pmo7dJp5Hrn6WLUs5XfDFhPhVntMkotb9ZqIISIZ50lIjDFl21pR+Adl/dAGp5hD2OgVrln7ZSS6+1DIBZ9rJpXVHsmTCqq+mkjmkPfkKbiBqh29c3Ab3JIq43HzhfWTqSwYI9fOTidHj4kZNgt94Zeex1JA0TjPEnvbA== 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=4/RMHuEdOnWkquNKOV+j+m2EXCnwMNaa0QcYRvNf6GY=; b=oJItE8uLnzbyHcsb5qv6tLKIT6zocW6y4/iD4Lu3Pq3pu3lL52Fwvhpm64O8up97v4eegIUlWn5RwcXowPSv0BlskWC9tE4q6+XjgshEGCcEG/610CLwKw/sVgEdpG3/R1JHzgPWD+vGeRZEvpEZfjpU2axVR+a9M7MDFIs4LueLmIWj1AwJFbW20WyC1+4Einzvr4PexcKCeAkeCdmcwvV7EVBVrXUcyMPDsgF8ggjnJ588yG0+TBtPC5JtR5PefN08326idbDLbVAodaXTDY/aBOJ9s2/rv8l31pIk/Cv00a73EQv6JZ9TAcu8WghfRUAvB7CjCy372/18Lvbg1A== 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=4/RMHuEdOnWkquNKOV+j+m2EXCnwMNaa0QcYRvNf6GY=; b=DzI+Cb4XgwieFpT7k8821cCLRBq2azDo6mxX/dp5tKtpm4g+sDWk/DfOG+rCYK5jpEL08+jM2gi6hCX4LtFQVodmJ0xLdsWqGbOZ3Rgl5kQj7Op+g/eR36/te3uToj27p8nG4GwHaI3MhvraTt1cucJusSjV+i56DS+3tywYGpw= 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 DS7PR10MB4989.namprd10.prod.outlook.com (2603:10b6:5:3a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Tue, 25 Oct 2022 05:04:15 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492%5]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 05:04:13 +0000 From: Colin Foster To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Alexandre Belloni , Claudiu Manoil , John Crispin , Sean Wang , DENG Qingfang , Landen Chao , =?utf-8?b?bsOnIMOcTkFM?= , Matthias Brugger , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Vivien Didelot , Andrew Lunn , Krzysztof Kozlowski , Rob Herring , Lee Jones Subject: [PATCH v1 net-next 3/7] dt-bindings: net: dsa: qca8k: utilize shared dsa.yaml Date: Mon, 24 Oct 2022 22:03:51 -0700 Message-Id: <20221025050355.3979380-4-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025050355.3979380-1-colin.foster@in-advantage.com> References: <20221025050355.3979380-1-colin.foster@in-advantage.com> X-ClientProxiedBy: SJ0PR03CA0189.namprd03.prod.outlook.com (2603:10b6:a03:2ef::14) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|DS7PR10MB4989:EE_ X-MS-Office365-Filtering-Correlation-Id: f41e7171-2bfc-4dd3-5ab8-08dab6465bbc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +g4d1+XvoSAN7GocGo4Q6gRCuQ9QaOPDywHXI1atvYt16kzYpRtrxBIx7REk266K/xexmwjh8tnKU+iIulAw7bTY82t1EwpgGwAADyKUym2mo8KQdxOdXRF+J6nISuqyDGcqjhhhBQF24je6nT5PKnI96hp4zMvekhLpIXunh3IKQvoK0jeFJSY7sTXMnTq8kNFIJE8P5VgSLg2E9fCSdeb4tdVu1gSFw2jv+DatjRP7lssxf7Hv0HtCY4duszn9TEahCbCz6yxfq/xo4xHaIXghzQU93X1g/x6m2tN6lB3IJMeb0PUx/5zslR6d0QF4615pvb/odsIDlXcwwJL5xt144i7CJ9j7lZct6kE8FZgESXUXcB0mU6Ah1b3rdoIHF7CUl9FmM1U14D2JJQoPVGJ3H4vTmjtPHXExMdasJp2V0euS40HzNBQVZITXHx767Cp7ZBTCnL3+8I7eNh0cyUBTjKOBbCCmYzzQKI/dRwH52GSpvVFsIxLjPaYRJVX1/YL4towlwOFUDA4+Ib6ls9qMMQe9qYSmNW7JLNw5cJC139fx1C2Ad3ASYBCi89BvB7LJh3NdJcBHZxSj/hPznIDk2aV9m+Q+LiPPHRxuns5yc8k3UTI4OL6f697bmuLRkUanNFxfGl6busK+xrruAYdayAF4BqgTCkzBSl9aOj4oQotzMnEE3+SX44tbhZ/JycFtQgjP2WAeC5AGSHBFK+uZUvecLl8qTNqSDb/3LSEqjiqOge81J4crd0yshD3UlO/67X6CeNWyVQS/B3GKXO2pRB6sW9WoIo3f9/VvTY4= 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)(366004)(39840400004)(136003)(346002)(376002)(451199015)(316002)(52116002)(66476007)(6512007)(26005)(54906003)(44832011)(36756003)(7416002)(66556008)(4326008)(41300700001)(8676002)(66946007)(86362001)(8936002)(5660300002)(2906002)(6666004)(478600001)(6486002)(83380400001)(6506007)(1076003)(38100700002)(186003)(38350700002)(2616005)(32563001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 51mNRRb0jEHJNECohr14Ln0zaNDTn8GA8LoSMndYPio3kwBKV9WbagZFVaBP2nNYkTPiHZQP9j5mBVaKs1cw5liRv1jZXQvmuD1/3bcjdpDar4kpduIViGvPB7kEWmbhYSljinjY9r+yDFzkIxa4njI3PmQ9/1mC75TwrYy66rBMlZRD0YqQMNVmMIaAI0IfKyLhVgoBEnd8+YwILHMVWwha4/T4L3K5fZXljaZ+48y1L0UvDC1TywKfQPwu+K12Tws7U722G1HrRZyHp1nomJKZVJwu+Dpw7LQzdqgkQqJyy2uTORzvYgAtNz7RYfVJ1+CtRvzcDv1C0q1v1z7s6JMpz4L5vFxaCbpF8lcOe6jexySqxJ16/Dgr8eG1/9V0dpEBTfC0Y4cbSGP6F612OqOA8ln/CZyX9DI098l767VGlg12AU4qqyUYlf6VZ1jn06k6l0OjPibF5MDATuEF7Uhd3wum5w7P6Vjk8yNqHIyEEFPQ6X4yPcTFQf5h8VEE9YHMr0Uqkj5RSgsGhE+jv9fBk/L7VLhRHD3qbx6PBK4MZk9L7hlQ0HiJhw6cXwZ9/nwNuSHitw3LyLFiPa7PhrcQQIwl8OWWTrsgk+vKVgqDr6Xohan1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: f41e7171-2bfc-4dd3-5ab8-08dab6465bbc X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 05:04:13.2039 (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: 4kmGcE+0FCbbwC54B/0hCGXPoEjzevApyB4Wneg66YETrvlF99iLZeYPNuNfozUcMk2OuX+Ax85b51pHabDL/lY+HfUo+HKyEwdhch75ABA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB4989 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_220424_862272_8D898D77 X-CRM114-Status: GOOD ( 10.09 ) 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 dsa.yaml binding contains duplicated bindings for address and size cells, as well as the reference to dsa-port.yaml. Instead of duplicating this information, remove the reference to dsa-port.yaml and include the full reference to dsa.yaml. Signed-off-by: Colin Foster Suggested-by: Vladimir Oltean --- .../devicetree/bindings/net/dsa/qca8k.yaml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/qca8k.yaml b/Documentation/devicetree/bindings/net/dsa/qca8k.yaml index 978162df51f7..7884f68cab73 100644 --- a/Documentation/devicetree/bindings/net/dsa/qca8k.yaml +++ b/Documentation/devicetree/bindings/net/dsa/qca8k.yaml @@ -66,22 +66,16 @@ properties: With the legacy mapping the reg corresponding to the internal mdio is the switch reg with an offset of -1. +$ref: "dsa.yaml#" + patternProperties: "^(ethernet-)?ports$": type: object - properties: - '#address-cells': - const: 1 - '#size-cells': - const: 0 - patternProperties: "^(ethernet-)?port@[0-6]$": type: object description: Ethernet switch ports - $ref: dsa-port.yaml# - properties: qca,sgmii-rxclk-falling-edge: $ref: /schemas/types.yaml#/definitions/flag @@ -104,8 +98,6 @@ patternProperties: SGMII on the QCA8337, it is advised to set this unless a communication issue is observed. - unevaluatedProperties: false - oneOf: - required: - ports @@ -116,7 +108,7 @@ required: - compatible - reg -additionalProperties: true +unevaluatedProperties: false examples: - | From patchwork Tue Oct 25 05:03:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13018467 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 27955C38A2D for ; Tue, 25 Oct 2022 05:06:38 +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=stP9hkw0cgTUcYzpc9qeP2EV3D66H05QaMNOlI1IsdQ=; b=iqceXdEA/KVGCx W2Opw6RjugSDTaUj/IalIAlhBeDnVEneKVsTf9Dp/Qugsd8ZbIW3DRPm0+snCYDFHRvRpjUSccnZN FomAS2gJopj8Y32lMdKQkzmxnEpDMFWOQK7KUDqTn6C86W9un2+VEUWHZ+D7kgjckNq+Wy7ZrQZMY vlnd/axtQr2bd+HVvUfuiZLo/Y7O1SsDvyHJa2Sy3STrJygIm+M7zurP8e+7VsSgIpv2thA5XPvy5 aDs5Y7w+BOCKalMJF9ftHtMjLQlE+MBYbYCnW+6yxFF7/CGNasIAskyw4BTrzpXahDPqKoUijY8wr 5fGkYt7U4McG+bCk8Pvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC7r-003qei-UT; Tue, 25 Oct 2022 05:05:20 +0000 Received: from mail-bn7nam10on2123.outbound.protection.outlook.com ([40.107.92.123] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC6w-003qFv-6q; Tue, 25 Oct 2022 05:04:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mDz0ROyaceWvtr73BAb5qs9htuSXFmwUTYdN1gtpRNlVFYt3VxoaLNpePkZxagkM8qdg/NJ4MAITRc5WHawv5ZbCUltvQZrUnlOwRLtxb95jQD8R6Yl0gp1zQODGChB0hYIiCf8m24erFhJaehPxAv+NxNPCQPqP5SHx4W8VxSc3ti+fMfkCeJ7ajaMACmdJaNoRQD/hcNbaJLldgwZ20Ah+kEYuR3yl0gP7W4zr3rdLP7Rgj+uwKwBC2tRFyuZQ7HWkLaFEHkY6cTw9XJiSAuqdHtYLBy98hWLqnmMMzdS4/2IUoSFwJW7dfSHpJoW3DUj5s4y468sz1nSmnpyZuQ== 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=KOuDn3YnfNQYm9LyX1wpq6gf5Mm3KwlBByBdMWYN5Q8=; b=l0oHJRFYlq2PP18M0pr5Xz+16anzF9q/WO/XHtb/NFtIN88q4sbO7r1Akd1JqbTgo7gxgufLehydHRns2s/z9yIceuNJmaFcSFDPOZkTAUxghWEEvgbkCa4zdlgiEfKOuvxnkkGQcckkRqEYIv57CsOJac6kG63sQTsrSOmu7G1JwqyjgQ0pgePJ8DgmGP+PumumR33Lqzp98ZCQ1ifRbdpy1DJaRwvCE1wpQnMa2tWDL2wNtRnSUA76HL5nye7uFfhNALHwuXMr+2no0WhaURCOB3KrPD81elvBXyv/088OSH3NvQfgD+kabHh483wfYVOlCh3nWDFN6EZgnJpF/w== 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=KOuDn3YnfNQYm9LyX1wpq6gf5Mm3KwlBByBdMWYN5Q8=; b=tWGbw/s7KAt3aQwOVpIN9m9a2VUIlNgpGBfqSk1KUWo24eKdDDhiL8UtxzL391h615m6ikGaL+KzqpXtVRxCm7U4wVe4QmLjsrpRAPayznX59Kbe2qY+aDg9Ts1zMs/JZRcWJ+6sB9ruGdp/QqOuYUalDPIus3py3i1ESh7UIF8= 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 DS7PR10MB4989.namprd10.prod.outlook.com (2603:10b6:5:3a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Tue, 25 Oct 2022 05:04:15 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492%5]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 05:04:15 +0000 From: Colin Foster To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Alexandre Belloni , Claudiu Manoil , John Crispin , Sean Wang , DENG Qingfang , Landen Chao , =?utf-8?b?bsOnIMOcTkFM?= , Matthias Brugger , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Vivien Didelot , Andrew Lunn , Krzysztof Kozlowski , Rob Herring , Lee Jones Subject: [PATCH v1 net-next 4/7] dt-bindings: net: dsa: mediatek,mt7530: remove unnecessary dsa-port reference Date: Mon, 24 Oct 2022 22:03:52 -0700 Message-Id: <20221025050355.3979380-5-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025050355.3979380-1-colin.foster@in-advantage.com> References: <20221025050355.3979380-1-colin.foster@in-advantage.com> X-ClientProxiedBy: SJ0PR03CA0189.namprd03.prod.outlook.com (2603:10b6:a03:2ef::14) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|DS7PR10MB4989:EE_ X-MS-Office365-Filtering-Correlation-Id: 66fe372d-25d4-4732-e68c-08dab6465cd0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: umR/RqTNFZ7Qt+MjSWU45cKx21romeHgiEVvrQ207g0sm2MDVMTmBik4geVmJ2FPijQYqgSY2DW87t1HHG7LxXMTQVM9s8I4VHV23KZm7Yxu3g120ageBekN5iaWPk+n1Ga810kN3HKioTalp5/05rYacmjFFgupBQI0oShIZyY8JzVvRCfp9O2zgTo3poRiDapeLHgdc2AdYbVDELS4rCxUL4UpLMmlUmagXLipGJAdCDiTm9/rPnQ2vrd+CZXClVEaT9Wi5bikF8fVk/qdd0SL0Vzb8eqw3LmFx3lwnTFiR7CZDztEq/1xu4B8gZxinRfHL30WMnPuM7wFnAvjF/2OzDMjpHFyBqZVS01LksNk0whpxxNRv1MOrlbjhazzjyDFGeANTkunnwEfGJToSoo1iMw+C6VEwUug56LwoV65X3y9DfpgRjuTYAeMiAOSAuFD/rn/Wk3g5CcPiOiou3q3RBskHEAgvGBwNhSHgYqLJDNCbrHvA/mKnsDqjqsTe3PnQyycuAX4NQcMAQtvdkGqs7O/Qrg2tLtYhcRb/x9QzV4tV+WTLgw+Vngwi4lEN+NxQYmNE0H6KKyTTS1SyLx5cJVWtUuscvRLLu9+d1kQIYxP4SHucztO39AdW+wflli90NANjAnv0FiziPtE14Yr00WYTsfmZwWKXF/2o3vGWQ9g5h4qeHLPMFNhPQ4Mv6dnWE1Jbq9oQrVL3084aRfjc2yZQ6mufqap2N6COlo29mdztEmyImwZLcO6Ws48EmkiD2821rLjpjM2ieav9w== 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)(366004)(39840400004)(136003)(346002)(376002)(451199015)(316002)(52116002)(66476007)(6512007)(26005)(54906003)(44832011)(36756003)(4744005)(7416002)(66556008)(4326008)(41300700001)(8676002)(66946007)(86362001)(8936002)(5660300002)(2906002)(6666004)(478600001)(6486002)(83380400001)(6506007)(1076003)(38100700002)(186003)(38350700002)(2616005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-Anti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IlmnjvNOMjKohPpMxkQ4QWJ1lnT1zBx0Mcw4IinNV+2qUMLqkaKQ2qV1zZI7jpP+QhuGgAQ+VZblJ0ZErhWpuQwfkrDBskLfLUUGGiyBUk8bu1mXfjOqZuJtIqWdtrUATTYLk7UZ568N/SZiOGZBSvnEKbXdH6HN60sdBVQDCCT7QXFW7e4MDdaB6Z7xpi/mx6d2COJiT1Ax7jbp8DS0m1GVqCmNtOL7rU03sCMWjB3BlJqqe+FF+n6wJsMjDq4r7fSKO3JcShIUAtSTNhXXrR9IguU0SAgutl25sw5nTL8XpSwqIc3O4e6g5iihjqo+/Usyv4Hu7yebQgeHdhXLaHq2GHf4NhomUqMnDGh+nEKVRm1fEX2GN8mzKNFhZx/SQcDaf6F2laZCYDQPebQKQMCYkjVvIOnhZn/t066kdQmN4K67+jZFu+JR6JU2KatudJQsYJi2CiXTdv5Hu19q4PH4dSBFzG2rU6THW1K22+1NnL3za9SWxdHrO0J94RtFngEg09+IxSCvX32oQUtxMQXdR96ZwNt6PZArxTDmhQIO4IBu3apzLwIJQ== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 66fe372d-25d4-4732-e68c-08dab6465cd0 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 05:04:14.9537 (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: y4F7XMPIdqKl52bx5rf6MNkCCbeToELmUy21spM1fPT/Q+XUppO3389P3N1Jt57wV5j0zgFwwd+BAs4aeq3akXXDg87oRBPHq9d4oosaq40= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB4989 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_220422_276392_7FA0DFE6 X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. 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 dsa.yaml contains a reference to dsa-port.yaml, so a duplicate reference to the binding isn't necessary. Remove this unnecessary reference. Signed-off-by: Colin Foster Suggested-by: Vladimir Oltean Reviewed-by: Arınç ÜNAL --- Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index f2e9ff3f580b..81f291105660 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -159,8 +159,6 @@ patternProperties: type: object description: Ethernet switch ports - unevaluatedProperties: false - properties: reg: description: @@ -168,7 +166,6 @@ patternProperties: for user ports. allOf: - - $ref: dsa-port.yaml# - if: required: [ ethernet ] then: From patchwork Tue Oct 25 05:03:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13018476 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 89FC7C38A2D for ; Tue, 25 Oct 2022 05:07:08 +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=TU89fr4zphVFBHLl+gFcShzXB+pKKqHcB2h7pJaukco=; b=2VS5zatY4HysP2 R/IT8Qh6Gg5IJY/HvLltaqmI1SO8eTYQL8Ov7tjg5V3NuNpQNOpCk7v85DXyACEnMtUKhC+cACrZ8 pkPTV7XvX8Zg+rPaQ95sjtVQ/GzRnO1I111aQWnawp62C7SypAMk9mnm9SbTPyblrOX/woQdGksP7 3j0yrGZhJhFCylCR3TOq4bx2fTL/ShondxBxXnSdwzvNKlZm8pNHz3s4mAPwLKnboJ1ReT5w6l1tT WS9vWFxvsnjIS2w4Kf6bpHLYuG1dpRECHUOm1wF/n9A8Tkf1SOa8prjN/wak/hNdAa0jkY5D9OM79 wAalU/OFftREDvnsFBDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC8O-003qsw-5o; Tue, 25 Oct 2022 05:05:53 +0000 Received: from mail-bn7nam10on2123.outbound.protection.outlook.com ([40.107.92.123] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC6x-003qFv-M8; Tue, 25 Oct 2022 05:04:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K3j/Ue1TldNGrTLnUhb3d7kBdAt1u6CfwIVufGhC1oA1tl8dxhEWLDbgAONsbQ4mWkeeezSso3qTRaMavRyno/c/jcfwhHB8jAmNXVIYOOXHkXK10lIbV3DzNpSRmvnLtw0ZsFZuHGL3DkB57BLSZfto43u7JCZDyUG+EHYHi21xSE2JKGQCbMw8GUnEG8KuVCGSaklge9uO1NRZJKXXad4QCL3ddpuBTXDCuO9SGmIAXvYJwmQzW3gKeDFR6b/Atiq+wnliHrLmtn/jhLUe51PV/shr/01eX8bNbeJTjuE31p9jtFLXymtec5oJLwmDnvbd2oAfgSPM72TXJVjpMg== 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=vSLf/dDWfNWq84PuNNvI4A64NEe+fH09jtiOye0zEEY=; b=TsQPEdNk0+22ofT1EaTougmlGqA2HvYHb+wHOsuJVPLdJNvy2lZO/ykRa6RGVLvlQIlsVsM4iPD2DEJFlSiKCOY7kL4Rx5a4sxOFAYRjUxosSwq/7qI0rco4VQNjJ4zB/yCQ4hyePcRWSkNfGniD9AEDs0vzcNxYvgm8tQWCPxI7nWFkecJDV6zNKqJleSPKv2v+bql0lerbb9d3MhgRilBvIf/AGZprRk/Tq3fAcdYiL1fvlgwN9+K/bkT6dQOyeVZLiHGupGqUSnXzGTT84Cv23t7IsetO9o8ja1z24PBiWEUICBiam6feK0g6HJwFn524usem64ewlUwCJDw9yg== 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=vSLf/dDWfNWq84PuNNvI4A64NEe+fH09jtiOye0zEEY=; b=dWXmR7La08J1lzNfoH+WPMkNwtEXwOemZ3fHutmH6vNFbO5MN0ABoleuykRhe5d+5ynFaBSiAZsRVomGdwQqp83o/iWt8vSzABTVWYwar53O0OXq555Sd6gxE+08LjcGsOqrK9C2H4GKnRaTlDdyGjUG4/uJYrEVhSrtPaYnWYo= 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 DS7PR10MB4989.namprd10.prod.outlook.com (2603:10b6:5:3a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Tue, 25 Oct 2022 05:04:16 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492%5]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 05:04:16 +0000 From: Colin Foster To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Alexandre Belloni , Claudiu Manoil , John Crispin , Sean Wang , DENG Qingfang , Landen Chao , =?utf-8?b?bsOnIMOcTkFM?= , Matthias Brugger , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Vivien Didelot , Andrew Lunn , Krzysztof Kozlowski , Rob Herring , Lee Jones Subject: [PATCH v1 net-next 5/7] dt-bindings: net: add generic ethernet-switch Date: Mon, 24 Oct 2022 22:03:53 -0700 Message-Id: <20221025050355.3979380-6-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025050355.3979380-1-colin.foster@in-advantage.com> References: <20221025050355.3979380-1-colin.foster@in-advantage.com> X-ClientProxiedBy: SJ0PR03CA0189.namprd03.prod.outlook.com (2603:10b6:a03:2ef::14) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|DS7PR10MB4989:EE_ X-MS-Office365-Filtering-Correlation-Id: db25b5f8-e5ba-43d1-2497-08dab6465dd7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kKC21tfAt+57FJCBYEyCxHociZ9pusf944ZCf2icak6kKYB7iCfsyn0fy2C5y1xCqqEBLhYG54peR7/L9PjAZLSebyIsCw27+Scp43Kx2ldnOVZWjC46OSzwKwbX2C9jgpVGu6Jlxw5fa3eFARRJYoo/KL9ZCYYNTJp5SNthI0I5X4kNzuLZThUHoAKrZEK23523izz85qJD4HLTaT4Jng8RrcR7e9zT6GoYSQ3c4kznNu6+kQmlK9ZIl/XRIlXlcsegaZsoXA2xsbYzs9Di6iTK2Cdg5+GezVySLIXAnd2ksc1LlhKyfYCkXofRngY/EZWTRCvOLp8anXTt7ro+tSpQdD+s6tG+566vPNXQ73caJ40zqKVrCqVair9EOBTKi6NTF+XoFFv00ziwX7ioircaoZBIrn/AsLJZjnDnWMBNTAGdNWqwRDVBqnT7w8Xf6rHwKy+SqPP4Q3DiuAIqh/F2I1qmE7KNbbOVnC6KSvBBqbsjreBWHGZ+BLNRzG101DP7QGgl9wJuV9bt8ZnF28aGub3Sqf//155Wec26/VVVebAWW/l0QWllHH4homPJHMn+8O1kXdvFm4LWhE07IG4EN/iwqzYqYBSvGVK63KmgVZrUt9wTVRMyerLMCDiUEw9htZI4beN0dxscDzIFz+o9IMx6400G9OnMM4Yi6Exqvco0XEaHITJvZxqqQzE82HZ/BhKKNyDFowzvXbwi4sfaN6ziuN145v2aBzPes3M28jqaK/FsN81khBOUmHdv71KQ6kn1s73wekdgQxFJgJURPw89a0zXNeet0BTKaMPRrdrSKT4sFVb8a2l4rKKN 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)(366004)(39840400004)(136003)(346002)(376002)(451199015)(316002)(52116002)(66476007)(6512007)(26005)(54906003)(44832011)(36756003)(7416002)(66556008)(4326008)(41300700001)(8676002)(66946007)(86362001)(8936002)(5660300002)(2906002)(6666004)(478600001)(966005)(6486002)(83380400001)(6506007)(1076003)(38100700002)(186003)(38350700002)(2616005)(41533002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sLaqWI6mgfU3mx8Lo3oyhd/QFJPyjgrJm8Dz2hiT7MPDoz2DORSwRoLOzyyCvoBjXLWsM2fxe+tjuhPj5SUXW9lVU6CdHlrFSkMFNeYwVgtxhByOqSAxHfVw0tey0Wg1pFWc8rD1pn4hlUoVCpH2M9Onh8YQIslIi8/9skRGla0wi9s3Yy4KXIhiVGQauLG1SWtCzZrFtzeRyjDIzz1+BlThDAlMYcDni7lhZLDU8bG+Hj96J2zbdtP5Nxwn0p0RICsq23Soxh8CDavmPF3ZHX4bN35m/763/YWS7eLns+YGppFmmE0l7mnXlrwuog0vwkmU1FX1/dfogsYT4CC3IR3sVoAWBOnSrPvtAcww4N/jpym0i97JYAmOC41MnXuI56iwxj1KCn5vHInEWU3EmM2EdyFQlEehFDZeqpdakiDB/1JSKLlaC17ADurnV0mWSmJdY0uRX/SRmUPavpxCLqMQZ+0GAVRUw3jHz/gVW9+FXdl19jkAeLfdDvLZt6GFFSKO9FVYqwPbb4Hi8/5R/DXhe1vvRILXiTJHXk3Jv2hTAnm1sw/tTJ/tqkPLnjv4i58PSTWOupeL1k5zXZEa6XsfVkb0DkFb/5mYJY1hQeqUithtXHcdsoZWZ+J/h9B52e9A1nNcIvWNEbl8s+GErFlZstbVooRL5I897bHje7BlyXG/wQIk+t6OAemkwPEh1c/JOLhiEqk5xiJ1tUOB8QfsQ1AjX2HS77WNYXEhv9+N1tkrAYz3FA6FoXhd3PRF0wneslA05PKs9hF1YW50K6nPEa412G3InFqjBaF4XfeliK8OBoIUGQuG+4x069Z7dDqQgIeweSRoHKocA4eDHBDt9xDbPnlUvXTVWtBs6gBFDdkm7VS+Cxc02I++K12d3ycFs2F92YKEFTIt8n4NkeQmIANplPBrRlxcYlm7ZtUBDbDP7sV9yxL0Qo65ODzUg0qgwbUco6S4Hdop6kkiq6RS0ZQqZwop/iClGHgWbULdgHnPxIsMsef1VHiASsX2SB/YP1KSVMSftT1oPYM25hL7tFOj8Kj10bkbqdxV/0xz1UIoMPmelgAfwMG6jdbsoBTNM35+TQoimgURXPwsUohEdmB6eHyHqmBGezvnY33goTPVxmuCbyF1dVyPWHeT7bACm5syqVLXrtUbJLwfZqUC5YLqY9M1KiMZ7e+pTvgA+M7I0DhqTYPAabUSJlTJZnysT5rDULEk5vILjlpotgSqY+eEuZHzzwzJ9ODgFo1isYNtkkk3OYHqjRBrfBuEY+2Np9w/M9ypr1RT2YPJe9+QW9C4r6MVTPZ9FpSsB0MzP7pAekLgVuBDFdwmb4aUGjla9C7C0gllTfqQM0/VwwZf7deR/cyGxOKC7iQgKY5tkFfHxnouqwRupjrx+oaDJ7qQmlFEHo+CJ9gXdnNTagGYYyLczWq8lp9IOA8e+bV2bjC5aqWCHLbub0WNqg8GZc6WVfjMKjQ5XKbKTpbs3Kx2TUFEDff9Cm7JKY2xtUOPTeUtC8xRPWpCJSs95b8ELU/7k26S8iPovq23gNMgSyqlPEuNf2CxfF0RUoK4p2O9RX2AH6WkXZeK5FRO4rybjIX7yvxevYU4+U72Eu2tdw== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: db25b5f8-e5ba-43d1-2497-08dab6465dd7 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 05:04:16.6880 (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: cuPZjFpH4G/3b1ZAmwYsN6lzChg6dKB/F3jFtSZU18U+9c2lrnBaKUrSWfJ/rUWnAjKgkSnLNVftwykigO0+2756czauh7Oq2/LjiEfZJMY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB4989 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_220423_785790_058B980F X-CRM114-Status: GOOD ( 14.52 ) 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 dsa.yaml bindings had references that can apply to non-dsa switches. To prevent duplication of this information, keep the dsa-specific information inside dsa.yaml and move the remaining generic information to the newly created ethernet-switch.yaml. Signed-off-by: Colin Foster Suggested-by: Vladimir Oltean --- .../devicetree/bindings/net/dsa/dsa.yaml | 26 +--------- .../bindings/net/ethernet-switch.yaml | 49 +++++++++++++++++++ MAINTAINERS | 1 + 3 files changed, 52 insertions(+), 24 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/ethernet-switch.yaml diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml index b9d48e357e77..2290a9d32b21 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml @@ -18,6 +18,8 @@ description: select: false +$ref: "/schemas/net/ethernet-switch.yaml#" + properties: $nodename: pattern: "^(ethernet-)?switch(@.*)?$" @@ -32,30 +34,6 @@ properties: (single device hanging off a CPU port) must not specify this property $ref: /schemas/types.yaml#/definitions/uint32-array -patternProperties: - "^(ethernet-)?ports$": - type: object - properties: - '#address-cells': - const: 1 - '#size-cells': - const: 0 - - patternProperties: - "^(ethernet-)?port@[0-9]+$": - type: object - description: Ethernet switch ports - - $ref: dsa-port.yaml# - - unevaluatedProperties: false - -oneOf: - - required: - - ports - - required: - - ethernet-ports - additionalProperties: true ... diff --git a/Documentation/devicetree/bindings/net/ethernet-switch.yaml b/Documentation/devicetree/bindings/net/ethernet-switch.yaml new file mode 100644 index 000000000000..fbaac536673d --- /dev/null +++ b/Documentation/devicetree/bindings/net/ethernet-switch.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/ethernet-switch.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ethernet Switch Device Tree Bindings + +maintainers: + - Andrew Lunn + - Florian Fainelli + - Vivien Didelot + +description: + This binding represents Ethernet Switches which have a dedicated CPU + port. That port is usually connected to an Ethernet Controller of the + SoC. Such setups are typical for embedded devices. + +select: false + +properties: + $nodename: + pattern: "^(ethernet-)?switch(@.*)?$" + +patternProperties: + "^(ethernet-)?ports$": + type: object + properties: + '#address-cells': + const: 1 + '#size-cells': + const: 0 + + patternProperties: + "^(ethernet-)?port@[0-9]+$": + type: object + description: Ethernet switch ports + + $ref: /schemas/net/dsa/dsa-port.yaml# + +oneOf: + - required: + - ports + - required: + - ethernet-ports + +additionalProperties: true + +... diff --git a/MAINTAINERS b/MAINTAINERS index 3106a9f0567a..3b6c3989c419 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14326,6 +14326,7 @@ M: Florian Fainelli M: Vladimir Oltean S: Maintained F: Documentation/devicetree/bindings/net/dsa/ +F: Documentation/devicetree/bindings/net/ethernet-switch.yaml F: drivers/net/dsa/ F: include/linux/dsa/ F: include/linux/platform_data/dsa.h From patchwork Tue Oct 25 05:03:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13018478 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 F25DDC38A2D for ; Tue, 25 Oct 2022 05:08:27 +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=VbTQukL9O7gvJ13L19FDBGjrLFFWJS8yRKmTBLDGhdQ=; b=WHz3AOfZxKhTk7 GBJiqpFCwyLBB8+FRLCywVTVhpc1QmU4tf1VD3puHb7puUJPiKJ8eCWLFR6KHBGxK+XI6I+zxUoPf KHjlgRzh4iKn86bk8QLbOsphzeGwCMHYtIHNvt2gsD16bnaiOpODht2+rQulL9ZGXe3R6a05gv0Ix glkGZlNZsjOxhveQaXiD8HDe6Ph6dJa+L6szTv/ikqyF5xRYqG9de/SYGMQ2jxBs35W0wZimlN8OG 14ExyWM6V3imEWrpCxnFnRRNoiU8DBNKJ0OIGKeWptBOb5RbClPJxIdPTbcky6dknI4kXn5pMXZQU fc45LAlvqBvdya7exVeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC9T-003rJX-UE; Tue, 25 Oct 2022 05:07:02 +0000 Received: from mail-bn7nam10on2123.outbound.protection.outlook.com ([40.107.92.123] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC6z-003qFv-Mx; Tue, 25 Oct 2022 05:04:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GtFdep2aCKSqt5ZXusJaFwbkdAW1Bao3KCX726EgX/duRas/sbq0a/4KVC8RzZU8vKavN81spWSaPVMqIKwT34sxUl3h9hnJSTyNl5P/JfswT0iGf+BMy3JjhU3ipnNV0DcKJCNvC2LPeaVO5pGuUTWUhDwsrtqXEhdbI0+RPlpnrfpEvIzfmZ8UahjANriwGb/QNhKd1GfPnflCFJ/aIdO02cmQfGBqKst3KHWoPr6CDhbISyMOOdTnUAsDnms58zWOFuPTiu1LivIn8dCihx/UxFNDGe8SgJWHBcZ/a4zsf1tm/tP4HPyDQl/oGPkGgY5f9kfAP6ZbwVngO4EsWg== 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=cNnXTXeOUPV7CQywjg7olCcL6rmd+7/AFlxSOijwJAc=; b=UjRPGhUy+aCatdk6JuKxp5vLAOM7r8Odv8urO9TNf/pjFyVRQNrO8pN0DaXx8GJw/cfjv6u0el23q0LFsLp10UlhoVosVnmWIbNHUhouicG/spZ0vCAs0ToNUm6D5riDZ9dkvqnfmh02piBaivObwr0AzP1/ii32a8j9bXROuvZEjFdXZ/rgqlRJUswSNXQNVJ4H56HCV9LzzRSrUzSzYHv2q2cFXTABScOuMxQaGUyCBD986gGYQuLqYQCEX1Dn4NPLOX1JnRHuY5JHORKFcyV8tY7JAKMKi2MqPM0k2/dJTcfeKsfuvMf7T4aF4VcmplpT1JrOve9TuBwmAyeu5g== 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=cNnXTXeOUPV7CQywjg7olCcL6rmd+7/AFlxSOijwJAc=; b=la3eQhM4WndJ3n/GhJtf8+dELbu3WAWNPwwJQqpGX9V5gv1M3h8FoHA1NFssoGmD6ULsUqMtrGyDV/hdLZ7XVoC1fBu6oE1Dg8HX1fgpMdF0/JBPY5nAkAY8U1SvSqW9xGwTOIdjnvPekex92tWG7ApwERgnek53ml8WbIV1wKo= 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 DS7PR10MB4989.namprd10.prod.outlook.com (2603:10b6:5:3a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Tue, 25 Oct 2022 05:04:18 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492%5]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 05:04:18 +0000 From: Colin Foster To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Alexandre Belloni , Claudiu Manoil , John Crispin , Sean Wang , DENG Qingfang , Landen Chao , =?utf-8?b?bsOnIMOcTkFM?= , Matthias Brugger , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Vivien Didelot , Andrew Lunn , Krzysztof Kozlowski , Rob Herring , Lee Jones Subject: [PATCH v1 net-next 6/7] dt-bindings: net: add generic ethernet-switch-port binding Date: Mon, 24 Oct 2022 22:03:54 -0700 Message-Id: <20221025050355.3979380-7-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025050355.3979380-1-colin.foster@in-advantage.com> References: <20221025050355.3979380-1-colin.foster@in-advantage.com> X-ClientProxiedBy: SJ0PR03CA0189.namprd03.prod.outlook.com (2603:10b6:a03:2ef::14) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|DS7PR10MB4989:EE_ X-MS-Office365-Filtering-Correlation-Id: 983e5af6-59ff-4fcd-898c-08dab6465ee4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JbQX8q0CvssWiy7jf4B3eAy6QI+Z5d4pabjHsRDoda6jB6oY4PWqHuGgKSbKiz8zk1AqDF4w95o92S/Mbrq+vFW3YqNvVfKq5R8gdrb5fLJeY5GBWHdKRqTZKJWiMWfSyD2rMxh2m4OuZTKAwkvZjPNmi+0+GRGm7aqyxk1QtdEjBPC7PcXCI7O1zUa5CBdai99dae8x2WQAgiItv/QTZPOOiqL6Y9rW3VNa7kmD5oL4/scSQGGsOhlDnrfynCIRffzjSY6x02PBCBCiK1rcb2QKvrMeg6WmkL/nbnTOTaKrmlZvWZCA/t0F3jdj4nZBvWC2dQmcw2+aFWbtuKAIJ4wmEsXNIaY4wgQoiAMn2cMsyvdigpO5iJsZG2frFWdggMXDLjg/9St8Mrj/5DXWHST4HGRYuwAzMQDcw3Qfq06T9DYsUCP7InL4wC3Lmygpt61UM7b0OXlBCKEuZ3tRpRW2qOdITV9/imer2ANrJlb9G6KLJXSvzg0GkGi6VNl5TwMGyRirk4VSRicoVsJMdTCWP3k3pFNB6ICa3bTiq+PhoMyqpyaLrUnqPnkk2eIL9JHMq7DkTLxAcPdCB03EFQqSXvYnxge6rfxvgFS+tw4QhDDcqCEvR8N0htuDedvaqVsLZ8SYoQH3AeMge4VDCdB/Z9E2zPTymwAmVp4pzkXO0Rqt75wQTzxBS9pvYCeBnYF309IpPqvaUaL1D3jlzpQvEB6h0YZRoPxZy+DhusyvcWFvNWYKo5jxbGoubV5MTht1kDUIlcXF10ViOET3J8YQnDc9HLhY6orR5RkzZfPKY6zp2iqjoDOvbxslz/NU 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)(366004)(39840400004)(136003)(346002)(376002)(451199015)(316002)(52116002)(66476007)(6512007)(26005)(54906003)(44832011)(36756003)(7416002)(66556008)(4326008)(41300700001)(8676002)(66946007)(86362001)(8936002)(5660300002)(2906002)(6666004)(478600001)(966005)(6486002)(83380400001)(6506007)(1076003)(38100700002)(186003)(38350700002)(2616005)(41533002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4dRLb926lQ6Vkne39Zn7QUIKPq9zFsvjWgnVsOTsXEqdhzFvFWiv82WanTnpXBAWOWUGWp35UxaeD64F+XRdZRlLk9Sz3WORNpulSHiu8LZsq1uspd0njrnBOEh2XHAJD2DFTIjtGx0HkCRt7fVZur3OlVj/p25gK2FGbonLUFTHRoYALZ01dn8cUTqO8H6/ReYK990X6L7XmDDH6mjmKrxB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IT1uOq+Btod0uXiXTa7MXZzEuD7Kp4lAZSvVK4EyqVsvjDpUEN7yPf8RsVnWs8f0dheITyZ+b3e1mEaUoscA6iQno8BjQjNUTfM725rPctxd3UX/nPt+tPSfxBHXLJTWY5zIaAcBsOuxZC40c7MMlyuZtftLqgUU77PPOeawzMSDdAY9Vfx+xieiQmn7X9NYnakj1ul4qDr69wXUmbCYqPW4jAw+o9NcNU3wu5wnJxWNHcLPM+d4YrpaPs0QV4G3ZmdndeeJe211mGTl8MlXVt+43hsTE3TWphkJt0FhLbXPRATxs5ZbusXAUre+vqgJ4X6ZA6/jg== X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 983e5af6-59ff-4fcd-898c-08dab6465ee4 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 05:04:18.5004 (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: 79DADlt1HsT8pb18/jnm1AZjN1Icj2TJKPQJW4cPKP9ljVrnRenFWO67Fy3NaVKyhGCZCJuZaK6U8hGyNcUh/hkh7xlcUVN/4xfpU2xO+L0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB4989 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_220425_808318_DC0A71A7 X-CRM114-Status: GOOD ( 15.59 ) 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 dsa-port.yaml binding had several references that can be common to all ethernet ports, not just dsa-specific ones. Break out the generic bindings to ethernet-switch-port.yaml they can be used by non-dsa drivers. Signed-off-by: Colin Foster Suggested-by: Vladimir Oltean --- .../devicetree/bindings/net/dsa/dsa-port.yaml | 26 +---------- .../bindings/net/ethernet-switch-port.yaml | 44 +++++++++++++++++++ .../bindings/net/ethernet-switch.yaml | 4 +- MAINTAINERS | 1 + 4 files changed, 50 insertions(+), 25 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/ethernet-switch-port.yaml diff --git a/Documentation/devicetree/bindings/net/dsa/dsa-port.yaml b/Documentation/devicetree/bindings/net/dsa/dsa-port.yaml index 10ad7e71097b..c5144e733511 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa-port.yaml +++ b/Documentation/devicetree/bindings/net/dsa/dsa-port.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/net/dsa/dsa-port.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Ethernet Switch port Device Tree Bindings +title: DSA Switch port Device Tree Bindings maintainers: - Andrew Lunn @@ -15,12 +15,9 @@ description: Ethernet switch port Description allOf: - - $ref: /schemas/net/ethernet-controller.yaml# + - $ref: /schemas/net/ethernet-switch-port.yaml# properties: - reg: - description: Port number - label: description: Describes the label associated with this port, which will become @@ -57,25 +54,6 @@ properties: - rtl8_4t - seville - phy-handle: true - - phy-mode: true - - fixed-link: true - - mac-address: true - - sfp: true - - managed: true - - rx-internal-delay-ps: true - - tx-internal-delay-ps: true - -required: - - reg - # CPU and DSA ports must have phylink-compatible link descriptions if: oneOf: diff --git a/Documentation/devicetree/bindings/net/ethernet-switch-port.yaml b/Documentation/devicetree/bindings/net/ethernet-switch-port.yaml new file mode 100644 index 000000000000..cb1e5e12bf0a --- /dev/null +++ b/Documentation/devicetree/bindings/net/ethernet-switch-port.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/ethernet-switch-port.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ethernet Switch port Device Tree Bindings + +maintainers: + - Andrew Lunn + - Florian Fainelli + - Vivien Didelot + +description: + Ethernet switch port Description + +$ref: ethernet-controller.yaml# + +properties: + reg: + description: Port number + + phy-handle: true + + phy-mode: true + + fixed-link: true + + mac-address: true + + sfp: true + + managed: true + + rx-internal-delay-ps: true + + tx-internal-delay-ps: true + +required: + - reg + +additionalProperties: true + +... diff --git a/Documentation/devicetree/bindings/net/ethernet-switch.yaml b/Documentation/devicetree/bindings/net/ethernet-switch.yaml index fbaac536673d..f698857619da 100644 --- a/Documentation/devicetree/bindings/net/ethernet-switch.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-switch.yaml @@ -36,7 +36,9 @@ patternProperties: type: object description: Ethernet switch ports - $ref: /schemas/net/dsa/dsa-port.yaml# + allOf: + - $ref: /schemas/net/dsa/dsa-port.yaml# + - $ref: ethernet-switch-port.yaml# oneOf: - required: diff --git a/MAINTAINERS b/MAINTAINERS index 3b6c3989c419..d98fc1962874 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14326,6 +14326,7 @@ M: Florian Fainelli M: Vladimir Oltean S: Maintained F: Documentation/devicetree/bindings/net/dsa/ +F: Documentation/devicetree/bindings/net/ethernet-switch-port.yaml F: Documentation/devicetree/bindings/net/ethernet-switch.yaml F: drivers/net/dsa/ F: include/linux/dsa/ From patchwork Tue Oct 25 05:03:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 13018479 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 59653C04A95 for ; Tue, 25 Oct 2022 05:09:10 +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=GWjgn+3a5eElDmNQcRiLE+0Zta2pZ7fvJVEr1tluy4g=; b=C1FHfU5XTRloHr uE/qNcGWCoR17T7p4h47S78KwdWsEOmqk/9PzaED2owATiksF7zEqbNd5qnJnHlWQMCK14J6ivP1b UGHHr7wT164qe1MxCimFsT1315ZzVMldxN9lb/NV9auv2fX+oTXBDYIXTViCfOilBlJu91I4oF0RW O/q/0xhCHNVNP/2UzeBwhsWtXMZWx80PAR3XQpdfMNIcVCEUNpaOlrW+nFRYb/jPh8oU+d//YQQjY Cxn3MzpbIBdyIbK8Fg97swPo/dW/is0tgRvcVKbB0jGKOGCvMvPzOGzLxJMV+KOxX1l3p8HrvmPJ4 pH05x75vqDlAi4C6iJoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onCAH-003rdK-Du; Tue, 25 Oct 2022 05:07:51 +0000 Received: from mail-bn7nam10on2138.outbound.protection.outlook.com ([40.107.92.138] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onC70-003qK8-AZ; Tue, 25 Oct 2022 05:04:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nhiJPGWCWa7BtLggjsdUDB+gOGK3y2gQVRmBld29mIQOFP/84uV+JMYTALU+hzHqhCAXE1J57Rj9Q4okVVncbfPsq1Ks4tp+MosE1rVFrcxug9tPpMLxd9b/1DDr/xzrPsGJNG5dNxUrhtgflSczuhcOUuPAYKvy4XXu8d+BAMZkrId7mm9ANkt9+i9+rmCSRuSoIC9z1/rM35O1z00Iw7nxuVfSMzB85Mpu8LzqC8On9fuI0+VU4GH9G6pHXyWn2TBVyx/TZDhEU2Gv+1YGKBgzGZTVH9GNXZ6blFUlIyYTfH+YLNu2AhavTBGuOr7/v/vNigsAejOfl+f4mjnO4A== 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=fudBShBBk/xD0KNTerxpLoJEvQR4+BWbRR/rGO5UH/g=; b=T2FE5rnYb+oqQdpdKuNX0TfQHvwG5Rv51KTgM2g2lZBAJiKOEPec2wA1OvlMjFdTzgHj3q3bZtjd1TJeAETKLpUKd6BvdFLqnS/bXpkf5BMBBcuxbGW6MhuwSc+OIoxDm3uc/gBDOofpVYtAs3c8dHO+wfF3RI3cQYiUEFMxKLKyGpni7+6W7xpyxgUViM+qKNkdAyCKPqYmWH9fc6Mv5QjSBGlLbCs2tOXITLCSea0zkIcaB4pmEjMaIuaYsgICQz9IsRs6iQV2fTroz3PYzT9yJkJ0MRD3TFnD2DeX+FSOwE6Wji846ks3DKaqnQMFeQf8z1qPb5Yt8gWZ4H8hZQ== 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=fudBShBBk/xD0KNTerxpLoJEvQR4+BWbRR/rGO5UH/g=; b=lMU9L2O0E7NJJjussuerUzthErRFzo3rEVoNBlKTOEPWdzzdy4cWJDtOCh037SXYt7ch4qnyYTzaiaaQgGhQJqHcUiGy3rwlW8COAYCKxZ1jeToQFFLiOnoQU0jZHJieqvm2Xmt59QlrvVAlnMOqo8W6JrZ37wFnpKwDK9E1rbc= 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 DS7PR10MB4989.namprd10.prod.outlook.com (2603:10b6:5:3a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Tue, 25 Oct 2022 05:04:20 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492%5]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 05:04:20 +0000 From: Colin Foster To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Alexandre Belloni , Claudiu Manoil , John Crispin , Sean Wang , DENG Qingfang , Landen Chao , =?utf-8?b?bsOnIMOcTkFM?= , Matthias Brugger , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Vivien Didelot , Andrew Lunn , Krzysztof Kozlowski , Rob Herring , Lee Jones Subject: [PATCH v1 net-next 7/7] dt-bindings: net: mscc,vsc7514-switch: utilize generic ethernet-switch.yaml Date: Mon, 24 Oct 2022 22:03:55 -0700 Message-Id: <20221025050355.3979380-8-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025050355.3979380-1-colin.foster@in-advantage.com> References: <20221025050355.3979380-1-colin.foster@in-advantage.com> X-ClientProxiedBy: SJ0PR03CA0189.namprd03.prod.outlook.com (2603:10b6:a03:2ef::14) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|DS7PR10MB4989:EE_ X-MS-Office365-Filtering-Correlation-Id: daab393b-7e06-42a9-ee82-08dab6465ff1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pPM/BZ3dsxkXEeP0mK+9cC1HL3QKxw2osbzkwwGvW4GN609wP++e5o3yZmDE/263aNqn4kzmOzuLPiqsr85oP0BTPllDbQq8bcCLyt0F1dDGZ936yhPrvlmuk9Bx3JGmlz9PbWqAgUp6ILWLw2g3m4l/40JeIIVZ4M2AUihJ/MCkdKBuaJ9RLJFFcQyPH2PHjB/pnDnUgFfRwn6WAucUu+5Ykgi7JE7OEDPx5wwBkIgV0JBwviBARP+FX4aQ43MvnwzCJDJu+2m86VSVtIG1cvbpAlh3z0TLlz8dNbgjVVYkCbiM0aUx1oQ9pMrzppWVcs6BDOVBSdmEiRdZVfvVacK2vosF+Ea2xGFxq8YX473DDeJ15iBu+FU0OKLbahjzEvd/Q25xTu1GMRyjfU0tgcPgr14WZcEZX9kEhsVLcK+WVygjnW6C5savzjSbjeGQ59oCJtHt2fi7VwVFQl1JcqgIIrb2jchmcmNR0Z5TvkhJFTA5zuumrXEhRFeEROV1pKhMePe3G9/fVPJ2QPFAJwKlFn8C6AJAG6TPJJL/uBC/kcitxpELBxgXBorrpY4/xWpiJkoR2xGG5Jdq0BrAvGUj1io0BNxN7ZHXRrS48vuEVSftMHhnMUn3THvxoJLwnqBmo5zh2XdlTRnwBiYN6gl2eHy/0cZmlAODQ20Cn8aVt/GpOV7lLnAZIISWLvNzVjVdBiFjDkaY2UcEmSew2wdKr3CMT2jdLdCVsN0RBVc9qrLfPFoCZQy9MXF/FFzNjRPFsCfy6CkADxf1/0AMEVsXXEf68QYR2/QoBPjWLZ8= 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)(366004)(39840400004)(136003)(346002)(376002)(451199015)(316002)(52116002)(66476007)(6512007)(26005)(54906003)(44832011)(36756003)(7416002)(66556008)(4326008)(41300700001)(8676002)(66946007)(86362001)(8936002)(5660300002)(2906002)(6666004)(478600001)(6486002)(83380400001)(6506007)(1076003)(38100700002)(186003)(38350700002)(2616005)(41533002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WwMDwQQHFBqkAalY5dg3+elGEauzzZ0z6L9/F9K0CB7NemFlhqPWJ6udd9rrnFcUJCM+dTQmsQKjBIiZl4dQqMTFJHruFWhTL+S6BoQatOZhcbpwD3rTmwW+QM8BlK0VsM6zGlqMZ5sz0V75ZYQ3//WC4FizoPxbjPMeeqMA583/wtgiWyhoPdDets72Uz2u+k8pVbxhbUHMHl893fQ6hTjXJ8DWiMe+xFqwm5KGTXAEew7B2TzE6peQQ5+fBiBdDhqtoHVjMqU9tQQsREOAXr4+Enym/svUrcR1DtD8AL5bO7IfbubN7ALPj/JZFw9RHYBp7GAabrRR72bL06V21ED1BhcIlbPPRettGXjoBF3kGyaUywEjJyBBUOimSBtBLRkfCBuG7xlKBfOpAhNVe/emii0j6lSJQxQN3/kl/D6yw+BUWLTx+pRnoi58YJTby3ij3c+dQ6ifFVillH6vAfXHYVjavnPXxHV64VDN5j4UYZxdeqmW5b14mN8au0Lud0H7YPhdM6rR3b+UMJpG5B7ytNgcMz0K+rxsVoOU5h/Ym9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-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: daab393b-7e06-42a9-ee82-08dab6465ff1 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 05:04:20.2034 (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: 5o/c1a5lfNJetzDBObcKJ43SfdUHFSBUvmO+POQ9bHbhth3b7MqHFSCAQaHQR37RZtzTEFHeN5HapZ3zwktx10cPCPu9R1yAKWokXDgDgXQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB4989 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_220426_442024_C0990D5D X-CRM114-Status: UNSURE ( 8.98 ) X-CRM114-Notice: Please train this message. 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 Several bindings for ethernet switches are available for non-dsa switches by way of ethernet-switch.yaml. Remove these duplicate entries and utilize the common bindings for the VSC7514. Signed-off-by: Colin Foster Suggested-by: Vladimir Oltean --- .../bindings/net/mscc,vsc7514-switch.yaml | 36 +------------------ 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/Documentation/devicetree/bindings/net/mscc,vsc7514-switch.yaml b/Documentation/devicetree/bindings/net/mscc,vsc7514-switch.yaml index ee0a504bdb24..1703bd46c3ca 100644 --- a/Documentation/devicetree/bindings/net/mscc,vsc7514-switch.yaml +++ b/Documentation/devicetree/bindings/net/mscc,vsc7514-switch.yaml @@ -19,11 +19,8 @@ description: | packet extraction/injection. properties: - $nodename: - pattern: "^switch@[0-9a-f]+$" - compatible: - const: mscc,vsc7514-switch + $ref: ethernet-switch.yaml# reg: items: @@ -88,47 +85,16 @@ properties: - const: fdma ethernet-ports: - type: object - - properties: - '#address-cells': - const: 1 - '#size-cells': - const: 0 additionalProperties: false patternProperties: "^port@[0-9a-f]+$": - type: object - description: Ethernet ports handled by the switch $ref: ethernet-controller.yaml# unevaluatedProperties: false - properties: - reg: - description: Switch port number - - phy-handle: true - - phy-mode: true - - fixed-link: true - - mac-address: true - - required: - - reg - - phy-mode - - oneOf: - - required: - - phy-handle - - required: - - fixed-link - required: - compatible - reg