From patchwork Wed Aug 21 13:35:49 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: 13771634 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 BB1E8C52D6F for ; Wed, 21 Aug 2024 13:36:38 +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=MDonFiSEeQhjEHg7WYQbMzpGRv+dsR/yBq1ANln6DHw=; b=BC6ae5bn1sz7T9 3dFBiPZ4DeE8DnypfsKlzmK6w4KYX/p5Zs5ukxv4J20wLJIX+9r52f80FpAnXZtBiS0tNhVPhiks6 AXcTDPwZwmFcsCyBbHrn0AIkrO4mbYN2tDeJfFSeaMGeTlzSizLcmXxFCyjEtKKjqbdKpzXSutlMn mwZ6natwnA3hVWtDHbThleUl0wpp4tM5+mxp8m8gt2EUlZLcJ5nGz5ByJ29atmwGogT81B8Isb7CJ anc4bc//okv6dSoqjJ1u+RBxXOxdryntZXZXP1aTtrP9E1a/jsEQ6UWVsYeh0NHbZthZbsQ8gtlfa m1joAr7CVgbsgLx/Y80Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sglVu-0000000999c-27Oh; Wed, 21 Aug 2024 13:36:38 +0000 Received: from mail-dm6nam11on20619.outbound.protection.outlook.com ([2a01:111:f403:2415::619] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sglVs-0000000998S-2iMS for linux-i3c@lists.infradead.org; Wed, 21 Aug 2024 13:36:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KyTGwIRh3ri9jNfm9IK08UnfZB+NIA3EiOKe6ysmMwqME2VcfT6p6XAlT9kJgverjKsOni8AQ24awqnAEDV3QZH5P01/9c3trEidUgt3TbuBKeDaXDz3M/tfwQs6Wp7I2pwHHP7MZd/XCFOfRtWdUPTBNJmflUf9TxSghIigEp/qINKnS7l6oCL3Fkh5mwst86CkGmy9m/wB7EW91bGK+hWMBicdC8vLfvolM3hRDcAycYWtt2iC/noclOeA08RcGdG4qK+SYeNFITrP+ORpaPIDNxSU9PmV00wE5FRee1mCBpJX7c+i2Fl29MGHp/JMCoVXgXrCmT+7MeNyMTR02A== 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=5kcFPD9kGzS67atyf65c9Z4Us3HnTkZIXae5xN0lYOI=; b=Zxe0aVVR9RZeHmXRU5DsJv4sG2yUAPqxvvUEuq4WwiwQKkW7Rm4HlnWlYhgXqaXjyVhG3iIMwYxycHvWV6F+ocDLHoAqlrCjEmAzbR2pll2vd60mjIxZBXoT/EH+vS8DXXdXiPlwcCvDOS5/rzZTcQSRN2mKgpVrzhhjGG9r0+9+2RBirjtQE+kkWmYzSlbZ9Y0D3Xxa31w7shQLnccqA7ew/TqmYKlryMx7HHXOSQmlGI1SzqGmxAYdt+9EFwizkeN09Li1Z96jmsEi21PwXAfIcI36+XM4Ux7BhqeMK16Q7bc+eoUjllAS1pobpnDI5qF37icJeVqKDfWB4NeGbw== 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=5kcFPD9kGzS67atyf65c9Z4Us3HnTkZIXae5xN0lYOI=; b=Ywx9BztduPahg35VEQ5dmRBktkq3aThScs5nTkWYR5xh9AhWCITF/tsp5RsoVE4tQLlxs9s1DZV1WjN/0R1da3i4iy9aesS80C404JMsclc9mth0v0DCCvv+8oX0kjXnzi+4mUFLu0nLBhSOuvPbFnd2lYQIyk6mwmmX+Rx5suU= Received: from BN9P223CA0027.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:10b::32) by DM4PR12MB6229.namprd12.prod.outlook.com (2603:10b6:8:a8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Wed, 21 Aug 2024 13:36:29 +0000 Received: from BN3PEPF0000B06E.namprd21.prod.outlook.com (2603:10b6:408:10b:cafe::3a) by BN9P223CA0027.outlook.office365.com (2603:10b6:408:10b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21 via Frontend Transport; Wed, 21 Aug 2024 13:36:29 +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 BN3PEPF0000B06E.mail.protection.outlook.com (10.167.243.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7897.4 via Frontend Transport; Wed, 21 Aug 2024 13:36:29 +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; Wed, 21 Aug 2024 08:36:27 -0500 From: Shyam Sundar S K To: Alexandre Belloni , Jarkko Nikula CC: Guruvendra Punugupati , Krishnamoorthi M , , , Shyam Sundar S K Subject: [PATCH v4 1/6] i3c: mipi-i3c-hci: Add AMDI5017 ACPI ID to the I3C Support List Date: Wed, 21 Aug 2024 19:05:49 +0530 Message-ID: <20240821133554.391937-2-Shyam-sundar.S-k@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240821133554.391937-1-Shyam-sundar.S-k@amd.com> References: <20240821133554.391937-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: BN3PEPF0000B06E:EE_|DM4PR12MB6229:EE_ X-MS-Office365-Filtering-Correlation-Id: 53285335-d0af-4da2-b6e1-08dcc1e6436b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|36860700013|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: H8hBL4qRxxGhAKuqCSTx6MXkh1vmH5xb6ZYGpRRm4u23SFYWiIsH2UJds1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8L3y3Hy2HTWCdM5gYOnM6t6Am9HOxI7TtbaNtMqoOup7qM2yPoOD4ZF/aKHJbYupuh/PSiFvjsMdWUouW/CldYg2uGEDu1Mml3WfEMWGNOY4pQpK9XSThYdX6qefYJqolH6B7aGzwQZ3TFHfUoHlDbYSHyH8V7vPYIEb29wYYcgRextHZp5YPUnYN6H1dyay3+GX15TMkI3YJLBDMEsovHVKDkufmJowe0bTWeamFRqetSx3F1MuKZber050i159J2B+w2AISGSyunqLKWNWqf4xdfOWbBEqVvH6Asfp57b2a/y8B0DmB7AGb02o/36Qf4K0rCysNwQ9Ip 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)(376014)(36860700013)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2024 13:36:29.6758 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 53285335-d0af-4da2-b6e1-08dcc1e6436b 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: BN3PEPF0000B06E.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6229 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240821_063636_709528_B72FAF32 X-CRM114-Status: GOOD ( 12.98 ) 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 AMDI5017 ACPI ID to the list of supported IDs. Signed-off-by: Shyam Sundar S K Reviewed-by: Andy Shevchenko --- 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..b02fbd7882f8 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);