From patchwork Tue Aug 6 07:58:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shyam Sundar S K X-Patchwork-Id: 13754541 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 D0F1DC52D70 for ; Tue, 6 Aug 2024 07:59:22 +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=K17Qd9EJHdty8GHvEfesAg3M5dREc2WA3GpL01oZ9dQ=; b=o9ueiB0hDCiyg7 iZky5ZLLh7vpurdHmqkLSPy/ew+ys9Dr78jJccQAQdWyMhc8C5EdwMBfrdvBDMoBpPqZEqW0KBXGU yv/ybuZyXGyOgMbdIOMJbF+c7oeKgfJa7rYUyhwn/CmAVslBH51nljdV695acWGyoYXoh7hRXoCiE r4y2wMr7d2wTpE9+UIZi6oIMUaZIXmFpcFmsSF0gwZaHXkgkje2j7asGNZi1rsgzjwFSA/IPiYE83 fDT1FOnkAlplI9fXq+5BYLTdab2erfY/wJ/SF2K3dVxEJpNc1ORnNBlL9wyJzjibKV1dbbnRN4+4o aqiYHYK3w2MJe6DTbD3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbF6I-00000000rR9-1gUD; Tue, 06 Aug 2024 07:59:22 +0000 Received: from mail-dm6nam12on20601.outbound.protection.outlook.com ([2a01:111:f403:2417::601] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbF6E-00000000rP5-1hrF for linux-i3c@lists.infradead.org; Tue, 06 Aug 2024 07:59:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FuhoN7eZ6S8B1QnkPkr66tHhgCibMjMvLMHsconZx59zKhynEPgnEk77Lb8+lnL4rBT1RV3aq6BSd2vkJr8YGs5xPWnfehENoeSDoQNpDEm9fJUokuQywlvSFyRnMM+jVQnj/znoEmdwsDotV/IzaUglOV8l7fhy+627juELN0M/Vp5Z6IxtdX+FrGdBaSVvGuTNSE26/4M78QfnS1e/Y8K0ZNLxnyGQfrk3c9I/AO0r8dat1PHidoDJkARvLfiZIpHKSvdQ4QQkWFce4FCPguxyHxWs1WHqT2vZ+tD0CMqPmn4Fn7d3wVW4vhVsXDHs9LdNuU7N5AcqTQsr6lOAlQ== 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=lNHgjB00ALabz0gEfsFji45NSN6Xrmn1vzcUy+TLxm4=; b=iqymCE2KeomT2WhvLiiUQDmYApok/nB15rVONFBcuuHrfTNcbUSfWoXpvb6dHVnSnc8eAHoXv37QtmeIQ+utlPdQrvGtGLorTpyXHzG398oJkT68RBNNmdKrLpAeQ1tLxvkUZ5ZgaqDVpn3qXZIOadjTYUc9KZwGhbYqHzxCEyPVJR38+xPslcZvmTvi1C2DqiihJGNQYlznw1UOIA18STYZ+h5NVbRMXvsytl+CgyyPftT8d/SCdBYyXj+I2HQdkPiwUB8LLJGV1LrIM0690XT2sFjYvK8FVts65iw4i+0SNVpB6CnYjSmZTknWHcdXVH6Dy14/SKG3hTXgMckBLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=bootlin.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lNHgjB00ALabz0gEfsFji45NSN6Xrmn1vzcUy+TLxm4=; b=o2ZsS1rmi4pYgBjlHhvtzo4nB5mmdqPasnNF+fLwyTWHBc/ZvF5bN7+CcYL1W5ovGfZa/c5n4kIREs2dS3hi0PE1qIGWJ9uRZwCr/HtrZAyWq577gqdgFRS6H2JcP9L8MgMmlDFmfgiHBWSd6i5D7p1a6ObMnmpiCc+HwzTF6T4= Received: from SA0PR12CA0023.namprd12.prod.outlook.com (2603:10b6:806:6f::28) by IA1PR12MB7520.namprd12.prod.outlook.com (2603:10b6:208:42f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26; Tue, 6 Aug 2024 07:59:10 +0000 Received: from SN1PEPF0002BA51.namprd03.prod.outlook.com (2603:10b6:806:6f:cafe::dc) by SA0PR12CA0023.outlook.office365.com (2603:10b6:806:6f::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.35 via Frontend Transport; Tue, 6 Aug 2024 07:59:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by SN1PEPF0002BA51.mail.protection.outlook.com (10.167.242.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7828.19 via Frontend Transport; Tue, 6 Aug 2024 07:59:10 +0000 Received: from jatayu.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 6 Aug 2024 02:59:06 -0500 From: Shyam Sundar S K To: Alexandre Belloni , Jarkko Nikula CC: Guruvendra Punugupati , Krishnamoorthi M , , , Shyam Sundar S K Subject: [PATCH v3 1/5] i3c: mipi-i3c-hci: Add MIPI0100 ACPI ID to the I3C Support List Date: Tue, 6 Aug 2024 13:28:39 +0530 Message-ID: <20240806075843.277969-2-Shyam-sundar.S-k@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240806075843.277969-1-Shyam-sundar.S-k@amd.com> References: <20240806075843.277969-1-Shyam-sundar.S-k@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002BA51:EE_|IA1PR12MB7520:EE_ X-MS-Office365-Filtering-Correlation-Id: 70cf5027-253d-43ba-a22a-08dcb5eda7b8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: YhsBY+RaiSqTcwHFHpGXq6I21eCcnVE28UxfKV/quTjAV/9M7YoC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255GuGvOYh16/CFZqYtVK7i5eFoMiyltUiMzOFLDlEdmLL3NUWm/BzPgtgWrJ2NFzCFt8Fgm+BYBbwcN4KW/TC9Yle4KAvIzYHWLmTTv903q+jjG/Q+WapFm1a8zgrS6m69Pi3LO9QMZNo+Myrzyh0a2X4PtRPIxwjIhK8EpBAe0vS8FrtBsdXgXiIf8VLWc1+eu2mwvX9Y2ZTwWbc5Nyz47hCCtj3b/+pfvU4zGHXnDclYGlQoXBBWWwGGXqYKoKWMD4ozsIrgmlyq3A1PYinHCDByORgKPtneiCi+OIApa6x4bdk7V9sIMWOkc/+lqPD/ZfsnpR/J5KLH73UKf2S+dvXx X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 07:59:10.4758 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 70cf5027-253d-43ba-a22a-08dcb5eda7b8 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002BA51.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7520 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_005918_479054_7A56F322 X-CRM114-Status: GOOD ( 11.63 ) X-BeenThere: linux-i3c@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-i3c" Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org The current driver code lacks the necessary plumbing for ACPI IDs, preventing the mipi-i3c-hci driver from being loaded on x86 platforms that advertise I3C ACPI support. This update adds the MIPI0100 ACPI ID to the list of supported IDs. Signed-off-by: Shyam Sundar S K --- drivers/i3c/master/mipi-i3c-hci/core.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/i3c/master/mipi-i3c-hci/core.c b/drivers/i3c/master/mipi-i3c-hci/core.c index 4e7d6a43ee9b..5ef848833a81 100644 --- a/drivers/i3c/master/mipi-i3c-hci/core.c +++ b/drivers/i3c/master/mipi-i3c-hci/core.c @@ -834,12 +834,19 @@ static const __maybe_unused struct of_device_id i3c_hci_of_match[] = { }; MODULE_DEVICE_TABLE(of, i3c_hci_of_match); +static const struct acpi_device_id i3c_hci_acpi_match[] = { + {"MIPI0100"}, + {} +}; +MODULE_DEVICE_TABLE(platform, i3c_hci_acpi_match); + static struct platform_driver i3c_hci_driver = { .probe = i3c_hci_probe, .remove_new = i3c_hci_remove, .driver = { .name = "mipi-i3c-hci", .of_match_table = of_match_ptr(i3c_hci_of_match), + .acpi_match_table = i3c_hci_acpi_match, }, }; module_platform_driver(i3c_hci_driver);