device tree binding documentation outdated
Linus Walleij
linus.walleij at linaro.org
Thu Sep 26 17:35:43 EDT 2013
On Thu, Sep 26, 2013 at 10:29 PM, Fabio Estevam <festevam at gmail.com> wrote:
> On Thu, Sep 26, 2013 at 4:51 PM, Russell King - ARM Linux
>> I mean the stuff which looks like this:
>>
>> #define MX6QDL_PAD_ENET_MDC__ESAI_TX5_RX0 0x1e8 0x5b8 0x858 0x2 0x0
>
> Let me try to decode it:
>
> 0x1e8: Offset of IOMUXC_SW_MUX_CTL_PAD_ENET_MDC register
>
> 0x5b8: Offset of IOMUXC_SW_PAD_CTL_PAD_ENET_MDC register
>
> 0x2: This means that the MUX_MODE field selects the ESAI_TX5_RX0 function
> in this pad
>
> 0x0: SELECT_INPUT not used for this pad
This I guess predates the inctroduction of defines into the DTC,
but we can do a lot better now.
Can someone from the i.MX camp take a sweep and convert this
to defines in some include/dt-bindings/imx.h or similar file so
this thing becomes readable?
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list