Searched hist:"7020 dca0bdad580d322839fcade8265d64a2e886" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/plat/allwinner/common/include/ |
| H A D | sunxi_private.h | 7020dca0bdad580d322839fcade8265d64a2e886 Sun Oct 14 11:03:23 UTC 2018 Andre Przywara <andre.przywara@arm.com> 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>
|
| /rk3399_ARM-atf/plat/allwinner/common/ |
| H A D | sunxi_common.c | 7020dca0bdad580d322839fcade8265d64a2e886 Sun Oct 14 11:03:23 UTC 2018 Andre Przywara <andre.przywara@arm.com> 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>
|