| Message ID | 20260514024014.3376511-1-thomas_lin@lecomputing.com |
|---|---|
| Headers | show
Return-Path: <linux-i2c+bounces-17504-incoming=patchwork.ozlabs.org@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org; envelope-from=linux-i2c+bounces-17504-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sea.lore.kernel.org (sea.lore.kernel.org [IPv6:2600:3c0a:e001:db::12fc:5321]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4gGFng3wttz1yLk for <incoming@patchwork.ozlabs.org>; Thu, 14 May 2026 13:15:19 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id CCDB630477C9 for <incoming@patchwork.ozlabs.org>; Thu, 14 May 2026 03:14:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70C2231328E; Thu, 14 May 2026 03:14:52 +0000 (UTC) X-Original-To: linux-i2c@vger.kernel.org Received: from CHN02-SH0-obe.outbound.protection.partner.outlook.cn (mail-sh0chn02on2095.outbound.protection.partner.outlook.cn [139.219.146.95]) (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 6493C3F4112; Thu, 14 May 2026 03:14:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=139.219.146.95 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778728492; cv=fail; b=MGXIbiLBWSsz9vuaYLSm4NTy0JM33gD6R/OHjbAG1GeWPDkBBU8erBEn6241BsjbgPrCXyWzH6ziEWeUXFxlhj1bfLFFFauDdhjOoQxHwQgAeiM3DyTSAkVY0b7Cxg3pAxpzJmUAwc8S1lkMxB39aLF+vcrqOi/sodopKVrSlpU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778728492; c=relaxed/simple; bh=JGSuNxzbGij48M8YZKUHlmoiF37bpzCQE2uGNAd6LIY=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=n12efX6VhThujeI4sOBo0RMAxDU8tDMfT3+/sxM9tjxWpEut/hZxMydI83V7Vr+fNSa7BVtUqX7pKcoV5GJO2X4MgvkxBBlVQDLwGusMeXYG0bMsVSgdV+cIL3Lpt7O7p1e22zkNZCM+X0wKm97ibrUnG4ClR6MSxcNukqUOAZQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lecomputing.com; spf=pass smtp.mailfrom=lecomputing.com; arc=fail smtp.client-ip=139.219.146.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lecomputing.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lecomputing.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h5hol1zf5i1IKhcusHFMWYlLkXKZcDqzzW/vbxncxtVIJJfewiPjumyLo/2ZtNfS7RI9JHNMS+hUxn0k3NMC5WKC0fDz+fHe8EKXbcoj2cb8cTToZDS56S65w0FTO8n+orf+JExq3tP24CBkczqD8nkSVswlOzkpQQvNaJePwWk4j0wMCcO1cOuRPJOpzE8afebLlV6ruFUXhAJ9LiIZPAC4jwQSlgGq6l6atjr2WgranslBDz7BVmBOaCB22liufz/gQ32YAvxDzF0sHHj/UTydLjek7TmipghbS1B3U3sfd7GJJQyVxdpZgODkTt8hQzKezisYJkv/OKWvi+SKIA== 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=aX++KP/OHARrDj1/OeBHMCqSQamrp+oS/xbpbX3nzI4=; b=ktGndK4GxxgQ1S24XFFnfJ9RzyZRdt8o0f3574Nj+5E8+17OMA1EteadAwkkHS1yMn25bh1KIpBK8FDLwWZ+5kqtp5p6fzneOL4AFxuvbIUX4Rw6RZOtWHQB/0Ji48ChPbQHU3GbpLZYcC31MBzK+wFMgg7vAIq/+BefBFV1WVJp6utxQCL8iIhsYRAE7+Ul/Ju71jOKKhJ3Yr9g4Nf0/pDy4XrCYPWdEcXA6QUVOEwUYnRsFEkEx+60j2v0M7ZIbj54lGZu9HeNqcjRjkpmTTyipJnRIB9HELzkWpffLA+x4nxZbhZpTqWQ2KK9frdMQbT1SeCWIyoO/AeDxVpfsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=lecomputing.com; dmarc=pass action=none header.from=lecomputing.com; dkim=pass header.d=lecomputing.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=lecomputing.com; Received: from BJSPR01MB0707.CHNPR01.prod.partner.outlook.cn (10.43.37.209) by BJSPR01MB0754.CHNPR01.prod.partner.outlook.cn (10.43.37.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9891.25; Thu, 14 May 2026 02:40:25 +0000 Received: from BJSPR01MB0707.CHNPR01.prod.partner.outlook.cn ([fe80::1c61:86e3:3a75:155d]) by BJSPR01MB0707.CHNPR01.prod.partner.outlook.cn ([fe80::1c61:86e3:3a75:155d%4]) with mapi id 15.20.9818.023; Thu, 14 May 2026 02:40:25 +0000 From: thomas <thomas_lin@lecomputing.com> To: rafael@kernel.org, lenb@kernel.org, hoan@os.amperecomputing.com, linusw@kernel.org, brgl@kernel.org, mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com, jsd@semihalf.com, andi.shyti@kernel.org, broonie@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-spi@vger.kernel.org, lucas_hao@lecomputing.com, puntar_liu@lecomputing.com, jihua_tao@lecomputing.com, stan_xu@lecomputing.com, lumin_liu@lecomputing.com, notics_zhang@lecomputing.com, braden_zhang@lecomputing.com, harold_wu@lecomputing.com, will_zhang@lecomputing.com, aurora_jiang@lecomputing.com, ryen_lin@lecomputing.com, andy_jiang@lecomputing.com, thomas <thomas_lin@lecomputing.com> Subject: [PATCH 0/3] Add LECARC ACPI IDs for DesignWare GPIO, SPI, I2C Date: Thu, 14 May 2026 10:40:09 +0800 Message-ID: <20260514024014.3376511-1-thomas_lin@lecomputing.com> X-Mailer: git-send-email 2.43.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: ZQ0PR01CA0018.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:5::15) To BJSPR01MB0707.CHNPR01.prod.partner.outlook.cn (2406:e500:c211:1f::17) Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: <linux-i2c.vger.kernel.org> List-Subscribe: <mailto:linux-i2c+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-i2c+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BJSPR01MB0707:EE_|BJSPR01MB0754:EE_ X-MS-Office365-Filtering-Correlation-Id: 122e774a-b21f-41f4-e3c7-08deb162270d X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|7416014|376014|38350700014|921020|56012099003|18002099003; X-Microsoft-Antispam-Message-Info: ZaiIqfjUfHNTRX2fuL/dRWEpXO4k/BQOKKr2WJem0A0TbDUkeftC6VorhcX9cIatkavo9spdw75E/YgTkf07HCCYyycKkkum/Mj3Blf0PjiFV4RNn1o6spvZGB9jT3iBelfYgdhJiMbGwp36kI44NWwZ+hh9DEJ+H4t4QliENgYxHbqjhqs5c9ViiSz9uffTD3e6Sb663Vug94/w5XbdjR+rIiO7rJMK0/qWzkHKrlIwxDCJ/UuYzK2n1AqDXEuUh4e8yWreGgXxHKO8Tek04EBiYVwlvMGCMbEkJ0bAIeD3gnHFO1Q7c+HduYB0MG/8Niuw1jQspCfJ/mTtryzp7CAoeuC/p/Vqaw98RYGoRGWpHbp+ALEn26EDhizlPVDcFxV4iuTCUw6YbFcukION4mjcCkcVpt8vRECFZuod9KdzEfNFOn9NKIUvnJ7PpIhWDx7jSusfChiXEMNXqtOjHjlcfALkQeAYn69tS2c/8V6gMNab3UHVjrbkELK48FVRtqgoTqAsJmcyxQ+RcPz3cgRHLqL4IX93pfoR9IjijRWbUsL1uoqgRJ8Cm+GYB8Tguu11o5w61WIKZVVBSdAe+w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BJSPR01MB0707.CHNPR01.prod.partner.outlook.cn;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(52116014)(7416014)(376014)(38350700014)(921020)(56012099003)(18002099003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?eVAVuFIIpgZ8A9fHrwcKjFAG0uG0?= =?utf-8?q?v7RJoVphAI3gDlz8vgUk3QGLI2fH7LgysIFVtpCYd3dGcWdD4feE3MvZBExyKNaeL?= =?utf-8?q?8htWBOJdSLhXcm5YH8UEhh0/ZjvkwltPEQB+VDxcTqPvlraPEQLQYMw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f-8?q?RUcfH+QUyXKVoVo1lKj5577ugjnAxH1BGLWd13WRHqKXRtOuNw8slhrAP39/ygMPs?= =?utf-8?q?18f2I5S70CjqRC4eqAzyi3eDqQngru25PpOFjWuO2RYuJEacIw9SR8dm/1NR2xN5u?= =?utf-8?q?mvq6i5WmTqURdLvrH1zP6H6fSOvuP1Tr7d09B4dgKmmb/hiwABwgx1qUdv+P5U6et?= =?utf-8?q?fUFMIrJTVHLm/Pog2nr6vqnqoqgZLL4QUBiiG0vpdIDcZFbKI/ViRR+VCpvheZzy2?= =?utf-8?q?AMeIi3Vmnp/I9PWDbqa1vcCwl36Y39amrSbJ/Ufaz2pdXXPoHavQzVkyxpfO8uNOJ?= =?utf-8?q?/UXrZOR+8BQL31jUrLlGfX8qwpSeAh8GJF9M4tJNhxX+p6wYFKQkwF4Dz3Px4b8rs?= =?utf-8?q?vSYXwffVNQuBNl93omO/lSHWIgQPc74w8buj3vsKkd3gYm3jn+b/LhwkafeR3rKwO?= =?utf-8?q?0veaSsQRNUT4ZBd8HZg/s4g8MZMG3iVFYnC73GUk9aabeey8XcwIWoDe2u1f6MRSs?= =?utf-8?q?ipIfjdzZvkXmWaUXeMiD8g3bwDcO3ZZUtNHfeseTgSpJcpbztqG2E8CrYXdKt4yMj?= =?utf-8?q?+S+2VMCcDhYxAZNmGzzkKsp/og0lZEtQtE54dh/6LgJqF1InGgc2k4gcF1rpIPcTX?= =?utf-8?q?Txga+lVEDGmSiUufm9SkAbbsEZ4mo+sVbFfTAECKI6Sj/3VriPFI0=3D?= X-OriginatorOrg: lecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 122e774a-b21f-41f4-e3c7-08deb162270d X-MS-Exchange-CrossTenant-AuthSource: BJSPR01MB0707.CHNPR01.prod.partner.outlook.cn X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 May 2026 02:40:25.5495 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3591a018-3909-4ea2-aee8-843d5abaed8d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: X+iR+3UkZ/7gxbPaS7CulQKbrRzhBXlPZUEpYlivz7eDlBQN9c9zJLWZgo+0TxUxbkO7pSLY9Gl9oU3+XwHgXQnLG0kPs5BXirW+oUYJP7w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BJSPR01MB0754 |
| Series |
Add LECARC ACPI IDs for DesignWare GPIO, SPI, I2C
|
expand
|
On Thu, May 14, 2026 at 10:40:09AM +0800, thomas wrote: This is a v2 of the series (Mark commented on the wrong one AFAICS), please make sure you do proper versioning and changelog is provided. > This patch series adds ACPI identification for LECARC SoCs that > integrate Synopsys DesignWare peripherals. > > LECARC platforms use the following ACPI HIDs: > - GPIO: LECA0001 (V1 register offsets) > - SPI: LECA0002 (requires custom init function) > - I2C: LECA0003 > > The patches are independent but share a common dependency on the > ACPI description file (drivers/acpi/acpi_apd.c) for SPI and I2C. > To avoid merge conflicts, they are submitted as a single series > with the following order: > Patch 1: gpio: dwapb – add LECA0001 to dwapb_acpi_match[]. > Patch 2: spi: dw-mmio – add LECA0002 and dw_spi_lecarc_init(), > plus corresponding entry in acpi_apd.c. > Patch 3: i2c: designware – add LECA0003 to dw_i2c_acpi_match[], > plus corresponding entry in acpi_apd.c. You have to fix your SoB. There should be your real name and not an alias. > All changes have been tested on LECARC evaluation board with > kernel v7.0.0-rc6. No regressions observed on existing hardware. Otherwise I can confirm that LECA is officially registered ACPI vendor ID and the IDs look legit (it's up to the company to map the device ID parts to whatever devices they have properly). When you address the SoB and other comments, I ack them.
This patch series adds ACPI identification for LECARC SoCs that integrate Synopsys DesignWare peripherals. LECARC platforms use the following ACPI HIDs: - GPIO: LECA0001 (V1 register offsets) - SPI: LECA0002 (requires custom init function) - I2C: LECA0003 The patches are independent but share a common dependency on the ACPI description file (drivers/acpi/acpi_apd.c) for SPI and I2C. To avoid merge conflicts, they are submitted as a single series with the following order: Patch 1: gpio: dwapb – add LECA0001 to dwapb_acpi_match[]. Patch 2: spi: dw-mmio – add LECA0002 and dw_spi_lecarc_init(), plus corresponding entry in acpi_apd.c. Patch 3: i2c: designware – add LECA0003 to dw_i2c_acpi_match[], plus corresponding entry in acpi_apd.c. All changes have been tested on LECARC evaluation board with kernel v7.0.0-rc6. No regressions observed on existing hardware. Please apply. thomas (3): gpio: dwapb: Add LECARC ACPI ID spi: dw-mmio: Add LECARC ACPI ID and init hook i2c: designware: Add LECARC ACPI ID drivers/acpi/acpi_apd.c | 12 ++++++++++++ drivers/gpio/gpio-dwapb.c | 1 + drivers/i2c/busses/i2c-designware-platdrv.c | 1 + drivers/spi/spi-dw-mmio.c | 9 +++++++++ 4 files changed, 23 insertions(+) -- 2.43.0