[PATCH 10/20] pinctrl: berlin: use u16 instead of u8 for the offset

From
Jisheng Zhang <jszhang@kernel.org>
Date
2026-09-29 06:35:52
Also in
linux-arm-kernel, linux-clk, linux-gpio, linux-i2c, linux-i3c, linux-serial, linux-spi, lkml
Reply to
Jisheng Zhang, 2026-09-29
The u8 may not be enough for newer Synaptics SoCs.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
---
 drivers/pinctrl/berlin/berlin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/berlin/berlin.h b/drivers/pinctrl/berlin/berlin.h
index 231aab61d415..7e7096842eda 100644
--- a/drivers/pinctrl/berlin/berlin.h
+++ b/drivers/pinctrl/berlin/berlin.h
@@ -17,7 +17,7 @@ struct berlin_desc_function {
 
 struct berlin_desc_group {
 	const char			*name;
-	u8				offset;
+	u16				offset;
 	u8				bit_width;
 	u8				lsb;
 	struct berlin_desc_function	*functions;
-- 
2.53.0
Thread (67 messages) 67 messages, 9 authors, last reply 2026-10-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help