Skip to content
Commit 904b8700 authored by Chris Morgan's avatar Chris Morgan Committed by Kever Yang
Browse files

gpio: gpio-rockchip: parse gpio-ranges for bank id



Use the new devicetree property of gpio-ranges to determine the GPIO
bank ID. Preserve the "old" way of doing things too, so that boards
can be migrated and tested gradually (I only have a 3566 and 3326 to
test).

Signed-off-by: default avatarChris Morgan <macromorgan@hotmail.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent 5aedc8bf
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