Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6596909rdb; Fri, 15 Dec 2023 03:16:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgD1ccrn7Jpgkax9E29amcsWcfINI/LDGFvEMsPTXQHGhzh7eOymaeRzB8uCAYTztmTxMO X-Received: by 2002:a05:6359:458e:b0:170:7e3f:c260 with SMTP id no14-20020a056359458e00b001707e3fc260mr12571757rwb.62.1702638995557; Fri, 15 Dec 2023 03:16:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702638995; cv=none; d=google.com; s=arc-20160816; b=GfzxtATtMrsZ0wg8FxnCVTROy7ydfPT/le/KOjbePKl6LAVY0hlZkzfBYhNO706EVT Vak72QgcMPRu6YPL6A+E01vyHk4zcqzQl4POIGUGt21YB7i8SRcTdVaE+Mp/mgNi1E6y w+tVlUZeF6cjzlwzLJHV5LPk0DVMHJyYhn08Hp4v9DsTfoL9WwuSY2YbJkeFs5VfR4Wh KXoRYW2dueCpQ1NbD1bd/TpH1aPEM+9uQNlLVMMyDy+gE/Rk+OiUQM8XMfS35l2UtWWH dA1AYbGjFKuV9/UQBlfZpqbq7dYb29drAVehpMzqhb4tRwU/t500LzQXs9V/Fowt8slC teVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=gA5g8SlD4Sh4bqizs3nvEqR2SW/1b/NzRVccVFnTPVc=; fh=uUBlXUnk825HYQVLzOJQtj0z+TuvIEr9lQbPYqa7zEo=; b=oyir2VlE+oIX0MFlNov30fN3EM+9arR8EDH7bezpx7/TlqfbctjuGrFVw5q5hHyXW8 gnwMUO+cfiZFJbP+PRRwLUFybckkD/8sbIQxUY/Lo2Jb6wB0/6chbM1IVpQOOOrIB7eW U/pOBj8L6+aVeXvBy3894j58gqm7lvx4EQMfkf+bPqs98PnPsJqDp40HIyZ+/or5qhkB 9ysYSSI6A2w1QyWDSwX9DJKJtPsXqpd4h5Z3rjLdPiMc/vk4jFagrSOgjQbyOcvw7P1X PIhxQmVkuj2wgXpxe/qn/6XyOlPC4r9RvIO9HrBjSuaf0wxc68xfbFkXlZOznP1N/3B/ DMCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sn6xdrpr; spf=pass (google.com: domain of linux-kernel+bounces-809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d24-20020aa78e58000000b006cef630790esi7908749pfr.90.2023.12.15.03.16.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 03:16:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sn6xdrpr; spf=pass (google.com: domain of linux-kernel+bounces-809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 66198284F58 for ; Fri, 15 Dec 2023 11:15:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0F1624A14; Fri, 15 Dec 2023 11:15:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sn6xdrpr" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67E5B2421D for ; Fri, 15 Dec 2023 11:15:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-40c39ef63d9so5613715e9.3 for ; Fri, 15 Dec 2023 03:15:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702638946; x=1703243746; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gA5g8SlD4Sh4bqizs3nvEqR2SW/1b/NzRVccVFnTPVc=; b=sn6xdrprJgv1CFLAMyi6pnkz737b5RpnIzKKFw8YJ2DUPmG/lABea5tVuRRQzlurHM 7oM3uVDXGlo/uDBwhv1QLEg7wl9n6mPqBSiPuNaStGwsHy08elrnHQEj4MNX58XhZeL9 hPl+xeDJpIXxtCXVoKCcP+UTfKp87SQQHyQjCC8bt2yPSFsHvkhYpCw76hSEEjXDSUcr aX3RLrVRV9Og2HWXV2lGjfLqfL6V88fk0ZKew/hBLmpMjaWQGXpusoopErMKKFBrJmxL ScT51sd+GnjxdSMHJqpNpNX+IVwjUU8IwHr2v1umcQPjAJO2/miQ1gsrqiwelmL/H0ws VUcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702638946; x=1703243746; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gA5g8SlD4Sh4bqizs3nvEqR2SW/1b/NzRVccVFnTPVc=; b=dV1sWBsF8rr9o28kfnivglKNR6fMkvnci2tPIbny1+fWM1le2RyJW0oV0VuVLGYoSI iItgZLysl2aHbS+MVINsi31BIbMZpJEpCk+VGqB96aIE+WQShwj2PAE2V6Vskh2yYpid mpSTPiRUEeLB8mrCn22ASHvqxKVc8u16zwJxIR1w/saygaYdj1vhGAZVjL2gSgSNY6Y8 QTbzr1RnWQu9fIx3kyByR9tqodSyg/kr39b8zMSQhyP2PUO6IEs5UzGoSFyApaf08Fbn PHUR+MP/bBX2CZAfywWrTHWSBFehsb91or7GQbiId34OwgrfkLiL652KZuaZePKAJF0C xA5Q== X-Gm-Message-State: AOJu0YwDfhQY3plFRmKgXI/WifM8puvXEB4QdsvvrbUYUZ68u5oFfi4l 0+C288v1Gk5XpoNBIqz6KXcmhQ== X-Received: by 2002:a05:600c:1f8b:b0:40c:552d:1d5f with SMTP id je11-20020a05600c1f8b00b0040c552d1d5fmr3204334wmb.129.1702638945640; Fri, 15 Dec 2023 03:15:45 -0800 (PST) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id g13-20020a056000118d00b003333d46a9e8sm18511497wrx.56.2023.12.15.03.15.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 03:15:45 -0800 (PST) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 00/10] nvmem: patches for v6.8 Date: Fri, 15 Dec 2023 11:15:26 +0000 Message-Id: <20231215111536.316972-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=2063; i=srinivas.kandagatla@linaro.org; h=from:subject; bh=iLjwbLCDy+wu6Z8ZCctBOo/B1pBtAVF17IHltOGMtgI=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBlfDVXXJrBSOCQJuQ1b1pS35of26kHygKzIQxLJ fSPJZBKtIeJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZXw1VwAKCRB6of1ZxzRV NxN4B/9Kx20AHVPGl91PAo8UwxvrkM0wW3W/fvZISK3iCiHUTTHL/YzpF9EMEnz2hThgAqltDyA OBfe3FMfZADXEVHpUZ2eUUJc8zpctO7EO5k+hLtIR+KNuPOGCC7urzJOpsXLK00ijhwlo2JkGQF kg7Ugo6DG0QzLVxpPoLQmTbBegOb5a/e25g02SajrPfM4BAKThfqEY5VLI7Ff9J+2jxMZt+D/Cy zFVhFHN3RHv7BugGelypGTBonzKP1/SQCDk6gHtCy3rAjfWWBfLhxnTZmcZmahsTvofc4Q5iE4N wgqCZ6BD0vHSljM7y9hBPWX7gxA91VJhSFsmEsl/7aeFhzt4 X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Content-Transfer-Encoding: 8bit From: Srinivas Kandagatla Here are some nvmem patches for 6.8 that includes - sysfs support for nvmem cells. - layout rework. - add stm32mp25 provider support. Can you please queue them up for 6.8. Thanks, Srini Miquel Raynal (8): of: device: Export of_device_make_bus_id() nvmem: Move of_nvmem_layout_get_container() in another header nvmem: Create a header for internal sharing nvmem: Simplify the ->add_cells() hook nvmem: Move and rename ->fixup_cell_info() nvmem: core: Rework layouts to become regular devices ABI: sysfs-nvmem-cells: Expose cells through sysfs nvmem: core: Expose cells through sysfs Patrick Delaunay (2): dt-bindings: nvmem: add new stm32mp25 compatible for stm32-romem nvmem: stm32: add support for STM32MP25 BSEC to control OTP data Documentation/ABI/testing/sysfs-nvmem-cells | 21 ++ .../bindings/nvmem/st,stm32-romem.yaml | 1 + drivers/nvmem/Kconfig | 1 + drivers/nvmem/Makefile | 2 + drivers/nvmem/core.c | 335 ++++++++++-------- drivers/nvmem/imx-ocotp.c | 11 +- drivers/nvmem/internals.h | 59 +++ drivers/nvmem/layouts.c | 201 +++++++++++ drivers/nvmem/layouts/Kconfig | 8 + drivers/nvmem/layouts/onie-tlv.c | 27 +- drivers/nvmem/layouts/sl28vpd.c | 27 +- drivers/nvmem/mtk-efuse.c | 11 +- drivers/nvmem/stm32-romem.c | 16 + drivers/of/device.c | 41 +++ drivers/of/platform.c | 40 --- include/linux/nvmem-consumer.h | 7 - include/linux/nvmem-provider.h | 66 ++-- include/linux/of_device.h | 6 + 18 files changed, 642 insertions(+), 238 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-nvmem-cells create mode 100644 drivers/nvmem/internals.h create mode 100644 drivers/nvmem/layouts.c -- 2.25.1