commit | 435464d457c8e7f0a8ad30de92b478b9d76aa37d | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Sun Oct 14 12:03:23 2018 +0100 |
committer | Andre Przywara <andre.przywara@arm.com> | Sat Oct 20 16:23:59 2018 +0100 |
tree | b1326565503abcf394bd429c7eccdb8f78759012 | |
parent | 456208aed996a1e2c6cfb1d39e5f39abe2100f65 [diff] |
allwinner: Introduce GPIO helper function Many boards without a dedicated PMIC contain simple regulators, which can be controlled via GPIO pins. To later allow turning them off easily, introduce a simple function to configure a given pin as a GPIO out pin and set it to the desired level. Signed-off-by: Andre Przywara <andre.przywara@arm.com>