mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srini@kernel.org>
To: "Gregor Herburger" <gregor.herburger@linutronix.de>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Florian Fainelli" <florian.fainelli@broadcom.com>,
	"Ray Jui" <rjui@broadcom.com>,
	"Scott Branden" <sbranden@broadcom.com>,
	"Broadcom internal kernel review list"
	<bcm-kernel-feedback-list@broadcom.com>,
	"Eric Anholt" <eric@anholt.net>,
	"Stefan Wahren" <wahrenst@gmx.net>,
	"Srinivas Kandagatla" <srini@kernel.org>,
	"Kees Cook" <kees@kernel.org>,
	"Gustavo A. R. Silva" <gustavoars@kernel.org>,
	"Thomas Weißschuh" <thomas.weissschuh@linutronix.de>,
	"Russell King" <linux@armlinux.org.uk>
Cc: devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org,
	Conor Dooley <conor.dooley@microchip.com>
Subject: Re: [PATCH v8 00/12] nvmem: Add Raspberry Pi OTP nvmem driver
Date: Mon, 16 Nov 2026 15:56:06 +0000	[thread overview]
Message-ID: <336dc797-2406-4d81-b322-61b85ac52bdd@kernel.org> (raw)
In-Reply-To: <20261110-rpi-otp-driver-v8-0-797e0577d414@linutronix.de>



On 11/10/26 4:33 PM, Gregor Herburger wrote:
> Hi,
> 
> This series adds support for the Raspberry Pis OTP registers. The
> Raspberry Pi has one or more OTP regions. These registers are accessible
> through the firmware. Add a driver for it and add updates the devicetree
> for the Raspberry Pi 5.

What is the merge strategy for this series?
Am happy to pick up non-dt patches 1-6/12 and 12/12.
let me know other wise.


--srini


> 
> ---
> Changes in v8:
> - Really rebase to v7.4-rc2
> - Add a patch to reorder rpi_firmware_property_tag enum
> - Link to v7: https://patch.msgid.link/20261110-rpi-otp-driver-v7-0-2345d0ee65f0@linutronix.de
> 
> Changes in v7:
> - Rebase to v7.4-rc2
> - Added Patch to register rtc driver by soc enum from drvdata
> - Link to v6: https://patch.msgid.link/20260522-rpi-otp-driver-v6-0-b0eac97d1428@linutronix.de
> 
> Changes in v6:
> - Use %pe in dev_err
> - Include <linux/slab.h> to fix build on arm
> - Add arm defconfigs: multi_v7_defconfig and bcm2835_defconfig
> - Reword commit messages
> - Link to v5: https://patch.msgid.link/20260520-rpi-otp-driver-v5-0-b26e5908eeac@linutronix.de
> 
> Changes in v5:
> - Move alignment check to nvmem core
> - Use IS_REACHABLE to simplify Kconfig
> - use root_only for private driver
> - Add driver as module to arch64 defconfig
> - Use MODULE_DEVICE_TABLE
> - Remove some unused attributes, fix typos, minor fixups
> - Link to v4: https://patch.msgid.link/20260508-rpi-otp-driver-v4-0-cf8d725d8821@linutronix.de
> 
> Changes in v4:
> - Additional patch to drop unnecessary select schema
> - fix dt-bindings
> - use __counted_by_le
> - additional alignment check in read/write callbacks
> - Link to v3: https://patch.msgid.link/20260506-rpi-otp-driver-v3-0-294602663695@linutronix.de
> 
> Changes in v3:
> - dts: add "raspberrypi,bcm2835-firmware" as fallback and fix dt-bindings
> - Fix Kconfig depends
> - Changed firmware data fields to __le32
> - Add MODULE_ALIAS
> - Link to v2: https://patch.msgid.link/20260505-rpi-otp-driver-v2-0-e9176ec72837@linutronix.de
> 
> Changes in v2:
> - register nvmem driver from firmware driver and drop firmware sub nodes
> - Use struct_size and __counted_by for dynamic array
> - Drop unneeded comment in Kconfig
> - Use NVMEM_DEVID_NONE
> - Use kzalloc
> - Update module description
> - Link to v1: https://patch.msgid.link/20260408-rpi-otp-driver-v1-0-e02d1dbe6008@linutronix.de
> 
> ---
> Gregor Herburger (12):
>       firmware: raspberrypi: reorder rpi_firmware_property_tag enum
>       soc: bcm2835: Use IS_REACHABLE for function declaration
>       nvmem: core: Enforce stride and alignment checks for nvmem_device functions
>       dt-bindings: raspberrypi,bcm2835-firmware: Add bcm2712-firmware compatible
>       nvmem: Add the Raspberry Pi OTP driver
>       firmware: raspberrypi: register nvmem driver
>       arm64: dts: broadcom: bcm2712: add raspberrypi,bcm2712-firmware compatible
>       dt-bindings: raspberrypi,bcm2835-firmware: Drop unnecessary select
>       arm64: defconfig: Enable the raspberrypi otp driver as module
>       ARM: bcm2835_defconfig: Enable the raspberrypi otp driver as module
>       ARM: multi_v7_defconfig: Enable the raspberrypi otp driver as module
>       firmware: raspberrypi: use drvdata to register rtc driver
> 
>  .../arm/bcm/raspberrypi,bcm2835-firmware.yaml      |  20 ++--
>  arch/arm/configs/bcm2835_defconfig                 |   2 +
>  arch/arm/configs/multi_v7_defconfig                |   1 +
>  .../boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi    |   4 +-
>  arch/arm64/configs/defconfig                       |   1 +
>  drivers/firmware/raspberrypi.c                     |  62 +++++++++-
>  drivers/nvmem/Kconfig                              |  11 ++
>  drivers/nvmem/Makefile                             |   1 +
>  drivers/nvmem/core.c                               |  12 ++
>  drivers/nvmem/raspberrypi-otp.c                    | 131 +++++++++++++++++++++
>  include/soc/bcm2835/raspberrypi-firmware.h         |  37 ++++--
>  11 files changed, 256 insertions(+), 26 deletions(-)
> ---
> base-commit: b3dfbde62cf1981c4638939c159dfd087b7a72e9
> change-id: 20260408-rpi-otp-driver-75fce1dcff7d
> 
> Best regards,
> --  
> Gregor Herburger <gregor.herburger@linutronix.de>
> 


  parent reply	other threads:[~2026-11-16 15:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-10 16:33 Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 01/12] firmware: raspberrypi: reorder rpi_firmware_property_tag enum Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 02/12] soc: bcm2835: Use IS_REACHABLE for function declaration Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 03/12] nvmem: core: Enforce stride and alignment checks for nvmem_device functions Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 04/12] dt-bindings: raspberrypi,bcm2835-firmware: Add bcm2712-firmware compatible Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 05/12] nvmem: Add the Raspberry Pi OTP driver Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 06/12] firmware: raspberrypi: register nvmem driver Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 07/12] arm64: dts: broadcom: bcm2712: add raspberrypi,bcm2712-firmware compatible Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 08/12] dt-bindings: raspberrypi,bcm2835-firmware: Drop unnecessary select Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 09/12] arm64: defconfig: Enable the raspberrypi otp driver as module Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 10/12] ARM: bcm2835_defconfig: " Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 11/12] ARM: multi_v7_defconfig: " Gregor Herburger
2026-11-10 16:34 ` [PATCH v8 12/12] firmware: raspberrypi: use drvdata to register rtc driver Gregor Herburger
2026-11-16 15:56 ` Srinivas Kandagatla [this message]
2026-11-16 16:07   ` [PATCH v8 00/12] nvmem: Add Raspberry Pi OTP nvmem driver Gregor Herburger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=336dc797-2406-4d81-b322-61b85ac52bdd@kernel.org \
    --to=srini@kernel.org \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=conor+dt@kernel.org \
    --cc=conor.dooley@microchip.com \
    --cc=devicetree@vger.kernel.org \
    --cc=eric@anholt.net \
    --cc=florian.fainelli@broadcom.com \
    --cc=gregor.herburger@linutronix.de \
    --cc=gustavoars@kernel.org \
    --cc=kees@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=rjui@broadcom.com \
    --cc=robh@kernel.org \
    --cc=sbranden@broadcom.com \
    --cc=thomas.weissschuh@linutronix.de \
    --cc=wahrenst@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®