NetBSD-Bugs archive

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

Re: port-macppc/59673: PMG5 11,2: multiple channel-0 node confuses ki2c(4) driver



The following reply was made to PR port-macppc/59673; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: rokuyama.rk%gmail.com@localhost
Cc: port-macppc-maintainer%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost,
 gnats-bugs%netbsd.org@localhost
Subject: Re: port-macppc/59673: PMG5 11,2: multiple channel-0 node confuses
 ki2c(4) driver
Date: Sun, 28 Sep 2025 07:27:23 -0400

 > On Sep 28, 2025, at 5:55=E2=80=AFAM, rokuyama.rk%gmail.com@localhost wrote:
 >=20
 > Power Mac G5 11,2 has multiple channel-0 nodes for ki2c1, which =
 confuses the driver.
 >=20
 > Full dmesg (patched kernel) and `ofwctl -pv` log are provided here:
 >=20
 > https://gist.github.com/rokuyama/1d90c9af42d97a84870b93bf0daad682
 > https://gist.github.com/rokuyama/079eebc318ad9417665f2c023527dac4
 >=20
 > Here, i2c@18000 has two child node i2c-bus@0 (channel 0): The first =
 one
 > has two audio codec's, whereas the second one has only one.
 
 Wow, that really does look like an error in the OFW device tree, =
 although which branch of the tree is the wrong one remains to be seen.  =
 It would be really fantastic if, at some point, you could visually =
 confirm that there=E2=80=99s only one TI / Burr-Brown PCM3052 chip on =
 the board (for that matter, visual confirmation that a cs8416 *is* =
 present might also be instructive!).
 
 I=E2=80=99m 99.999% sure that prior to my changes in this area, that =
 second instance would have been silently ignored for other reasons.
 
 > If the second one is skipped with this patch:
 
 Thanks, I=E2=80=99m going to check in a slightly tweaked version of this =
 (adds a debug log message).
 
 -- thorpej
 


Home | Main Index | Thread Index | Old Index