NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/58182: missing driver for ACPI I2C device INT3432, INT3433



I'm the user for which Taylor reported the issue.

He sent me the following patch :

From 4f104a63e5af7ce1c2b7c9d83e401d6285479264 Mon Sep 17 00:00:00 2001
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Date: Sun, 21 Apr 2024 13:51:33 +0000
Subject: [PATCH] dwiic(4): Attach at CIDs INT3432 and INT3433 in acpi(4).

PR kern/58182
---
 sys/dev/acpi/dwiic_acpi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/acpi/dwiic_acpi.c b/sys/dev/acpi/dwiic_acpi.c
index 6c8b32c81702..81ee0540b779 100644
--- a/sys/dev/acpi/dwiic_acpi.c
+++ b/sys/dev/acpi/dwiic_acpi.c
@@ -64,6 +64,8 @@ static const struct device_compatible_entry compat_data[] = {
 	{ .compat = "AMDI0010" },	/* AMD FCH */
 	{ .compat = "AMDI0510" },	/* AMD Seattle */
 	{ .compat = "APMC0D0F" },	/* Ampere eMAG */
+	{ .compat = "INT3432" },
+	{ .compat = "INT3433" },
 	DEVICE_COMPAT_EOL
 };


Once applied dmesg shows the following lines :

[ 1.020295] dwiic0 at acpi0 (I2C0, INT3432-1): mem 0x91122000-0x91122fff irq 7
[     1.020295] dwiic0: autoconfiguration error: failed initializing
[ 1.020295] dwiic1 at acpi0 (I2C1, INT3433-1): mem 0x91124000-0x91124fff irq 7
[     1.020295] dwiic1: autoconfiguration error: failed initializing



Home | Main Index | Thread Index | Old Index