wt., 17 mar 2020 o 21:50 Michael Walle <michael@xxxxxxxx> napisaÅ(a):
This adds support for the GPIO controller of the sl28 board management
controller. This driver is part of a multi-function device.
Signed-off-by: Michael Walle <michael@xxxxxxxx>
Hi Michael,
thanks for the driver. Please take a look at some comments below.
---
+#define GPIO_REG_DIR 0
+#define GPIO_REG_OUT 1
+#define GPIO_REG_IN 2
+#define GPIO_REG_IE 3
+#define GPIO_REG_IP 4
These values would be more clear if they were defined as hex.
+
+#define GPI_REG_IN 0
+
+#define GPO_REG_OUT 0
Please also use a common prefix even for defines.