diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2019-11-25 18:04:25 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-12-09 14:45:01 +0100 |
commit | fae284f1bc773c9297d337b94cf0aca3593d9842 (patch) | |
tree | 4a67f2046a5408041c6579f1b5c5c0f79232b9f8 /arch/arm/boot/dts/ste-hrefprev60.dtsi | |
parent | 96b619e3c1dfd7464652265d17ee8c07ef5cca92 (diff) | |
download | linux-fae284f1bc773c9297d337b94cf0aca3593d9842.tar.gz linux-fae284f1bc773c9297d337b94cf0aca3593d9842.tar.bz2 linux-fae284f1bc773c9297d337b94cf0aca3593d9842.zip |
ARM: dts: ux500: Disable I2C/SPI buses by default
At the moment, all 5 I2C and 6 SPI buses are probed and exposed
to user-space by default - even if they are not muxed to any pins
on the board. This means that user-space sees an I2C/SPI bus that
cannot be actually used properly.
In some cases this was used to put the corresponding pins into
a low power sleep mode - but even then the pins first need to be
configured by the board-specific device tree part.
Avoid exposing unconfigured devices to user-space by disabling
the I2C/SPI buses by default. Enable them in the board device trees
when needed.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20191125170428.76069-1-stephan@gerhold.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-hrefprev60.dtsi')
-rw-r--r-- | arch/arm/boot/dts/ste-hrefprev60.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-hrefprev60.dtsi b/arch/arm/boot/dts/ste-hrefprev60.dtsi index a036defdf164..937f942f0961 100644 --- a/arch/arm/boot/dts/ste-hrefprev60.dtsi +++ b/arch/arm/boot/dts/ste-hrefprev60.dtsi @@ -58,6 +58,7 @@ */ pinctrl-names = "default"; pinctrl-0 = <&ssp0_hrefprev60_mode>; + status = "okay"; }; // External Micro SD slot |