Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: FDT syscon driver
Jared McNeill <jmcneill%invisible.ca@localhost> wrote:
>How to access it is dictated by the binding spec for your device. You need
>some way to find the phandle. Two methods I have encountered:
[snip]
The Odroid C2 doesn't use either of them, there are no cross references
and the devices are at the same level in the tree.
>Lookup by device unit is not allowed because any relationship between
>nodes must be defined in the DT. Device units are not predictable and it's
>possible that a more specific driver could attach to that node, to
>implement the syscon interface with additional functionality.
How about lookup by address ?
Plan B is to go back to a traditional config file and ignore the device
tree.
Home |
Main Index |
Thread Index |
Old Index