Skip to content
Commit 48609d07 authored by Simon Glass's avatar Simon Glass
Browse files

dm: gpio: Add of-platdata support



Add support for accessing GPIOs using of-plata. This uses the same
mechanism as for clocks, but allows use of the xlate() method so that
the driver can interpret the parameters.

Update the condition for GPIO_HOG so that it is not built into SPL,
since it needs SPL_OF_REAL which is not enabled in sandbox_spl.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 3e57ad90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment