From patchwork Wed Jul 22 05:43:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 6839511 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DAC3BC05AC for ; Wed, 22 Jul 2015 05:44:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0DFB420706 for ; Wed, 22 Jul 2015 05:44:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [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 4EF92206F0 for ; Wed, 22 Jul 2015 05:44:12 +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 1ZHmp9-0008Fr-VJ; Wed, 22 Jul 2015 05:44:11 +0000 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZHmos-0008D1-PY; Wed, 22 Jul 2015 05:43:55 +0000 Received: by wibxm9 with SMTP id xm9so146905429wib.0; Tue, 21 Jul 2015 22:43:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=W44vAVcWBOO37e6pofSAvfW2uvSSKoQ/mWUDlitMz0I=; b=u8Z3g3uTKp/nXxphVtwse2uc+XGOFyUv6MLuU5NAIi4wQWZLG70kge5vqAiB9lmGIU R2K5rUbrrj46LKZCiCl3BtZVsq+MQEJ/NKf47j9VKQnKiZiT5/xlLymJsW6WRtJNxFlz zmDxdJmMYE8w39Kd8bymA0UUbaNoxPt0QDHRVIR7oyQDORy0hNfgE0BztLyJqsgpSe9M VQLSK6qez6VS59b/gTXgjaL9huPC9yP2rfKkgOl7Lwha0ldXCdR4L4bTMD1INhfoK4Z3 AYxGYK/JRP6a6kqfHgKGVMK+zW+DkZvRSt/rxnOXg3ffX3HdNlVPZ0eMfL/2+6Meznkq A/0w== X-Received: by 10.180.24.40 with SMTP id r8mr3088450wif.13.1437543812545; Tue, 21 Jul 2015 22:43:32 -0700 (PDT) Received: from localhost.localdomain (AToulouse-554-1-28-183.w92-149.abo.wanadoo.fr. [92.149.227.183]) by smtp.gmail.com with ESMTPSA id k4sm1512100wix.19.2015.07.21.22.43.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Jul 2015 22:43:31 -0700 (PDT) From: Romain Perier To: heiko@sntech.de Subject: [PATCH 1/2] ARM: dts: rockchip: Use correct dts properties for tsadc node Date: Wed, 22 Jul 2015 07:43:27 +0200 Message-Id: <1437543807-19852-2-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1437543807-19852-1-git-send-email-romain.perier@gmail.com> References: <1437543807-19852-1-git-send-email-romain.perier@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150721_224354_970562_977E4B34 X-CRM114-Status: GOOD ( 11.65 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 tsadc-tshut-mode and tsadc-tshut-polarity properties don't exist. The rockchip thermal driver looks for rockchip,hw-tshut-mode and rockchip,hw-tshut-polarity instead, otherwise it might freeze or hang the device according to the default mode or polarity used. Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3288-veyron.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 627d113..cc76cf7 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi @@ -367,8 +367,8 @@ &tsadc { status = "okay"; - tsadc-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */ - tsadc-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ + rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ }; &uart0 {