Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2473689pxj; Mon, 10 May 2021 03:59:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQYuxTEM7uGZEQpbUA33vcgF2IiSVmTzagF0nLx8EQyZed8BaBUdKT6nD2i6LPEn4MetbX X-Received: by 2002:a05:6602:718:: with SMTP id f24mr17031088iox.59.1620644260097; Mon, 10 May 2021 03:57:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620644260; cv=none; d=google.com; s=arc-20160816; b=pXwaWZkPEu67AuPQhIwlvhgb2aF8NME0OnMEhfQFIeV4EkocaK1IcBWbfSEH9zf4pf djFm6sw4i1/tG/qyZ/O8QDbYVbxpYJ6Z7nyjwuOm9jTzp5SaMSDFxJ7usihNHAMjHIjw MFB2UGqXY3lbPtGsZ9jjKnRF/ZhLcN2O2dvVkAcUmsFcXhqk/2KiC7kmgPaAyw3prrVt R1nv01GzNUg75xiqjQzC9li0xsO4dOxygkah4qotztcaCAV6RAmYApt/NchDpZM/CaAs f1oWLx2Q5zK+hg/5wHhEg4eWRvisP7oXQTa7vj2gKc+fMC+Aqm1rcLn9kT5wE+d+jrq/ mzhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=r8i05/sJHhcJ59sue0UQfr77viJZYo6EFbK5Xn7d7gE=; b=YRHpUqu2lqUR+9mM3j1dKwinF+pOQbv47ETCXLL7ECBxzFhq43YOhJ5ntsnnzWPCZk nDc+3FGTfUXSAUEGslkhhSYjqMneB/VByOhagqLX1bLFKrc+ThD/hQeQ1UzZEsG8NLqL IZUkl/0pqZ+3ofDF889vHfdki6lJuQjb2cSyYmvk17cY1f1DVdTxcf+e7wdpMknkqBOz Ixz8IGEV/kt58IeFxTfmkcp7jzKMJLBYCA3CBmJ7PxgW6etHiJwWgxqsVN5yOD+MyTLR QFeysYTKgzdy3LAdFsTXOlvoToBF+NAY+5Ie3H8jtGaxummZXdv0ackF7NCwn66lNXTT W2sQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d7si16341499ilg.78.2021.05.10.03.57.27; Mon, 10 May 2021 03:57:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234530AbhEJK4h (ORCPT + 99 others); Mon, 10 May 2021 06:56:37 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:45803 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233065AbhEJKpB (ORCPT ); Mon, 10 May 2021 06:45:01 -0400 X-Originating-IP: 90.89.138.59 Received: from xps13.home (lfbn-tou-1-1325-59.w90-89.abo.wanadoo.fr [90.89.138.59]) (Authenticated sender: miquel.raynal@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 773DC1C0002; Mon, 10 May 2021 10:43:55 +0000 (UTC) From: Miquel Raynal To: Michael Walle , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Srinivas Kandagatla Subject: Re: [PATCH v2 5/5] mtd: core: add OTP nvmem provider support Date: Mon, 10 May 2021 12:43:55 +0200 Message-Id: <20210510104355.11075-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210424110608.15748-6-michael@walle.cc> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'4b361cfa862479fbb1d14ddf01de4dbc7146dcc5' Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2021-04-24 at 11:06:08 UTC, Michael Walle wrote: > Flash OTP regions can already be read via user space. Some boards have > their serial number or MAC addresses stored in the OTP regions. Add > support for them being a (read-only) nvmem provider. > > The API to read the OTP data is already in place. It distinguishes > between factory and user OTP, thus there are up to two different > providers. > > Signed-off-by: Michael Walle Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel