From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> To: srinivas.kandagatla@linaro.org, Saenz Julienne <nsaenzjulienne@suse.de>, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, robh+dt@kernel.org, tim.gover@raspberrypi.com, phil@raspberrypi.com Subject: [PATCH 0/6] Expose RPi4'd bootloader configuration Date: Tue, 15 Dec 2020 16:56:20 +0100 [thread overview] Message-ID: <20201215155627.2513-1-nsaenzjulienne@suse.de> (raw) Soon to be released versions of RPi4's firmware will take of care passing their bootloader's configuration to the OS by copying it into memory and creating a reserved memory node in the board's DT. In order to make use of this information, this series introduces a new generic nvmem driver that maps reserved-memory nodes into nvmem devices. An alternative approach, less nice IMO, would be to create a platform-specific 'soc' driver. Regards, Nicolas --- Nicolas Saenz Julienne (6): dt-bindings: nvmem: Add bindings for rmem driver nvmem: Add driver to expose reserved memory as nvmem ARM: dts: bcm2711: Add reserved memory template to hold firmware configuration ARM: dts: bcm2711: Expose boot-loader configuration arm64: defconfig: Enable nvmem's rmem driver ARM: multi_v7_defconfig: Enable nvmem's rmem driver .../devicetree/bindings/nvmem/rmem.yaml | 35 +++++++ arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 25 +++++ arch/arm/configs/multi_v7_defconfig | 1 + arch/arm64/configs/defconfig | 1 + drivers/nvmem/Kconfig | 8 ++ drivers/nvmem/Makefile | 2 + drivers/nvmem/rmem.c | 92 +++++++++++++++++++ 7 files changed, 164 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/rmem.yaml create mode 100644 drivers/nvmem/rmem.c -- 2.29.2
WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> To: srinivas.kandagatla@linaro.org, Saenz Julienne <nsaenzjulienne@suse.de>, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: tim.gover@raspberrypi.com, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, robh+dt@kernel.org, will@kernel.org, phil@raspberrypi.com Subject: [PATCH 0/6] Expose RPi4'd bootloader configuration Date: Tue, 15 Dec 2020 16:56:20 +0100 [thread overview] Message-ID: <20201215155627.2513-1-nsaenzjulienne@suse.de> (raw) Soon to be released versions of RPi4's firmware will take of care passing their bootloader's configuration to the OS by copying it into memory and creating a reserved memory node in the board's DT. In order to make use of this information, this series introduces a new generic nvmem driver that maps reserved-memory nodes into nvmem devices. An alternative approach, less nice IMO, would be to create a platform-specific 'soc' driver. Regards, Nicolas --- Nicolas Saenz Julienne (6): dt-bindings: nvmem: Add bindings for rmem driver nvmem: Add driver to expose reserved memory as nvmem ARM: dts: bcm2711: Add reserved memory template to hold firmware configuration ARM: dts: bcm2711: Expose boot-loader configuration arm64: defconfig: Enable nvmem's rmem driver ARM: multi_v7_defconfig: Enable nvmem's rmem driver .../devicetree/bindings/nvmem/rmem.yaml | 35 +++++++ arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 25 +++++ arch/arm/configs/multi_v7_defconfig | 1 + arch/arm64/configs/defconfig | 1 + drivers/nvmem/Kconfig | 8 ++ drivers/nvmem/Makefile | 2 + drivers/nvmem/rmem.c | 92 +++++++++++++++++++ 7 files changed, 164 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/rmem.yaml create mode 100644 drivers/nvmem/rmem.c -- 2.29.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2020-12-15 16:08 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-15 15:56 Nicolas Saenz Julienne [this message] 2020-12-15 15:56 ` [PATCH 0/6] Expose RPi4'd bootloader configuration Nicolas Saenz Julienne 2020-12-15 15:56 ` [PATCH 1/6] dt-bindings: nvmem: Add bindings for rmem driver Nicolas Saenz Julienne 2020-12-15 15:56 ` Nicolas Saenz Julienne 2020-12-15 20:25 ` Rob Herring 2020-12-15 20:25 ` Rob Herring 2020-12-15 21:16 ` Nicolas Saenz Julienne 2020-12-15 21:16 ` Nicolas Saenz Julienne 2020-12-15 15:56 ` [PATCH 2/6] nvmem: Add driver to expose reserved memory as nvmem Nicolas Saenz Julienne 2020-12-15 15:56 ` Nicolas Saenz Julienne 2020-12-15 15:56 ` [PATCH 3/6] ARM: dts: bcm2711: Add reserved memory template to hold firmware configuration Nicolas Saenz Julienne 2020-12-15 15:56 ` Nicolas Saenz Julienne 2020-12-15 20:27 ` Rob Herring 2020-12-15 20:27 ` Rob Herring 2020-12-15 15:56 ` [PATCH 4/6] ARM: dts: bcm2711: Expose boot-loader configuration Nicolas Saenz Julienne 2020-12-15 15:56 ` Nicolas Saenz Julienne 2020-12-15 15:56 ` [PATCH 5/6] arm64: defconfig: Enable nvmem's rmem driver Nicolas Saenz Julienne 2020-12-15 15:56 ` Nicolas Saenz Julienne 2020-12-15 15:56 ` [PATCH 6/6] ARM: multi_v7_defconfig: " Nicolas Saenz Julienne 2020-12-15 15:56 ` Nicolas Saenz Julienne 2020-12-15 16:05 ` [PATCH 0/6] Expose RPi4'd bootloader configuration Nicolas Saenz Julienne 2020-12-15 16:05 ` Nicolas Saenz Julienne 2020-12-15 18:44 ` Catalin Marinas 2020-12-15 18:44 ` Catalin Marinas 2020-12-15 19:01 ` Nicolas Saenz Julienne 2020-12-15 19:01 ` Nicolas Saenz Julienne 2020-12-15 19:54 ` Rob Herring 2020-12-15 19:54 ` Rob Herring 2020-12-15 21:21 ` Nicolas Saenz Julienne 2020-12-15 21:21 ` Nicolas Saenz Julienne
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=20201215155627.2513-1-nsaenzjulienne@suse.de \ --to=nsaenzjulienne@suse.de \ --cc=bcm-kernel-feedback-list@broadcom.com \ --cc=catalin.marinas@arm.com \ --cc=devicetree@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-rpi-kernel@lists.infradead.org \ --cc=linux@armlinux.org.uk \ --cc=phil@raspberrypi.com \ --cc=robh+dt@kernel.org \ --cc=srinivas.kandagatla@linaro.org \ --cc=tim.gover@raspberrypi.com \ --cc=will@kernel.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.