Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp472706img; Thu, 21 Mar 2019 02:07:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUiX6XDhXmL+3fa8MjEfIWrB8QVOfbN/ZQ885c3Ugb/UryIhmuMD3wY8dgSYkv3O5u8eyq X-Received: by 2002:a63:5325:: with SMTP id h37mr2221069pgb.353.1553159254966; Thu, 21 Mar 2019 02:07:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553159254; cv=none; d=google.com; s=arc-20160816; b=tHq85ZyJ1iT85TRTxTb7ILT/wWeCMEp4ws9iS9NzS1itkfOnqtzcsFEpOM2fC9tMui 9CV4+NupJwkiLO64NmLX7cRYD1qga8it3YGvz+/s8EsoOSeqaz0P1xCW4j2sMjhfRymm ykdvKShtKt4KjKelUSuh/8KXsmfgPjsQH1tS+2+/mrGB3GZPSgdoTcjr+JAnto5DoQx0 27lQDsfY87NMNxr0f4YzUjAsyBAGi1lyVYFia5PFwATPAL3pLIFr++Ez1hI90h+QlbD+ u4eAHG878fdY0HR9mlF1M2/ThudxOgFhawvGf3Di6kwn5/WfeDxWhZAIppq89v3NMqCg xJaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=o7hbtrzGKhO+PpBi8OQYC1VBh1/w5QyA4fpnPhHazE8=; b=pX9O/sASVv/luyciBEpPyLqDP7YLJQwm+wTzhJPkJG49cQy2PETFtRA0bWiqRAp1hO +Ze0pc5ufcM9foO/tNihqrtvl4i8181yHMczuic/K0m1Lh67HINCobrvrN6TOsr9IxUH DaNBxdiL0o42F8WWygMedPANJNk4Mv/N9Ksqxor8rQTvU+j3xbaBn38lruEyIEO+kPwW uLh0utLsC7smzB6qi8jPlernpb94M0R3/io4kVkiRXGPS2ljG+ufHcW3HisSYeUatK4y L42PkSfLukWUCmOobP5GtnbA3dshvqYX7jc+9WbYuzODKPHmgmiZ6Kr9/IHfsZSDRSTt li7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DYH40JXo; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c136si3616717pfb.89.2019.03.21.02.07.19; Thu, 21 Mar 2019 02:07:34 -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=@kernel.org header.s=default header.b=DYH40JXo; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728089AbfCUJGh (ORCPT + 99 others); Thu, 21 Mar 2019 05:06:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:38480 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726253AbfCUJGh (ORCPT ); Thu, 21 Mar 2019 05:06:37 -0400 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 68FBA218E2; Thu, 21 Mar 2019 09:06:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553159196; bh=xlDPynwetnCQ3H7/Ydgq0AXB0mKRHZNXk2sMFprqLj0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DYH40JXogRzFgF0HyPRHB1SyyFZzlZjRiqTSeZncg7yMFnjnySNhxxQjhK8K5tkIR 71ylSec0N3eYHeqytcmhhzE6sFcZsp/IJT/QPhwqgqC1unSo+Xc6qn5+A1TNmzSrTJ AmyHKTw8rqH4cHcfmxGVsmj7Xp6NtMmf+pkQvdYU= Received: by mail-wm1-f53.google.com with SMTP id v14so1839039wmf.2; Thu, 21 Mar 2019 02:06:36 -0700 (PDT) X-Gm-Message-State: APjAAAVQaMi7JN4QDx3+/lCQwqgjuKfAhTZvFHvAxagqMGCPsAwDghYo wlsOLgouoU199fCUU445RSEA1NgDrH3Yf8QQzXk= X-Received: by 2002:a1c:f502:: with SMTP id t2mr1627944wmh.124.1553159194961; Thu, 21 Mar 2019 02:06:34 -0700 (PDT) MIME-Version: 1.0 References: <20190318073354.12151-1-wens@kernel.org> <437873bb-26c5-a451-0a4e-5d846b05244a@linaro.org> In-Reply-To: <437873bb-26c5-a451-0a4e-5d846b05244a@linaro.org> From: Chen-Yu Tsai Date: Thu, 21 Mar 2019 17:06:24 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/6] nvmem: sunxi_sid: native format and A83T/H5 support To: Srinivas Kandagatla Cc: Chen-Yu Tsai , Maxime Ripard , linux-sunxi , linux-arm-kernel , devicetree , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 20, 2019 at 10:25 PM Srinivas Kandagatla wrote: > 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. Merged the DTS patch with Maxime's ack for 5.2. ChenYu