Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7862562rwi; Mon, 24 Oct 2022 22:17:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7rqv7vB0PXhaoqEUuZ2egRBLuCuHsOEXcHOTxAizdE6aUWUizYLu7jsTc+sYTC995BIkSq X-Received: by 2002:a17:90a:1c1:b0:20a:e745:bc30 with SMTP id 1-20020a17090a01c100b0020ae745bc30mr80617650pjd.131.1666675052136; Mon, 24 Oct 2022 22:17:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666675052; cv=pass; d=google.com; s=arc-20160816; b=hpo33sy+FVbGSIeWi9j3jQg2OATDev4LQStVyGrV0HXohzggPcmybmyWkMQLpbU5dY 6Nng67OzS/Q3NVQVs+KTySKlSXwLj5VlKv47WQeuXAsycjZJZN4pDxvfkRn0tJVDwgWv giI1g3xfZ5sctzNKzSN46xAfIeXY9KjsxUVwOXv22jH/pwbS37/OHE5KL3dvgDFrKJC8 LKxfzZgYejMwI/mBx0PZvqar8GFo1kQ4ByDq/AYt/maPdvRfuz9KlnmcoHoJ3wsuRYwS BWdKkgSMjbKIx6IlvMaIsZd2E72Y/4qALQBj+91TvBP/JeeLKomaZ0mttTzl5op7dYT5 XLag== 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=fudBShBBk/xD0KNTerxpLoJEvQR4+BWbRR/rGO5UH/g=; b=thnxQlw9F8m1dXRa/GeRhM2QuNYSA4nRYjtjKkZ3gw74UKEaHild9hbpB9JSWzUoRK nWIXdoNbYw0wReBZ4FK/4sxTrDoOahJhqkJ4vDtXmay8G67hB8eRYiQcFSk7dsaR92qN 5t/4rsoYuo/AZF/31JGhRv7K0p7nmGdmRZffILvdaOMs/ClnR2G2aNGRqeJkubCRD04A HmBMaHQp5RZ6zzB6t+S+M7WnbSRhBAk8ST5Or5TRp2uXX5wy7nYpZ/0wWQOoknkxHukr /MT4nBY8EQolvpqnwFqzaeguJrihfqx4/O1p/591iPiGwmsGLpx7ZvztDFLSlV0FsAeI XkjQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=lMU9L2O0; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w3-20020a1709029a8300b0017f863024acsi1601241plp.235.2022.10.24.22.17.14; Mon, 24 Oct 2022 22:17:32 -0700 (PDT) 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=lMU9L2O0; 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 S230182AbiJYFFl (ORCPT + 99 others); Tue, 25 Oct 2022 01:05:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbiJYFEw (ORCPT ); Tue, 25 Oct 2022 01:04:52 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2111.outbound.protection.outlook.com [40.107.92.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71AC310B7A4; Mon, 24 Oct 2022 22:04:23 -0700 (PDT) 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?q?n=C3=A7=20=C3=9CNAL?= , 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> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: =?us-ascii?Q?WwMDwQQHFBqkAalY5dg3+elGEauzzZ0z6L9/F9K0CB7NemFlhqPWJ6udd9rr?= =?us-ascii?Q?nFcUJCM+dTQmsQKjBIiZl4dQqMTFJHruFWhTL+S6BoQatOZhcbpwD3rTmwW+?= =?us-ascii?Q?QM8BlK0VsM6zGlqMZ5sz0V75ZYQ3//WC4FizoPxbjPMeeqMA583/wtgiWyho?= =?us-ascii?Q?PdDets72Uz2u+k8pVbxhbUHMHl893fQ6hTjX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?XOKK7TD1NizHM4WhOKnUVckrx7/I/27v2DwN3s3lj0+Yn878+Ob2PqBFtmn6?= =?us-ascii?Q?g8oV3Xp1AsGc7bfRpMUuGxU94z+T+jgRBZQke+lJkhWGOivTtVh2+ygM341t?= =?us-ascii?Q?7hADcxenYjCCcZvkfxcp6pCIIRWtpJnVJk8e4sM3y2XTqRve23yja922BELU?= =?us-ascii?Q?c4/rpK6SlWjCkXj9+91fUynzmvg81ZzjS7htf4fMQmq/f7y3yLune1zX5jlK?= =?us-ascii?Q?p9/2WN1u2KUtw1HX3I5QdMFqs1/47Z8cMECu1h/2tFRsgGKmgn9QJZbtqo5A?= =?us-ascii?Q?cWKK5onDXYjCeaBJfGejVfsVW3hv78zLvDpa8TpxTAWat+c31R9PprTBc5kd?= =?us-ascii?Q?1mrQRZjmJODB8XZExzonDpRVSYLytYhd3XyOszQj1YFmDi8bT59OdyqaOiGZ?= =?us-ascii?Q?kG/PFFbL0slH3xuuRWlOy5NYf2e01ZDESrZWOwnu7vwHhPk5g+TZ2glndmqA?= =?us-ascii?Q?11PwEw8Ef1oAG3NOqCzRjQa0GiKe/8BErGYkFs6MEZC0gUzzU/xkfiBhU4LT?= =?us-ascii?Q?yg=3D=3D?= X-OriginatorOrg: in-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-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 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 -- 2.25.1