We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e106b1d commit 591ae6bCopy full SHA for 591ae6b
drivers/gpio/gpio-rockchip.c
@@ -26,9 +26,15 @@
26
#include "../pinctrl/core.h"
27
#include "../pinctrl/pinctrl-rockchip.h"
28
29
+/*
30
+ * Version ID Register
31
+ * Bits [31:24] - Major Version
32
+ * Bits [23:16] - Minor Version
33
+ * Bits [15:0] - Revision Number
34
+ */
35
#define GPIO_TYPE_V1 (0) /* GPIO Version ID reserved */
-#define GPIO_TYPE_V2 (0x01000C2B) /* GPIO Version ID 0x01000C2B */
-#define GPIO_TYPE_V2_1 (0x0101157C) /* GPIO Version ID 0x0101157C */
36
+#define GPIO_TYPE_V2 (0x01000C2B)
37
+#define GPIO_TYPE_V2_1 (0x0101157C)
38
39
static const struct rockchip_gpio_regs gpio_regs_v1 = {
40
.port_dr = 0x00,
0 commit comments