mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
e66dd48e8b
Since Meson G12A SoC, Introduce new ao registers AO_RTI_PULL_UP_EN_REG
and AO_GPIO_O.
These bits of controlling output level are remapped to the new register
AO_GPIO_O, and the AO_GPIO_O_EN_N support only controlling output enable.
These bits of controlling pull enable are remapped to the new register
AO_RTI_PULL_UP_EN_REG, and the AO_RTI_PULL_UP_REG support only controlling
pull type(up/down).
The new layout of ao gpio/pull registers is as follows:
- AO_GPIO_O_EN_N [offset: 0x9 << 2]
- AO_GPIO_I [offset: 0xa << 2]
- AO_RTI_PULL_UP_REG [offset: 0xb << 2]
- AO_RTI_PULL_UP_EN_REG [offset: 0xc << 2]
- AO_GPIO_O [offset: 0xd << 2]
From above, we can see ao GPIO registers region has been separated by the
ao pull registers. In order to ensure the continuity of the region on
software, the ao GPIO and ao pull registers use the same base address, but
can be identified by the offset.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pinctrl-meson8-pmx.c | ||
pinctrl-meson8-pmx.h | ||
pinctrl-meson8.c | ||
pinctrl-meson8b.c | ||
pinctrl-meson-axg-pmx.c | ||
pinctrl-meson-axg-pmx.h | ||
pinctrl-meson-axg.c | ||
pinctrl-meson-g12a.c | ||
pinctrl-meson-gxbb.c | ||
pinctrl-meson-gxl.c | ||
pinctrl-meson.c | ||
pinctrl-meson.h |