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: 471326 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-la0-x23d.google.com (mail-la0-x23d.google.com [IPv6:2a00:1450:4010:c03::23d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id DCE4D140D23 for ; Tue, 12 May 2015 22:58:40 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b=slGJRa3a; dkim-atps=neutral Received: by labgd6 with SMTP id gd6sf1757442lab.0 for ; Tue, 12 May 2015 05:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:content-type:precedence:mailing-list:list-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe; bh=RwWlHyRMYoTaW2ZxG77L/XIRFgsgK6WaaVwTy0NB9dE=; b=slGJRa3adQOv0GPskeB8RiKJO6GewdIrJH7M7wrxkRCbznE9pr57BIV/gJHSavp94D IZa7N5ptiwp/anMnweM+MjjTXR2jzbuI4C0LO+1RgBAD1baT6IfNdgUolaRq54uztB0g 6NlhQbGRD3UybRaGZmRLKT8EClnmF9agkbm/cx6+MFUjBCn6LymKt1/WlO118sUqDEkl d9QmZRbRyi+suxz2j9hy/SzEj4vLuIregfJMOnDADC5JSILp/p8SEh7PCzvCMe6ofDGk rgAaj095dbsUL6m3F8jvfK5YqqP0PDJu6a290tu5Jn0hEpnT/XoyWK6zzInUWdZoTUc1 wFAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:content-type:precedence :mailing-list:list-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe; bh=RwWlHyRMYoTaW2ZxG77L/XIRFgsgK6WaaVwTy0NB9dE=; b=N02gHa1ewzjPuNEOI3R5JNE7nTHs7h+kALJpN8W1qSzkXtDWgqYsVZtPDYLUw6N1J2 IOtXVJb6mVe3Iif+sj89N01RuyJfQWDXTV5NmkouAiNrc0HBiUdnKSF5Di7NNrXOKpTh lSpEoa/7EdVkpgPtiDw5nzFaoCfhNfTXjyOsQVFPP997JpRQa2NgkXnJ6DiF+9hLQ+2Q kSl5pTwsUUvJNASnQfvqN3aOybCQCwy/MzCESSEXEv+ENbLl/z/vpd6OxVI8Bk46PFXr VJbRYf+7acH875x6VEmQeovMDI9+2CzAhkkEBGpmoKu43IFxSSTBTz/w6q8LbiSQVI6B JTrg== X-Received: by 10.180.221.236 with SMTP id qh12mr144538wic.5.1431435517690; Tue, 12 May 2015 05:58:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.180.96.40 with SMTP id dp8ls957722wib.41.canary; Tue, 12 May 2015 05:58:37 -0700 (PDT) X-Received: by 10.180.216.12 with SMTP id om12mr1747842wic.1.1431435517430; Tue, 12 May 2015 05:58:37 -0700 (PDT) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com. [74.125.82.51]) by gmr-mx.google.com with ESMTPS id t6si110736wiz.0.2015.05.12.05.58.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2015 05:58:37 -0700 (PDT) Received-SPF: pass (google.com: domain of lee.jones@linaro.org designates 74.125.82.51 as permitted sender) client-ip=74.125.82.51; Received: by mail-wg0-f51.google.com with SMTP id d10so6359630wgn.2 for ; Tue, 12 May 2015 05:58:37 -0700 (PDT) X-Gm-Message-State: ALoCoQlbw1h+0+jPzjVxxvQXb9G96SfUmGH4evNZWAffmoQM+9C8ahnBzDkLs7jTRdcbmikLb+Sc 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: [rtc-linux] [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> X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of lee.jones@linaro.org designates 74.125.82.51 as permitted sender) smtp.mail=lee.jones@linaro.org 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: , 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 {