From patchwork Thu Aug 29 09:17:08 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: 13782825 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 A5A6FC71135 for ; Thu, 29 Aug 2024 09:18:04 +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=jSxn+Zoqj48v10R3tF5ArQAudJdLE8ENaL3sn5UD3Jg=; b=WOsKPfMfVNg4xe gaBOHar9ZvGQkxkjcliuuwotsCjgHB8YymuzJX0NutXy/lcZkMk/X9aJX+dm0ogdGe0hkto/EuRma KGYYZwAHpz4cq/u/N0CMoRQAeUDeV/Zhy0TywxCodbo27ZkRUE6LY43NuuJj31ATPhlaa/k3vnpnG zLpd375UnNQymNl5wnH3a+LES1RrBuLukobnq+M0mMUpAEALu3oNSSC1TYPIijgleEmoJYDsa7TOS RxMRaB0cvyxGEtPFkoBZ/NbTZS/iEv4RyBkdYLK6y8Nwr03AXh37FesdHsosMe70e4yMewARYhq3V qjKyKTWFbxGPVuBZW2sw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjbI4-00000001KFF-1TGA; Thu, 29 Aug 2024 09:18:04 +0000 Received: from mail-dm6nam10on20604.outbound.protection.outlook.com ([2a01:111:f400:7e88::604] helo=NAM10-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjbI1-00000001KBo-0PoE for linux-i3c@lists.infradead.org; Thu, 29 Aug 2024 09:18:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rPpmCYglYTYt4GbnFgzeSWiWPHRxYSJjxltOpO/fETv7Ltxw737OdbtiJBuwzRWF+Uc4EZ8bShpldo/3xcZb4e01qkFvm8x8AEXmjSQOudZwxSVgh2s/gifovx9ChJS1KJpTHj6pQ/DDCQwYGNmDgR9+5X8mRaPU+/N8Fn+aic+/vTJEvFWzLBA50bBOmQhpyUa1pygvbsn3njF3o16qhCFnE/7n7OYlRfFslkE14KZkAyeoG5VJ/5w6ao/GZ8/9683xJh5Ez8KFNchtKN6+8ImCjNbyH0gd0eYZerrPwlWn0rF70UUByNAAxIiOBZnXhYTLVZdSRaRkgaUJQ7xmVw== 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=zrSocucoRmLTE8ScWqPj7g3GkvhEChjjPuu96aJWPGU=; b=UT5lGRcgs64PT3LasHpRfjBgB/x/qeM00S2tdeRj6tMOdzcrvZRMH20/dnjRZUg/pBen98MBg+E3JZiVgxja7V1NrHbifc0KBF8wL7dmLcwcMJRZ3RQV3AMihw1rzrHALg79f4f6jfIx6BMYRrCPQKla6O8+s/yjuGyx+pFa7OzDwWOKl23QpElMgHQuNffha+LHzk2KIDjJp4FkaD/93ZNyQWN6/6OHoW0VFhVAEgxE2jugaB1bNXXs90j/JZL9jiDsS37xQfVQ/Gs2gHVbzakC0Y0oxYnpkjz9nwxvybJwLBsERgyn0XlYzRmXAO6h6T9FB+56S2kiw/z6J/Kvfw== 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=zrSocucoRmLTE8ScWqPj7g3GkvhEChjjPuu96aJWPGU=; b=Ze1yJJKJXiaiD/RguR8iHl1r8Hj7OlYB/AWEWCGpHNCf0Sv2fORkjCAK8cJURc7cg+0GoOQCahQqctzzKSk6+3nmye4pbdjWFgClsZ4I6LOO+sLOFokWHQyfJCoBTM/VdR5rqdH+EYAvF1A5AzNUg5wXZEsdr9TZ5qFKL+VqwYQ= Received: from BN9PR03CA0941.namprd03.prod.outlook.com (2603:10b6:408:108::16) by PH0PR12MB7096.namprd12.prod.outlook.com (2603:10b6:510:21d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.27; Thu, 29 Aug 2024 09:17:50 +0000 Received: from BN2PEPF000055DF.namprd21.prod.outlook.com (2603:10b6:408:108:cafe::f9) by BN9PR03CA0941.outlook.office365.com (2603:10b6:408:108::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21 via Frontend Transport; Thu, 29 Aug 2024 09:17:50 +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 BN2PEPF000055DF.mail.protection.outlook.com (10.167.245.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7939.2 via Frontend Transport; Thu, 29 Aug 2024 09:17:50 +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; Thu, 29 Aug 2024 04:17:45 -0500 From: Shyam Sundar S K To: Alexandre Belloni , Jarkko Nikula CC: Guruvendra Punugupati , Krishnamoorthi M , , , Shyam Sundar S K , Andy Shevchenko Subject: [PATCH v6 1/6] i3c: mipi-i3c-hci: Add AMDI5017 ACPI ID to the I3C Support List Date: Thu, 29 Aug 2024 14:47:08 +0530 Message-ID: <20240829091713.736217-2-Shyam-sundar.S-k@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240829091713.736217-1-Shyam-sundar.S-k@amd.com> References: <20240829091713.736217-1-Shyam-sundar.S-k@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF000055DF:EE_|PH0PR12MB7096:EE_ X-MS-Office365-Filtering-Correlation-Id: 297e6cd2-19a8-4784-8313-08dcc80b7467 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|376014|36860700013; X-Microsoft-Antispam-Message-Info: oXqBjgLYxZWve2HWz4WgSdYJ6YMJRT8Qvuc1+r/bPNjhNNqdm96qMHnE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9yGcyr1gRLBkQJBX00MDztNizVSoieXyuMOxs8oA5KboA3t24UM0+CwK0RKo50uzZXoPdDBJWIwIW29+R/H/V/OjfNEYGLBvREp7DeYMd4NDKfe7uXKgDUWNAlz69Z1wqh8lxOE/ecXGdqDlfbuWlAudr6AkcSUvHfew2QqawraSEpGCZdUOlp5vV4CFJMD6Wc8hWDyx/SZZkVIoJbCIoMrE1cneLaWPbjuGKMTO2kLDNB79kt1WB7Y1tbgPd0Y42c9dWPWMI+eSoZVX/Efy+8+cGgs+Cjd0Sf4wJSCpycM9CIw2/u+exlm7HsbK10P/TV1aQQhGiGNYRlKW4cQBW 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)(82310400026)(1800799024)(376014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2024 09:17:50.0249 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 297e6cd2-19a8-4784-8313-08dcc80b7467 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: BN2PEPF000055DF.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7096 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_021801_178974_7BD05DE0 X-CRM114-Status: GOOD ( 12.02 ) 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. Add the AMDI5017 ACPI ID to the list of supported IDs. Reviewed-by: Andy Shevchenko Signed-off-by: Shyam Sundar S K Reviewed-by: Jarkko Nikula --- 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..07de1cecfa30 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[] = { + { "AMDI5017" }, + {} +}; +MODULE_DEVICE_TABLE(acpi, 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);