From patchwork Fri Aug 23 23:06:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tristram.Ha@microchip.com X-Patchwork-Id: 13776115 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2072.outbound.protection.outlook.com [40.107.237.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D7B55FBBA; Fri, 23 Aug 2024 23:07:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.237.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724454424; cv=fail; b=bEFaNcUT9UDER8pO2lQWOs5hOAaINYUggjAzkc85aiMboFcz5oI9H0z43ezL2tDGTAlooS9sQFPu4Ou3BcQWZiBkHjnv216Bqhrq28AMgs8spNI72VkdRoHfv4H2IaOqOYnvSL58e2ukCZOt4wdL2p4cYjWAnS4PcrlAcAluIg8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724454424; c=relaxed/simple; bh=iLPZd9rfJqKdlPUvCM/+Pd8FJkbogx2pmVb3uDt7w4U=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=bE5kT+2tSRQfdRN4EAUVzjVVJLIL9Bay74exEuDCVzdWODPTBAHaVfnBJAKDfMEUKBmndgvFwoFx3Vz2R0FOPbkNNu9CLW9C4CmcMP/hUwqnjGl8/0FFtuisRmmIYT8eTuYpxAolkjl2PyB34dWCdU5USOrLaTtSA/G6ljF9I30= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=XhI1g9s+; arc=fail smtp.client-ip=40.107.237.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="XhI1g9s+" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=RrduIid3m1D0mEkz1T694pVV2FEwEWAHZNVCz1us3a6d63RTyqClkS3HXKu2mbKpJ3hHDbTpNYplpJqMg+DcsfSCpfPofiN6fD2/Hc8q2iwhZtO3QzoQmNMFvr9/EasSkQ0jJew0sqgE34jeVUmuTrROSIQwiiBe6r9C6aeDz2TLuUiVbaKkHaoqP8N005FiNJpWlgO6MykbwsVt6K7DNWW/ASEpuB0IDxQzIstbfg1JdVkVfgPfl6Hr0yR7r6egvEOTR5mKB4s5aeaujCYic2VDorwEMMInswgEEeEcFQ5v1sqhrQJylKGgielhrHS/cH+Joe+LP6IEMDwa5SZMWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=GP9WM/Rr6ro+AJnwfXN9GuzTHxLJ1O2nwml2hVPKUb4=; b=xdX3lhiTZIHRYk3dxTHJg7wDsyx3xRe5Y/+jVzzzEba74dMFbpPxnDxv6gY3ERY39Hz+FInGA7qYbc6eT5O87ZbbgvCkGMsmw1jX+z4vsxxsfI96GyyNFrazVyj1hxX3CYFwBNoIg6LNr25sb5f/Priw+VKZ81ubgPvZmrtFDpifOtsK3oBt5QGqyl2rdJgvZITrtsLEJo1pdRnqAFmZi+d0X3FZ7/AOe8tm6aUeOrLdhykxDLerwRW3P/6vuFH/lk6iP7ofUMWj40VFaojdsI7JjKvwLdnH0QFx1WXs9wFkY8NPacDSJZxHhznlpQn0Zf9tAXdwVAO2XTEBEQGu9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchip.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GP9WM/Rr6ro+AJnwfXN9GuzTHxLJ1O2nwml2hVPKUb4=; b=XhI1g9s+/kGrB6v9+bX+uDSQTWUu1E5SBLdEzIqv+A2Ym0+v+0OGBnQLTxdT+GaarBl6ByPeGc+jt1Q3R412VFoeUOUdalsNZT+Toudn9S2I89RstM8qe1gLSr40TAj/YC5aU09V4Vu0GQTtyAw7LSIpl89twXUwlsP0qqlbgWjdlWvSxZc9cE0iWihnHrbXXSq4V2UlLQ6ZI67OoVbMUAedz6D2+1ze7zy2ZUrqXfLCxF0C5G4FA3iaVv0xBzWggC3crD6R2RQTK6L2rMVrHp3XSL/z3nj2yOOGldks9NxukiaH6psHoo9tjFiAib8uozkVslLlbWBgah5ovFGtdA== Received: from BYAPR11MB3558.namprd11.prod.outlook.com (2603:10b6:a03:b3::11) by DM4PR11MB6526.namprd11.prod.outlook.com (2603:10b6:8:8d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.18; Fri, 23 Aug 2024 23:06:59 +0000 Received: from BYAPR11MB3558.namprd11.prod.outlook.com ([fe80::c03a:b12:f801:d3f6]) by BYAPR11MB3558.namprd11.prod.outlook.com ([fe80::c03a:b12:f801:d3f6%7]) with mapi id 15.20.7897.014; Fri, 23 Aug 2024 23:06:58 +0000 From: To: , , , , , CC: , , , , , , , , , , , Subject: [PATCH net-next v5 0/2] net: dsa: microchip: Add KSZ8895/KSZ8864 switch support Thread-Topic: [PATCH net-next v5 0/2] net: dsa: microchip: Add KSZ8895/KSZ8864 switch support Thread-Index: Adr1sFbrci1dpjpITEuFvTjetQWXJg== Date: Fri, 23 Aug 2024 23:06:58 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microchip.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BYAPR11MB3558:EE_|DM4PR11MB6526:EE_ x-ms-office365-filtering-correlation-id: 4ee92c20-5f72-4754-1cfa-08dcc3c84a36 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3558.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(7416014)(366016)(376014)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|7416014|366016|376014|38070700018; x-microsoft-antispam-message-info: 2uPRaP7zhAH5WllSIXlq7hdOn7O7efdDxVVlWIy3W5do6Jlmkx8VLr+4WW20pdfOGvll22OBhdJn9NRpCoRwUQWxy1YwTPb6XFsxbVu10yu6vMmCzM3OAQhHoDz1r4K51K89tWXQOseJWoDnU5WbVdcOjcs1Nd5mpIx7EhPmwRRD7Nmef4/mlP4t3kEBbAvGZea08eKmNQVNDtSt3FLB04FhIg/CjhYHFbQkRZy3BPbrke/LqKEKAdTAXAGlSJWHJxJWatazAmdzdgiDyHKMCHP4SOipdLfQXj6qiSKCapJrJ7jWGpl2iY5uv8ZZC+ztWPLM/JDbw+pp24QFn8VVwgzIsKJO/NcPVz0/GgrwKm9V/cu38SKA4bw0gOMTDY7+8smRHYNu+lcYe6jjqmi/QatrkgJif7V+u/j9cEC7ZiTQ5OdUKQvTqHUX6dpyr8SY1hjrSHnDsKyL/4Z5miVq2QgekOrkkRMrpubP7HH3kv7EZ7pOizFuK9WEQnms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dbdS51kW8bP/Y/iR1IrdgU1rBKxAx64oI9vgiVdo12CP4tnitaFaMUH78ag4K6YutRasVjgMBt4891ScwkXJ/agn6fYU/VJXJ7C55O2Q4BmgIN9wc3f0N2xdIYjkQXH54VarbTeQvjzmx55WyurNZG1KXC4Ausl18Al3tqHsHmXxZnIXU4Ap1XQJvNHI7hedxwRXDIIygB8VUsh/07KDh63M72Yq2Sxxvst/Uij02LIZGYcujwoCfxLUNFdsUdLO7UadmcthvowbKo6Z7IzYtIACDCULnZ6S0c3EQB7BVyPOkpmJRocKH4wOnLAZU5Pa4ro060sq0B1p/S/MLdJ2xSWWbN+ym89q+J8PRGfIpJP2lFyqqtyFgq+PYFEqQzlmtM6oVuwNKPd8Jic0bDvQhOz0iXTNZG48Yr08tzbEtLvErukwLmXgj Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: microchip.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3558.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ee92c20-5f72-4754-1cfa-08dcc3c84a36 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Aug 2024 23:06:58.5249 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: p06iyrzmw+FBzX4oJzk6MNY6QFjJ0clj0uSSU7LrQuQrmwnY8AuaiCT/zMPon0HWtHhKhtBCbPXS550MdgSn9oIf3kw/Iv+N+9uB1G9ZGv0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6526 X-Patchwork-Delegate: kuba@kernel.org This series of patches is to add KSZ8895/KSZ8864 switch support to the KSZ DSA driver. v5 - Update with Pieter's suggestion - Rebase with updated commit v4 - Update with Paolo's suggestion - Sort KSZ8864 and KSZ8895 behind KSZ8863 v3 - Correct microchip,ksz.yaml to pass yamllint check v2 - Add maintainers for devicetree Tristram Ha (2): dt-bindings: net: dsa: microchip: Add KSZ8895/KSZ8864 switch support net: dsa: microchip: Add KSZ8895/KSZ8864 switch support .../bindings/net/dsa/microchip,ksz.yaml | 2 + drivers/net/dsa/microchip/ksz8795.c | 16 ++- drivers/net/dsa/microchip/ksz_common.c | 134 +++++++++++++++++- drivers/net/dsa/microchip/ksz_common.h | 25 +++- drivers/net/dsa/microchip/ksz_dcb.c | 2 +- drivers/net/dsa/microchip/ksz_spi.c | 15 +- include/linux/platform_data/microchip-ksz.h | 2 + 7 files changed, 180 insertions(+), 16 deletions(-)