commit | f1209566694bd1211cfb36915bd3a29f9e150bf3 | [log] [tgz] |
---|---|---|
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | Thu Mar 14 10:36:20 2024 +0100 |
committer | Kever Yang <kever.yang@rock-chips.com> | Thu Mar 14 18:19:44 2024 +0800 |
tree | d0b878611e5b7af989bb3be5abff62196502872f | |
parent | ded03b09c662142910d8f341c5198c4401179dd7 [diff] |
rockchip: adc: rockchip-saradc: use union for preparing for v2 The registers are entirely different between SARADC v1 and SARADC v2, so let's prepare to add another struct for accessing v2 registers by adding a union. Cc: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>