[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZMQft4oY+jrJ1Y8aNm9RSjr_B9dC5ScKbST-vi1ZZ4CQ@mail.gmail.com>
Date: Tue, 26 Nov 2019 13:17:26 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Stephan Gerhold <stephan@...hold.net>
Cc: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/4] ARM: dts: ux500: Disable I2C/SPI buses by default
On Mon, Nov 25, 2019 at 6:05 PM Stephan Gerhold <stephan@...hold.net> wrote:
> 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@...hold.net>
All 4 patches applied and pushed to ux500-dts for v5.6!
Yours,
Linus Walleij
Powered by blists - more mailing lists