]> Git Repo - linux.git/commitdiff
Merge tag 'rtc-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
authorLinus Torvalds <[email protected]>
Mon, 3 Jul 2023 17:43:10 +0000 (10:43 -0700)
committerLinus Torvalds <[email protected]>
Mon, 3 Jul 2023 17:43:10 +0000 (10:43 -0700)
Pull RTC updates from Alexandre Belloni:
 "The isl1208 dirver was reworked tobe able to work as part of an MFD.

  All the Loongson chips are now supported through a new driver, the old
  one is removed.

  Summary:

  Subsystem:
   - Switch i2c drivers back to use .probe()
   - Constify pointers to hwmon_channel_info

  New driver:
   - Loongson on chip RTC, replacing the Loongson 1 only driver

  Drivers:
   - isl1208: cleanup and support for RAA215300
   - st-lpc: cleanups
   - stm32: fix wakeup"

* tag 'rtc-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (21 commits)
  rtc: Add rtc driver for the Loongson family chips
  rtc: Remove the Loongson-1 RTC driver
  dt-bindings: rtc: Split loongson,ls2x-rtc into SoC-based compatibles
  rtc: rv3028: make rv3028 probeable from userspace
  rtc: isl1208: Add support for the built-in RTC on the PMIC RAA215300
  rtc: isl1208: Add isl1208_set_xtoscb()
  rtc: isl1208: Drop enum isl1208_id and split isl1208_configs[]
  rtc: isl1208: Make similar I2C and DT-based matching table
  rtc: isl1208: Drop name variable
  dt-bindings: rtc: isil,isl1208: Document clock and clock-names properties
  dt-bindings: rtc: isl1208: Convert to json-schema
  rtc: st-lpc: Simplify clk handling in st_rtc_probe()
  rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
  rtc: stm32: remove dedicated wakeup management
  dt-bindings: rtc: restrict node name suffixes
  rtc: add HAS_IOPORT dependencies
  rtc: Switch i2c drivers back to use .probe()
  rtc: rv3032: constify pointers to hwmon_channel_info
  rtc: isl12022: constify pointers to hwmon_channel_info
  rtc: ds3232: constify pointers to hwmon_channel_info
  ...

1  2 
drivers/rtc/Kconfig

diff --combined drivers/rtc/Kconfig
index ffca9a8bb878f221d513d8be02c063e0c8dc489f,4913765856273b6a5a1e9933813d9bfdfbef4fd2..05f4b2d66290dc17be553bfb647568e87bbaa0a3
@@@ -395,7 -395,7 +395,7 @@@ config RTC_DRV_NCT3018
  
  config RTC_DRV_RK808
        tristate "Rockchip RK805/RK808/RK809/RK817/RK818 RTC"
 -      depends on MFD_RK808
 +      depends on MFD_RK8XX
        help
          If you say yes here you will get support for the
          RTC of RK805, RK809 and RK817, RK808 and RK818 PMIC.
@@@ -956,6 -956,7 +956,7 @@@ comment "Platform RTC drivers
  config RTC_DRV_CMOS
        tristate "PC-style 'CMOS'"
        depends on X86 || ARM || PPC || MIPS || SPARC64
+       depends on HAS_IOPORT || MACH_DECSTATION
        default y if X86
        select RTC_MC146818_LIB
        help
  config RTC_DRV_ALPHA
        bool "Alpha PC-style CMOS"
        depends on ALPHA
+       depends on HAS_IOPORT
        select RTC_MC146818_LIB
        default y
        help
@@@ -1193,7 -1195,7 +1195,7 @@@ config RTC_DRV_MSM624
  
  config RTC_DRV_BQ4802
        tristate "TI BQ4802"
-       depends on HAS_IOMEM
+       depends on HAS_IOMEM && HAS_IOPORT
        help
          If you say Y here you will get support for the TI
          BQ4802 RTC chip.
@@@ -1685,6 -1687,19 +1687,19 @@@ config RTC_DRV_JZ474
          This driver can also be built as a module. If so, the module
          will be called rtc-jz4740.
  
+ config RTC_DRV_LOONGSON
+       tristate "Loongson On-chip RTC"
+       depends on MACH_LOONGSON32 || MACH_LOONGSON64 || COMPILE_TEST
+       select REGMAP_MMIO
+       help
+         This is a driver for the Loongson on-chip Counter0 (Time-Of-Year
+         counter) to be used as a RTC.
+         It can be found on Loongson-1 series cpu, Loongson-2K series cpu
+         and Loongson LS7A bridge chips.
+         This driver can also be built as a module. If so, the module
+         will be called rtc-loongson.
  config RTC_DRV_LPC24XX
        tristate "NXP RTC for LPC178x/18xx/408x/43xx"
        depends on ARCH_LPC18XX || COMPILE_TEST
@@@ -1726,16 -1741,6 +1741,6 @@@ config RTC_DRV_TEGR
          This drive can also be built as a module. If so, the module
          will be called rtc-tegra.
  
- config RTC_DRV_LOONGSON1
-       tristate "loongson1 RTC support"
-       depends on MACH_LOONGSON32
-       help
-         This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
-         counter) to be used as a RTC.
-         This driver can also be built as a module. If so, the module
-         will be called rtc-ls1x.
  config RTC_DRV_MXC
        tristate "Freescale MXC Real Time Clock"
        depends on ARCH_MXC || COMPILE_TEST
This page took 0.066029 seconds and 4 git commands to generate.