Re: [PATCH] drm/bridge: it6505: Add range and selector_reg

2023-03-27 Thread Neil Armstrong
Hi, On Mon, 27 Mar 2023 12:48:05 +0800, Hsin-Yi Wang wrote: > There are 2 banks on it6505, and when writing to different bank, > REG_BANK_SEL needs to be set to the targeted bank. The current code set > this additionally, which causes a race condition when a process is > writing bank 0 registers w

Re: [PATCH] drm/bridge: it6505: Add range and selector_reg

2023-03-27 Thread Neil Armstrong
On 27/03/2023 06:48, Hsin-Yi Wang wrote: There are 2 banks on it6505, and when writing to different bank, REG_BANK_SEL needs to be set to the targeted bank. The current code set this additionally, which causes a race condition when a process is writing bank 0 registers while another process set t

Re: [PATCH] drm/bridge: it6505: Add range and selector_reg

2023-03-27 Thread Andrzej Hajda
On 27.03.2023 06:48, Hsin-Yi Wang wrote: There are 2 banks on it6505, and when writing to different bank, REG_BANK_SEL needs to be set to the targeted bank. The current code set this additionally, which causes a race condition when a process is writing bank 0 registers while another process set t

[PATCH] drm/bridge: it6505: Add range and selector_reg

2023-03-26 Thread Hsin-Yi Wang
There are 2 banks on it6505, and when writing to different bank, REG_BANK_SEL needs to be set to the targeted bank. The current code set this additionally, which causes a race condition when a process is writing bank 0 registers while another process set the bank to 1. Set ranges in regmap config s