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

- From: Paul Cercueil \<paul@crapouillou.net\>
- Date: 2017-01-27 15:36:40 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2017/01/4921977
- Thread: https://ratatoskr.run/linux-gpio/2017/01/4914584/t.md

```text
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
```
