From patchwork Tue Mar 26 11:34:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kachhap X-Patchwork-Id: 2335891 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id F1DAA3FD40 for ; Tue, 26 Mar 2013 11:35:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759194Ab3CZLfQ (ORCPT ); Tue, 26 Mar 2013 07:35:16 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:53281 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932951Ab3CZLfE (ORCPT ); Tue, 26 Mar 2013 07:35:04 -0400 Received: by mail-pa0-f51.google.com with SMTP id jh10so925861pab.24 for ; Tue, 26 Mar 2013 04:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=42G1Tf6LpgS+2o6QrTy8yEAKvdJqjtYs7JHf7Ffq7A0=; b=sly7YC/4J3L/hWpfCr87lz4o96jpk+IV3Ubql40+kjjAyQOUWefe/oAQdeZ7NfkaMw /joQ3Mf/mGQPcY0ecnhbGtcZ+qHJ2AYCfc5fbjYtQAN/RENNd+EYV5oHjPat9NrUugB2 nS+pTiVm4yvEV2ybhLm2hnfiD57nR2wUsRc9v8ec/GUE8w4dxgy2KzXJLCf3UmLlKLR7 z8TrLuwGl6P4ArU02Ae8O5ly1GbSg2jk1iqhLgBUz8Qc8LDDgFVJaqHoFrTAG1XnwB0O d9hKr/Ll/Gotl3I2zbJwP118GLbrCNwjy6fGGBlrGkNsgBHpunPFTXb6lfC0F4O4Mz5K Xvjw== X-Received: by 10.68.226.201 with SMTP id ru9mr23097318pbc.102.1364297704178; Tue, 26 Mar 2013 04:35:04 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id is1sm17236493pbc.15.2013.03.26.04.35.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 26 Mar 2013 04:35:03 -0700 (PDT) From: Amit Daniel Kachhap To: linux-pm@vger.kernel.org Cc: Thomas Abraham , Zhang Rui , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, amit.kachhap@gmail.com, Kukjin Kim Subject: [PATCH 9/9] ARM: dts: Add device tree node for exynos5440 TMU controller Date: Tue, 26 Mar 2013 17:04:02 +0530 Message-Id: <1364297642-2746-10-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1364297642-2746-1-git-send-email-amit.daniel@samsung.com> References: <1364297642-2746-1-git-send-email-amit.daniel@samsung.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch adds device node for TMU controller. There are 3 instances of the controllers so 3 nodes are created. Signed-off-by: Amit Daniel Kachhap --- arch/arm/boot/dts/exynos5440.dtsi | 43 +++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index 5f3562a..b74ce9f 100644 --- a/arch/arm/boot/dts/exynos5440.dtsi +++ b/arch/arm/boot/dts/exynos5440.dtsi @@ -16,6 +16,12 @@ interrupt-parent = <&gic>; + aliases { + tmuctrl0 = &tmuctrl_0; + tmuctrl1 = &tmuctrl_1; + tmuctrl2 = &tmuctrl_2; + }; + gic:interrupt-controller@2E0000 { compatible = "arm,cortex-a15-gic"; #interrupt-cells = <3>; @@ -156,4 +162,41 @@ reg = <0x130000 0x1000>; interrupts = <0 17 0>, <0 16 0>; }; + + tmu_ctrl_info: tmu-ctrl-info { + gain = <5>; + reference-voltage = <16>; + noise-cancel-mode = <4>; + cal-type = <2>; + cal-mode = <0>; + efuse-value = <0x5b2c>; + threshold-falling = <5>; + }; + + tmuctrl_0: tmuctrl@160118 { + compatible = "samsung,exynos5440-tmu"; + reg = <0x160118 0x300>; + interrupts = <0 58 0>; + clocks = <&clock 8>; + clock-names = "tmu_apbif"; + tmu-ctrl-data = <&tmu_ctrl_info>; + }; + + tmuctrl_1: tmuctrl@16011C { + compatible = "samsung,exynos5440-tmu"; + reg = <0x16011C 0x300>; + interrupts = <0 58 0>; + clocks = <&clock 8>; + clock-names = "tmu_apbif"; + tmu-ctrl-data = <&tmu_ctrl_info>; + }; + + tmuctrl_2: tmuctrl@160120 { + compatible = "samsung,exynos5440-tmu"; + reg = <0x160120 0x300>; + interrupts = <0 58 0>; + clocks = <&clock 8>; + clock-names = "tmu_apbif"; + tmu-ctrl-data = <&tmu_ctrl_info>; + }; };