From patchwork Sun Dec 1 19:47:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 295711 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ea0-x23a.google.com (mail-ea0-x23a.google.com [IPv6:2a00:1450:4013:c01::23a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 8D1752C0097 for ; Mon, 2 Dec 2013 06:47:58 +1100 (EST) Received: by mail-ea0-f186.google.com with SMTP id k10sf1192606eaj.23 for ; Sun, 01 Dec 2013 11:47:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:message-id:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=o6psgR7zrOpVyfihd+d1Hh9qwoYo45M7znzCNRWH0o0=; b=ycSeTrELXHiVi+Y1NI6f6IlsKYpqbuG2+uRqCPkwPlyqH4PFyz1iAht1aIIbELVJ61 UqlMMXi5PYcxZPQW1CoUpqSUZlJlmYUPWxwi19xdh+9Ic1aQNy9ely/3CDhu346VceWS 7mIH4VX7q/eQ37ZdIVDlOACL2phGNNUme1PetEWs4QpoNgvy2Lz2WUT0mgYbEqbk/nlg oNFGcLG15nepm02jMtzbQVgg21zEPYB/pF+UTw2iVG+BNBDyPwJ6LzvNJ2aXrnXpp6nz hUgcurs30cRQA7LV8ulShZq0Y02eLfxQjD6ZeQe3G5bFRI6jnn7QjTX4C1CZCP202wdw ElyQ== X-Received: by 10.152.19.1 with SMTP id a1mr66lae.34.1385927274958; Sun, 01 Dec 2013 11:47:54 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.152.20.227 with SMTP id q3ls216844lae.22.gmail; Sun, 01 Dec 2013 11:47:54 -0800 (PST) X-Received: by 10.112.145.42 with SMTP id sr10mr25535388lbb.6.1385927274568; Sun, 01 Dec 2013 11:47:54 -0800 (PST) Received: from gloria.sntech.de (gloria.sntech.de. [95.129.55.99]) by gmr-mx.google.com with ESMTPS id s42si1311694eew.1.2013.12.01.11.47.54 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 01 Dec 2013 11:47:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of heiko@sntech.de designates 95.129.55.99 as permitted sender) client-ip=95.129.55.99; Received: from 146-52-37-199-dynip.superkabel.de ([146.52.37.199] helo=marty.localnet) by gloria.sntech.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1VnCzY-00076I-74; Sun, 01 Dec 2013 20:47:44 +0100 From: Heiko =?iso-8859-1?q?St=FCbner?= To: Alessandro Zummo Subject: [rtc-linux] [PATCH v3 1/2] dt-bindings: add hym8563 binding Date: Sun, 1 Dec 2013 20:47:42 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-3-686-pae; KDE/4.8.4; i686; ; ) Cc: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , devicetree@vger.kernel.org, Grant Likely , linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com, Mike Turquette , Richard Weinberger References: <201312012047.02299.heiko@sntech.de> In-Reply-To: <201312012047.02299.heiko@sntech.de> MIME-Version: 1.0 Message-Id: <201312012047.42669.heiko@sntech.de> X-Original-Sender: heiko@sntech.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of heiko@sntech.de designates 95.129.55.99 as permitted sender) smtp.mail=heiko@sntech.de Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , Add binding documentation for the hym8563 rtc chip. Signed-off-by: Heiko Stuebner --- .../devicetree/bindings/rtc/haoyu,hym8563.txt | 27 ++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt diff --git a/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt b/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt new file mode 100644 index 0000000..5ec0828 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt @@ -0,0 +1,27 @@ +Haoyu Microelectronics HYM8563 Real Time Clock + +The HYM8563 provides basic rtc and alarm functionality +as well as a clock output of up to 32kHz. + +Required properties: +- compatible: should be: "haoyu,hym8563" +- reg: i2c address +- gpios: alarm interrupt gpio +- #clock-cells: the value should be 0 + +Example: + +hym8563: hym8563@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + + gpios = <&gpio0 13 0>; + + #clock-cells = <0>; +}; + +device { +... + clocks = <&hym8563>; +... +}; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 2956800..3452270 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -28,6 +28,7 @@ est ESTeem Wireless Modems fsl Freescale Semiconductor GEFanuc GE Fanuc Intelligent Platforms Embedded Systems, Inc. gef GE Fanuc Intelligent Platforms Embedded Systems, Inc. +haoyu Haoyu Microelectronic Co. Ltd. hisilicon Hisilicon Limited. hp Hewlett Packard ibm International Business Machines (IBM)