Commit c21dd79e authored by Niyas Sait's avatar Niyas Sait Committed by Linus Walleij

pinconf-generic: fix style issues in pin_config_param doc

Fixes following issues introduced in a  previous commit
to clarify values for pin config pull up and down types.

- replace spaces with tabs to be consistent with rest of the doc
- use capitalization for unit (ohms -> Ohms)
Signed-off-by: default avatarNiyas Sait <niyas.sait@linaro.org>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221117123542.1154252-1-niyas.sait@linaro.orgSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c0f358fd
...@@ -39,7 +39,7 @@ struct pinctrl_map; ...@@ -39,7 +39,7 @@ struct pinctrl_map;
* @PIN_CONFIG_BIAS_PULL_DOWN: the pin will be pulled down (usually with high * @PIN_CONFIG_BIAS_PULL_DOWN: the pin will be pulled down (usually with high
* impedance to GROUND). If the argument is != 0 pull-down is enabled, * impedance to GROUND). If the argument is != 0 pull-down is enabled,
* the value is interpreted by the driver and can be custom or an SI unit * the value is interpreted by the driver and can be custom or an SI unit
* such as ohms. * such as Ohms.
* @PIN_CONFIG_BIAS_PULL_PIN_DEFAULT: the pin will be pulled up or down based * @PIN_CONFIG_BIAS_PULL_PIN_DEFAULT: the pin will be pulled up or down based
* on embedded knowledge of the controller hardware, like current mux * on embedded knowledge of the controller hardware, like current mux
* function. The pull direction and possibly strength too will normally * function. The pull direction and possibly strength too will normally
...@@ -51,7 +51,7 @@ struct pinctrl_map; ...@@ -51,7 +51,7 @@ struct pinctrl_map;
* @PIN_CONFIG_BIAS_PULL_UP: the pin will be pulled up (usually with high * @PIN_CONFIG_BIAS_PULL_UP: the pin will be pulled up (usually with high
* impedance to VDD). If the argument is != 0 pull-up is enabled, * impedance to VDD). If the argument is != 0 pull-up is enabled,
* the value is interpreted by the driver and can be custom or an SI unit * the value is interpreted by the driver and can be custom or an SI unit
* such as ohms. * such as Ohms.
* @PIN_CONFIG_DRIVE_OPEN_DRAIN: the pin will be driven with open drain (open * @PIN_CONFIG_DRIVE_OPEN_DRAIN: the pin will be driven with open drain (open
* collector) which means it is usually wired with other output ports * collector) which means it is usually wired with other output ports
* which are then pulled up with an external resistor. Setting this * which are then pulled up with an external resistor. Setting this
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment