- 28 1月, 2020 3 次提交
-
-
由 Geert Uytterhoeven 提交于
Merely enabling I2C and RTC selects REGMAP_I2C and REGMAP_SPI, even when no driver needs it. While the former can be moduler, the latter cannot, and thus becomes built-in. Fix this by moving the select statements for REGMAP_I2C and REGMAP_SPI from the RTC_I2C_AND_SPI helper to the individual drivers that depend on it. Note that the comment for RTC_I2C_AND_SPI refers to SND_SOC_I2C_AND_SPI for more information, but the latter does not select REGMAP_{I2C,SPI} itself, and defers that to the individual drivers, too. Fixes: 080481f5 ("rtc: merge ds3232 and ds3234") Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org> Reported-by: Nkbuild test robot <lkp@intel.com> Reported-by: Nkbuild test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20200112171349.22268-1-geert@linux-m68k.orgSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Some i2c RTC drivers are using regmap but are not selecting REGMAP_I2C which may lead to build failures. Link: https://lore.kernel.org/r/20200127221724.10160-2-alexandre.belloni@bootlin.comSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
The RTC_DRV_SD3078 is indented using spaces, use tabs instead. Link: https://lore.kernel.org/r/20200127221724.10160-1-alexandre.belloni@bootlin.comSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 24 1月, 2020 1 次提交
-
-
由 Matti Vaittinen 提交于
ROHM BD71828 PMIC RTC block is from many parts similar to one on BD70528. Support BD71828 RTC using BD70528 RTC driver and avoid re-inventing the wheel. Signed-off-by: NMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Acked-by: NAlexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 27 11月, 2019 1 次提交
-
-
由 Krzysztof Kozlowski 提交于
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^ /\t/' -i */Kconfig Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20191120133940.13881-1-krzk@kernel.orgSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 15 11月, 2019 1 次提交
-
-
由 Li Yang 提交于
The Flextimer alarm is primarily used as a wakeup source for system power management. But it shouldn't select the power management driver as they don't really have dependency of each other. Also remove the default y as it is not a critical feature for the systems. Signed-off-by: NLi Yang <leoyang.li@nxp.com> Link: https://lore.kernel.org/r/1573252856-11759-1-git-send-email-leoyang.li@nxp.comSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 16 10月, 2019 1 次提交
-
-
由 Alexandre Belloni 提交于
The correct location for this option is under platform driver, not i2c drivers. Link: https://lore.kernel.org/r/20191014155840.22554-1-alexandre.belloni@bootlin.comSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 04 10月, 2019 1 次提交
-
-
由 Claudiu Beznea 提交于
Use of_device_get_match_data() since all platforms should now use DT bindings. AVR32 architecture has been removed in commit 26202873 ("avr32: remove support for AVR32 architecture"). Signed-off-by: NClaudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/1569500132-21164-1-git-send-email-claudiu.beznea@microchip.comSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 02 9月, 2019 1 次提交
-
-
由 Enric Balletbo i Serra 提交于
Now, the ChromeOS EC core driver has nothing related to an MFD device, so move that driver from the MFD subsystem to the platform/chrome subsystem. Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: NThierry Reding <thierry.reding@gmail.com> Acked-by: NMark Brown <broonie@kernel.org> Acked-by: NWolfram Sang <wsa@the-dreams.de> Acked-by: NNeil Armstrong <narmstrong@baylibre.com> Acked-by: NAlexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: NJonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: NSebastian Reichel <sebastian.reichel@collabora.com> Acked-by: NChanwoo Choi <cw00.choi@samsung.com> Reviewed-by: NGwendal Grignou <gwendal@chromium.org> Tested-by: NGwendal Grignou <gwendal@chromium.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 28 8月, 2019 2 次提交
-
-
由 Bruno Thomsen 提交于
Disable watchdog registation when kernel is build without watchdog functionality, and enable watchdog core otherwise. This removes compile errors like the one below: drivers/rtc/rtc-pcf2127.o: in function `pcf2127_probe.constprop.3': rtc-pcf2127.c:(.text.unlikely+0x2c8): undefined reference to `devm_watchdog_register_device' Watchdog feature in chip will always be configured as this is safe to do in both cases and minimize code churn. Reported-by: NHulk Robot <hulkci@huawei.com> Reported-by: NYueHaibing <yuehaibing@huawei.com> Fixes: bbc597561ce1 ("rtc: pcf2127: add watchdog feature support") Signed-off-by: NBruno Thomsen <bruno.thomsen@gmail.com> Link: https://lore.kernel.org/r/20190827143656.4734-1-bruno.thomsen@gmail.comSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Bruno Thomsen 提交于
Add partial support for the watchdog functionality of both PCF2127 and PCF2129 chips. The programmable watchdog timer is currently using a fixed clock source of 1Hz. This result in a selectable range of 1-255 seconds, which covers most embedded Linux use-cases. Clock sources of 4096Hz, 64Hz and 1/60Hz is mostly useful in MCU use-cases. Countdown timer not available when using watchdog feature. Signed-off-by: NBruno Thomsen <bruno.thomsen@gmail.com> Acked-by: NGuenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20190822131936.18772-4-bruno.thomsen@gmail.comSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 23 8月, 2019 2 次提交
-
-
由 Biwen Li 提交于
For the platforms including LS1012A, LS1021A, LS1028A, LS1043A, LS1046A, LS1088A, LS208xA that has the FlexTimer module, implementing alarm functions within RTC subsystem to wakeup the system when system going to sleep (work with RCPM driver). Signed-off-by: NBiwen Li <biwen.li@nxp.com> Link: https://lore.kernel.org/r/20190813030157.48590-1-biwen.li@nxp.comSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Neil Armstrong 提交于
The Amlogic Meson GX SoCs uses a special register to store the time in seconds to wakeup after a system suspend. In order to be able to reuse the RTC wakealarm feature, this driver implements a fake RTC device which uses the system time to deduce a suspend delay. Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> [khilman: rebase to v5.3-rc, rework and modernization] Signed-off-by: NKevin Hilman <khilman@baylibre.com> Link: https://lore.kernel.org/r/20190812232850.8016-3-khilman@kernel.orgSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 13 8月, 2019 2 次提交
-
-
由 Matti Vaittinen 提交于
With CONFIG_BD70528_WATCHDOG=m, a built-in rtc driver cannot call into the low-level functions that are part of the watchdog module: drivers/rtc/rtc-bd70528.o: In function `bd70528_set_time': rtc-bd70528.c:(.text+0x22c): undefined reference to `bd70528_wdt_lock' rtc-bd70528.c:(.text+0x2a8): undefined reference to `bd70528_wdt_unlock' drivers/rtc/rtc-bd70528.o: In function `bd70528_set_rtc_based_timers': rtc-bd70528.c:(.text+0x50c): undefined reference to `bd70528_wdt_set' Add a Kconfig dependency which forces RTC to be a module if watchdog is a module. If watchdog is not compiled at all the stub functions for watchdog control are used. compiling the RTC without watchdog is fine. Fixes: 32a4a4eb ("rtc: bd70528: Initial support for ROHM bd70528 RTC") Suggested-by: NArnd Bergmann <arnd@arndb.de> Reported-by: Nkbuild test robot <lkp@intel.com> Signed-off-by: NMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Link: https://lore.kernel.org/r/84462e01e43d39024948a3bdd24087ff87dc2255.1565591387.git.matti.vaittinen@fi.rohmeurope.comSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Arnd Bergmann 提交于
The ARM w90x900 platform is getting removed, so this driver is obsolete. Signed-off-by: NArnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20190809202749.742267-15-arnd@arndb.deSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 14 7月, 2019 1 次提交
-
-
由 YueHaibing 提交于
If REGMAP_SPI is m and RTC_DRV_PCF2123 is y, drivers/rtc/rtc-pcf2123.o: In function `pcf2123_probe': rtc-pcf2123.c:(.text+0xb2b): undefined reference to `__devm_regmap_init_spi' Select REGMAP_SPI as RTC_DRV_DS1347 driver does. Reported-by: NHulk Robot <hulkci@huawei.com> Fixes: 790d0339 ("rtc: pcf2123: port to regmap") Signed-off-by: NYueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20190704085542.48180-1-yuehaibing@huawei.comSigned-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 27 6月, 2019 2 次提交
-
-
由 Tony Xie 提交于
RK809 and RK817 are power management IC chips for multimedia products. Most of their functions and registers are same, including the rtc. Signed-off-by: NTony Xie <tony.xie@rock-chips.com> Acked-by: NAlexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Matti Vaittinen 提交于
Support RTC block in ROHM bd70528 power management IC. Support getting and setting the time and date as well as arming an alarm which can also be used to wake the PMIC from standby state. HW supports wake interrupt only for the next 24 hours (sec, minute and hour information only) so we limit also the alarm interrupt to this 24 hours for the sake of consistency. Signed-off-by: NMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Acked-by: NAlexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 02 6月, 2019 1 次提交
-
-
由 Michał Mirosław 提交于
TPS65910 entry is already under 'if RTC_CLASS' - remove superfluous dependency. Signed-off-by: NMichał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 21 5月, 2019 1 次提交
-
-
由 Thomas Gleixner 提交于
Add SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any form These files fall under the project license, GPL v2 only. The resulting SPDX license identifier is: GPL-2.0-only Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 04 4月, 2019 5 次提交
-
-
由 Alexandre Belloni 提交于
Remove the unused "depends on I2C" as the config options are already guarded by if I2C. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Switch to regmap to simplify register accesses and remove the need for pcf85063_stop_clock/pcf85063_start_clock. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Joel Stanley 提交于
Read and writes the time to the non-battery backed RTC in the ASPEED BMC system on chip families. Signed-off-by: NJoel Stanley <joel@jms.id.au> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
ARCH_AT91 is DT only for a while, drop platform data support. Acked-by: NNicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Goldfish can be ARM or x86, allow building the driver for more than just MIPS. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 20 3月, 2019 1 次提交
-
-
由 Alexandre Belloni 提交于
The proper manufacturer name is Shenzhen whwave. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 03 3月, 2019 1 次提交
-
-
由 Biju Das 提交于
Add support for Epson rx8571 real-time clock. rx8571 rtc is compatible with rx8581,except that rx8571 has additional 16 bytes of RAM. 16 bytes of nvmem is supported and exposed in sysfs (# is the instance number,starting with 0): /sys/bus/nvmem/devices/rx8571-#/nvmem Signed-off-by: NBiju Das <biju.das@bp.renesas.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 22 2月, 2019 1 次提交
-
-
由 Nick Crews 提交于
This Embedded Controller has an internal RTC that is exposed as a standard RTC class driver with read/write functionality. The driver is added to the drivers/rtc/ so that the maintainer of that directory will be able to comment on this change, as that maintainer is the expert on this system. In addition, the driver code is called indirectly after a corresponding device is registered from core.c, as opposed to core.c registering the driver callbacks directly. To test: > hwclock --show --rtc /dev/rtc1 2007-12-31 16:01:20.460959-08:00 > hwclock --systohc --rtc /dev/rtc1 > hwclock --show --rtc /dev/rtc1 2018-11-29 17:08:00.780793-08:00 > hwclock --show --rtc /dev/rtc1 2007-12-31 16:01:20.460959-08:00 > hwclock --systohc --rtc /dev/rtc1 > hwclock --show --rtc /dev/rtc1 2018-11-29 17:08:00.780793-08:00 Signed-off-by: NDuncan Laurie <dlaurie@google.com> Signed-off-by: NNick Crews <ncrews@chromium.org> Acked-by: NAlexandre Belloni <alexandre.belloni@bootlin.com> [Fix the sparse warning: symbol 'wilco_ec_rtc_read/write' was not declared] Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com>
-
- 19 2月, 2019 1 次提交
-
-
由 Artem Panfilov 提交于
This patch adds support for AB-RTCMC-32.768kHz-EOZ9 RTC/Calendar module with I2C interface. Signed-off-by: NArtem Panfilov <panfilov.artyom@gmail.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 18 2月, 2019 2 次提交
-
-
由 Alexandre Belloni 提交于
Make RTC_DRV_HID_SENSOR_TIME depend on IIO and HID_SENSOR_HUB to remove possible circular dependencies as this is the only symbol selecting those. Suggested-by: NFlorian Lohoff <f@zz.de> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Alexandre Belloni 提交于
Add a driver for the MicroCrystal RV-3028. It is a SMT Real-Time Clock Module that incorporates an integrated CMOS circuit together with an XTAL. It has an i2c interface. The driver handles date/time, alarms, trickle charging, timestamping, frequency offset correction, EEPROM and NVRAM. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 11 2月, 2019 1 次提交
-
-
由 Martin Blumenstingl 提交于
Add support for the RTC block on the 32-bit Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs. The RTC is split in to two parts, which are both managed by this driver: - the AHB front end - and a simple serial connection to the actual registers The RTC_COUNTER register which holds the time is 32-bits wide. There are four 32-bit wide (in total: 16 bytes) "regmem" registers which are exposed using nvmem. On Amlogic's 3.10 kernel this is used to store data which needs to survive a suspend / resume cycle. Signed-off-by: NBen Dooks <ben.dooks@codethink.co.uk> [resurrected Ben's patches after 2 years] Signed-off-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 08 2月, 2019 1 次提交
-
-
由 Alexandre Belloni 提交于
Fix the following build issue: drivers/rtc/rtc-imx-sc.o: In function `imx_sc_rtc_set_time': >> rtc-imx-sc.c:(.text+0x212): undefined reference to `__arm_smccc_smc' Fixes: 13a929f3 ("rtc: imx-sc: add rtc set time support") Reviewed-by: NAnson Huang <Anson.Huang@nxp.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 23 1月, 2019 1 次提交
-
-
由 Jan Kotas 提交于
This patch adds a driver for Cadence RTC controller. It can be enabled with RTC_DRV_CADENCE Kconfig option. It supports waking system from sleep modes. Signed-off-by: NJan Kotas <jank@cadence.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 11 1月, 2019 1 次提交
-
-
由 dianlong_lee 提交于
The sd3078 is a combination RTC and SRAM device with I2C interface. Signed-off-by: Dianlong Li <long17.cool@163.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 20 12月, 2018 1 次提交
-
-
由 Anson Huang 提交于
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and secure rtc etc.. This patch adds i.MX system controller RTC driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC to set/get RTC time and other alarm functions, since the RTC set time needs to be done in secure EL3 mode (required by system controller firmware) and alarm functions needs to be done with general MU IRQ handle, these depend on other components which are NOT ready, so this patch ONLY enables the RTC time read. Signed-off-by: NAnson Huang <Anson.Huang@nxp.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 28 9月, 2018 1 次提交
-
-
由 Alexandre Belloni 提交于
/proc is not the correct ABI to display debugging info. Remove RTC_DS1685_PROC_REGS as the driver hasn't seen any real development since it was included. Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 12 9月, 2018 1 次提交
-
-
由 Jeremy Gebben 提交于
The abx804 and abx805 chips have support for a simple watchdog function that can trigger an external reset. Signed-off-by: NJeremy Gebben <jgebben@sweptlaser.com> Reviewed-by: NGuenter Roeck <linux@roeck-us.net> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 28 8月, 2018 1 次提交
-
-
由 Paul Cercueil 提交于
Depending on MACH_INGENIC prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Signed-off-by: NPaul Cercueil <paul@crapouillou.net> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
- 16 8月, 2018 1 次提交
-
-
由 Heiner Kallweit 提交于
We don't have to define an extra config symbol, IS_REACHABLE does what we need. And having this config symbol just to save the few bytes of hwmon support on non-DS3231 chips isn't worth it IMO (especially as the symbol is set per default). Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-