From patchwork Fri Jan 27 19:35:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Foster X-Patchwork-Id: 49615 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1009479wrn; Fri, 27 Jan 2023 11:39:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXsZA1W3P7rxlwN/lX78QBWP1GegS+6F3QZ4PQGQoxE3A+RNVXCcfzMZt48slNBzQoALx3Io X-Received: by 2002:a17:902:c401:b0:194:dbd3:f571 with SMTP id k1-20020a170902c40100b00194dbd3f571mr39968860plk.35.1674848382863; Fri, 27 Jan 2023 11:39:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674848382; cv=pass; d=google.com; s=arc-20160816; b=yNAiYnbMrpm87HRrb4nOxcIuYngKJRUJTi7MTFMdWlnwzhLmfU2RFKQ+QfyzSqf7Vf 9wtBTxiMKkH3DwUKvWYyjj4M0VZZ0HK9TbcYDujvSlhQX/EcV4PtubZM9rLVs8E+hAJ8 DF26ZUhWaYKq2ZPmhN347o2FCRKkf3VbePqK1+TQsr+ptTCnEEstLJVEAEqURowQ4kOW a90RMv5OUKH0Rs6Bkev39DBvBZZWbtoywSyuWySSlkBlRCAFdUkn958+e+ZYc4X6s+VF z/UDLaZ8lx1KgyLrQ536C1/mLnumY39LPX9kUBZCMM8OPSH6RpdKmmlIxfdrJO3LKOoO 0Z3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RdhnVSCLNmHkgWtUzcrvMxgOXOh7kZaU3PvxcLyzANo=; b=AvHgu5DlODngFdOGB8SiLOjhVdii9fHf/JfnM7KzPivvUdbhSaKoCHhZGAM1tXpXDW hcRsCZZIznQeSUDti8Q8avvCSVeghJqIqlI5e/tPdL+hrdKFHPDUw5e7Jn9n2Lmn+RGV S2A1oWaG7+flXkQmf/13BFmcOY2ISHQPEjluP/kbhQ5p1gVXi1Wg/5o3MdgXhRV6V+hd pXn0gIGsDTivuejjY+C8AW1PHzMYw1JIbiv5eD8M4iUJnIF6Fpgmhn2d7aaotA4k7wOL ocnLRdm5167i1QdLu7ichQ9uBDYwvCBK9cMiZAz30VOG3eVNMcvz9n3kjhVPkf5m/DOu 8uFw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=ZhUlGlGM; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ja10-20020a170902efca00b00194b62f7147si5063724plb.345.2023.01.27.11.39.30; Fri, 27 Jan 2023 11:39:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=ZhUlGlGM; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231670AbjA0Tii (ORCPT + 99 others); Fri, 27 Jan 2023 14:38:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbjA0TiT (ORCPT ); Fri, 27 Jan 2023 14:38:19 -0500 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2106.outbound.protection.outlook.com [40.107.93.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6F058A557; Fri, 27 Jan 2023 11:37:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e7atpFT0xTmf39gzKjGOlX+EsLmkfU17dHTYU+s5EktfnpreZZSH46En7uKN2ZQO64Q6N6qa/J8xJXv8HAz5qULaquZNI94DeTQNBaZbzKV90nOpJKN2x3nFEyoscTd8LzYR4hiLd5OJ8LbcxJYRKF8PJvHV5xltGgcPsLCwolq67yVVzggs4fNYhXr3gBX+FkdcyaXj1NR6FqltQjnihYWA9qv9cGHNboHNDgAmX14Eeu+0eDP4H5kGQk0LJgqkSKITpt5dn7wwvj9MbqJDRGJD7t3fyySDgn0Y4QOqC2I+VnOoE8JrSpIdfbfAb1TjSgUbMXh/rGOEapu6IibV+A== 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=RdhnVSCLNmHkgWtUzcrvMxgOXOh7kZaU3PvxcLyzANo=; b=B+J5EVgckdzDNjznYxfyhT9hIvEleurbbifQLPExjn1vO6pb7nl5b27QbXQlucbeHgthMbuXo1RY6pdOlZo+yP9MWFn1pOww/tJX/NLQo2Lp28MjkCKQH5uitZXd1XW8bGgIo1jlGPuT6fbzB2xFpHNQVYWyf46dA6aXtejKubVoQ3H126l/mGsqVI8F6xOiWuBQjl+obRJqehmnhWQvZj8sBB8RiH6HF+F70NpkFDkehJ4Dl2TM7bR06GG6lFL8BSRlLz62tGayRGuWj+kkEQd9FCNFLeCHNugRl8K7ZJJ0muoxnqWNz/rUcJJHacIP2im09P4+PYG7f7jv8VBN2w== 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=RdhnVSCLNmHkgWtUzcrvMxgOXOh7kZaU3PvxcLyzANo=; b=ZhUlGlGMd5YJpW7bjwScl5W500OXuuXXj14Gf40OTSaBrpPHcZdV1JCPQPy18h5G+Mh7Eox4rvuThnUEXJ/WwQg+SHDkQs3BmOQFyf+MYN1lA3i+dq+bzfInGeuQqQRl5CyOtWHL+IGVcSawTwKvT6hjp3qnvN1fMH1X/ZOUBnU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from DM5PR1001MB2345.namprd10.prod.outlook.com (2603:10b6:4:2d::31) by SA2PR10MB4636.namprd10.prod.outlook.com (2603:10b6:806:11e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.13; Fri, 27 Jan 2023 19:36:30 +0000 Received: from DM5PR1001MB2345.namprd10.prod.outlook.com ([fe80::221:4186:6ea3:9097]) by DM5PR1001MB2345.namprd10.prod.outlook.com ([fe80::221:4186:6ea3:9097%7]) with mapi id 15.20.6064.010; Fri, 27 Jan 2023 19:36:30 +0000 From: Colin Foster To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Russell King , Richard Cochran , Florian Fainelli , Andrew Lunn , UNGLinuxDriver@microchip.com, Alexandre Belloni , Claudiu Manoil , Vladimir Oltean , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Krzysztof Kozlowski , Rob Herring , Lee Jones Subject: [PATCH v5 net-next 11/13] dt-bindings: mfd: ocelot: add ethernet-switch hardware support Date: Fri, 27 Jan 2023 11:35:57 -0800 Message-Id: <20230127193559.1001051-12-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230127193559.1001051-1-colin.foster@in-advantage.com> References: <20230127193559.1001051-1-colin.foster@in-advantage.com> X-ClientProxiedBy: BYAPR02CA0011.namprd02.prod.outlook.com (2603:10b6:a02:ee::24) To DM5PR1001MB2345.namprd10.prod.outlook.com (2603:10b6:4:2d::31) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR1001MB2345:EE_|SA2PR10MB4636:EE_ X-MS-Office365-Filtering-Correlation-Id: 0ca9c652-f4d1-4e2c-d1ad-08db009dc9f5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z9cc7cJAXn0hi5m/oFOjCFCuf91vVdYqP6aT7HSWp6kh8HKtxkHOGAy5httTjXTHhsyTSrcVRTPbDZ0BH6SpUKYsU0mXDY0KO0l0Vd8uYY25i9SUnQveDKyIbNCjRrSlNWt3mQwu1RijUrWBRTBlM3n9PV0YPCmPCpRrXmKPMbTJkOVzNZaRdaoU8tzbU9jpXnfLtPWs7KrzayC37F647sPdaGvR9Fq4zXJywfWN2d5uuv/5n1uRRUoQJf913NuMAIkZ4gcCdWlbYhMjh8jqFhuGQ858awpM5/kgEhdfkWiWONsb3CNKn7pp6yS7M17+DUnhvwa+Cu2yith3qJbk9iCCTTEWBofuaajb0Su3P/VCL0uAq9F8+l3Vjk5f0NrwcoTZGGMOtbdtvuttdVP6/h4jS0wm4KxOwe0DB+oDncyBEOtdvYO34CWP3QZAD2fICM6mepjvrd4NXmCp/JqFtKLgpq1dPkFPj34/oILBZv+XAGfKgmnpw86QXJWMBE59/sZeqnekeqcndIM5IrA8fFU8C6DhgAASCHn2RHGFVdy9jcwd+AxNrOTcqWtfqvO1FUAPCN1MRwe7cXdFapElkgSrFptBUGObNNPB9JUmqC/ba+h/3YAIuBg/oDr9liIroN9ZxNwXELzxBJSh2x18ywV2rAcj46Wl2rHvNb4TjxremF76hD0i07JM+FxKb67MRWSJLYCQm3YjDHeTVdojSg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR1001MB2345.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(376002)(136003)(39840400004)(396003)(346002)(366004)(451199018)(36756003)(86362001)(2906002)(2616005)(6512007)(26005)(186003)(66946007)(66556008)(8676002)(4326008)(66476007)(52116002)(316002)(54906003)(6666004)(1076003)(6506007)(6486002)(478600001)(38350700002)(38100700002)(5660300002)(4744005)(44832011)(41300700001)(7416002)(8936002)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mrG/4MMMcUWqWKvNnvFJHF7WodAItmu4VydDgX1HaFw4BJ5pBTrUpd50dLBdcjMRxACDyE6MHc1UMrO8HYA7vtLBiddBZfZSYJf4pSnqW23gsXxIPRGsFZ2BnEr00iuqtuqF6Seo5YPzwy4dYntQOBM3N31iZP6Yy78aXpB74eAQnjaWuT7pdYf9Y/8ov998yNmGfcf2aFoJDWTy8bybeyYPhh645jd+M04+kpmZM4AQ+MDX5Jbz4D7/gYWWVRfoPohUAJrp/3mTwov53NullqyIRbOkXaxz0Z7Fa0ui3WVELIVHZ95PjbbehangqoVvZZ+E1R6z4unFJ15wvUtcCsczeQ8BA+AHwhmeDU8lGdCUuQdrvBgWvJ08T+NNWMujL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oJf2RVG+XuYukdP/OeffTCVY22PrVy3T2KtoXFYUVGso+IkJ9d5BQb+pYkiCDNshu6HsIO9bSKBFL5sGNd4/mh6Mu9mDtQ7iNZYC18xe8lv4vMSi3tR65ywV29sGYNdeIEpGtYZkt/XyVWz/j2XcSvuo9Dp39fLoeosN3PIcKmIaX2k= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ca9c652-f4d1-4e2c-d1ad-08db009dc9f5 X-MS-Exchange-CrossTenant-AuthSource: DM5PR1001MB2345.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2023 19:36:30.3440 (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: 2LR607aQpoDuhaGtZKl9lw1FzHjBkuwLVz/KBRzFvjiC2HWUiA7xkSrb6zXsU+dnuIOelXFAjuq6zXPRLLRARJu5XwTUNyzfcmWLZ/7rmSM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4636 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756205817891711354?= X-GMAIL-MSGID: =?utf-8?q?1756205817891711354?= The main purpose of the Ocelot chips are the Ethernet switching functionalities. Document the support for these features. Signed-off-by: Colin Foster Reviewed-by: Rob Herring --- v5 * Update ref to mscc,vsc7514-switch.yaml instead of mscc.ocelot.yaml * Add unevaluatedProperties: false v4 * New patch --- Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml b/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml index 1d1fee1a16c1..8bd1abfc44d9 100644 --- a/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml +++ b/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml @@ -57,6 +57,15 @@ patternProperties: enum: - mscc,ocelot-miim + "^ethernet-switch@[0-9a-f]+$": + type: object + $ref: /schemas/net/mscc,vsc7514-switch.yaml + unevaluatedProperties: false + properties: + compatible: + enum: + - mscc,vsc7512-switch + required: - compatible - reg