mfd: display-serdes: modify function definition for maxim chips

Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: I4a304304df468ad00e2bcf49f0d6bd5617d6757e
This commit is contained in:
Luo Wei
2023-12-13 17:41:48 +08:00
committed by Tao Huang
parent 239e5e386f
commit 22e7707be9
5 changed files with 16 additions and 16 deletions

View File

@@ -121,7 +121,7 @@ static const char *MAX96745_UART_groups[] = { "MAX96745_UART" };
#define FUNCTION_DESC_GPIO_OUTPUT_A(id) \
{ \
.name = "DES_GPIO"#id"_OUTPUT_A", \
.name = "SER_TXID"#id"_TO_DES_LINKA", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -132,7 +132,7 @@ static const char *MAX96745_UART_groups[] = { "MAX96745_UART" };
#define FUNCTION_DESC_GPIO_OUTPUT_B(id) \
{ \
.name = "DES_GPIO"#id"_OUTPUT_B", \
.name = "SER_TXID"#id"_TO_DES_LINKB", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -143,7 +143,7 @@ static const char *MAX96745_UART_groups[] = { "MAX96745_UART" };
#define FUNCTION_DESC_GPIO_INPUT_A(id) \
{ \
.name = "DES_GPIO"#id"_INPUT_A", \
.name = "DES_RXID"#id"_TO_SER_LINKA", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -153,7 +153,7 @@ static const char *MAX96745_UART_groups[] = { "MAX96745_UART" };
#define FUNCTION_DESC_GPIO_INPUT_B(id) \
{ \
.name = "DES_GPIO"#id"_INPUT_B", \
.name = "DES_RXID"#id"_TO_SER_LINKB", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \

View File

@@ -84,7 +84,7 @@ static const char *serdes_gpio_groups[] = {
#define FUNCTION_DESC_GPIO_INPUT_BYPASS(id) \
{ \
.name = "SER_TO_DES_GPIO"#id, \
.name = "SER_TO_DES_RXID"#id, \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -94,7 +94,7 @@ static const char *serdes_gpio_groups[] = {
#define FUNCTION_DESC_GPIO_OUTPUT_BYPASS(id) \
{ \
.name = "DES_GPIO"#id"_TO_SER", \
.name = "DES_TXID"#id"_TO_SER", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -104,7 +104,7 @@ static const char *serdes_gpio_groups[] = {
#define FUNCTION_DESC_GPIO_OUTPUT_LOW(id) \
{ \
.name = "DES_GPIO"#id"_OUTPUT_LOW", \
.name = "DES_TXID"#id"_OUTPUT_LOW", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -115,7 +115,7 @@ static const char *serdes_gpio_groups[] = {
#define FUNCTION_DESC_GPIO_OUTPUT_HIGH(id) \
{ \
.name = "DES_GPIO"#id"_OUTPUT_HIGH", \
.name = "DES_TXID"#id"_OUTPUT_HIGH", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \

View File

@@ -202,7 +202,7 @@ static const char *MAX96755_UART_groups[] = { "MAX96755_UART" };
#define FUNCTION_DESC_GPIO_INPUT(id) \
{ \
.name = "DES_GPIO"#id"_TO_SER", \
.name = "DES_RXID"#id"_TO_SER", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -212,7 +212,7 @@ static const char *MAX96755_UART_groups[] = { "MAX96755_UART" };
#define FUNCTION_DESC_GPIO_OUTPUT(id) \
{ \
.name = "SER_TO_DES_GPIO"#id, \
.name = "SER_TO_DES_TXID"#id, \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \

View File

@@ -89,7 +89,7 @@ static const char *serdes_gpio_groups[] = {
#define FUNCTION_DESC_GPIO_INPUT_BYPASS(id) \
{ \
.name = "SER_TO_DES_GPIO"#id, \
.name = "SER_TO_DES_RXID"#id, \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -99,7 +99,7 @@ static const char *serdes_gpio_groups[] = {
#define FUNCTION_DESC_GPIO_OUTPUT_BYPASS(id) \
{ \
.name = "DES_GPIO"#id"_TO_SER", \
.name = "DES_TXID"#id"_TO_SER", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -109,7 +109,7 @@ static const char *serdes_gpio_groups[] = {
#define FUNCTION_DESC_GPIO_OUTPUT_LOW(id) \
{ \
.name = "DES_GPIO"#id"_OUTPUT_LOW", \
.name = "DES_TXID"#id"_OUTPUT_LOW", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -120,7 +120,7 @@ static const char *serdes_gpio_groups[] = {
#define FUNCTION_DESC_GPIO_OUTPUT_HIGH(id) \
{ \
.name = "DES_GPIO"#id"_OUTPUT_HIGH", \
.name = "DES_TXID"#id"_OUTPUT_HIGH", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \

View File

@@ -201,7 +201,7 @@ static const char *MAX96789_UART_groups[] = { "MAX96789_UART" };
#define FUNCTION_DESC_GPIO_INPUT(id) \
{ \
.name = "DES_GPIO"#id"_TO_SER", \
.name = "DES_RXID"#id"_TO_SER", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \
@@ -211,7 +211,7 @@ static const char *MAX96789_UART_groups[] = { "MAX96789_UART" };
#define FUNCTION_DESC_GPIO_OUTPUT(id) \
{ \
.name = "SER_TO_DES_GPIO"#id, \
.name = "SER_TXID"#id"_TO_DES", \
.group_names = serdes_gpio_groups, \
.num_group_names = ARRAY_SIZE(serdes_gpio_groups), \
.data = (void *)(const struct serdes_function_data []) { \