dt-bindings: define vendor prefix for whwave, Inc.
Subsystems (3)
zoro
maintainerPATCH 1/3 dt-bindings: define vendor prefix for whwave, Inc.
Introduce vendor prefix for whwave, Inc.
for SD3078 rtc device.
Signed-off-by zoro <[email protected]>
--- .../devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -423,6 +423,7 @@ vot Vision Optical Technology Co., Ltd. wd Western Digital Corp. wetek WeTek Electronics, limited. wexler Wexler +whwave Shenzhen whwave Electronics crop wi2wi Wi2Wi, Inc. winbond Winbond Electronics corp. winstar Winstar Display Corp.
Signature · 1 line
1.7.9.5
zoro
maintainerPATCH 2/3 rtc: sd3078: new driver.
The sd3078 is a combination RTC and SRAM device with I2C interface.
Signed-off-by zoro <[email protected]>
--- MAINTAINERS | 6 ++ drivers/rtc/Kconfig | 9 ++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-sd3078.c | 232 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 248 insertions(+) create mode 100644 drivers/rtc/rtc-sd3078.c
MAINTAINERS +6 -0
@@ -16125,6 +16125,12 @@ L: [email protected] S: Maintained F: drivers/gpio/gpio-wcove.c +WHWAVE RTC DRIVER +M: Zoro Li <[email protected]> +L: [email protected] +S: Maintained +F: drivers/rtc/rtc-sd3078.c + WIIMOTE HID DRIVER M: David Herrmann <[email protected]> L: [email protected]
drivers/rtc/Kconfig +9 -0
@@ -646,6 +646,15 @@ config RTC_DRV_S5M This driver can also be built as a module. If so, the module will be called rtc-s5m. +config RTC_DRV_SD3078 + tristate "ZXW Crystal SD3078" + help + If you say yes here you get support for the ZXW Crystal + SD3078 RTC chips. + + This driver can also be built as a module. If so, the module + will be called rtc-sd3078. + endif # I2C comment "SPI RTC drivers"
drivers/rtc/Makefile +1 -0
@@ -148,6 +148,7 @@ obj-$(CONFIG_RTC_DRV_S3C) += rtc-s3c.o obj-$(CONFIG_RTC_DRV_S5M) += rtc-s5m.o obj-$(CONFIG_RTC_DRV_SA1100) += rtc-sa1100.o obj-$(CONFIG_RTC_DRV_SC27XX) += rtc-sc27xx.o +obj-$(CONFIG_RTC_DRV_SD3078) += rtc-sd3078.o obj-$(CONFIG_RTC_DRV_SH) += rtc-sh.o obj-$(CONFIG_RTC_DRV_SIRFSOC) += rtc-sirfsoc.o obj-$(CONFIG_RTC_DRV_SNVS) += rtc-snvs.o
drivers/rtc/rtc-sd3078.c new file +232 -0
232 lines not on this page · raw message
Signature · 1 line
1.7.9.5
zoro
maintainerPATCH 3/3 dt-bindings: rtc: sd3078: add device tree documentation
In reply to zoroThe devicetree documentation for the SD3078 device tree binding is added with a short example.
Signed-off-by zoro <[email protected]>
--- .../devicetree/bindings/rtc/rtc-sd3078.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-sd3078.txt
Documentation/devicetree/bindings/rtc/rtc-sd3078.txt new file +15 -0
@@ -0,0 +1,15 @@ +SD3078 Real Time Clock +============================ + +Required properties: +- compatible: Should contain "whwave,sd3078". +- reg: I2C address for chip. + +Example: + +sd3078: sd3078@32 { + compatible = "whwave,sd3078"; + reg = <0x32>; +}; + +
Signature · 1 line
1.7.9.5