s5l87xx: Use pointer arithmetic in register address calculation

This allows to reuse a register definition across similar SoCs that have the same layout of registers (same offsets), but are using a different base address for the peripheral. The include guard was also fixed to reflect the new file name of the header.

Some registers were renamed in order to match the datasheet and for consistency with the other register numbering.

Change-Id: I0192e227a3c467504b8fcd1eb684a7fc861f7896
This commit is contained in:
Vencislav Atanasov 2024-11-24 01:10:11 +02:00 committed by Solomon Peachy
parent 18fdb41b2c
commit 375a6bc9b1
7 changed files with 872 additions and 888 deletions

File diff suppressed because it is too large Load diff