From patchwork Sun Jan 28 23:29:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10188551 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 6E26460383 for ; Sun, 28 Jan 2018 23:31:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 694C3286CD for ; Sun, 28 Jan 2018 23:31:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5DEF5286D2; Sun, 28 Jan 2018 23:31:02 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F2700286CD for ; Sun, 28 Jan 2018 23:31:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753329AbeA1Xar (ORCPT ); Sun, 28 Jan 2018 18:30:47 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46758 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753780AbeA1X3u (ORCPT ); Sun, 28 Jan 2018 18:29:50 -0500 Received: by mail-wr0-f194.google.com with SMTP id g21so5272715wrb.13; Sun, 28 Jan 2018 15:29:49 -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=THR/Kd4SUgKGPHpFK3evdBQHAtYiY5eMilCqHIbZIUs=; b=eg5l9V6GcwCJmXc25L89BoUX2iRmksUhygIxReYG2jPDIrMiCBhjVkezEG/TulA5m4 sRiSrDZ8Sl+Sp4aResQcUmSenPVK6jdg6maswK3HZC0zRxzEOhUAtffx6ucuGqhs0wZ4 Q+CqKOjFctZuvene6EZMilf82/OaAqszpNiCWjP79i0oCiT0a7pS8/EztmqajxlV/4ge LgMdUHy3FpKf5GIBWnhuAZoZByiI2dYXVRNaxhqoYVRq54OkX4e6YIoTOF7FlQNDIfTi uF1PYaQn0aGRswluRsq1wnh8RxDiHXAKOzL5QEia+igSnJSPvkUcjejZ4bBNKHe56RpP LH9Q== 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=THR/Kd4SUgKGPHpFK3evdBQHAtYiY5eMilCqHIbZIUs=; b=lh2FrYjsC/i69UdE8DBIWMIDCo2PcWGmhLjSvaupGYT79j5ljjIwzdtaifbs1n6aA1 42hSz6+9hFsJmKI/uVZinYKDcDIY4GcQUmUlMNPO6olAzRq2EtQ/XWUw+oOPUdCjzwa/ ttC4uyYvObyzEKaRwSc4MPcf8VOwCWF8kZKmuuBa7hzL5sTKNTb+md63smk+6NUVDjqh 6cw8OL0QVVyDzoRtUOcrBVUzfBYXNC/0bbb2G3JNl8BMrp66D5d4WLxmaVBZZ9RceZco R+O3WtEaGoHL9F5ysoG8VRru2UZUnSBgrTXd4UV0gVRo1O/adlbxhiWh6akg0ajTtGUW HiUw== X-Gm-Message-State: AKwxytd7Od2IJYCGpSqr8J2PIYGuTRa6HmVbOe09rz4smfZul/4LY09E fLvjtHT8sBBCuaMz9SG9aBk= X-Google-Smtp-Source: AH8x2248St1m3Y6OC4MEPFQBveXzL4R0T0/YbIT7jVR0E421v17pMCC+QlE7D11/L15JGTV2jKNJDg== X-Received: by 10.223.169.110 with SMTP id u101mr8741852wrc.228.1517182188499; Sun, 28 Jan 2018 15:29:48 -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.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 15:29:47 -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 14/16] arm: dts: sun8i: h3: enable H3 sid controller Date: Mon, 29 Jan 2018 00:29:17 +0100 Message-Id: <20180128232919.12639-15-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-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch enables the the sid controller in the H3. It can be used for thermal calibration data. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 3f83f6a27c74..9bb5cc29fec5 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -72,6 +72,13 @@ }; }; + soc { + sid: eeprom@1c14000 { + compatible = "allwinner,sun8i-h3-sid"; + reg = <0x01c14000 0x400>; + }; + }; + thermal-zones { cpu-thermal { /* milliseconds */