Commit 35398f7b authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Linus Walleij

pinctrl: amlogic: gxbb: add the IR remote input pin

This adds the IR remote receiver to the AO domain devices.
Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: default avatarKevin Hilman <khilman@baylibre.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent a1edf87f
...@@ -225,6 +225,8 @@ static const unsigned int i2c_sda_ao_pins[] = {PIN(GPIOAO_5, 0) }; ...@@ -225,6 +225,8 @@ static const unsigned int i2c_sda_ao_pins[] = {PIN(GPIOAO_5, 0) };
static const unsigned int i2c_slave_sck_ao_pins[] = {PIN(GPIOAO_4, 0) }; static const unsigned int i2c_slave_sck_ao_pins[] = {PIN(GPIOAO_4, 0) };
static const unsigned int i2c_slave_sda_ao_pins[] = {PIN(GPIOAO_5, 0) }; static const unsigned int i2c_slave_sda_ao_pins[] = {PIN(GPIOAO_5, 0) };
static const unsigned int remote_input_ao_pins[] = {PIN(GPIOAO_7, 0) };
static struct meson_pmx_group meson_gxbb_periphs_groups[] = { static struct meson_pmx_group meson_gxbb_periphs_groups[] = {
GPIO_GROUP(GPIOZ_0, EE_OFF), GPIO_GROUP(GPIOZ_0, EE_OFF),
GPIO_GROUP(GPIOZ_1, EE_OFF), GPIO_GROUP(GPIOZ_1, EE_OFF),
...@@ -432,6 +434,7 @@ static struct meson_pmx_group meson_gxbb_aobus_groups[] = { ...@@ -432,6 +434,7 @@ static struct meson_pmx_group meson_gxbb_aobus_groups[] = {
GROUP(i2c_sda_ao, 0, 5), GROUP(i2c_sda_ao, 0, 5),
GROUP(i2c_slave_sck_ao, 0, 2), GROUP(i2c_slave_sck_ao, 0, 2),
GROUP(i2c_slave_sda_ao, 0, 1), GROUP(i2c_slave_sda_ao, 0, 1),
GROUP(remote_input_ao, 0, 0),
}; };
static const char * const gpio_periphs_groups[] = { static const char * const gpio_periphs_groups[] = {
...@@ -521,6 +524,10 @@ static const char * const i2c_slave_ao_groups[] = { ...@@ -521,6 +524,10 @@ static const char * const i2c_slave_ao_groups[] = {
"i2c_slave_sdk_ao", "i2c_slave_sda_ao", "i2c_slave_sdk_ao", "i2c_slave_sda_ao",
}; };
static const char * const remote_input_ao_groups[] = {
"remote_input_ao",
};
static struct meson_pmx_func meson_gxbb_periphs_functions[] = { static struct meson_pmx_func meson_gxbb_periphs_functions[] = {
FUNCTION(gpio_periphs), FUNCTION(gpio_periphs),
FUNCTION(emmc), FUNCTION(emmc),
...@@ -537,6 +544,7 @@ static struct meson_pmx_func meson_gxbb_aobus_functions[] = { ...@@ -537,6 +544,7 @@ static struct meson_pmx_func meson_gxbb_aobus_functions[] = {
FUNCTION(uart_ao_b), FUNCTION(uart_ao_b),
FUNCTION(i2c_ao), FUNCTION(i2c_ao),
FUNCTION(i2c_slave_ao), FUNCTION(i2c_slave_ao),
FUNCTION(remote_input_ao),
}; };
static struct meson_bank meson_gxbb_periphs_banks[] = { static struct meson_bank meson_gxbb_periphs_banks[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment