pinctrl: tegra: Set specific GPIO compatible string

Rather than reuse the nvidia,tegra30-gpio compatible string
to find the GPIO controller on Tegra30, Tegra114, Tegra124 and
Tegra210, use the most specific compatible string for each
SoC generation for consistency.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Thierry Reding 2019-06-21 17:19:31 +02:00 committed by Linus Walleij
parent eed43e7e17
commit 55bd054ce4
3 changed files with 3 additions and 3 deletions

View File

@ -1839,7 +1839,7 @@ static const struct tegra_pingroup tegra114_groups[] = {
static const struct tegra_pinctrl_soc_data tegra114_pinctrl = { static const struct tegra_pinctrl_soc_data tegra114_pinctrl = {
.ngpios = NUM_GPIOS, .ngpios = NUM_GPIOS,
.gpio_compatible = "nvidia,tegra30-gpio", .gpio_compatible = "nvidia,tegra114-gpio",
.pins = tegra114_pins, .pins = tegra114_pins,
.npins = ARRAY_SIZE(tegra114_pins), .npins = ARRAY_SIZE(tegra114_pins),
.functions = tegra114_functions, .functions = tegra114_functions,

View File

@ -2051,7 +2051,7 @@ static const struct tegra_pingroup tegra124_groups[] = {
static const struct tegra_pinctrl_soc_data tegra124_pinctrl = { static const struct tegra_pinctrl_soc_data tegra124_pinctrl = {
.ngpios = NUM_GPIOS, .ngpios = NUM_GPIOS,
.gpio_compatible = "nvidia,tegra30-gpio", .gpio_compatible = "nvidia,tegra124-gpio",
.pins = tegra124_pins, .pins = tegra124_pins,
.npins = ARRAY_SIZE(tegra124_pins), .npins = ARRAY_SIZE(tegra124_pins),
.functions = tegra124_functions, .functions = tegra124_functions,

View File

@ -1553,7 +1553,7 @@ static const struct tegra_pingroup tegra210_groups[] = {
static const struct tegra_pinctrl_soc_data tegra210_pinctrl = { static const struct tegra_pinctrl_soc_data tegra210_pinctrl = {
.ngpios = NUM_GPIOS, .ngpios = NUM_GPIOS,
.gpio_compatible = "nvidia,tegra30-gpio", .gpio_compatible = "nvidia,tegra210-gpio",
.pins = tegra210_pins, .pins = tegra210_pins,
.npins = ARRAY_SIZE(tegra210_pins), .npins = ARRAY_SIZE(tegra210_pins),
.functions = tegra210_functions, .functions = tegra210_functions,