diff options
| -rw-r--r-- | Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt | 1 | ||||
| -rw-r--r-- | drivers/pinctrl/samsung/pinctrl-exynos.c | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt index 742e4726e861..c88ba35bef26 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt | |||
| @@ -180,6 +180,7 @@ Aliases for controllers compatible with "samsung,exynos7-pinctrl": | |||
| 180 | - pinctrl5: pin controller of ESE block, | 180 | - pinctrl5: pin controller of ESE block, |
| 181 | - pinctrl6: pin controller of FSYS0 block, | 181 | - pinctrl6: pin controller of FSYS0 block, |
| 182 | - pinctrl7: pin controller of FSYS1 block, | 182 | - pinctrl7: pin controller of FSYS1 block, |
| 183 | - pinctrl8: pin controller of BUS1 block, | ||
| 183 | 184 | ||
| 184 | Example: A pin-controller node with pin banks: | 185 | Example: A pin-controller node with pin banks: |
| 185 | 186 | ||
diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.c b/drivers/pinctrl/samsung/pinctrl-exynos.c index becb3792977b..2a85cb442f9b 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos.c | |||
| @@ -1300,6 +1300,20 @@ static const struct samsung_pin_bank_data exynos7_pin_banks7[] __initconst = { | |||
| 1300 | EXYNOS_PIN_BANK_EINTG(8, 0x060, "gpr3", 0x0c), | 1300 | EXYNOS_PIN_BANK_EINTG(8, 0x060, "gpr3", 0x0c), |
| 1301 | }; | 1301 | }; |
| 1302 | 1302 | ||
| 1303 | /* pin banks of exynos7 pin-controller - BUS1 */ | ||
| 1304 | static const struct samsung_pin_bank_data exynos7_pin_banks8[] __initconst = { | ||
| 1305 | EXYNOS_PIN_BANK_EINTG(8, 0x020, "gpf0", 0x00), | ||
| 1306 | EXYNOS_PIN_BANK_EINTG(8, 0x040, "gpf1", 0x04), | ||
| 1307 | EXYNOS_PIN_BANK_EINTG(4, 0x060, "gpf2", 0x08), | ||
| 1308 | EXYNOS_PIN_BANK_EINTG(5, 0x080, "gpf3", 0x0c), | ||
| 1309 | EXYNOS_PIN_BANK_EINTG(8, 0x0a0, "gpf4", 0x10), | ||
| 1310 | EXYNOS_PIN_BANK_EINTG(8, 0x0c0, "gpf5", 0x14), | ||
| 1311 | EXYNOS_PIN_BANK_EINTG(5, 0x0e0, "gpg1", 0x18), | ||
| 1312 | EXYNOS_PIN_BANK_EINTG(5, 0x100, "gpg2", 0x1c), | ||
| 1313 | EXYNOS_PIN_BANK_EINTG(6, 0x120, "gph1", 0x20), | ||
| 1314 | EXYNOS_PIN_BANK_EINTG(3, 0x140, "gpv6", 0x24), | ||
| 1315 | }; | ||
| 1316 | |||
| 1303 | const struct samsung_pin_ctrl exynos7_pin_ctrl[] __initconst = { | 1317 | const struct samsung_pin_ctrl exynos7_pin_ctrl[] __initconst = { |
| 1304 | { | 1318 | { |
| 1305 | /* pin-controller instance 0 Alive data */ | 1319 | /* pin-controller instance 0 Alive data */ |
| @@ -1342,5 +1356,10 @@ const struct samsung_pin_ctrl exynos7_pin_ctrl[] __initconst = { | |||
| 1342 | .pin_banks = exynos7_pin_banks7, | 1356 | .pin_banks = exynos7_pin_banks7, |
| 1343 | .nr_banks = ARRAY_SIZE(exynos7_pin_banks7), | 1357 | .nr_banks = ARRAY_SIZE(exynos7_pin_banks7), |
| 1344 | .eint_gpio_init = exynos_eint_gpio_init, | 1358 | .eint_gpio_init = exynos_eint_gpio_init, |
| 1359 | }, { | ||
| 1360 | /* pin-controller instance 8 BUS1 data */ | ||
| 1361 | .pin_banks = exynos7_pin_banks8, | ||
| 1362 | .nr_banks = ARRAY_SIZE(exynos7_pin_banks8), | ||
| 1363 | .eint_gpio_init = exynos_eint_gpio_init, | ||
| 1345 | }, | 1364 | }, |
| 1346 | }; | 1365 | }; |
