From patchwork Fri Apr 17 10:50:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 47282 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 746C020553 for ; Fri, 17 Apr 2015 10:51:10 +0000 (UTC) Received: by layy10 with SMTP id y10sf24043473lay.0 for ; Fri, 17 Apr 2015 03:51:09 -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=iNtvm5crQ11qyXzvFdWQFvYouv6stLGePAS6JTBusRU=; b=gfzHlQ/aTRCks3wpDaVDPNGTl/6HI7VwPbof57zqLhZFYWFnkY/OaX4QysamRNaezc jDe1fo79Chnd4UeSOW1lX16HOZOP76kRm5vTL+cvVQOsYdNtswmnZbNzxKUbRBwVyuNB lVdauJUsWkktDzsgWg/EPJ5y1O8EfXiYsuwuFIHSGhLBaB/Ez/nFXpB0obh190r8Q9zo fwvNmcggz8k2l+jbgqWF0zEzd/2MsYUJuHvahzV4Zn8BvOzBvoIzwm1y88SS5eQjXa+H 4XoL7s+XCzuBHTlOyXLNRWlVMab/+H4qjyHG+llEDmGHX7xRUL679WNshPBhxSNaIC+U w32A== X-Gm-Message-State: ALoCoQn7ksV9SupkUfqb24SXZfM6H1TS9+1W3cigFxVWnD28TUE1mcC/iUSBaOxOGQK+BM0+b54W X-Received: by 10.112.29.39 with SMTP id g7mr1116187lbh.1.1429267869370; Fri, 17 Apr 2015 03:51:09 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.67 with SMTP id da3ls528356lad.49.gmail; Fri, 17 Apr 2015 03:51:09 -0700 (PDT) X-Received: by 10.112.205.225 with SMTP id lj1mr2317356lbc.27.1429267869193; Fri, 17 Apr 2015 03:51:09 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id j2si2199729lbd.98.2015.04.17.03.51.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Apr 2015 03:51:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by labbd9 with SMTP id bd9so77170221lab.2 for ; Fri, 17 Apr 2015 03:51:09 -0700 (PDT) X-Received: by 10.152.116.11 with SMTP id js11mr2387658lab.106.1429267869086; Fri, 17 Apr 2015 03:51:09 -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.67.65 with SMTP id l1csp3654683lbt; Fri, 17 Apr 2015 03:51:08 -0700 (PDT) X-Received: by 10.68.87.5 with SMTP id t5mr4260643pbz.137.1429267861353; Fri, 17 Apr 2015 03:51:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fa8si16250399pdb.16.2015.04.17.03.50.59; Fri, 17 Apr 2015 03:51:01 -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 S1754013AbbDQKu4 (ORCPT + 27 others); Fri, 17 Apr 2015 06:50:56 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:34849 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753795AbbDQKus (ORCPT ); Fri, 17 Apr 2015 06:50:48 -0400 Received: by widdi4 with SMTP id di4so17101349wid.0 for ; Fri, 17 Apr 2015 03:50:47 -0700 (PDT) X-Received: by 10.194.109.9 with SMTP id ho9mr4510714wjb.29.1429267846943; Fri, 17 Apr 2015 03:50:46 -0700 (PDT) Received: from localhost.localdomain ([213.205.252.24]) by mx.google.com with ESMTPSA id mv11sm2092668wic.23.2015.04.17.03.50.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Apr 2015 03:50:46 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, daniel.lezcano@linaro.org, tglx@linutronix.de Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org Subject: [PATCH 5/5] ARM: DT: STi: STiH407: Add DT node for st-lpc timer. Date: Fri, 17 Apr 2015 11:50:23 +0100 Message-Id: <1429267823-8879-6-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1429267823-8879-1-git-send-email-peter.griffin@linaro.org> References: <1429267823-8879-1-git-send-email-peter.griffin@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: peter.griffin@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.49 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: , This patch adds the dt node for the st-lpc timer found on stih407 famliy SoCs. This can then be used as a clocksource. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-family.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index c06a546..59c6a22 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -39,6 +39,13 @@ reg = <0x08760000 0x1000>; }; + lpc-timer@0x8788000 { + compatible = "st,st_lpc_timer"; + reg = <0x8788000 0x1000>; + clock-names = "lpc_clk"; + clocks = <&clk_s_d3_flexgen CLK_LPC_1>; + }; + timer@08760200 { interrupt-parent = <&intc>; compatible = "arm,cortex-a9-global-timer";