From patchwork Sat Apr 13 10:32:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 162152 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp637221jan; Sat, 13 Apr 2019 03:33:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyScGIgyTvd3b9B/51Xj4hH1yLHYuuj6YWIH4sTwJHREdyWLp9bR5a8/lbFtIOdXOM1j0+e X-Received: by 2002:a63:5953:: with SMTP id j19mr55855232pgm.260.1555151592671; Sat, 13 Apr 2019 03:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555151592; cv=none; d=google.com; s=arc-20160816; b=pRgfN5/yyDFcg3pUZ4rT235t376LT6UHUrsgYLuUZS3ZxeOeyXeudHNvWrDQriD7AQ SP5V4mVJUC8Ekz1tnZp+o8DFJX3BAcocxRJInOhIKADEtGLBPv4bUdesxdT8vk7x86vn cdRBMyaqe+n1MrWl0KfW+x+900l2GdaM8QbtzPD1k9Lo7eY8kRFPZSq7H5MJhD/sHvfl NAb9KCC/7zX8spuXVRCPtOkWnNgU3G/gpT3Z7ww3hf3dsNy2fqXJSKvH8/I1S5tws0JJ soALDGD+fcdyDVRxE1ek6sCMzx0JGwVMK3omGqLBJf0y9ebE5bAGzvYMmmr+a1Uea5+i yJRw== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1D/vpZhkpnrNC5vrHmbmlzGbahsmNnMzAgArQrryVSk=; b=g/3o4rqMiV9XsBy9iCF4fobBGxSA0D33LM55Js2XrQDEwvzqoKUaRvwS2eZuT/RDTF Bkn3CDriJjvOo1J/tTgEQAnHT+YUKvE43y/we2jT+j4BwfUmvp7tQov2XH7UeF1RaGpQ 9O4kmRjgJD9y4G2HOo6MWJjctj1TTaI5Y/cj2E+DKUBDvW0i17iNNGI2CaUdhAgYRO1k eyULq2DKG42hVRUdpHWfxzFLCHCyzyRrjVuCLstKp4e44kidsZgn5zb2DDk/Jl/sT1Qc FbZyMpUyCByZzYqqaYI6b0i67QVHWj9+53JmQ4wiYIvULFFhVXRm9VNn9Zhu9C4qt3UC p+ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YfNY7SQ6; 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 p17si40391400pgl.181.2019.04.13.03.33.12; Sat, 13 Apr 2019 03:33:12 -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=YfNY7SQ6; 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 S1727039AbfDMKdI (ORCPT + 30 others); Sat, 13 Apr 2019 06:33:08 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:54513 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbfDMKdI (ORCPT ); Sat, 13 Apr 2019 06:33:08 -0400 Received: by mail-wm1-f67.google.com with SMTP id c1so14195314wml.4 for ; Sat, 13 Apr 2019 03:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1D/vpZhkpnrNC5vrHmbmlzGbahsmNnMzAgArQrryVSk=; b=YfNY7SQ6Zq+eYTr38wXqWsMz8zPfa9svoIKcauzdOdMYf1d0ne6rtbGTmkOVSYx9g9 M6CfAkkuft7sKLjDCuXSLrsA+cReq1OExiRiM8uhHoY4EBUYlheObTtZzU86DkLWP9/a 4TkciSkYxI0GPZa5nopOqabkXecVYM2ZxQ1x2v4XhExCxLuEORWMONA1iQx9jZBjudxH UUQFb3WjqsmyE5UJOK+VFmAdDMblUDcyFBy9Bay3hJH/T0psSH44RhnqqDvY+IvgYZT5 SPpLTl+RdiezdBSPPrwsuJVfbxlB2TyqrVxxOMd1rY6dXv4PJmf/Y6PRHCBu2b5anyr+ Yxhw== 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:mime-version :content-transfer-encoding; bh=1D/vpZhkpnrNC5vrHmbmlzGbahsmNnMzAgArQrryVSk=; b=o9LaC7454JBamRAsptRr7JscGf+7koxVYV6S6EBr0h4DOhW5F95eWGd0wtYye8p9Zu 43JxzWTv07qn4JD5dCgsm2Qb7/5/E3VWnnKpaiPDOXVwCuvQtQRpxvi31ANkhe14cnAy yGkNalInkfyKBJmTdyOQ01bIILEv+tDXfVXloQi15icOK/r85dqArDyRjWPMQRNkYmrL JJA7at6kkq1Nzl/qpv8VfWZuUvdXlGrkwg16OR1uObdSt0MtCKE5uHo2WOdqc5uO44bA h5ucouN1hMMZxZyHgiWNjp+tQPwGxp8QpvOLcUoBEcWW7+JBEWw8zplynqr5UBZLkJKI MjDQ== X-Gm-Message-State: APjAAAXO5fJs7uXHsXofqku6I76A92KNjns70VPAbYxgio3dReKpjWT/ OEhU8jX+REUCzy2XXy00WyolEQ== X-Received: by 2002:a1c:5459:: with SMTP id p25mr14175302wmi.20.1555151586710; Sat, 13 Apr 2019 03:33:06 -0700 (PDT) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id u17sm19547303wmu.36.2019.04.13.03.33.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 13 Apr 2019 03:33:06 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org Subject: [RESEND PATCH 00/20] nvmem: patches(set 1) for 5.2 Date: Sat, 13 Apr 2019 11:32:45 +0100 Message-Id: <20190413103305.9576-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Resending this with cc to linux-kernel@vger.kernel.org Hi Greg, Here are some nvmem patches for 5.2 which includes: - adding support to new stm32, sunix and imx providers - few general cleanups - fix for in place buffer reads. Can you please pick these for 5.2. thanks, srini Anson Huang (3): nvmem: imx-ocotp: use devm_platform_ioremap_resource() to simplify code nvmem: mxs-ocotp: use devm_platform_ioremap_resource() to simplify code nvmem: imx-iim: use devm_platform_ioremap_resource() to simplify code Chen-Yu Tsai (5): 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 Fabrice Gasnier (4): dt-bindings: nvmem: Add STM32 factory-programmed romem nvmem: Add driver for STM32 factory-programmed read only mem nvmem: stm32: add support for STM32MP15 BSEC to control OTP data nvmem: core: add nvmem_cell_read_u16 Jorge Ramirez-Ortiz (1): nvmem: core: fix read buffer in place Lucas Stach (3): dt-bindings: imx-ocotp: Add i.MX8MQ compatible nvmem: imx-ocotp: add support for imx8mq nvmem: imx-ocotp: broaden Kconfig dependency Yangtao Li (4): nvmem: sunxi-sid: fix wrong description in kernel doc nvmem: sunxi-sid: add binding for H6's SID controller nvmem: sunxi-sid: convert to SPDX license tags nvmem: sunxi_sid: Support SID on H6 .../bindings/nvmem/allwinner,sunxi-sid.txt | 3 +- .../devicetree/bindings/nvmem/imx-ocotp.txt | 4 +- .../bindings/nvmem/st,stm32-romem.txt | 31 +++ drivers/nvmem/Kconfig | 14 +- drivers/nvmem/Makefile | 2 + drivers/nvmem/core.c | 52 ++++- drivers/nvmem/imx-iim.c | 4 +- drivers/nvmem/imx-ocotp.c | 11 +- drivers/nvmem/mxs-ocotp.c | 4 +- drivers/nvmem/stm32-romem.c | 202 ++++++++++++++++++ drivers/nvmem/sunxi_sid.c | 115 ++++------ include/linux/nvmem-consumer.h | 7 + 12 files changed, 362 insertions(+), 87 deletions(-) create mode 100644 Documentation/devicetree/bindings/nvmem/st,stm32-romem.txt create mode 100644 drivers/nvmem/stm32-romem.c -- 2.21.0