diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-10-10 21:42:12 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-10-15 22:37:25 +0200 |
commit | 8c767e9c1ef40c9fa73276df801251cef895b569 (patch) | |
tree | f67bec4b8379e76e6723a69f313c1be5187c5b6f /tools/testing/radix-tree/linux/kernel.h | |
parent | 5ded578a18c9515c2c0e1cd148ca42133bbcf055 (diff) |
rtc: rtc7301: Support byte-addressed IO
The old RTC7301 driver in OpenWrt used byte access, but the
current mainline Linux driver uses 32bit word access.
Make this configurable using device properties using the
standard property "reg-io-width" in e.g. device tree.
This is needed for the USRobotics USR8200 which has the
chip connected using byte accesses.
Debugging and testing by Howard Harte.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Link: https://lore.kernel.org/r/20231010-rtc-7301-regwidth-v3-2-ade586b62794@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/testing/radix-tree/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions