[PATCH 07/10] Input: stmfts - add optional reset GPIO support

Konrad Dybcio konrad.dybcio at oss.qualcomm.com
Mon Mar 2 03:04:17 PST 2026


On 3/1/26 6:51 PM, David Heidelberg via B4 Relay wrote:
> From: Petr Hodina <petr.hodina at protonmail.com>
> 
> Add support for an optional "reset-gpios" property. If present, the
> driver drives the reset line high at probe time and releases it during
> power-on, after the regulators have been enabled.
> 
> Signed-off-by: Petr Hodina <petr.hodina at protonmail.com>
> Co-developed-by: David Heidelberg <david at ixit.cz>
> Signed-off-by: David Heidelberg <david at ixit.cz>
> ---

[...]

> +	sdata->reset_gpio = devm_gpiod_get_optional(dev, "reset",
> +						    GPIOD_OUT_HIGH);

Are you really sure the reset is active-high?

Konrad



More information about the linux-arm-kernel mailing list