pinctrl-meson8b.c (634e40b0c2bde81051e309cdfe4c26bbca3164ec) pinctrl-meson8b.c (70e5ecb1b994f2704c234cb12366d45474b98f32)
1/*
2 * Pin controller and GPIO driver for Amlogic Meson8b.
3 *
4 * Copyright (C) 2015 Endless Mobile, Inc.
5 * Author: Carlo Caione <carlo@endlessm.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 892 unchanged lines hidden (view full) ---

901
902static struct meson_bank meson8b_aobus_banks[] = {
903 /* name first lastc irq pullen pull dir out in */
904 BANK("AO", GPIOAO_0, GPIO_TEST_N, 0, 13, 0, 0, 0, 16, 0, 0, 0, 16, 1, 0),
905};
906
907struct meson_pinctrl_data meson8b_cbus_pinctrl_data = {
908 .name = "cbus-banks",
1/*
2 * Pin controller and GPIO driver for Amlogic Meson8b.
3 *
4 * Copyright (C) 2015 Endless Mobile, Inc.
5 * Author: Carlo Caione <carlo@endlessm.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 892 unchanged lines hidden (view full) ---

901
902static struct meson_bank meson8b_aobus_banks[] = {
903 /* name first lastc irq pullen pull dir out in */
904 BANK("AO", GPIOAO_0, GPIO_TEST_N, 0, 13, 0, 0, 0, 16, 0, 0, 0, 16, 1, 0),
905};
906
907struct meson_pinctrl_data meson8b_cbus_pinctrl_data = {
908 .name = "cbus-banks",
909 .pin_base = 0,
910 .pins = meson8b_cbus_pins,
911 .groups = meson8b_cbus_groups,
912 .funcs = meson8b_cbus_functions,
913 .banks = meson8b_cbus_banks,
914 .num_pins = ARRAY_SIZE(meson8b_cbus_pins),
915 .num_groups = ARRAY_SIZE(meson8b_cbus_groups),
916 .num_funcs = ARRAY_SIZE(meson8b_cbus_functions),
917 .num_banks = ARRAY_SIZE(meson8b_cbus_banks),
918};
919
920struct meson_pinctrl_data meson8b_aobus_pinctrl_data = {
921 .name = "aobus-banks",
909 .pins = meson8b_cbus_pins,
910 .groups = meson8b_cbus_groups,
911 .funcs = meson8b_cbus_functions,
912 .banks = meson8b_cbus_banks,
913 .num_pins = ARRAY_SIZE(meson8b_cbus_pins),
914 .num_groups = ARRAY_SIZE(meson8b_cbus_groups),
915 .num_funcs = ARRAY_SIZE(meson8b_cbus_functions),
916 .num_banks = ARRAY_SIZE(meson8b_cbus_banks),
917};
918
919struct meson_pinctrl_data meson8b_aobus_pinctrl_data = {
920 .name = "aobus-banks",
922 .pin_base = 0,
923 .pins = meson8b_aobus_pins,
924 .groups = meson8b_aobus_groups,
925 .funcs = meson8b_aobus_functions,
926 .banks = meson8b_aobus_banks,
927 .num_pins = ARRAY_SIZE(meson8b_aobus_pins),
928 .num_groups = ARRAY_SIZE(meson8b_aobus_groups),
929 .num_funcs = ARRAY_SIZE(meson8b_aobus_functions),
930 .num_banks = ARRAY_SIZE(meson8b_aobus_banks),
931};
921 .pins = meson8b_aobus_pins,
922 .groups = meson8b_aobus_groups,
923 .funcs = meson8b_aobus_functions,
924 .banks = meson8b_aobus_banks,
925 .num_pins = ARRAY_SIZE(meson8b_aobus_pins),
926 .num_groups = ARRAY_SIZE(meson8b_aobus_groups),
927 .num_funcs = ARRAY_SIZE(meson8b_aobus_functions),
928 .num_banks = ARRAY_SIZE(meson8b_aobus_banks),
929};