From patchwork Wed Aug 7 05:23:54 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: 13755646 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 9E341C3DA7F for ; Wed, 7 Aug 2024 05:25:14 +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=CX626wx6qrrzKhf60jXR/+MhKplgbZDiv3Tpx7VMX1E=; b=LQujcchgJRdGNw P1ISqPE4tTOWLXCcErqesIrn2IZzOwOjn/XOQ3ao/escT+RmkMBfyrsmZ3rFauO+efjZ5Kfpy99ox KwxjnQ3x1HeOuJ5mBqvuT/mmktnjnQLCkt2SbuLzctAMkpxbeQ1+Duk4fVMuj5HvpMwDMMk205+hC +fiihO0S9ougHL7ao8U+THY62DVqiGvnq9iyAQZ/pmiYiPad8nfMWl96dQPoQgOpSjZAEZq9LIrpI jNsO1QYzweoh4Ne33pmkRW/Jewm1bN9omc0KOeFm3G/QHCnLu/Tt3abNn3IqW289AGyBctSUeWcTF Pd81pB3NiS2NG+3WAG4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbZAf-00000003rJq-3IRb; Wed, 07 Aug 2024 05:25:13 +0000 Received: from mail-bn7nam10on20604.outbound.protection.outlook.com ([2a01:111:f403:2009::604] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbZAc-00000003rGM-2sDi for linux-i3c@lists.infradead.org; Wed, 07 Aug 2024 05:25:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=smE52I3Lb5bgBeqDzO6rLx/sswalWWRza4C++s6XovY+p7Hc9YQkVP5dcO4hTKsHuUU7LLO4FNmAVtDxQ8aPReauRDnbRYoVbkHwOCD16+M9pg63Ycx8cBtMXeIWIz16ez5v7LqM5RxIcWg7hdAB2/l7qHQEJ/0cLR+xF+6Io03r7hj6Oot0L4K8IgHDGX1G1+lQpE/knkBLgIi2jsyQ1qjbx7khkXYUSsNSUdIYuzuKz2nbR3Vm5FodfMVgCMPXa31Nk4xeuhmH9Kcurg6E/8x/BYsP6gn1CYSM9VseCQOJ2pa5K5F6Gv6VbQmZa9oHT34VbiQ3Dr1OzG6yCI8ypg== 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=VeNzK2M8uP2TOsPpVfZtA0VjNeLPthHm+rBPx6MXsvk=; b=fE6KJ02s2HXdkgXjYuDcfThwF2HSxaL9jL5NJQKMnPXahHiKp99PB2ReMO9Nx5lHMIs7oBIwH+UAyDknuVq7JOR/JCK6nsbU61CC+dZfsrBFue9GpEhJ+H7yyZkaii3sTmkthDjcw9fvnSS6RdKppG4LSMSmljPhpOhgj8GwYRaStX4xiT9XTTWbp2FYzDOeJoQSxrOR29WID9VUvjLNBGlfxPyn9/dxZh9BVG9rjb6vj2ArudcLL4Iq4ATlcQ2xF9p3jkq9HFXULBbJO/+sdFjDudXCyk5j71Im5ATPMtCCcujeEDBEmSGcYFwo8iytvXFpS1SCJREJOmxrnpSGyg== 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=VeNzK2M8uP2TOsPpVfZtA0VjNeLPthHm+rBPx6MXsvk=; b=Ib4vKZR62raVg1fdFCM7T76YF4cWtCUBuVTXRBU3Hak0VZF98uVnCYG6ap5titIiFotKhj60BR4L0xwfM5CG4J6xdlCdKqUXi8A2HSqSwoHq2cCmpSaNVZhdEkgFEN3EG1uR7FPREYNetyl8M4viqClOoVJQjRvApArLP8ebzF0= Received: from SA0PR12CA0017.namprd12.prod.outlook.com (2603:10b6:806:6f::22) by IA0PR12MB7627.namprd12.prod.outlook.com (2603:10b6:208:437::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26; Wed, 7 Aug 2024 05:24:57 +0000 Received: from SN1PEPF000397B0.namprd05.prod.outlook.com (2603:10b6:806:6f:cafe::65) by SA0PR12CA0017.outlook.office365.com (2603:10b6:806:6f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.22 via Frontend Transport; Wed, 7 Aug 2024 05:24:56 +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 SN1PEPF000397B0.mail.protection.outlook.com (10.167.248.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7828.19 via Frontend Transport; Wed, 7 Aug 2024 05:24:56 +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, 7 Aug 2024 00:24:53 -0500 From: Shyam Sundar S K To: Alexandre Belloni , Jarkko Nikula CC: Guruvendra Punugupati , Krishnamoorthi M , , , Shyam Sundar S K Subject: [PATCH RESEND v3 1/6] i3c: mipi-i3c-hci: Add MIPI0100 ACPI ID to the I3C Support List Date: Wed, 7 Aug 2024 10:53:54 +0530 Message-ID: <20240807052359.290046-2-Shyam-sundar.S-k@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240807052359.290046-1-Shyam-sundar.S-k@amd.com> References: <20240807052359.290046-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: SN1PEPF000397B0:EE_|IA0PR12MB7627:EE_ X-MS-Office365-Filtering-Correlation-Id: 81e5d6bf-2564-4e98-b561-08dcb6a1462e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|376014|1800799024; X-Microsoft-Antispam-Message-Info: 6wtesaIZbwdEsNEw2PFYKlp69e1b+5bC0DnGWEsIyInkygiGLXG/1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e54GZhyQPjiJgGdMPHjrgZgz69l+C8AppkmV9AzgMyztUsbi3WQUkDPjSk92EhCIoJnkv4/Zt6kIPqWRUljImO7UYzsacSI9fYtHHYjOebm1+4oIKlcL26DmRpZ3b+81txGHxnGJDhAAAHFKZHfC2xtGY0JeW8Hl2QnZ3/4t3oZ6EIVa5Jn/d2NwGgcruyJC0b6rgM7ZFQUgSoOnTrwJ1jMNFvECRTYgcF/2vvSEBNzXp03pB/GLSxCZJ9ShE17owxHb1vV9gf9P/Zc0yIWdRon6golqu3A/pc6K2sZWhjY5Vrqr86CeryQwf4B//Kd/Qvoln9YwslVAC/ZaPQLD3R0 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)(36860700013)(376014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2024 05:24:56.2442 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 81e5d6bf-2564-4e98-b561-08dcb6a1462e 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: SN1PEPF000397B0.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7627 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_222510_747028_2FA590D8 X-CRM114-Status: GOOD ( 12.18 ) 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..24dd4603d6c6 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(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);