commit | 0707bfdf233b755c7f1b5547e32ede92264790a0 | [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 | 808156189b92be4dcbf021b1c2ad75ef3ba45c2c [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>