From patchwork Tue May 12 12:58:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 48356 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E801F2121F for ; Tue, 12 May 2015 13:00:28 +0000 (UTC) Received: by lamp14 with SMTP id p14sf1804854lam.3 for ; Tue, 12 May 2015 06:00:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=VUOZqBsIt6YWuFYDT9ZZuLcrGFYd1vTcLd64KzFP7o4=; b=VOG6sDnE2RngT7a/8FuogrOfzVv3sQS97S69Vm6d936w+rtlx5p4uG/ZawwA7D+fO2 M53sc8acoFSbVvAQhf6k6GGHEb/kdOBv98CBZdi4GkcRVMNDU/PrBR9degyaWGlz0pWX nd8k8kcMcM/6XGcaD8YPcVm/UqaDCLLN8Xr4AYUt7XvIXlv2ZAreXuCKnf9xewBwQqrp NBfTtgd4rEo1aTS3erqQThIbScwhYsrG6uM+0+qi0B4rubIOtD0FkI1R8dk9sYPDF/IB dIGX200HaR8oJc5q/qLtJn7yUvj0izIA9uGTzPlo2ipv16yIkFX2W715dt8r/I70lhKH MF3Q== X-Gm-Message-State: ALoCoQnmUI9+y37fNWLxdAgjjF1ntgrPvQQ+hRSnUwnGgtMSJRORopcRA+uHsiq0XKJ7MmIuqoEQ X-Received: by 10.112.189.131 with SMTP id gi3mr10603354lbc.6.1431435627206; Tue, 12 May 2015 06:00:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.22.10 with SMTP id z10ls31049lae.24.gmail; Tue, 12 May 2015 06:00:27 -0700 (PDT) X-Received: by 10.112.156.97 with SMTP id wd1mr11696808lbb.30.1431435627034; Tue, 12 May 2015 06:00:27 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id ug12si10333300lac.47.2015.05.12.06.00.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2015 06:00:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by labbd9 with SMTP id bd9so5093267lab.2 for ; Tue, 12 May 2015 06:00:26 -0700 (PDT) X-Received: by 10.112.199.133 with SMTP id jk5mr12358296lbc.32.1431435626758; Tue, 12 May 2015 06:00:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2075793lbb; Tue, 12 May 2015 06:00:25 -0700 (PDT) X-Received: by 10.68.69.107 with SMTP id d11mr28436197pbu.16.1431435624633; Tue, 12 May 2015 06:00:24 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id lc15si22464279pab.25.2015.05.12.06.00.03; Tue, 12 May 2015 06:00:24 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933230AbbELM6u (ORCPT + 28 others); Tue, 12 May 2015 08:58:50 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:35881 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933199AbbELM6i (ORCPT ); Tue, 12 May 2015 08:58:38 -0400 Received: by wizk4 with SMTP id k4so152439686wiz.1 for ; Tue, 12 May 2015 05:58:37 -0700 (PDT) X-Received: by 10.180.218.137 with SMTP id pg9mr4927377wic.79.1431435517335; Tue, 12 May 2015 05:58:37 -0700 (PDT) Received: from localhost.localdomain (host81-129-169-99.range81-129.btcentralplus.com. [81.129.169.99]) by mx.google.com with ESMTPSA id k2sm2783057wix.4.2015.05.12.05.58.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 May 2015 05:58:36 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, daniel.lezcano@linaro.org, tglx@linutronix.de, wim@iguana.be, a.zummo@towertech.it, linux-watchdog@vger.kernel.org, rtc-linux@googlegroups.com, linux@roeck-us.net Cc: kernel@stlinux.com, Lee Jones Subject: [PATCH v2 08/12] rtc: bindings: Supply knowledge of a third supported device - clocksource Date: Tue, 12 May 2015 13:58:16 +0100 Message-Id: <1431435500-22899-9-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431435500-22899-1-git-send-email-lee.jones@linaro.org> References: <1431435500-22899-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt b/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt index 73407f50..daf8826 100644 --- a/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt +++ b/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt @@ -1,20 +1,23 @@ STMicroelectronics Low Power Controller (LPC) - RTC =================================================== -LPC currently supports Watchdog OR Real Time Clock functionality. +LPC currently supports Watchdog OR Real Time Clock OR Clocksource +functionality. [See: ../watchdog/st_lpc_wdt.txt for Watchdog options] +[See: ../timer/st,stih407-lpc for Clocksource options] Required properties -- compatible : Must be one of: "st,stih407-lpc" "st,stih416-lpc" - "st,stih415-lpc" "st,stid127-lpc" +- compatible : Must be: "st,stih407-lpc" - reg : LPC registers base address + size - interrupts : LPC interrupt line number and associated flags - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt) -- st,lpc-mode : The LPC can run either one of two modes ST_LPC_MODE_RTC [0] or - ST_LPC_MODE_WDT [1]. One (and only one) mode must be - selected. +- st,lpc-mode : The LPC can run either one of three modes: + ST_LPC_MODE_RTC [0] + ST_LPC_MODE_WDT [1] + ST_LPC_MODE_CLKSRC [2] + One (and only one) mode must be selected. Example: lpc@fde05000 {