26 Jan, 2020

1 commit

  • [ Upstream commit afe19a7ae8b6b6032d04d3895ebd5bbac7fe9f30 ]

    The module alias platform tag contains a spelling mistake. Fix it.

    Fixes: f33506abbcdd ("rtc: bd70528: Add MODULE ALIAS to autoload module")
    Signed-off-by: Colin Ian King
    Link: https://lore.kernel.org/r/20191106083418.159045-1-colin.king@canonical.com
    Signed-off-by: Alexandre Belloni
    Signed-off-by: Sasha Levin

    Colin Ian King
     

18 Jan, 2020

1 commit

  • commit c3e12e66b14a043daac6b3d0559df80b9ed7679c upstream.

    The bd70528 RTC driver is probed by MFD driver. Add MODULE_ALIAS
    in order to allow udev to load the module when MFD sub-device cell
    for RTC is added.

    I'm not sure if this is a bugfix or feature addition but I guess
    fixes tag won't harm in this case.

    Fixes: 32a4a4ebf768 ("rtc: bd70528: Initial support for ROHM bd70528 RTC")
    Signed-off-by: Matti Vaittinen
    Link: https://lore.kernel.org/r/20191023114711.GA13954@localhost.localdomain
    Signed-off-by: Alexandre Belloni
    Signed-off-by: Greg Kroah-Hartman

    Matti Vaittinen
     

21 Aug, 2019

1 commit

  • The RTC core now has error messages in case of registration failure, there
    is no need to have other messages in the drivers.

    Signed-off-by: Alexandre Belloni
    Link: https://lore.kernel.org/r/20190818220041.17833-2-alexandre.belloni@bootlin.com
    Signed-off-by: Alexandre Belloni

    Alexandre Belloni
     

13 Aug, 2019

1 commit

  • We don't need dev_err() messages when platform_get_irq() fails now that
    platform_get_irq() prints an error message itself when something goes
    wrong. Let's remove these prints with a simple semantic patch.

    //
    @@
    expression ret;
    struct platform_device *E;
    @@

    ret =
    (
    platform_get_irq(E, ...)
    |
    platform_get_irq_byname(E, ...)
    );

    if ( \( ret < 0 \| ret

    While we're here, remove braces on if statements that only have one
    statement (manually).

    Cc: Alessandro Zummo
    Cc: Alexandre Belloni
    Cc: linux-rtc@vger.kernel.org
    Cc: Greg Kroah-Hartman
    Signed-off-by: Stephen Boyd
    Link: https://lore.kernel.org/r/20190730181557.90391-40-swboyd@chromium.org
    Signed-off-by: Alexandre Belloni

    Stephen Boyd
     

27 Jun, 2019

1 commit

  • Support RTC block in ROHM bd70528 power management IC. Support
    getting and setting the time and date as well as arming an alarm
    which can also be used to wake the PMIC from standby state.

    HW supports wake interrupt only for the next 24 hours (sec, minute
    and hour information only) so we limit also the alarm interrupt to
    this 24 hours for the sake of consistency.

    Signed-off-by: Matti Vaittinen
    Acked-by: Alexandre Belloni
    Signed-off-by: Lee Jones

    Matti Vaittinen