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>
This commit is contained in:
Simon Glass 2016-03-11 22:07:17 -07:00 committed by Bin Meng
parent 0adf8d3548
commit c13dcb3dc7

View 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 Pin nodes must be children of the pinctrl master node and can
contain the following properties: contain the following properties:
- pad-offset - (required) offset in the IOBASE for the pin to configured. - pad-offset - (required) offset in the IOBASE for the pin to configure
- gpio-offset - (required) offset in the GPIOBASE for the pin to configured and - gpio-offset - (required) 2 cells
also the bit shift in this register. - offset in the GPIOBASE for the pin to configure
- mode-gpio - (optional) standalone property to force the pin into GPIO mode. - the bit shift in this register (4 = bit 4)
- mode-func - (optional) function number to assign to the pin. if 'mode-gpio' - mode-gpio - (optional) standalone property to force the pin into GPIO mode
is set, this property will be ignored. - 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: in case of 'mode-gpio' property set:
- output-value - (optional) this set the default output value of the GPIO. - output-value - (optional) this set the default output value of the GPIO
- direction - (optional) this set the direction of the gpio. - direction - (optional) this set the direction of the gpio
- pull-str - (optional) this set the pull strength of the pin. - pull-str - (optional) this set the pull strength of the pin
- pull-assign - (optional) this set the pull assignement (up/down) of the pin. - pull-assign - (optional) this set the pull assignement (up/down) of the pin
- invert - (optional) this input pin is inverted - invert - (optional) this input pin is inverted
Example: Example: