Port-arm archive

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

Re: ADC / DAC support for ARM SBCs




> On Dec 7, 2019, at 3:05 PM, dhop%nwlink.com@localhost wrote:
> 
> If I wanted to get the AudioInjector hat working, for example, I imagine
> what I would need to do is port the Zaurus wm8371 driver over to the
> Raspberry Pi-- in which case it would become just another machine dependent
> driver for that platform.  GPIOs aren't standard pinouts and are
> machine-dependent and variable even between platform iterations (viz. the
> RPi UART / Bluetooth shenanigans),

This is what the Device Tree stuff is all about.  You would FDT'ize the driver and put it in sys/dev/fdt/... and combined with the appropriate board-specific device tree overlay, the driver would be essentially MI.

-- thorpej



Home | Main Index | Thread Index | Old Index