Commit 07c43a38 authored by Andre Przywara's avatar Andre Przywara Committed by Linus Walleij

pinctrl: sunxi: Disable strict mode for H5 driver

All of the H5 boards in the kernel reference the MMC0 CD pin twice in
their DT, so strict mode will make the MMC driver fail to load.
To keep existing DTs working, disable strict mode in the H5 driver.
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Reported-by: default avatarChris Obbard <obbardc@gmail.com>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7c5c2c2d
...@@ -535,14 +535,16 @@ static const struct sunxi_pinctrl_desc sun50i_h5_pinctrl_data_broken = { ...@@ -535,14 +535,16 @@ static const struct sunxi_pinctrl_desc sun50i_h5_pinctrl_data_broken = {
.pins = sun50i_h5_pins, .pins = sun50i_h5_pins,
.npins = ARRAY_SIZE(sun50i_h5_pins), .npins = ARRAY_SIZE(sun50i_h5_pins),
.irq_banks = 2, .irq_banks = 2,
.irq_read_needs_mux = true .irq_read_needs_mux = true,
.disable_strict_mode = true,
}; };
static const struct sunxi_pinctrl_desc sun50i_h5_pinctrl_data = { static const struct sunxi_pinctrl_desc sun50i_h5_pinctrl_data = {
.pins = sun50i_h5_pins, .pins = sun50i_h5_pins,
.npins = ARRAY_SIZE(sun50i_h5_pins), .npins = ARRAY_SIZE(sun50i_h5_pins),
.irq_banks = 3, .irq_banks = 3,
.irq_read_needs_mux = true .irq_read_needs_mux = true,
.disable_strict_mode = true,
}; };
static int sun50i_h5_pinctrl_probe(struct platform_device *pdev) static int sun50i_h5_pinctrl_probe(struct platform_device *pdev)
......
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