]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
x86: dts: Update the pinctrl binding a little
authorSimon Glass <sjg@chromium.org>
Sat, 12 Mar 2016 05:07:17 +0000 (22:07 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:25 +0000 (10:27 +0800)
Make a few minor updates to make the meaning clearer.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
doc/device-tree-bindings/gpio/intel,x86-pinctrl.txt

index be5d51cc19ae245496c1aeddae63027bd7eac32e..22d3becb25a5541d2fe417d2a949b7052453873f 100644 (file)
@@ -8,17 +8,18 @@ The PINCTRL master node requires the following properties:
 
 Pin nodes must be children of the pinctrl master node and can
 contain the following properties:
-- pad-offset        - (required) offset in the IOBASE for the pin to configured.
-- gpio-offset       - (required) offset in the GPIOBASE for the pin to configured and
-                                       also the bit shift in this register.
-- mode-gpio                    - (optional) standalone property to force the pin into GPIO mode.
-- mode-func                    - (optional) function number to assign to the pin. if 'mode-gpio'
-                                       is set, this property will be ignored.
+- pad-offset   - (required) offset in the IOBASE for the pin to configure
+- gpio-offset  - (required) 2 cells
+                       - offset in the GPIOBASE for the pin to configure
+                       - the bit shift in this register (4 = bit 4)
+- mode-gpio    - (optional) standalone property to force the pin into GPIO mode
+- mode-func    - (optional) function number to assign to the pin. If
+                       'mode-gpio' is set, this property will be ignored.
 in case of 'mode-gpio' property set:
-- output-value         - (optional) this set the default output value of the GPIO.
-- direction         - (optional) this set the direction of the gpio.
-- pull-str          - (optional) this set the pull strength of the pin.
-- pull-assign       - (optional) this set the pull assignement (up/down) of the pin.
+- output-value - (optional) this set the default output value of the GPIO
+- direction    - (optional) this set the direction of the gpio
+- pull-str     - (optional) this set the pull strength of the pin
+- pull-assign  - (optional) this set the pull assignement (up/down) of the pin
 - invert            - (optional) this input pin is inverted
 
 Example: