]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: tacoma: Hog LPC pinmux
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 22 Oct 2019 04:47:36 +0000 (15:47 +1100)
committerJoel Stanley <joel@jms.id.au>
Fri, 1 Nov 2019 10:24:46 +0000 (20:54 +1030)
Requesting pinmux configuration is done at driver probe time. The LPC IP
is composed of many sub-devices, each with their own driver, and no
driver exists for the entire IP block. Avoid having each sub-device
request the LPC pinmux by just hogging it in the pinctrl node.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts

index f88e71c2b557a1b0001546e5e5573fc310946abf..f02de4ab058cd516cb956a3d8ebfcb9ef87028b0 100644 (file)
@@ -1186,3 +1186,10 @@ &i2c12 {
 &i2c13 {
        status = "okay";
 };
+
+&pinctrl {
+       /* Hog these as no driver is probed for the entire LPC block */
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_lpc_default>,
+                   <&pinctrl_lsirq_default>;
+};