lkml.org 
[lkml]   [2020]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 1/3] rtc: jz4740: Add support for JZ4760 SoC
    On 11/03/2020 19:23:16+0100, Paul Cercueil wrote:
    > The WENR feature (set a magic value to enable RTC registers read-write)
    > first appeared on the JZ4760; the JZ4780 came much later.
    >
    > Since it would be dangerous to specify a newer SoC's compatible string as
    > the fallback of an older SoC's compatible string, we add support for the
    > "ingenic,jz4760-rtc" compatible string in the driver.
    >
    > This will permit to support the JZ4770 by having:
    > compatible = "ingenic,jz4770-rtc", "ingenic,jz4760-rtc";
    >
    > Instead of doing:
    > compatible = "ingenic,jz4770-rtc", "ingenic,jz4780-rtc";
    >
    > Signed-off-by: Paul Cercueil <paul@crapouillou.net>
    > ---
    > drivers/rtc/rtc-jz4740.c | 4 +++-
    > 1 file changed, 3 insertions(+), 1 deletion(-)
    >
    Applied, thanks.

    --
    Alexandre Belloni, Bootlin
    Embedded Linux and Kernel engineering
    https://bootlin.com

    \
     
     \ /
      Last update: 2020-03-24 11:11    [W:2.299 / U:2.828 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site