Thread (26 messages) 26 messages, 3 authors, 2015-09-25

Re: [PATCH v4 2/2] pinctrl: asm9260: add pinctrl add device tree bindings documentation

From: Oleksij Rempel <hidden>
Date: 2015-05-12 16:02:55
Also in: linux-gpio, lkml

Am 05.05.2015 um 16:46 schrieb Linus Walleij:
On Mon, Apr 6, 2015 at 11:04 AM, Oleksij Rempel [off-list ref] wrote:
quoted
Add device tree bindings documentation for Alphascale asm9260 pin controller

Signed-off-by: Oleksij Rempel <redacted>
(...)
quoted
+* Alphascale ASM9260 SoC pinctrl core driver
+
+The pinctrl driver enables Alphascale ASM9260 to configure pin multiplexing
+to a specific function.
+
+Required properties for pinctrl driver:
+- compatible: "alphascale,asm9260-pinctrl"
+- reg: Register base of the MPP block and length.
+- clocks: clock ids.
+- clock-names:
+       * 1 "ahb" : AHB gating clock.
This clock is usually called pclock, "apb_pclk" (amba peripheral bus
p clock, don't know what P is...) what name does this have on your
data sheet?
the datasheet uses only "AHB" or "ahb_clk".
Since i use in other modules same name i would prefer to use one style :)
quoted
+The following generic properties as defined in pinctrl-bindings.txt are valid
+to specify in a pin configuration subnode:
+pins                   - the list of pins that properties in the node
+                         apply to (either this or "groups" has to be
+                         specified)
+function               - the mux function to select
+bias-disable           - disable any pin bias
+bias-pull-up           - pull up the pin. Supported only on GPIO0_* pins.
+bias-pull-down         - pull down the pin. Supported on all pins except of GPIO0_*.
Generic bindings, nice. Put a reference to the file pinctrl-bindings.txt
to point this out.
Yea, it was already done, see ^^ - "The following generic properties as
defined in pinctrl-bindings.txt" :)

-- 
Regards,
Oleksij

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help