summaryrefslogtreecommitdiffstats
tag namesent/rtc-7301-regwidth-v3 (143b9c4e1661531a0b340de883827102eba3eef8)
tag date2023-10-10 21:42:16 +0200
tagged byLinus Walleij <linus.walleij@linaro.org>
tagged objectcommit b0ce7884d8...
downloadlinux-nomadik-sent/rtc-7301-regwidth-v3.tar.gz
Support byte access in the RTC7301 driver
This augments the Epson RTC7301 driver so that is supports both 8bit byte and 32bit word access. To: Alessandro Zummo <a.zummo@towertech.it> To: Alexandre Belloni <alexandre.belloni@bootlin.com> To: Rob Herring <robh+dt@kernel.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Conor Dooley <conor+dt@kernel.org> To: Akinobu Mita <akinobu.mita@gmail.com> To: Howard Harte <hharte@magicandroidapps.com> Cc: linux-rtc@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- Changes in v3: - Use a default in the binding to encode 32bit (4 bytes) reg width as default. - Collect Rob's ACK. - Link to v2: https://lore.kernel.org/r/20231007-rtc-7301-regwidth-v2-0-c913aa95f666@linaro.org Changes in v2: - Specify that the reg-io-width default is 4 if not specified in the device tree. - Fix spelling in driver comment. - Print error and exit if an invalid width is specified. - Link to v1: https://lore.kernel.org/r/20230921-rtc-7301-regwidth-v1-0-1900556181bf@linaro.org --- Linus Walleij (2): rtc: rtc7301: Rewrite bindings in schema rtc: rtc7301: Support byte-addressed IO .../devicetree/bindings/rtc/epson,rtc7301.txt | 16 ------- .../devicetree/bindings/rtc/epson,rtc7301.yaml | 51 ++++++++++++++++++++++ drivers/rtc/rtc-r7301.c | 35 ++++++++++++++- 3 files changed, 84 insertions(+), 18 deletions(-) --- base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d change-id: 20230921-rtc-7301-regwidth-18ba1e3d0edb Best regards,