diff options
| author | Johan Jonker <[email protected]> | 2023-03-19 16:02:18 +0100 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2023-04-21 15:16:01 +0800 |
| commit | 3c4549771dd0352e893a0bc9d2344cd8ecd8033d (patch) | |
| tree | 867e91c2dc9353e32418ac63c30ab872467b219b /scripts/kernel-doc | |
| parent | ba607e2b9a6264ffd0528c1b5b516251d7e7cf2d (diff) | |
rockchip: gpio: rk_gpio: use ROCKCHIP_GPIOS_PER_BANK as divider
The current divider to calculate the bank ID can change.
Given the Rockchip TRM not all gpio-banks have 32 pins per bank.
The "gpio-ranges" syntax allows multiple items with variable number
of pins. Use a constant ROCKCHIP_GPIOS_PER_BANK as fixed divider.
Signed-off-by: Johan Jonker <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
