Re: [PATCH] [v2] pinctrl: meson: fix drive strength register and bit calculation

2020-07-07 Thread Linus Walleij
On Thu, Jun 18, 2020 at 4:59 AM Hyeonki Hong wrote: > If a GPIO bank has greater than 16 pins, PAD_DS_REG is split into two > or more registers. However, when register and bit were calculated, the > first register defined in the bank was used, and the bit was calculated > based on the first pin.

[PATCH] [v2] pinctrl: meson: fix drive strength register and bit calculation

2020-06-17 Thread Hyeonki Hong
If a GPIO bank has greater than 16 pins, PAD_DS_REG is split into two or more registers. However, when register and bit were calculated, the first register defined in the bank was used, and the bit was calculated based on the first pin. This causes problems in setting the driving strength. The