commit | 7020dca0bdad580d322839fcade8265d64a2e886 | [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 | 4ec1a2399cf6e182ba2828a40795912d20eca1ab [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>