Received: by 10.223.176.5 with SMTP id f5csp2786674wra; Mon, 29 Jan 2018 04:04:26 -0800 (PST) X-Google-Smtp-Source: AH8x227ufJTwqJ7mkvthkXRA5sV9wmsjIjBDEXXxNw5tU8O4qhGQ7Bv12BxZ8rEJEPUzXrZslhO9 X-Received: by 2002:a17:902:bd47:: with SMTP id b7-v6mr21617783plx.300.1517227466731; Mon, 29 Jan 2018 04:04:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517227466; cv=none; d=google.com; s=arc-20160816; b=y8kFHb64K+Z2wj0jUOVZZ4Rh3V+iCEuTdDPTpCig9m/eh4cUEz+M0ktkh9cCpo48Oi Xb8CjyFaMsIPMYkHOQKFmixCqGvUg6DtxgnAK7wXi/1mcNc/BIo/VBCbk7xs7kjSlfhd YtyRLmfaEjUFFdjguFjqS4cYon6zJODUSh4NnpQ8JCj+pa9jJxOliPCq4IiKtLYbUqD8 tExvKSmi+kR4zme9sNXk3UA21QcIE/RVUQzG8WKCfrmLVRrwAiUqIt1rGSYMT6J1Q9cp cI/DzoNOMFaISd29A9H2XesSTfC+IZWpsI8mzK2SjWl+W3o1sM9JuZRmkHocDCG4xP1v 29CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=L/95GY0BWWo0ogKGwOahu2jLNpTF9Ba+aD5P9tDZJ0E=; b=c1SDCjddDUtxbCqzO3ehXuuMjBM9Oq9b2aVs8FXy0w//H0+idXWcsR2ngu1yZ876rB 6NIT81L1b9Z4moFevI646mv7QtzSFT885cZ6Qbhb5Jjh6e/JpaZB3huEnNpuNrMMFkYf cQ/HHJNc5JPPJN2iYKcUnX2ZBSuSQke8K4qdRQcRvGaTIDo229Z85uxbv1lloQngEfTo 0qs/UrPeYWxbUinXh+csyr9T3EVIHM+GgIIuBFA+jIhAJUgemAWRZxvoJ8UkIR9vqDkl y+d6QQnwQ7sHopKXapOVWPBeogJ+GA/8jWutXneHTjgJh8ZknSdmbH+PtlYt3l5E1eJE uqxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SwVQcMgc; 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 t12si2827260pgr.807.2018.01.29.04.04.12; Mon, 29 Jan 2018 04:04:26 -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=SwVQcMgc; 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 S1751719AbeA2MDa (ORCPT + 99 others); Mon, 29 Jan 2018 07:03:30 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:32841 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751297AbeA2MD2 (ORCPT ); Mon, 29 Jan 2018 07:03:28 -0500 Received: by mail-wm0-f66.google.com with SMTP id x4so44583706wmc.0; Mon, 29 Jan 2018 04:03:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=L/95GY0BWWo0ogKGwOahu2jLNpTF9Ba+aD5P9tDZJ0E=; b=SwVQcMgckVr82L+21JvbE/RNMZxChPb6Rlk1gsBg6/NmPD5VEkIDxyeBCrZHQJb1dB cByjb5ji5R2+xiUuKq6vGiknl5ybrwj+jocfSUD7xA7K5+/UlJhGsJK+9319ReLlCOue b/PeDemqhW4nkgiSnnw1Y3g4yOHG83fJvX+9Ooca4qE9bLTVCUq+Td1QVs669ZpF0s8K HcWTDLQb3b40vYrIcXpMEDTV4tUlodt7bgFBP1LY3y0SL6dYm58ufB5fda3Bnl4PYoJh 85poffpAy/nWx0eNhYzjys6ndVb1aOOTGX8hG2MJT/+CJiAAagKTVPwcRmLn1TQKrgTy cdOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=L/95GY0BWWo0ogKGwOahu2jLNpTF9Ba+aD5P9tDZJ0E=; b=umvjVcMM+rEsjd/+gnFJ6Jiv+DbtVcDKW7zg3OiaywZkpt13EDZXVngXOCdBZw5nPy 5MKGFzNELXOqa8Fqz3Qc+oCVtU7jafQN+HCEEeBo3Fe9a4qAI7FMtxBVvFZ7bIYuQJid NqkxO61DUBFy/Gd2Z+QYCFPvKiRX6i02PkvChqx2aeqX82XX30xQBmk62126LeGG2zaR kSw5G5TMLHPEdVIWyy6Y8nBGn648HkImT8qwLmDAHG1MlPcnOwW6DRhOI/HL3PezY9p3 yVmLpVrHRrbXvOMr6Qq2NO/Ym2w+0mJAGCAgikpv3ySm+49zIZQOSlaB+pRSmEedP7ZR epug== X-Gm-Message-State: AKwxytdVn2zh9OYxAoUnYRMSlaorJzlMcAM3uG+svb9ePCd+QYqNg+kB Qgi6U3pM8S1uL72YY7dSxwY= X-Received: by 10.28.128.82 with SMTP id b79mr16980453wmd.113.1517227406746; Mon, 29 Jan 2018 04:03:26 -0800 (PST) Received: from [192.168.2.62] (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id e15sm9804137wmd.26.2018.01.29.04.03.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 04:03:26 -0800 (PST) Subject: Re: [PATCH v2 14/16] arm: dts: sun8i: h3: enable H3 sid controller To: Maxime Ripard Cc: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.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, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com References: <20180128232919.12639-1-embed3d@gmail.com> <20180128232919.12639-15-embed3d@gmail.com> <20180129095200.attg7cgvpifpchtn@flea.lan> From: Philipp Rossak Message-ID: <470ec61e-8b08-5193-ede1-01d02b2c865e@gmail.com> Date: Mon, 29 Jan 2018 13:03:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180129095200.attg7cgvpifpchtn@flea.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29.01.2018 10:52, Maxime Ripard wrote: > On Mon, Jan 29, 2018 at 12:29:17AM +0100, Philipp Rossak wrote: >> 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>; >> + }; >> + }; >> + > > Shouldn't you also use a nvmem-cells property to the THS node? > > Maxime > Oh seems like I forgot that. As related to the wiki [1] this should be 64 bit wide at the address 0x34. I will add that in the next version. [1]: http://linux-sunxi.org/SID_Register_Guide#eFUSE Thanks, Philipp