Re: [PATCH v2 01/14] Documentation: dt/bindings: Document pinctrl-ingenic

From: Paul Cercueil
Date: Fri Jan 27 2017 - 10:39:34 EST


Hi,

So I still don't understand these properties.

Does this mean that there is a pull-up *inside* the SoC or *outside*
on the board where it is mounted?

The pull-up resistors are inside the SoCs.

In the former case, if this pertains to the *inside* of the SoC:
is it just different between jz4740 and jz4780?
In that case, just code this into the driver as .data to the .compatible
in the DT match. No special DT properties needed.

Well, I've been taught that devicetree is for describing the hardware, and
the driver code is for functionality. So that's why I put it in devicetree.

That's also the reason why I put the list of functions and groups in
devicetree and not in the driver code.

Standard bindings use just "pins". Why the custom ingenic,
prefix?

I can change that.

Regards,
-Paul