[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <08e9505d2d366557950f8e6a4e81f57a@mail.crapouillou.net>
Date: Fri, 27 Jan 2017 16:27:56 +0100
From: Paul Cercueil <paul@...pouillou.net>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Ralf Baechle <ralf@...ux-mips.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Thierry Reding <thierry.reding@...il.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Maarten ter Huurne <maarten@...ewalker.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Paul Burton <paul.burton@...tec.com>,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Linux MIPS <linux-mips@...ux-mips.org>,
linux-mmc@...r.kernel.org, linux-mtd@...ts.infradead.org,
linux-pwm@...r.kernel.org, linux-fbdev@...r.kernel.org,
James Hogan <james.hogan@...tec.com>
Subject: Re: [PATCH v2 01/14] Documentation: dt/bindings: Document pinctrl-ingenic
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
Powered by blists - more mailing lists