Commit c13dcb3dc7aeaf0a78daff0a3d28eaaa94ad1f28

Authored by Simon Glass
Committed by Bin Meng
1 parent 0adf8d3548

x86: dts: Update the pinctrl binding a little

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>

Showing 1 changed file with 11 additions and 10 deletions Side-by-side Diff

doc/device-tree-bindings/gpio/intel,x86-pinctrl.txt
... ... @@ -8,17 +8,18 @@
8 8  
9 9 Pin nodes must be children of the pinctrl master node and can
10 10 contain the following properties:
11   -- pad-offset - (required) offset in the IOBASE for the pin to configured.
12   -- gpio-offset - (required) offset in the GPIOBASE for the pin to configured and
13   - also the bit shift in this register.
14   -- mode-gpio - (optional) standalone property to force the pin into GPIO mode.
15   -- mode-func - (optional) function number to assign to the pin. if 'mode-gpio'
16   - is set, this property will be ignored.
  11 +- pad-offset - (required) offset in the IOBASE for the pin to configure
  12 +- gpio-offset - (required) 2 cells
  13 + - offset in the GPIOBASE for the pin to configure
  14 + - the bit shift in this register (4 = bit 4)
  15 +- mode-gpio - (optional) standalone property to force the pin into GPIO mode
  16 +- mode-func - (optional) function number to assign to the pin. If
  17 + 'mode-gpio' is set, this property will be ignored.
17 18 in case of 'mode-gpio' property set:
18   -- output-value - (optional) this set the default output value of the GPIO.
19   -- direction - (optional) this set the direction of the gpio.
20   -- pull-str - (optional) this set the pull strength of the pin.
21   -- pull-assign - (optional) this set the pull assignement (up/down) of the pin.
  19 +- output-value - (optional) this set the default output value of the GPIO
  20 +- direction - (optional) this set the direction of the gpio
  21 +- pull-str - (optional) this set the pull strength of the pin
  22 +- pull-assign - (optional) this set the pull assignement (up/down) of the pin
22 23 - invert - (optional) this input pin is inverted
23 24  
24 25 Example: