From patchwork Wed Jul 22 05:43:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 6839551 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 70B059F380 for ; Wed, 22 Jul 2015 05:46:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A64732071B for ; Wed, 22 Jul 2015 05:46:06 +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 D80C920706 for ; Wed, 22 Jul 2015 05:46:05 +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 1ZHmou-0008EC-Du; Wed, 22 Jul 2015 05:43:56 +0000 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZHmor-0008D0-IP; Wed, 22 Jul 2015 05:43:54 +0000 Received: by wicmv11 with SMTP id mv11so65920781wic.0; Tue, 21 Jul 2015 22:43:31 -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; bh=W44vAVcWBOO37e6pofSAvfW2uvSSKoQ/mWUDlitMz0I=; b=d1ucHkYREhDo5+dveiiehnVwjGJUO6Rkrp0w1h1xNkQSQaV/eIWteLimPPV+BLizqW I34HzflsE/xCqYc0w/mxsK/6BwFaFQ9hTaTikuzNYSgm2wKtWFUQyYXdeg46ZrynpPM1 0hVa6D26vi4on/3XrvOUEnCNvJBfRffCmFB18Q1lJFtpBgEABa/q5vaxyGrJzUJqED1B NXgTsyuwA0bzVSvNtMYOy8aeUo5yGsb94YVVuRf7Wlqcw6mhc1DmpFJ73v7Fcy/330Jj KqnMbF8RFfFX4lZP5xyi42IfQYYFje114mwEtU2YMDz8ZDWv8BsOpoMqDeQwe4y43P9x eTaQ== X-Received: by 10.180.83.72 with SMTP id o8mr38786423wiy.27.1437543811009; Tue, 21 Jul 2015 22:43:31 -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.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Jul 2015 22:43:30 -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:26 +0200 Message-Id: <1437543807-19852-1-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150721_224353_758899_C3938829 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) 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: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.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-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 {