Page MenuHomeFreeBSD

EPSON RTC-8583 support code on i2c bus
ClosedPublic

Authored by yamori813_yahoo.co.jp on Oct 30 2017, 8:28 AM.
Tags
None
Referenced Files
F133611229: D12833.id34506.diff
Mon, Oct 27, 12:34 AM
F133578700: D12833.id.diff
Sun, Oct 26, 7:08 PM
F133575390: D12833.id34505.diff
Sun, Oct 26, 6:31 PM
Unknown Object (File)
Sun, Oct 26, 10:15 AM
Unknown Object (File)
Sun, Oct 26, 10:15 AM
Unknown Object (File)
Sun, Oct 26, 10:15 AM
Unknown Object (File)
Sun, Oct 26, 10:15 AM
Unknown Object (File)
Sun, Oct 26, 9:24 AM
Subscribers
None

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 12298
Build 12587: arc lint + arc unit

Event Timeline

This is dts

&i2c {
        status = "okay";
        rtc8583 {
                status = "okay";
                compatible = "epson,rtc8583";
                reg = <0x50>;
        };
};

Few cosmetic style issues...

sys/dev/iicbus/rtc8583.c
183–200

I see datasheet for this clock, but can't understand this algo :)
ftp://download.epson-europe.com/pub/electronics-de/quartz/rtc8583.pdf

is 0x10 register number mentioned in datasheet? Does it mean that year is stored in user S-RAM and don't describe in datasheet?

This revision is now accepted and ready to land.Oct 30 2017, 1:16 PM
This revision now requires review to proceed.Oct 31 2017, 12:04 PM
This revision was automatically updated to reflect the committed changes.