mirror of https://gitee.com/openkylin/linux.git
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:
parent
eed43e7e17
commit
55bd054ce4
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue