Joonyoung Shim
ff02c0444b
rtc: s5m: fix to update ctrl register
...
According to datasheet, the S2MPS13X and S2MPS14X should update write
buffer via setting WUDR bit to high after ctrl register is written.
If not, ALARM interrupt of rtc-s5m doesn't happen first time when i use
tools/testing/selftests/timers/rtctest.c test program and hour format is
used to 12 hour mode in Odroid-XU3 board.
One more issue is the RTC doesn't keep time on Odroid-XU3 board when i
turn on board after power off even if RTC battery is connected. It can
be solved as setting WUDR & RUDR bits to high at the same time after
RTC_CTRL register is written. It's same with condition of only writing
ALARM registers, so this is for only S2MPS14 and we should set WUDR &
A_UDR bits to high on S2MPS13.
I can't find any reasonable description about this like fix from
datasheet, but can find similar codes from rtc driver source of
hardkernel kernel and vendor kernel.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: <stable@vger.kernel.org> # v3.16
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2015-09-05 19:37:19 +02:00
..
accessibility
acpi
Power management and ACPI material for v4.3-rc1
2015-09-01 19:45:46 -07:00
amba
android
ata
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
2015-09-03 16:55:55 -07:00
atm
auxdisplay
base
sound updates for 4.3-rc1
2015-09-04 11:46:02 -07:00
bcma
block
Merge branch 'for-4.3/drivers' of git://git.kernel.dk/linux-block
2015-09-02 13:14:58 -07:00
bluetooth
Bluetooth: hci_bcm: Fix crash on suspend
2015-08-28 21:09:14 +02:00
bus
MIPS: Remove "weak" from mips_cdmm_phys_base() declaration
2015-09-03 12:07:39 +02:00
cdrom
char
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
2015-09-04 15:49:32 -07:00
clk
This is the bulk of pin control changes for the v4.3 development
2015-09-04 10:22:09 -07:00
clocksource
- New Device Support
2015-09-04 11:35:03 -07:00
connector
cpufreq
Power management and ACPI material for v4.3-rc1
2015-09-01 19:45:46 -07:00
cpuidle
Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
2015-09-03 16:27:01 -07:00
crypto
Merge branch 'for-4.3/sg' of git://git.kernel.dk/linux-block
2015-09-02 13:22:38 -07:00
dca
devfreq
dio
dma
dmaengine updates for 4.3-rc1
2015-09-04 11:10:18 -07:00
dma-buf
edac
Minor stuff: AMD MCE decoding correction and xgene_edac cleanup.
2015-09-01 18:34:22 -07:00
eisa
extcon
regulator: Updates for v4.3
2015-08-31 15:49:19 -07:00
firewire
firmware
Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
2015-09-03 16:27:01 -07:00
fmc
gpio
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
2015-09-04 15:49:32 -07:00
gpu
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
2015-09-04 15:49:32 -07:00
hid
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2015-09-04 12:02:11 -07:00
hsi
hv
hwmon
hwspinlock
hwtracing /coresight
i2c
- New Device Support
2015-09-04 11:35:03 -07:00
ide
idle
iio
This is the bulk of GPIO changes for the v4.3 kernel cycle:
2015-09-04 10:07:45 -07:00
infiniband
input
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2015-09-04 12:02:11 -07:00
iommu
Merge branch 'for-4.3/sg' of git://git.kernel.dk/linux-block
2015-09-02 13:22:38 -07:00
ipack
irqchip
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
2015-09-03 16:55:55 -07:00
isdn
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2015-09-03 08:08:17 -07:00
leds
- Stop using LP855X Platform Data to control regulators
2015-09-04 11:40:40 -07:00
lguest
macintosh
powerpc updates for 4.3
2015-09-03 16:41:38 -07:00
mailbox
Power management and ACPI material for v4.3-rc1
2015-09-01 19:45:46 -07:00
mcb
md
Merge tag 'dm-4.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
2015-09-02 16:35:26 -07:00
media
This is the bulk of GPIO changes for the v4.3 kernel cycle:
2015-09-04 10:07:45 -07:00
memory
powerpc updates for 4.3
2015-09-03 16:41:38 -07:00
memstick
message
mfd
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
2015-09-04 15:49:32 -07:00
misc
powerpc updates for 4.3
2015-09-03 16:41:38 -07:00
mmc
Merge branch 'for-4.3/sg' of git://git.kernel.dk/linux-block
2015-09-02 13:22:38 -07:00
mtd
powerpc updates for 4.3
2015-09-03 16:41:38 -07:00
net
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
2015-09-03 16:55:55 -07:00
nfc
This is the bulk of GPIO changes for the v4.3 kernel cycle:
2015-09-04 10:07:45 -07:00
ntb
nubus
nvdimm
Merge branch 'for-4.3/core' of git://git.kernel.dk/linux-block
2015-09-02 13:10:25 -07:00
nvmem
of
arm64 updates for 4.3:
2015-09-04 07:18:09 -07:00
oprofile
parisc
Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2015-09-01 14:33:35 -07:00
parport
pci
Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2015-09-01 14:33:35 -07:00
pcmcia
pcmcia: soc_common: remove skt_dev_info's clk pointer
2015-09-03 16:01:03 +01:00
perf
phy
This is the bulk of GPIO changes for the v4.3 kernel cycle:
2015-09-04 10:07:45 -07:00
pinctrl
This is the bulk of pin control changes for the v4.3 development
2015-09-04 10:22:09 -07:00
platform
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2015-09-04 12:02:11 -07:00
pnp
power
Power management and ACPI material for v4.3-rc1
2015-09-01 19:45:46 -07:00
powercap
powercap / RAPL: disable the 2nd power limit properly
2015-08-29 01:46:40 +02:00
pps
ps3
ptp
pwm
rapidio
ras
regulator
Merge remote-tracking branch 'regulator/topic/tps6586x' into regulator-next
2015-08-30 14:40:29 +01:00
remoteproc
reset
rpmsg
rtc
rtc: s5m: fix to update ctrl register
2015-09-05 19:37:19 +02:00
s390
Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2015-09-03 15:46:07 -07:00
sbus
scsi
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2015-09-03 08:08:17 -07:00
sfi
sh
sn
soc
ARM: SoC driver updates for v4.3
2015-09-01 13:00:04 -07:00
spi
Merge remote-tracking branches 'spi/topic/ti-qspi', 'spi/topic/xcomm' and 'spi/topic/xlp' into spi-next
2015-08-31 14:45:45 +01:00
spmi
Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2015-09-01 14:33:35 -07:00
ssb
staging
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
2015-09-03 16:55:55 -07:00
target
Merge branch 'for-4.3/sg' of git://git.kernel.dk/linux-block
2015-09-02 13:22:38 -07:00
tc
thermal
Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2015-09-01 08:40:25 -07:00
thunderbolt
tty
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
2015-09-03 16:55:55 -07:00
uio
usb
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2015-09-01 18:46:42 -07:00
uwb
vfio
vhost
video
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
2015-09-04 15:49:32 -07:00
virt
virtio
vlynq
vme
w1
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2015-09-01 18:46:42 -07:00
watchdog
- New Device Support
2015-09-04 11:35:03 -07:00
xen
Power management and ACPI material for v4.3-rc1
2015-09-01 19:45:46 -07:00
zorro
Kconfig
Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
2015-09-03 16:27:01 -07:00
Makefile
This is the bulk of pin control changes for the v4.3 development
2015-09-04 10:22:09 -07:00