From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07AB9C43381 for ; Wed, 20 Mar 2019 14:26:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C9FD22184D for ; Wed, 20 Mar 2019 14:25:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rBb7+Fph"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GWtkLkMW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9FD22184D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=d3kzKt75X0S21jyHEg11Ai4rpx+s2Bc4CQzFPONOEIY=; b=rBb7+FphXXfIWch5fxEGDdqUH vycZe8ArSJT2I6Kx14v0bt0+of0U6gkvneI//QsW/ceiX4MrMo7dATGbynuBt4KXvjyG/9Nhj/owr 591FjYi+LuUjRMWWbu6AMQ8FlEcex4EXWqXgD2mXRMqkcloGidkbDsDTu3+nYHRgaLHS8KSNMPpfW UCwoxGhSRiEVBFoZjHIo3i8iMzrvaa9ztVdhLNaO58+5EnJ1/EyjTPipMj7hQDaFjxq28hKvRqU/T f++r11lJ14FNzBlfZaRk6IuuiE17tZuR8M4yuMvb3DSWhoa7JSuM1WY5FtD5ksawe7YegeM94DXpU e0JXxwc7g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6cAC-00062M-TY; Wed, 20 Mar 2019 14:25:52 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6cA0-0005lS-GV for linux-arm-kernel@lists.infradead.org; Wed, 20 Mar 2019 14:25:51 +0000 Received: by mail-wr1-x444.google.com with SMTP id o1so2969417wrs.13 for ; Wed, 20 Mar 2019 07:25:40 -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=r1gVVo0JG0ahr9viM3y4kxF7wxgqQF6KUC+JX0Ga7uXXa2zEfNe7Nos9tSI78HCBMw dn6Rqr4kZfPQx3m0GSqMZUqSUcKoTLyHkGV+tgYNb2kNKEsSabCukwWsC4nCc5YMzv8t XpZH0Uts+C5Vpvsgd1rg+ZksccR4ZLbCkQieSgj8lEwgKZPJuxY5MGetugLX5Nt7bELg kJC3fJahdheDy8lDSK7TD4x611d7/LrkqRoTvWb1Pg6nRXdv2PTS2fjJ4Cx0KmwOPIQo ZKAvo18qYWScV8CaFyClcqhJCv6bS5VD5rMCVM80u7c3BHX4txKmZVFjjRaYZ1V/zevA 5ZZg== X-Gm-Message-State: APjAAAXOH79Dw2OhC35s3fH+yvn8tMFPVWHcxHF28j9Izo6+SH91TFLD 3HC7z80XzDvwM0MFKevxVMV8lWZlpsc= X-Google-Smtp-Source: APXvYqy97hHbUmezKnrVjDvyeTgzMEv5T5YP9IFOx7VmHF/9vMkePzRUYLH/rbnon7DyJ83vFB6qbw== 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 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-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190320_072541_227791_6DB9C83F X-CRM114-Status: GOOD ( 20.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel