Skip to contentSkip to conversation

pinctrl: Increase size of pinmux status buffer

PATCH Applied Venkatesh Yadav Abbarapu 2 participants 2 messages Sep 20, 2023 – Oct 2, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: Increase size of pinmux status buffer

For Xilinx ZynqMP SOC new parameter was added and now it can set 7 parameters for its pins. Pinmux status command will print the status of these parameters for each pin. But current print buffer length is only 80 characters long, increase it to 90 to print all the parameters without truncation.

---
 include/dm/pinctrl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/dm/pinctrl.h +1 -1
index e3e50afeaf..70d8cc5eca 100644
@@ -7,7 +7,7 @@
 #define __PINCTRL_H
 
 #define PINNAME_SIZE	10
-#define PINMUX_SIZE	80
+#define PINMUX_SIZE	90
 
 /**
  * struct pinconf_param - pin config parameters
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 16 lines · Venkatesh Yadav Abbarapu

For Xilinx ZynqMP SOC new parameter was added and now it can set 7 parameters for its pins. Pinmux status command will print the status of these parameters for each pin. But current print buffer length is only 80 characters long, increase it to 90 to print all the parameters without truncation.

---
  include/dm/pinctrl.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/dm/pinctrl.h +0 -0
index e3e50afeaf..70d8cc5eca 100644

include/dm/pinctrl.h line 13

Quoted 8 lines
include/dm/pinctrl.h +1 -1
@@ -7,7 +7,7 @@
  #define __PINCTRL_H
 
  #define PINNAME_SIZE	10
-#define PINMUX_SIZE	80
+#define PINMUX_SIZE	90
 
  /**
   * struct pinconf_param - pin config parameters

Applied.
M