Port-arm archive

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

Re: ODROID-C2



I wrote:
>Jared McNeill <jmcneill%invisible.ca@localhost> wrote:
>On Fri, 1 Jun 2018, Robert Swindells wrote:
>>> Any thoughts on how to break down the drivers for gpio and clocks
>>> for amlogic ? Is any one of the other SoC groups a better example
>>> than the others ?
>>
>>For clocks it really comes down to the SoC family and your preference...
>
>I don't have a preference, I'm asking how best to make use of the
>undocumented fdt code.
>
>>By gpio you mean pinctrl and gpio together? I haven't looked at the meson 
>>binding spec.. the sunxi code is an example of "everything in one driver" 
>>and the rockchip code I am working on now uses a "separate pinctrl and 
>>gpio" model.
>
>I think it combines pinctrl and gpio.

I haven't made any progress with this.

Mainly because whoever designed the SoC decided to mix unrelated
registers within a single page and I can't work out how to map them onto
individual drivers.

Would it make sense to move bus space map setup into the fdtbus
driver ?

Robert Swindells


Home | Main Index | Thread Index | Old Index