Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp80867imm; Thu, 30 Aug 2018 08:47:21 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYRn5dAulOEdAgx+oderYM2jBkJSz0w6QywIPELXoURfOsjJNzPATestwO6MEdSgUnv98xR X-Received: by 2002:a63:e116:: with SMTP id z22-v6mr10108967pgh.89.1535644041388; Thu, 30 Aug 2018 08:47:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535644041; cv=none; d=google.com; s=arc-20160816; b=SmimgX9ni2jYU07RUK4G9uyY/zlbX2cTB8GsLp8qr/zn3BfoTfS5pYBRLCVqaJ36Wk 6NLcbPBkylqTPU0AaHzgI5RKpwerHSHJED3GmmYzjkW0nLnrrCyzA8Y2YF7wuMJPzqUn eUSY0tPB4iqROu7mzQX9n3aTgJzFVnWNT020rPxXyDl5OivItkAWeAELZ/M3v0mmTael qXOR3lHeNxeCDUna/r11E+gwNdeVz8S13yB/EU4x0sK12PZvx9OmwyGjCvheTQEcLqQG WLgd6GAvZZiEkDYOpjSdVnFoiT79nuqRRZvekldayZtnmi2YZKoO7EOsiTQKO+Bctj8K G6iQ== 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=l6QLRCww2N/gUDx4YyzxlMvXx8PICjJAWIzj33m3Y8k=; b=zjuU7tSsa9e0/V/P28NGO80cqWXsTBfsPaxdnLtPAlwKTjRiiLtYLPHUJmGX38VQyy qbj+IjZKubmLxsrhwt7kEWJkGImx/q80WcNWE/OKZvkpWMLjIkY8N178YRfAIaJTlQhS +W82HoT10Cs0gfWTmii9e1KuZpDC7z8uAYM2gM6QkchZppI8f99aZRkjXA43GN1dfUxH PcI06JF8PCauuyaGKwwf7ses4E/Vak2Kl7B486raVfI98AzjGsCBmhMJdRm07Bja+8BD n8WF8VSAcc0lJHjkkVEVdo55sufBHoSMg6CWC3D2NwelPKQqYDHaZdGQybTuCHX5ccqB dQmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="P4KY/wjM"; 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=QUARANTINE 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 35-v6si6668077pgz.453.2018.08.30.08.47.06; Thu, 30 Aug 2018 08:47:21 -0700 (PDT) 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="P4KY/wjM"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727868AbeH3Tsc (ORCPT + 99 others); Thu, 30 Aug 2018 15:48:32 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33413 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727813AbeH3Tsb (ORCPT ); Thu, 30 Aug 2018 15:48:31 -0400 Received: by mail-wm0-f65.google.com with SMTP id i134-v6so2158676wmf.0; Thu, 30 Aug 2018 08:45:44 -0700 (PDT) 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=l6QLRCww2N/gUDx4YyzxlMvXx8PICjJAWIzj33m3Y8k=; b=P4KY/wjMkYPFDbNjOeAzFPGXuvhGIkJHHgDVR/QUrBYJaPSFyZhLU/OKgDyVAtRfsL cwSC1UBpmTYC4KGzF43ZJNLd6bYwypq0T2oubDiL28AaiJ8wjL/FgxTn6rtbyrS2nnqz wRhinzDJs7882wZMTxrM5fu2QqFdfSRgns+WlBW7PhgOBoECmglfi85eFUZEKCjuBVy+ bhL4hdRKCHKMD7QwvrYawCYayaIMKVhc6ZhkzwTUIpMK+kmvcFs+OSQ3DSxClClQpnz5 5DKEEWANnKfCgSsYXHh2nXpcoQWGIP51an2xdKrHm5GroqXHhMEJI49pLwx4u/svWKbO 7HVg== 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=l6QLRCww2N/gUDx4YyzxlMvXx8PICjJAWIzj33m3Y8k=; b=Bpz3LV6h0oC/61v1xUJUPqc37g/SZ9uQA3nvdkQXDJ+xfVLKx15nu8PlhbZl8MF9zk PwfQviFiXh4YGFoEKCqsMPMYKF/zjSc5gX2vnf9rvL+RjNPEBKC1606TIUufVyQUXdLQ ApCQfyrGJmUU41wrymgL6ibbPXclrpc8zL+MbePwjPkA/9UdOz6z/8EQtg2Gl+O6koIv nIzDYOODuv0DwJ6wH6P1T7+eKahwR2BdSzzJkNjQm69LOz57l6cakNmRezfr6K1V/Q4E fQD8zptIYMLe+rjZyUQViu9Ic6+TvxPo4wJG4hYHDgGqWDQAA15Oj6htYiFoMbJLaE7H y4mw== X-Gm-Message-State: APzg51CiNurjcgwLMFEwbDaeA/7FG3hO6BKwKOn5xSD6TU+3J8saWpvR Th554tpI2dRs5GTu2ksH8gI= X-Received: by 2002:a1c:b80a:: with SMTP id i10-v6mr2123262wmf.30.1535643944392; Thu, 30 Aug 2018 08:45:44 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id j20-v6sm1362759wmh.9.2018.08.30.08.45.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 08:45:43 -0700 (PDT) From: Philipp Rossak To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, eugen.hristev@microchip.com, rdunlap@infradead.org, vilhelm.gray@gmail.com, clabbe.montjoie@gmail.com, quentin.schulz@bootlin.com, geert+renesas@glider.be, lukas@wunner.de, icenowy@aosc.io, arnd@arndb.de, broonie@kernel.org, arnaud.pouliquen@st.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 v3 23/30] ARM: dts: sunxi-h3-h5: add support for the thermal sensor in H3 and H5 Date: Thu, 30 Aug 2018 17:45:11 +0200 Message-Id: <20180830154518.29507-24-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180830154518.29507-1-embed3d@gmail.com> References: <20180830154518.29507-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 c3bff1105e5d..3520e4ad6042 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -488,6 +488,15 @@ }; }; + ths: thermal-sensor@1c25000 { + reg = <0x01c25000 0x400>; + 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