Helmut Pozimski
|
d5ef1b1f3a
use regmap for nvram access since i2c_transfer was unreliable
|
5 vuotta sitten |
Helmut Pozimski
|
b7f6ab24bb
implement ioctl to read alarm bit on DS1337
|
6 vuotta sitten |
Helmut Pozimski
|
a690627768
implement writing of the alarm timer and enabling the irq
|
6 vuotta sitten |
Helmut Pozimski
|
47e8d95c41
implement reading of the alarm registers for DS1337
|
6 vuotta sitten |
Helmut Pozimski
|
fb5eec7e0e
implement writing to nvram for DS1307
|
6 vuotta sitten |
Helmut Pozimski
|
ecdd0ef975
introduce write_bytes function and remove usage of i2c_master_send
|
6 vuotta sitten |
Helmut Pozimski
|
a6ce541391
implement reading from the DS1307 nvram
|
6 vuotta sitten |
Helmut Pozimski
|
0e2568fa86
implement check for dates before 2000 for DS1307
|
6 vuotta sitten |
Helmut Pozimski
|
3e5d944d40
consolidate set_time function and remove write function again
|
6 vuotta sitten |
Helmut Pozimski
|
b14424a20c
fix century for ds1337
|
6 vuotta sitten |
Helmut Pozimski
|
163ffafc61
replace char declarations with u8 and complement id tables
|
6 vuotta sitten |
Helmut Pozimski
|
05f7427d14
move clearing of the oscillator bit to the time set function
|
6 vuotta sitten |
Helmut Pozimski
|
807f84959d
implement writing of the time to the devices
|
6 vuotta sitten |
Helmut Pozimski
|
1481c8643f
fix size of the read buffer and substract one from the days
|
6 vuotta sitten |
Helmut Pozimski
|
4e4e5159c8
Implement functionality to read time from hwclock
|
6 vuotta sitten |
Helmut Pozimski
|
0cffee634f
implemented clearing the oscillator stop bit for both models
|
6 vuotta sitten |
Helmut Pozimski
|
d28b2a3b96
add hint about the device tree overlay to README.md
|
6 vuotta sitten |
Helmut Pozimski
|
319e80c65e
add i2c probe function with device detection support
|
6 vuotta sitten |
Helmut Pozimski
|
9bbc6fed77
add Makefile, .gitignore and module skeleton
|
6 vuotta sitten |
Helmut Pozimski
|
30dd0828e7
Initial commit, add README.md and COPYING
|
6 vuotta sitten |