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 4120930 commit 8bcbd03Copy full SHA for 8bcbd03
drivers/gpio/gpio-rockchip.c
@@ -35,6 +35,7 @@
35
#define GPIO_TYPE_V1 (0) /* GPIO Version ID reserved */
36
#define GPIO_TYPE_V2 (0x01000C2B)
37
#define GPIO_TYPE_V2_1 (0x0101157C)
38
+#define GPIO_TYPE_V2_2 (0x010219C8)
39
40
static const struct rockchip_gpio_regs gpio_regs_v1 = {
41
.port_dr = 0x00,
@@ -670,6 +671,7 @@ static int rockchip_get_bank_data(struct rockchip_pin_bank *bank)
670
671
switch (id) {
672
case GPIO_TYPE_V2:
673
case GPIO_TYPE_V2_1:
674
+ case GPIO_TYPE_V2_2:
675
bank->gpio_regs = &gpio_regs_v2;
676
bank->gpio_type = GPIO_TYPE_V2;
677
bank->db_clk = of_clk_get(bank->of_node, 1);
0 commit comments