AR-1 - Adding support category for distributions AR-4 - Remove Allwinner legacy AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family AR-9 - Rename sunxi-next to sunxi-legacy AR-10 - Rename sunxi-dev to sunxi-current AR-11 - Adding Radxa Rockpi S support AR-13 - Rename rockchip64-default to rockchip64-legacy AR-14 - Add rockchip64-current as mainline source AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y AR-16 - Rename RK3399 default to legacy AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y AR-18 - Add Odroid N2 current mainline AR-19 - Move Odroid C1 to meson family AR-20 - Rename mvebu64-default to mvebu64-legacy AR-21 - Rename mvebu-default to mvebu-legacy AR-22 - Rename mvebu-next to mvebu-current AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6 AR-26 - Adjust motd AR-27 - Enabling distribution release status AR-28 - Added new GCC compilers AR-29 - Implementing Ubuntu Eoan AR-30 - Add desktop packages per board or family AR-31 - Remove (Ubuntu/Debian) distribution name from image filename AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files AR-33 - Revision numbers for beta builds changed to day_in_the_year AR-34 - Patches support linked patches AR-35 - Break meson64 family into gxbb and gxl AR-36 - Add Nanopineo2 Black AR-38 - Upgrade option from old branches to new one via armbian-config AR-41 - Show full timezone info AR-43 - Merge Odroid N2 to meson64 AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
31 lines
1.4 KiB
Diff
31 lines
1.4 KiB
Diff
From 4aa7894de903660f5c8d5155f2590d00022ca95e Mon Sep 17 00:00:00 2001
|
|
From: WaterByWind <WaterByWind@users.noreply.github.com>
|
|
Date: Sun, 14 Apr 2019 16:16:09 -0400
|
|
Subject: [PATCH] pinctrl: sunxi: Disable strict mode for A64 pinctrl driver
|
|
|
|
With kernel 4.15.y (and later):
|
|
* Strict mode was enabled by default via commit 1396007286b1e2fd5dd10ae6a5ccaaaed51ab762 which can/will cause breakage with existing implementations.
|
|
* The ability to configure strict mode was added via commit aae842a3ff3385f27f1df8a9ee1494a416ec032d to allow older drivers to maintain existing behavior and avoid breakage.
|
|
* Commit cd70387f892205bcd7b8093b0837269b0739cbe0 had then explicitly disabled strict mode for most other existing SoCs but did not include A64.
|
|
|
|
This change is to update the A64 pinctrl driver similar to the other pre-existing SoC pinctrl drivers.
|
|
---
|
|
drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
|
|
index 7b83d3755a0e..bea52c5a9afa 100644
|
|
--- a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
|
|
+++ b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
|
|
@@ -578,6 +578,7 @@ static const struct sunxi_pinctrl_desc a64_pinctrl_data = {
|
|
.pins = a64_pins,
|
|
.npins = ARRAY_SIZE(a64_pins),
|
|
.irq_banks = 3,
|
|
+ .disable_strict_mode = true,
|
|
};
|
|
|
|
static int a64_pinctrl_probe(struct platform_device *pdev)
|
|
--
|
|
2.20.1 (Apple Git-117)
|
|
|