From patchwork Fri Jan 26 15:19:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10186295 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 A9B7D60383 for ; Fri, 26 Jan 2018 15:20:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B63B285A5 for ; Fri, 26 Jan 2018 15:20:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F8F129716; Fri, 26 Jan 2018 15:20:51 +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 47E4E285A5 for ; Fri, 26 Jan 2018 15:20:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753099AbeAZPUQ (ORCPT ); Fri, 26 Jan 2018 10:20:16 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:53579 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753058AbeAZPUM (ORCPT ); Fri, 26 Jan 2018 10:20:12 -0500 Received: by mail-wm0-f66.google.com with SMTP id t74so1963896wme.3; Fri, 26 Jan 2018 07:20:11 -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=CdfYqo7IfiBVDq6Kvb8uE2Z54/VSRi3WOn2U67SpeSd3ZbFI9gcDivDiIOpeuagzLM s3K7GrSXtSHp2iJ5LnonuuC1TojEDGfAJLLC4E/sK3HSti4kF7EVQsy60D8xoxZVy1Fv x/RlmEiq9A3TdAWSYYrpnaI/aQdv15WUxQw138si6v5WSYYUFoe9u9CgGpzK/hNDQXjm 63Fwk4U63V7WLNfOtudnTEo3E9y+K9jt51HuonpUwTmb2dp/y2np1nXHQU6Vpkp51EwL NrFpaBBC4vXPlAz1b/KPULzXBvUZ2pqBaTqMhyrDxviwRYP5v9XgY4beozg6O2Pra9IW UtXg== 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=SJ8n//xFfNW0RWlAmzNRMBnlNfSrrjmZUArNWKnHYEdbF+fwn5PQnfBrmb8yhyusHR yAMm1/uDcEhAxwUGz4nk0BkDuU9f/jWMGSZO9H8Ei0/ocjhQB5izn60LB8kNmzw2iF9A 9pwJP2LhYt/5/xfngP7ekpPAotdlUB5LcVOzjDnKUFkwQbEDVdaeFmiE4NivYrdrtID4 Ww5qTNnz8DXvapSAHJTQqVG9bOdz4ftrsjsVhhmjn2+mZksejUEtNMH1CuwUJgBMfVoa 7wK67sjEePouez6mIxS82zuTDtpx0hmAWoZOcjiYwSkx/T3wnjIj33sjDkRtUoqGQo3M Ww0A== X-Gm-Message-State: AKwxytcnZCdZHhiLKAP9JZCVsQyamTlk5T6z4Pj7TvOkeUqSXWzKDhsa DJ/rmmDR8nT/Y8kiq92uGaI= X-Google-Smtp-Source: AH8x2275kStrCJ/O/DACzaTfBchwlF529T842r6f4tlUSkYsdf2mmJLdrc9UYEa1Ll5UHMQOeYDLOw== X-Received: by 10.28.114.6 with SMTP id n6mr10161167wmc.87.1516980010751; Fri, 26 Jan 2018 07:20:10 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id e15sm4586130wmd.26.2018.01.26.07.20.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 07:20:10 -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 14/16] arm: dts: sun8i: h3: enable H3 sid controller Date: Fri, 26 Jan 2018 16:19:39 +0100 Message-Id: <20180126151941.12183-15-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180126151941.12183-1-embed3d@gmail.com> References: <20180126151941.12183-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 */