mfd: display-serdes: rohm gpio0 support 1MHZ used for pwm

Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: I358b2f9c51ecbdc0c913a1123818a2e22a1e4078
This commit is contained in:
Luo Wei
2024-01-18 18:41:40 +08:00
committed by Tao Huang
parent 4d84c1dabe
commit 46adc2c927
3 changed files with 11 additions and 2 deletions

View File

@@ -248,6 +248,9 @@ static struct function_desc max96752_functions_desc[] = {
FUNCTION_DESC_GPIO_OUTPUT_HIGH(15),
FUNCTION_DES_DELAY_MS(10),
FUNCTION_DES_DELAY_MS(20),
FUNCTION_DES_DELAY_MS(30),
FUNCTION_DES_DELAY_MS(40),
FUNCTION_DES_DELAY_MS(50),
FUNCTION_DES_DELAY_MS(100),
FUNCTION_DES_DELAY_MS(200),

View File

@@ -253,6 +253,9 @@ static struct function_desc max96772_functions_desc[] = {
FUNCTION_DESC_GPIO_OUTPUT_HIGH(15),
FUNCTION_DES_DELAY_MS(10),
FUNCTION_DES_DELAY_MS(20),
FUNCTION_DES_DELAY_MS(30),
FUNCTION_DES_DELAY_MS(40),
FUNCTION_DES_DELAY_MS(50),
FUNCTION_DES_DELAY_MS(100),
FUNCTION_DES_DELAY_MS(200),

View File

@@ -60,7 +60,7 @@ static const char *serdes_gpio_groups[] = {
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
{ .gpio_rx_en = 1, .gpio_id = id + 2 } \
{ .gpio_rx_en = 1, .gpio_id = id ? (id + 2) : 0x12 } \
}, \
} \
@@ -71,7 +71,7 @@ static const char *serdes_gpio_groups[] = {
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
{ .gpio_rx_en = 0, .gpio_id = id + 2 } \
{ .gpio_rx_en = 0, .gpio_id = id ? (id + 2) : 0x12 } \
}, \
} \
@@ -167,6 +167,9 @@ static struct function_desc bu18rl82_functions_desc[] = {
FUNCTION_DESC_GPIO_OUTPUT_LOW(),
FUNCTION_DES_DELAY_MS(10),
FUNCTION_DES_DELAY_MS(20),
FUNCTION_DES_DELAY_MS(30),
FUNCTION_DES_DELAY_MS(40),
FUNCTION_DES_DELAY_MS(50),
FUNCTION_DES_DELAY_MS(100),
FUNCTION_DES_DELAY_MS(200),