Received: by 10.223.176.5 with SMTP id f5csp2364208wra; Sun, 28 Jan 2018 18:57:10 -0800 (PST) X-Google-Smtp-Source: AH8x224Flct9vmlxXDyc8U4n8bNwmoQjc2O6l0YKdM+oA63sWzdCPqbsPX+WZISVb9r0XXT078PB X-Received: by 2002:a17:902:2468:: with SMTP id m37-v6mr11253675plg.149.1517194630074; Sun, 28 Jan 2018 18:57:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517194630; cv=none; d=google.com; s=arc-20160816; b=vs+vRp54gpKnlfdfM4daPnRUCq2VXJI5ieWnAJZrZAeknK5w4+lSUL2vXkPjW/4uX6 TH7b5zaq1/ICGU43fjNRAnj8O7joiRwrocWRf3uImmtUY5QR00Af/jtrHAusRgdWzFaa C3W0wbMA778gaBfKZDlyE7FYBYCYaLEO9zfc9y7C12zMC7TrzQt9zj9cCXQy6ODSUy0e 9xK76wTH4BszM5J+qE/zYDS7YdlH5ZOYZMsaUtk4+AW6B4YpjBhkSE9k4r2pizeLnC7j k9qLKc6VDhWzoT4GHOO64VYoKWqxjep49k4vMDomX/jaxnFEkPLy17cIJjU0PKqa7Czt sy4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=mMT49afvcWJCexl9BbN9+5tGMONoQmGVedkjMyyDzDo=; b=BJFPkT/TwV8mPBkbISdb+Ap52oDkb+dtAjeBl+CE8RtE8d6ro7Tj22ApaiRMahZ8CA AvGF9ddWBO9WADDpHPi481sqhg5TVzJeHVVy0SYkQdkXdHk+tdcUeo53qsD5xxPbTYlb d3eughm86RlQrDI3vtDUq19B9l/yvTu8XBuZbY2Z85kccSWhNmtM9R6yLOjGO1Pb+cw3 Nq5cYW1hDcAt5OszMWaolmQei244ifeIDWmvEJHvTuyfti0TdYo+pHkZP3A93m73YDvJ EMfXVgQhKZ4foCd138AqY1Be0WmGjFLcb8j83zFaB4gpvKotavIMPUMurGH6q5r3880C 6wLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZMvH+Qd9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e62si10829028pfa.7.2018.01.28.18.56.56; Sun, 28 Jan 2018 18:57:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZMvH+Qd9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754217AbeA1X3u (ORCPT + 99 others); Sun, 28 Jan 2018 18:29:50 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37157 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753462AbeA1X3o (ORCPT ); Sun, 28 Jan 2018 18:29:44 -0500 Received: by mail-wm0-f66.google.com with SMTP id v71so30464287wmv.2; Sun, 28 Jan 2018 15:29:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mMT49afvcWJCexl9BbN9+5tGMONoQmGVedkjMyyDzDo=; b=ZMvH+Qd9UVvhgLX6wmjTXRCGWe8+NZ468PBDAucULeJrBw8fn/MzOVkqYKEmzGtJ1A T7JHBSt0x4FBedJTQqE6CZXvEIghORoa5J+hvq2cu2n4G/kv57lfnraPiVnBOt7NvjLH vlP45WMGF7A9LhfFh1JiEUL7flYJUHbV3yhJezOBQZEzVS5NPNNqYZF2zzmTIqYPMBGv IYSVIQ9ZVQzB4ByZXx0alClz61bS64Ya5N4OqLtdsmbXrT5+DK89MvQWjF7rUOvSrYxZ E27Da1+igMl/ck71ummU/VLrqjGUcvy2Q5OldpThrvtu8X9tVkeNtUHymcP4+nN7QurK TAJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mMT49afvcWJCexl9BbN9+5tGMONoQmGVedkjMyyDzDo=; b=fIsibYhWwCN3uB+dIUkvkpTVDjgCW6uCt+64Co5dNX+k04zz8csNfrJF0YrSC45pkB mAlyj5BMQhSgDtEbtZnOtWdGEsBCBSJxoXR6VF6/f3ZqgVkuXp9Ltu+YVVz1Z9J3bnSC weUm1TZsHV3U9AM4gZClBnDgzBFm1VsgNvyUIqXy0o+7eY7Ue7fNhNPLEdW6VJElfHeM 0+c5dAkINY8cV4lWQois6fVCyDlE7ruLBzQuaNBZC+OLLLBJ0chZyilVWdelfNqvvum3 ZVYkdDuM109HwH7FFBND1aw2gjFiDH/qkMb6l6aXKwj/hYQa2wkFAJ+V/AEVenGll7Oi xe3g== X-Gm-Message-State: AKwxytc4roLHwXiOJkWcDaP41AeiseSIPFf08IQcyOuQYOQnrO4iIq1d YzQ9xIEU2+SAAayV4nTpTbc= X-Received: by 10.28.46.88 with SMTP id u85mr15437511wmu.12.1517182183037; Sun, 28 Jan 2018 15:29:43 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id m86sm11839223wmi.40.2018.01.28.15.29.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 15:29:42 -0800 (PST) From: Philipp Rossak To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, davem@davemloft.net, hans.verkuil@cisco.com, mchehab@kernel.org, rask@formelder.dk, clabbe.montjoie@gmail.com, sean@mess.org, krzk@kernel.org, quentin.schulz@free-electrons.com, icenowy@aosc.io, edu.molinas@gmail.com, singhalsimran0@gmail.com Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v2 11/16] arm: dts: sunxi-h3-h5: add support for the thermal sensor in H3 and H5 Date: Mon, 29 Jan 2018 00:29:14 +0100 Message-Id: <20180128232919.12639-12-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180128232919.12639-1-embed3d@gmail.com> References: <20180128232919.12639-1-embed3d@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As we have gained the support for the thermal sensor in H3 and H5, we can now add its device nodes to the device tree. The H3 and H5 share most of its compatible. The compatible and the thermal sensor cells will be added in an additional patch per device. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index 7a83b15225c7..413c789b588d 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -426,6 +426,15 @@ }; }; + ths: thermal-sensor@1c25000 { + reg = <0x01c25000 0x100>; + interrupts = ; + clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_THS>; + #io-channel-cells = <0>; + }; + timer@1c20c00 { compatible = "allwinner,sun4i-a10-timer"; reg = <0x01c20c00 0xa0>; -- 2.11.0