Skip to content
Commit 18c56982 authored by Ayush Singh's avatar Ayush Singh Committed by Benjamin Cabé
Browse files

drivers: gpio: davinci: Match GPIO address with Linux



Currently, the Zephyr dt requires address to the direction register
instead of the base GPIO address. usually means base address + 0x10 when
compared with Linux.

To make things more consistent between linux and zephyr, handle the
direction offset in the driver itself. This also lays the foundation for
supporting more than 32 GPIOs per port in the future by introducing
offsets for all the banks.

Signed-off-by: default avatarAyush Singh <ayush@beagleboard.org>
parent f862716e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment