dt-bindings: gpio: Add a gpio-reserved-ranges property
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 23 Mar 2018 16:34:49 +0000 (09:34 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 27 Mar 2018 13:33:40 +0000 (15:33 +0200)
commitb9c725ed73b7cecc7c9bc4b752ab3eb975ef9330
tree0449d1b714e78f0374f6d39d2e4b84c0659a0116
parent0c8efd610b58cb23cefdfa12015799079aef94ae
dt-bindings: gpio: Add a gpio-reserved-ranges property

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.
Introduce 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.

Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: <devicetree@vger.kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Tested-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio.txt