From patchwork Mon Feb 15 07:33:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 8310831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C635F9F2F0 for ; Mon, 15 Feb 2016 07:46:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0DE00204C9 for ; Mon, 15 Feb 2016 07:46:44 +0000 (UTC) Received: from bombadil.infradead.org (unknown [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 35D00203C2 for ; Mon, 15 Feb 2016 07:46:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aVDiE-0005ze-0F; Mon, 15 Feb 2016 07:36:50 +0000 Received: from mail-pf0-f195.google.com ([209.85.192.195]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aVDge-0003u5-2k; Mon, 15 Feb 2016 07:35:13 +0000 Received: by mail-pf0-f195.google.com with SMTP id c10so7174019pfc.0; Sun, 14 Feb 2016 23:34:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KU3SXKzu66u5Wa2p3rEC8XlCq48vvsrJAQh/H95pK/E=; b=cbKMV057FOreQ9XpOVDpriUojaQgswnbqaQhxHJOKTw6qYjK857hMzeILeBijs7ODN SANtPJshAsxTYlLxM7mo/EZLuT0MENSp/yhGeBAeaGIHdrejh6N+qDfRB4frTzSOEiOq GHKKfrh4yRZHR2OXidhNUQELCkp7LR1F5YHQJH+IxHG7hhYCZMdOQgBLtM4qmJ+rhSCS kA4XCh8OgWONJqIMhuLwltSwn4pFdbrNbTPx/y8DT4mZXtVsstNjXZF6KZgO2CG3PDrD 9eNXFT54i5CDgDSEQGg2pytjSrHqnUWAZCyighXxcFhDK8tQ7ugyWixS9HkU8QuJYshU CCtw== X-Gm-Message-State: AG10YOQAI1hLAS5pasT/cYBkEuEIaBuX5g/7SbAmocQHjRxFwbZXp3ajMqbcfTs5t27nsQ== X-Received: by 10.98.40.200 with SMTP id o191mr21596667pfo.83.1455521696005; Sun, 14 Feb 2016 23:34:56 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id o17sm36040286pfj.50.2016.02.14.23.34.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 14 Feb 2016 23:34:54 -0800 (PST) From: Caesar Wang To: Heiko Stuebner , edubezval@gmail.com Subject: [RESEND PATCH 8/8] ARM: dts: rockchip: enable the tsadc for rk3228 evb Date: Mon, 15 Feb 2016 15:33:33 +0800 Message-Id: <1455521613-27340-9-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455521613-27340-1-git-send-email-wxt@rock-chips.com> References: <1455521613-27340-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160214_233512_322143_BCD3A5CE X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangtao@rock-chips.com, Dmitry Torokhov , linux-pm@vger.kernel.org, Michael Turquette , zhangqing@rock-chips.com, Stephen Boyd , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jeffy Chen , Zhang Rui , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Caesar Wang MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RDNS_NONE,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch enables the tsadc for rk3228 evb board. The rk3228 evb board uses the CRU to reset the chip since it hasn't the PMIC to connect it, and TSHUT is low active on evb board. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3228-evb.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rk3228-evb.dts b/arch/arm/boot/dts/rk3228-evb.dts index e3898b8..c75cc41 100644 --- a/arch/arm/boot/dts/rk3228-evb.dts +++ b/arch/arm/boot/dts/rk3228-evb.dts @@ -61,6 +61,13 @@ status = "okay"; }; +&tsadc { + status = "okay"; + + rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ +}; + &uart2 { status = "okay"; };