04 Feb, 2018
1 commit
-
Add a new driver for RX8010SJ rtc chip. The driver implements both
formats of U-Boot driver model.Signed-off-by: Nandor Han
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel
20 Nov, 2017
1 commit
-
Add support for S35392A RTC. The driver supports both U-Boot driver
models.Signed-off-by: Nandor Han
Signed-off-by: Martyn Welch
Cc: Heiko Schocher
24 Oct, 2017
1 commit
-
RTC_CONFIG_D register contains the day within the month to generate
an alarm, not the month. This corrects the printf to indicate it.Signed-off-by: Bin Meng
16 Aug, 2017
1 commit
-
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
16 Jun, 2017
1 commit
-
There was for long time no activity in the mpx5xxx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in mpc5xxx,
so remove it.Signed-off-by: Heiko Schocher
12 Jun, 2017
1 commit
-
There was for long time no activity in the 8xx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in 8xx,
so remove it (with a heavy heart, knowing that I remove
here the root of U-Boot).Signed-off-by: Heiko Schocher
09 Jun, 2017
1 commit
-
There is some inconsistency between uses of CONFIG_RTC_DS13xx and
CONFIG_SYS_RTC_DS13xx. Address this by dropping the "SYS" from
these variables.Signed-off-by: Chris Packham
Reviewed-by: Simon Glass
01 Jun, 2017
1 commit
-
This is not needed in this driver. Drop it.
Signed-off-by: Simon Glass
22 May, 2017
1 commit
-
This subsystem has not been converted to driver model, there is only one
driver and only one board that uses it. Drop it and its CONFIG option.Also drop the rtc4543 RTC driver since it uses TWS.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
08 May, 2017
1 commit
-
Add an implementation of the ds1307 driver that uses the driver model
i2c APIs.Signed-off-by: Chris Packham
Reviewed-by: Simon Glass
18 Apr, 2017
1 commit
-
These drivers have no user since commit ea3310e8aafa ("Blackfin:
Remove").Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
Acked-by: Michal Simek
Acked-by: Jaehoon Chung
10 Apr, 2017
1 commit
-
At present there are only 8-bit and 32-bit read/write routines in
the rtc uclass driver. This adds the 16-bit support.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
15 Jan, 2017
1 commit
-
Unfortunately version 2 of this patch was applied which was missing some
changes. Fix this.Signed-off-by: Meng Yi
Acked-by: Simon Glass
Signed-off-by: Simon Glass
03 Dec, 2016
1 commit
-
This driver compatible with pcf2127 and pcf2129
Signed-off-by: Meng Yi
Reviewed-by: Simon Glass
11 Oct, 2016
1 commit
-
For 64-bit x86, __I386__ should perhaps not be defined. It is not clear from
the definition, but let's use CONFIG_X86 to be sure.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
24 Sep, 2016
2 commits
-
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have
the same content. (both just wrap )Replace all include directives for with .
Signed-off-by: Masahiro Yamada
[trini: Fixup include/clk.]
Signed-off-by: Tom Rini -
Remove unneeded variables and assignments.
Signed-off-by: Masahiro Yamada
15 Jul, 2016
1 commit
-
This code generates lots of checkpatch errors. Fix them.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
05 Nov, 2015
1 commit
-
The code is from Adrian Cox, and is patterned after similar
support in Linux (drivers/rtc/rtc-ds1307.c:1121-1135). This
chip is used on the Cyrus board from Varisys.Signed-off-by: Andy Fleming
Reviewed-by: York Sun
21 Oct, 2015
3 commits
-
The current check is incorrect and will fail when any non-zero byte is read.
Fix it.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
At present this driver uses bind() to set up the device. The bind() method
should not touch the hardware, so move the init code to probe().Signed-off-by: Simon Glass
-
Add a comment to make it clear to which block the #endif relates.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
02 Sep, 2015
1 commit
-
RTC devices can generate 32KHz output if for
-DS3232 device, EN32KHz bit and BB32KHz bit are set
-DS3231 device, EN32KHz bit is set, BB32KHz bit is don't carePatch adds rtc_enable_32khz_output() which when called
will enable 32KHz output on 32KHz pinSigned-off-by: Priyanka Jain
Reviewed-by: York Sun
13 Aug, 2015
1 commit
-
The menuconfig for drivers are getting more and more cluttered
and unreadable because too many entries are displayed in a single
flat menu. Use hierarchic menu for each category.Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
[trini: Update to apply again in a few places, drop USB hunk]
Signed-off-by: Tom Rini
15 Jul, 2015
1 commit
-
Add driver model support to the mc146818 rtc driver. Also clean up
the driver a little bit for coding convention issues.Signed-off-by: Bin Meng
Acked-by: Simon Glass
06 May, 2015
7 commits
-
Enable real-time-clock support in sandbox.
Signed-off-by: Simon Glass
-
Add a driver which communicates with the sandbox I2C emulation RTC device
and permits it to be used in U-Boot. This driver is very simple - it just
reads and writes selected I2C registers in the device.Signed-off-by: Simon Glass
-
Add a sandbox I2C emulation device which emulates a real-time clock. The
clock works off an offset from the current system time, and supports setting
and getting the clock, as well as access to byte-width regisers in the RTC.
It does not support changing the system time.This device can be used for testing the 'date' command on sandbox, as well
as the RTC uclass.Signed-off-by: Simon Glass
-
Add a uclass for real-time clocks which support getting the current time,
setting it and resetting the chip to a known-working state. Some RTCs have
additional registers which can be used to store settings, so also provide
an interface to these.Signed-off-by: Simon Glass
-
Most callers unpack the structure and pass each member. It seems better to
pass the whole structure instead, as with the C library. Also add an rtc_
prefix.Signed-off-by: Simon Glass
Acked-by: Heiko Schocher -
Rename this function so that it is clear that it is provided by the RTC.
Also return an error when it cannot function as expected. This is unlikely
to occur since it works for dates since 1752 and many RTCs do not support
such old dates. Still it is better to be accurate.Signed-off-by: Simon Glass
Acked-by: Heiko Schocher -
Change this function name to something more descriptive. Also return a
failure code if it cannot calculate a correct value.Signed-off-by: Simon Glass
Acked-by: Heiko Schocher
24 Mar, 2015
1 commit
-
Various files are needlessly rebuilt every time due to the version and
build time changing. As version.h is not actually needed, remove the
include.Signed-off-by: Rob Herring
Cc: Albert Aribaud
Cc: Stefano Babic
Cc: Minkyu Kang
Cc: Marek Vasut
Cc: Tom Warren
Cc: Michal Simek
Cc: Macpaul Lin
Cc: Wolfgang Denk
Cc: York Sun
Cc: Stefan Roese
Cc: Nobuhiro Iwamatsu
Cc: Simon Glass
Cc: Philippe Reynes
Cc: Eric Jarrige
Cc: "David Müller"
Cc: Phil Edworthy
Cc: Robert Baldyga
Cc: Torsten Koschorrek
Cc: Anatolij Gustschin
Reviewed-by: Linus Walleij
Reviewed-by: Łukasz Majewski
24 Jan, 2015
1 commit
-
On x86 we use CMOS RAM to read and write some settings. Add basic support
for this, including access to registers 128-255.Signed-off-by: Simon Glass
06 Jan, 2015
1 commit
-
These boards are still non-generic boards.
drivers/rtc/ds12887.c should also be removed because it can not
be built without CONFIG_ATC.Signed-off-by: Masahiro Yamada
Cc: Wolfgang Denk
08 Dec, 2014
1 commit
-
Including is enough for general use.
Signed-off-by: Masahiro Yamada
25 Nov, 2014
1 commit
-
Provide a function to set up the RTC ready for use.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
23 Oct, 2014
1 commit
-
This move makes is possible to use this header not only from kirkwood
platforms but from all Marvell mvebu platforms.Signed-off-by: Stefan Roese
Tested-by: Luka Perkov
Acked-by: Prafulla Wadaskar
25 Sep, 2014
1 commit
-
This would be useful to start moving various config options.
Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
Tested-by: Simon Glass
14 Aug, 2014
1 commit
-
Signed-off-by: Markus Niebel