commit | 904b8700f81cbc6a49c4f693744a4d2c6c393d6d | [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 | 5aedc8bf0ff72c4f09a56fdea59da9357d5fbd4e [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>