openwrt/target/linux/starfive/patches-6.6/0054-pinctrl-starfive-jh7110-Unset-.strict-in-pinmux_ops.patch
Zoltan HERPAI e2e2fc3cd0 starfive: add patches for 6.6
Add updated patches for 6.6. DMA/cache-handling patches
have been reworked / backported from upstream.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2024-09-03 00:03:19 +02:00

25 lines
920 B
Diff

From 1ec26ba377d8ae59cd09811ec78623a750a9c150 Mon Sep 17 00:00:00 2001
From: Hal Feng <hal.feng@starfivetech.com>
Date: Mon, 26 Feb 2024 11:35:44 +0800
Subject: [PATCH 054/116] pinctrl: starfive: jh7110: Unset .strict in
pinmux_ops
Allow simultaneous use of the same pin for GPIO and another function.
This feature is used in HDMI hot plug detect.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
---
drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c
+++ b/drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c
@@ -327,7 +327,6 @@ static const struct pinmux_ops jh7110_pi
.get_function_name = pinmux_generic_get_function_name,
.get_function_groups = pinmux_generic_get_function_groups,
.set_mux = jh7110_set_mux,
- .strict = true,
};
static const u8 jh7110_drive_strength_mA[4] = { 2, 4, 8, 12 };