From patchwork Tue Jul 4 08:14:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wang X-Patchwork-Id: 9824315 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7298A602F0 for ; Tue, 4 Jul 2017 08:30:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 619B328047 for ; Tue, 4 Jul 2017 08:30:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55CBD2838F; Tue, 4 Jul 2017 08:30:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E3BAA28047 for ; Tue, 4 Jul 2017 08:30:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5x/K0/ULVg8QgZJuEup55PBmw83VaU3DVr0EdYile8M=; b=u61jEP+BxkSaNBz9PxL39NaQWt HDr4bRoQLP+ER8zLD4bZ8dpyrnpAm6yWyfxiuW/Bv9K0Qh1Hs80Sllv+gmrn6Hhcn6zqmo+SfZvLK M9OOM2kdHBdzcsMG3H5xM2B6P/0bOU1LPOnfPEqE9UlGg6k7ss1k8x2AuK30HE9CeYGoV9YY/R4V6 Or40/7bqtSqJ6UY+qLnUDdORuaF8f+og7LW1URQtYQzse37j5s7gPD5Z8LxFf/DDYqRZfL8bPbp2V V5dtSXzjsL0WKEt1H7WBP1/pA0VaJPbi/18/JjfaM7BugSuBezQpgYGxyytDs1pi3H8RZZhrGgjg2 T+qxIXmw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dSJDf-0004nY-1n; Tue, 04 Jul 2017 08:30:03 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dSJDc-0004WV-QJ; Tue, 04 Jul 2017 08:30:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XwFWSC0e62QKFDYr4PRZwimnISrpYOLoIROwruIq/7I=; b=k9gp/kZVJ3ogEgxFXqJ5QXJl0 kozwzaYy9t2ub0r5VJZU+YajrFREvpGXV7TXQwioggiMyzJrQbaIIKFuo6wsj/EBiqLge6tvqZ71M MRgTXGUxjZ2UGkHlpELlVe5dTiH2Zm8Zbe8hw/AficbYb23kuIOlnLJ7xv/I/0xieJ4+cv+cbRWfM 82ZTSx4UDso6EbUJJNHs7HeyJruAy4xjcwWm0JRWtzzVa7PFA1Fsm0zWznrjtkK0win1MBS6Fwllt 68wKcnqaGJvtekJBIEcgh1I4HkId7h3wqNae5yY7YLBcsWHsh1IajvQz4vjdAI8Z10WddQiiMUR1o 5gPmjdbJg==; Received: from regular1.263xmail.com ([211.150.99.136]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dSIzS-0001Ad-27; Tue, 04 Jul 2017 08:15:24 +0000 Received: from frank.wang?rock-chips.com (unknown [192.168.167.128]) by regular1.263xmail.com (Postfix) with ESMTP id B7ED76B; Tue, 4 Jul 2017 16:14:44 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 759B03A4; Tue, 4 Jul 2017 16:14:38 +0800 (CST) X-RL-SENDER: frank.wang@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: frank.wang@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-SENDER: wmc@rock-chips.com X-DNS-TYPE: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 4398MMU6S5; Tue, 04 Jul 2017 16:14:41 +0800 (CST) From: Frank Wang To: heiko@sntech.de Subject: [PATCH 5/6] ARM: dts: rockchip: enable tsadc for rk3229-evb Date: Tue, 4 Jul 2017 16:14:34 +0800 Message-Id: <1499156074-26355-1-git-send-email-frank.wang@rock-chips.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1499155967-26090-1-git-send-email-frank.wang@rock-chips.com> References: <1499155967-26090-1-git-send-email-frank.wang@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170704_091522_514735_F7DFD62B X-CRM114-Status: UNSURE ( 8.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, huangtao@rock-chips.com, wmc@rock-chips.com, Frank Wang , linux@armlinux.org.uk, linux-kernel@vger.kernel.org, kever.yang@rock-chips.com, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, finley.xiao@rock-chips.com, david.wu@rock-chips.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch enables the tsadc for rk3229-evb board. The rk3229 evb board uses the CRU to reset the chip since it has not the PMIC to connect it, and TSHUT is low active on evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts index bae0dbf..43c3ad2 100644 --- a/arch/arm/boot/dts/rk3229-evb.dts +++ b/arch/arm/boot/dts/rk3229-evb.dts @@ -181,6 +181,11 @@ status = "okay"; }; +&tsadc { + rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */ + status = "okay"; +}; + &uart2 { status = "okay"; };