Commit 2a0a67c
rockchip: Add setup_gpio_pins for board-specific early setup
Some boards require touching GPIOs in some ways to setup some hardware
in a known state, which may not be the expected state during boot.
This follows the logic used by `led_setup`.
Either expected by U-Boot or the booted Operating System.
Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
(Originally part of commit 3e03219)
Co-authored-by: Antoni Przybylik <antoni.przybylik@wp.pl>
Originally added for the Pinephone Pro. Now needed for the Pinebook Pro
too.
Changes from Samuel Dionne-Riel <samuel@dionne-riel> adding setup_gpio_pins
as a weak function, fixing unified tree build.
(cherry picked from commit ac9c738)1 parent 05aa651 commit 2a0a67c
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
257 | 261 | | |
258 | 262 | | |
259 | 263 | | |
| 264 | + | |
260 | 265 | | |
261 | 266 | | |
262 | 267 | | |
| |||
0 commit comments