Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp615293img; Wed, 20 Mar 2019 07:26:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4rY/RAXjfrbPoNDa3CBNRGIMufUik8R/ag0BuoJlyW+1Xh2+Xw9ZefX3avoq0s0KYmrH9 X-Received: by 2002:a17:902:aa92:: with SMTP id d18mr7922104plr.278.1553092019007; Wed, 20 Mar 2019 07:26:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553092018; cv=none; d=google.com; s=arc-20160816; b=c2zMUXkr9Mf63M3ykbVHHfmRdRAFTVDiiC5h7I08rKNcRcW9jCPTyDRHB84nKSsRar m6nibGAnTUDVR307XcsKwsMLF+rrnBpw0pOdf0LuOwBI0uZbeLEJ6XvB6YJrRU3AaEr2 jQGwX4iqfww4Uoimz+uQBlsXmX2TYvxCRY4uvk3JdZDQtJPN8/3qGGEFLWVjU4mzkIAF R2YINTR4o+dzbdaFJjXWPTvUvWcynSo/Y4ctEIMJM9clQq6gtTMGN5gh1s//d06q2exp px3BOa9A0+S37VgN3PGMguJkRDhCE0HmYACYmqssEOAowvKTl8UeL3V8zbFFvpAtNdFs JEaA== 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; bh=zhB+LeFVS6OFyErgJNo3tOKrMggpNFpe2MsHnlwSdoc=; b=J8geVK1ASbGYejZHKxTdpqtJ+F/NTdJPUpTdPYroeNm8786wj4GKurnSOzRS9qnnnV +444gW1FHRll5QIxgnxuavIhhkjD/BaiKceFxagAwXR5x0Fp8WIdVeN1KK2auG3uHtUd I9P8TK4IotzogwbvgPzq0pQ0FihP2VF7/cUEIctAbzpJPA2yKQfqqNeeK1KsnGoHlkGH RpFSgt5zh6nZS6B9sbtUa/Y00e/JftkpnzENPdJ/LwH/3TrBg9mgRdhxUUO5TwEh9fJg enPWsaBM9e6qKlT78DH5VwtBcEfovsWRzc5JA82JH/5PQqtymryWK8iVbAdezykWlw6g LlNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GWtkLkMW; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q6si1672238pgv.344.2019.03.20.07.26.43; Wed, 20 Mar 2019 07:26:58 -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=@linaro.org header.s=google header.b=GWtkLkMW; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727605AbfCTOZl (ORCPT + 99 others); Wed, 20 Mar 2019 10:25:41 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43918 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727545AbfCTOZk (ORCPT ); Wed, 20 Mar 2019 10:25:40 -0400 Received: by mail-wr1-f67.google.com with SMTP id d17so2975816wre.10 for ; Wed, 20 Mar 2019 07:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=zhB+LeFVS6OFyErgJNo3tOKrMggpNFpe2MsHnlwSdoc=; b=GWtkLkMWuzbZyx7qkGuvjmvhnO2mFey3KQu0tw7hSNUr5avZXIrfzKKNGVqsZkhxsK +JQFdVsjKw6bsjh2T7DlDn1ed7msi4HqiHFVdb2V3bIncbdhYIIRQJv3B01UZiQJnd4D A7qC7XvxxBMbn+qOFviFOkVj9aXYXTV5bRGE6lI61OijVOQqwmmibC5VyHXCRGj2FLEg Az/0edLTmoDEKrPkRK1cI5s5ieatxdUC+onrjLAt/lFQtvtfBF5DKdrEK9mgZqf+bDqc 9MM95hxEeNE2fJU0FblSJu/E/IRWNqXFaUxWFEf4Z1xcQiuiQA3hTM/6D/YvChhAeivQ mkCQ== 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=zhB+LeFVS6OFyErgJNo3tOKrMggpNFpe2MsHnlwSdoc=; b=faEaflHVKntCvsXmUsvFbclUULOrcmsOHcmc2pgclb7UOIcqG79ajQydpiSiFjg5EN LyibHCLa5RZ/LcbatuCZxld4y9js7PFL6dR4f1c4BufmrjhzV1IC6RzgaLY0/RSF9tMZ ILJUqlWDsbzRVQ/X9rkdFuw5NKVrJDa4gbPR2DBRdKv2wdWudNAY7qRtRhgTbX7uYMCO WI0T/IJnfsUoYXSMiS6UiLHehbghEQ7xKVbn/UbnT4ZQxIUNgLUR87PjA9mtuiukPanj gY/k3JirieCN+ZWdWwWq22KjrDCUPjXtR/EOnITjPDXm3GPO5sD7VLZxDsgbcRvWGfhi vG/Q== X-Gm-Message-State: APjAAAVtkF08zdQLSFeNQPzOJhXJCPy6ksdwut4/tdv+I3aFqZfA8ocQ kKn7AmJuh6mXtUanM71WvhOGzkssDTw= X-Received: by 2002:adf:e889:: with SMTP id d9mr9095138wrm.162.1553091938812; Wed, 20 Mar 2019 07:25:38 -0700 (PDT) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id v20sm7710526wmj.2.2019.03.20.07.25.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Mar 2019 07:25:38 -0700 (PDT) Subject: Re: [PATCH 0/6] nvmem: sunxi_sid: native format and A83T/H5 support To: Chen-Yu Tsai , Maxime Ripard Cc: linux-sunxi@googlegroups.com, Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190318073354.12151-1-wens@kernel.org> From: Srinivas Kandagatla Message-ID: <437873bb-26c5-a451-0a4e-5d846b05244a@linaro.org> Date: Wed, 20 Mar 2019 14:25:37 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190318073354.12151-1-wens@kernel.org> Content-Type: text/plain; charset=utf-8; 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 18/03/2019 07:33, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > Hi everyone, > > This series converts the sunxi_sid driver to read out data in native > endianness for all Allwinner SoCs. It was already the case for the H3, > which used a different read-out method. The endianness for this hardware > was found to be either native or little endian [1], based on the data > layout for the thermal sensor calibration data stored within. Some SoCs > have either 1 or 3 sensors, and calibration data for each sensor is 2 > bytes wide, with data for 2 sensors packed into 1 word. > > The first three patches do some clean-up and improvements of the code > overall. The fourth patch converts the driver to reading out data in > native endianness. The fifth adds support for the A83T and H5. These > two were already listed in the device tree bindings. The last patch > adds a device node for it on H3 and H5. > > Please have a look. > > Regards > ChenYu > > [1] https://lkml.org/lkml/2019/2/18/134 > > Chen-Yu Tsai (6): > nvmem: sunxi_sid: Read out SID for randomness without looping > nvmem: sunxi_sid: Optimize register read-out method > nvmem: sunxi_sid: Dynamically allocate nvmem_config structure > nvmem: sunxi_sid: Read out data in native format > nvmem: sunxi_sid: Support SID on A83T and H5 > ARM: dts: sunxi: h3/h5: Add device node for SID > Applied all the nvmem patches except DTS patch to nvmem next Thanks, srini