aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2018-03-23 16:34:52 +0000
committerLinus Walleij <[email protected]>2018-03-27 13:34:20 +0000
commit726cb3ba49692bdae6caff457755e7cdb432efa4 (patch)
tree66bf4de79b830df2556fa8854dcba1d414ebd9a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentgpiolib: Change bitmap allocation to kmalloc_array (diff)
downloadkernel-726cb3ba49692bdae6caff457755e7cdb432efa4.tar.gz
kernel-726cb3ba49692bdae6caff457755e7cdb432efa4.zip
gpiolib: Support '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. 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 <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Tested-by: Timur Tabi <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions