@@ -406,6 +406,16 @@ config RTC_DRV_MAX77686
406406 This driver can also be built as a module. If so, the module
407407 will be called rtc-max77686.
408408
409+ config RTC_DRV_SPACEMIT_P1
410+ tristate "SpacemiT P1 RTC"
411+ depends on ARCH_SPACEMIT || COMPILE_TEST
412+ select MFD_SPACEMIT_P1
413+ default ARCH_SPACEMIT
414+ help
415+ Enable support for the RTC function in the SpacemiT P1 PMIC.
416+ This driver can also be built as a module, which will be called
417+ "spacemit-p1-rtc".
418+
409419config RTC_DRV_NCT3018Y
410420 tristate "Nuvoton NCT3018Y"
411421 depends on OF
@@ -2044,20 +2054,6 @@ config RTC_DRV_RENESAS_RTCA3
20442054 This driver can also be built as a module, if so, the module
20452055 will be called "rtc-rtca3".
20462056
2047- comment "HID Sensor RTC drivers"
2048-
2049- config RTC_DRV_HID_SENSOR_TIME
2050- tristate "HID Sensor Time"
2051- depends on USB_HID
2052- depends on HID_SENSOR_HUB && IIO
2053- select HID_SENSOR_IIO_COMMON
2054- help
2055- Say yes here to build support for the HID Sensors of type Time.
2056- This drivers makes such sensors available as RTCs.
2057-
2058- If this driver is compiled as a module, it will be named
2059- rtc-hid-sensor-time.
2060-
20612057config RTC_DRV_GOLDFISH
20622058 tristate "Goldfish Real Time Clock"
20632059 depends on HAS_IOMEM
@@ -2132,4 +2128,18 @@ config RTC_DRV_S32G
21322128 This RTC module can be used as a wakeup source.
21332129 Please note that it is not battery-powered.
21342130
2131+ comment "HID Sensor RTC drivers"
2132+
2133+ config RTC_DRV_HID_SENSOR_TIME
2134+ tristate "HID Sensor Time"
2135+ depends on USB_HID
2136+ depends on HID_SENSOR_HUB && IIO
2137+ select HID_SENSOR_IIO_COMMON
2138+ help
2139+ Say yes here to build support for the HID Sensors of type Time.
2140+ This drivers makes such sensors available as RTCs.
2141+
2142+ If this driver is compiled as a module, it will be named
2143+ rtc-hid-sensor-time.
2144+
21352145endif # RTC_CLASS
0 commit comments