commit | 01c69eb0edf4898eb1cdbc6b3ae4ef7f279b2a30 | [log] [tgz] |
---|---|---|
author | Chris Morgan <macromorgan@hotmail.com> | Mon Feb 13 16:27:34 2023 -0600 |
committer | Kever Yang <kever.yang@rock-chips.com> | Tue Feb 28 18:07:27 2023 +0800 |
tree | 65b6257a4723c9b0c01742759e99280c19aee387 | |
parent | f21626a3eebe30b73ec93c79b5fc4c0fca5b5ef1 [diff] |
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: Chris Morgan <macromorgan@hotmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>