Skip to content
Commit 603df193 authored by Alexander Stein's avatar Alexander Stein Committed by Stephen Boyd
Browse files

clk: rs9: Support device specific dif bit calculation



The calculation DIFx is BIT(n) +1 is only true for 9FGV0241. With
additional devices this is getting more complicated.
Support a base bit for the DIF calculation, currently only devices
with consecutive bits are supported, e.g. the 6-channel device needs
additional logic.

Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20230310075535.3476580-3-alexander.stein@ew.tq-group.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 51f2be46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment