Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63ad9cbf authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Linus Walleij
Browse files

pinctrl: generic: Fix typos and clarify comments



Drive strength controls both sink and source currents, clarify the
description accordingly.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1c7ad8f0
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -37,17 +37,17 @@
 *	if it is 0, pull-down is disabled.
 *	if it is 0, pull-down is disabled.
 * @PIN_CONFIG_DRIVE_PUSH_PULL: the pin will be driven actively high and
 * @PIN_CONFIG_DRIVE_PUSH_PULL: the pin will be driven actively high and
 *	low, this is the most typical case and is typically achieved with two
 *	low, this is the most typical case and is typically achieved with two
 *	active transistors on the output. Sending this config will enabale
 *	active transistors on the output. Setting this config will enable
 *	push-pull mode, the argument is ignored.
 *	push-pull mode, the argument is ignored.
 * @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. Sending this
 *	which are then pulled up with an external resistor. Setting this
 *	config will enabale open drain mode, the argument is ignored.
 *	config will enable open drain mode, the argument is ignored.
 * @PIN_CONFIG_DRIVE_OPEN_SOURCE: the pin will be driven with open source
 * @PIN_CONFIG_DRIVE_OPEN_SOURCE: the pin will be driven with open source
 *	(open emitter). Sending this config will enabale open drain mode, the
 *	(open emitter). Setting this config will enable open drain mode, the
 *	argument is ignored.
 *	argument is ignored.
 * @PIN_CONFIG_DRIVE_STRENGTH: the pin will output the current passed as
 * @PIN_CONFIG_DRIVE_STRENGTH: the pin will sink or source at most the current
 * 	argument. The argument is in mA.
 *	passed as argument. The argument is in mA.
 * @PIN_CONFIG_INPUT_SCHMITT_ENABLE: control schmitt-trigger mode on the pin.
 * @PIN_CONFIG_INPUT_SCHMITT_ENABLE: control schmitt-trigger mode on the pin.
 *      If the argument != 0, schmitt-trigger mode is enabled. If it's 0,
 *      If the argument != 0, schmitt-trigger mode is enabled. If it's 0,
 *      schmitt-trigger mode is disabled.
 *      schmitt-trigger mode is disabled.