[PATCH v3 2/3] gpiolib: Support 'gpio-reserved-ranges' property

Linus Walleij linus.walleij at linaro.org
Tue Mar 27 06:24:16 PDT 2018


On Wed, Mar 21, 2018 at 8:59 PM, Stephen Boyd <swboyd at chromium.org> wrote:
> Quoting Andy Shevchenko (2018-03-21 10:59:10)
>> On Wed, 2018-03-21 at 09:58 -0700, Stephen Boyd wrote:
>> > From: Stephen Boyd <sboyd at codeaurora.org>
>> >
>> > Some qcom platforms make some GPIOs or pins unavailable for use by
>> > non-secure operating systems, and thus reading or writing the
>> > registers
>> > for those pins will cause access control issues. Add support for a DT
>> > property to describe the set of GPIOs that are available for use so
>> > that
>> > higher level OSes are able to know what pins to avoid reading/writing.
>> > Non-DT platforms can add support by directly updating the
>> > chip->valid_mask.
>>
>> > Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>
>> > Signed-off-by: Stephen Boyd <swboyd at chromium.org>
>>
>> Hmm...
>
> Don't look closely! :P

Same physical person acting on behalf of two different legal
entities right? Seems OK to me.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list