On Sat, Apr 30, 2016 at 11:15:34PM +0200, Robert Jarzmik wrote:
AC97 is a bus for sound usage. It enables for a AC97 AC-Link to link one controller to 0 to 4 AC97 codecs.
The goal of this new implementation is to implement a device/driver model for AC97, with an automatic scan of the bus and automatic discovery of AC97 codec devices.
I think this is basically what I was thinking of, yes. One thing we'll need to do is work out how to handle systems that need some explicit action to start clocks for the bus clock, though they were never very common and it's entirely possible nobody cares any more so perhaps we just punt and see if anyone notices for now.
+int ac97_digital_controller_register(const struct ac97_controller_ops *ops,
struct device *dev);
+int ac97_digital_controller_unregister(const struct device *dev);
Why "digital"?