From mboxrd@z Thu Jan 1 00:00:00 1970 From: zoro Subject: [PATCH 3/3] dt-bindings: rtc: sd3078: add device tree documentation Date: Sat, 10 Nov 2018 16:43:53 +0800 Message-ID: <1541839433-28811-3-git-send-email-long17.cool@163.com> References: <1541839433-28811-1-git-send-email-long17.cool@163.com> Return-path: In-Reply-To: <1541839433-28811-1-git-send-email-long17.cool@163.com> Sender: linux-kernel-owner@vger.kernel.org To: a.zummo@towertech.it Cc: alexandre.belloni@bootlin.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, zoro List-Id: devicetree@vger.kernel.org The devicetree documentation for the SD3078 device tree binding is added with a short example. Signed-off-by: zoro --- .../devicetree/bindings/rtc/rtc-sd3078.txt | 15 +++++++++++++++ MAINTAINERS | 1 + 2 files changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-sd3078.txt diff --git a/Documentation/devicetree/bindings/rtc/rtc-sd3078.txt b/Documentation/devicetree/bindings/rtc/rtc-sd3078.txt new file mode 100644 index 0000000..9b45c8e --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-sd3078.txt @@ -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>; +}; + + diff --git a/MAINTAINERS b/MAINTAINERS index 002fcd7..50c038d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -16130,6 +16130,7 @@ M: Zoro Li L: linux-rtc@vger.kernel.org S: Maintained F: drivers/rtc/rtc-sd3078.c +F: Documentation/devicetree/bindings/rtc/rtc-sd3078.txt WIIMOTE HID DRIVER M: David Herrmann -- 1.7.9.5