]> git.ipfire.org Git - thirdparty/openwrt.git/commit
generic: 6.12: update block NVMEM driver
authorDaniel Golle <daniel@makrotopia.org>
Wed, 7 May 2025 02:58:17 +0000 (03:58 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 7 May 2025 03:44:46 +0000 (04:44 +0100)
commitfa0f13076453854f23487205be1df92b3eec34a6
treedea9d8ac6aea0e5a076de80fea7cf22a54a577dd
parent2ce11c911dd26cdff7f13c8c5193831a5d570631
generic: 6.12: update block NVMEM driver

Update block NVMEM driver based on backported OF partition support.

Note the different MMC card DT binding compared to the previous
downstream solution: Instead of having a 'partitions' subnode inside
a 'block' node, the 'partitions' node now resides directly under the
node representing the card.

In order to make references to the 'boot0' or 'boot1' hw partitions
you will have to define 'partitions-boot0' or 'partitions-boot1', and
move the NVMEM layout into a partition (you may, of course, use
'fixed-partitions' for that, and cover the whole device, if needed).

See also https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/mmc/mmc-card.yaml?h=v6.13

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
14 files changed:
target/linux/generic/pending-6.12/450-block-allow-setting-partition-of_node.patch [new file with mode: 0644]
target/linux/generic/pending-6.12/450-dt-bindings-block-add-basic-bindings-for-block-devic.patch [deleted file]
target/linux/generic/pending-6.12/451-block-partitions-of-assign-Device-Tree-node-to-parti.patch [new file with mode: 0644]
target/linux/generic/pending-6.12/451-block-partitions-populate-fwnode.patch [deleted file]
target/linux/generic/pending-6.12/452-partitions-efi-apply-Linux-code-style.patch [new file with mode: 0644]
target/linux/generic/pending-6.12/453-block-add-new-genhd-flag-GENHD_FL_NVMEM.patch [deleted file]
target/linux/generic/pending-6.12/453-partitions-efi-allow-assigning-partition-Device-Tree.patch [new file with mode: 0644]
target/linux/generic/pending-6.12/454-block-add-support-for-notifications.patch [moved from target/linux/generic/pending-6.12/452-block-add-support-for-notifications.patch with 60% similarity]
target/linux/generic/pending-6.12/455-block-add-new-genhd-flag-GENHD_FL_NVMEM.patch [new file with mode: 0644]
target/linux/generic/pending-6.12/455-dt-bindings-mmc-mmc-card-add-block-device-nodes.patch [deleted file]
target/linux/generic/pending-6.12/456-mmc-core-set-card-fwnode_handle.patch [deleted file]
target/linux/generic/pending-6.12/456-nvmem-implement-block-NVMEM-provider.patch [moved from target/linux/generic/pending-6.12/454-nvmem-implement-block-NVMEM-provider.patch with 86% similarity]
target/linux/generic/pending-6.12/457-mmc-block-set-GENHD_FL_NVMEM.patch [moved from target/linux/generic/pending-6.12/458-mmc-block-set-GENHD_FL_NVMEM.patch with 79% similarity]
target/linux/generic/pending-6.12/457-mmc-block-set-fwnode-of-disk-devices.patch [deleted file]