dt-bindings: mtd: fixed-partitions: Fix "compression" typoThe example erroneously has "compress" property rather than thedocumented "compression" property.Acked-by: Conor Dooley <conor.dooley@mi
dt-bindings: mtd: fixed-partitions: Fix "compression" typoThe example erroneously has "compress" property rather than thedocumented "compression" property.Acked-by: Conor Dooley <conor.dooley@microchip.com>Link: https://lore.kernel.org/r/20241113225632.1783241-1-robh@kernel.orgSigned-off-by: Rob Herring (Arm) <robh@kernel.org>
show more ...
dt-bindings: mtd: fixed-partition: Add binman compatiblesAdd two compatibles for binman entries, as a starting point for theschema.Note that, after discussion on v2, we decided to keep the exist
dt-bindings: mtd: fixed-partition: Add binman compatiblesAdd two compatibles for binman entries, as a starting point for theschema.Note that, after discussion on v2, we decided to keep the existingmeaning of label so as not to require changes to existing userspacesoftware when moving to use binman nodes to specify the firmwarelayout.Note also that, after discussion on v6, we decided to use the same'fixed-partition' schema for the binman features, so this versionadds a new 'binman.yaml' file providing the new compatibles to theexisting partition.yaml binding.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Rob Herring <robh@kernel.org>Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20240412153249.100787-2-sjg@chromium.org
dt-bindings: mtd: fixed-partitions: Add alignment propertiesAdd three properties for controlling alignment of partitions, aka'entries' in fixed-partition.For now there is no explicit mention of
dt-bindings: mtd: fixed-partitions: Add alignment propertiesAdd three properties for controlling alignment of partitions, aka'entries' in fixed-partition.For now there is no explicit mention of hierarchy, so a 'section' isjust the 'fixed-partitions' node.These new properties are inputs to the Binman packaging process, but arealso needed if the firmware is repacked, to ensure that alignmentconstraints are not violated. Therefore they are provided as part ofthe schema.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Rob Herring <robh@kernel.org>Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20240412153249.100787-1-sjg@chromium.org
dt-bindings: mtd: ubi-volume: allow UBI volumes to provide NVMEMUBI volumes may be used to contain NVMEM bits, typically device MACaddresses or wireless radio calibration data.Signed-off-by: Dan
dt-bindings: mtd: ubi-volume: allow UBI volumes to provide NVMEMUBI volumes may be used to contain NVMEM bits, typically device MACaddresses or wireless radio calibration data.Signed-off-by: Daniel Golle <daniel@makrotopia.org>Reviewed-by: Rob Herring <robh@kernel.org>Signed-off-by: Richard Weinberger <richard@nod.at>
dt-bindings: mtd: add basic bindings for UBIAdd basic bindings for UBI devices and volumes.Signed-off-by: Daniel Golle <daniel@makrotopia.org>Reviewed-by: Rob Herring <robh@kernel.org>Signed-of
dt-bindings: mtd: add basic bindings for UBIAdd basic bindings for UBI devices and volumes.Signed-off-by: Daniel Golle <daniel@makrotopia.org>Reviewed-by: Rob Herring <robh@kernel.org>Signed-off-by: Richard Weinberger <richard@nod.at>
dt-bindings: mtd: partitions: u-boot: Fix typoThe initial description contained a typo.Signed-off-by: Stefan Wahren <wahrenst@gmx.net>Acked-by: Rob Herring <robh@kernel.org>Signed-off-by: Mique
dt-bindings: mtd: partitions: u-boot: Fix typoThe initial description contained a typo.Signed-off-by: Stefan Wahren <wahrenst@gmx.net>Acked-by: Rob Herring <robh@kernel.org>Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20231218130656.9020-1-wahrenst@gmx.net
Merge tag 'mtd/for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linuxPull mtd updates from Miquel Raynal: "The main set of changes is related to Uwe's work converting platform remov
Merge tag 'mtd/for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linuxPull mtd updates from Miquel Raynal: "The main set of changes is related to Uwe's work converting platform remove callbacks to return void. Comes next (in number of changes) Kees' additional structures annotations to improve the sanitizers. The usual amount of cleanups apply. About the more substancial contribution, one main function of the partitions core could return an error which was not checked, this is now fixed. On the bindings side, fixed partitions can now have a compression property. Finally, an erroneous situation is now always avoided in the MAP RAM driver. CFI: - A several years old byte swap has been fixed. NAND: - The subsystem has, as usual, seen a bit of cleanup being done this cycle, typically return values of platform_get_irq() and devm_kasprintf(). There is also a better ECC check in the Arasan driver. This comes with smaller misc changes. - In the SPI-NAND world there is now support for Foresee F35SQA002G, Winbond W25N and XTX XT26 chips. SPI NOR: - For SPI NOR we cleaned the flash info entries in order to have them slimmer and self explanatory. In order to make the entries as slim as possible, we introduced sane default values so that the actual flash entries don't need to specify them. We now use a flexible macro to specify the flash ID instead of the previous INFOx() macros that had hardcoded ID lengths. Instead of: { "w25q512nwm", INFO(0xef8020, 0, 64 * 1024, 0) OTP_INFO(256, 3, 0x1000, 0x1000) }, We now use: .id = SNOR_ID(0xef, 0x80, 0x20), .name = "w25q512nwm", .otp = SNOR_OTP(256, 3, 0x1000, 0x1000), - We also removed some flash entries: the very old Catalyst SPI EEPROMs that were introduced once with the SPI-NOR subsystem, and a Fujitsu MRAM. Both should use the at25 EEPROM driver. The latter even has device tree bindings for the at25 driver. - We made sure that the conversion didn't introduce any unwanted changes by comparing the .rodata segment before and after the conversion. The patches landed in linux-next immediately after v6.6-rc2, we haven't seen any regressions yet. - Apart of the autumn cleaning we introduced a new flash entry, at25ff321a, and added block protection support for mt25qu512a"* tag 'mtd/for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux: (91 commits) mtd: cfi_cmdset_0001: Byte swap OTP info mtd: rawnand: meson: check return value of devm_kasprintf() mtd: rawnand: intel: check return value of devm_kasprintf() mtd: rawnand: sh_flctl: Convert to module_platform_driver() mtd: spi-nor: micron-st: use SFDP table for mt25qu512a mtd: spi-nor: micron-st: enable lock/unlock for mt25qu512a mtd: rawnand: Remove unused of_gpio.h inclusion mtd: spinand: Add support for XTX XT26xxxDxxxxx mtd: spinand: winbond: add support for serial NAND flash mtd: rawnand: cadence: Annotate struct cdns_nand_chip with __counted_by mtd: rawnand: Annotate struct mtk_nfc_nand_chip with __counted_by mtd: spinand: add support for FORESEE F35SQA002G mtd: rawnand: rockchip: Use struct_size() mtd: rawnand: arasan: Include ECC syndrome along with in-band data while checking for ECC failure mtd: Use device_get_match_data() mtd: spi-nor: nxp-spifi: Convert to platform remove callback returning void mtd: spi-nor: hisi-sfc: Convert to platform remove callback returning void mtd: maps: sun_uflash: Convert to platform remove callback returning void mtd: maps: sa1100-flash: Convert to platform remove callback returning void mtd: maps: pxa2xx-flash: Convert to platform remove callback returning void ...
dt-bindings: nvmem: move deprecated cells binding to its own fileSupport for old NVMEM fixed cells was deprecated in favour of"fixed-layout". It's still part of the nvmem.yaml though and may beun
dt-bindings: nvmem: move deprecated cells binding to its own fileSupport for old NVMEM fixed cells was deprecated in favour of"fixed-layout". It's still part of the nvmem.yaml though and may beunknowingly used by new bindings added without much of analyze.To make it more difficult to accidentally support old syntax move itsbinding to separated file with "deprecated" in its name.Signed-off-by: Rafał Miłecki <rafal@milecki.pl>Acked-by: Neil Armstrong <neil.armstrong@linaro.org>Reviewed-by: Rob Herring <robh@kernel.org>Acked-by: Heiko Stuebner <heiko@sntech.de>Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>Link: https://lore.kernel.org/r/20231020105545.216052-4-srinivas.kandagatla@linaro.orgSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
dt-bindings: mtd: fixed-partitions: Add compression propertySometimes the contents of a partition are compressed. Add a property toexpress this and define the algorithm used.Signed-off-by: Simon
dt-bindings: mtd: fixed-partitions: Add compression propertySometimes the contents of a partition are compressed. Add a property toexpress this and define the algorithm used.Signed-off-by: Simon Glass <sjg@chromium.org>Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20230927180545.3522628-1-sjg@chromium.org
dt-bindings: mtd: Add SEAMA partition bindingsThis types of NAND partitions appear in OpenWrt andU-Boot.Signed-off-by: Linus Walleij <linus.walleij@linaro.org>Reviewed-by: Rob Herring <robh@ker
dt-bindings: mtd: Add SEAMA partition bindingsThis types of NAND partitions appear in OpenWrt andU-Boot.Signed-off-by: Linus Walleij <linus.walleij@linaro.org>Reviewed-by: Rob Herring <robh@kernel.org>Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20230713-seama-partitions-v4-1-69e577453d40@linaro.org
dt-bindings: mtd: partition: Add missing type for "linux,rootfs""linux,rootfs" is missing a type, add it.Signed-off-by: Rob Herring <robh@kernel.org>Reviewed-by: Conor Dooley <conor.dooley@micro
dt-bindings: mtd: partition: Add missing type for "linux,rootfs""linux,rootfs" is missing a type, add it.Signed-off-by: Rob Herring <robh@kernel.org>Reviewed-by: Conor Dooley <conor.dooley@microchip.com>Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20230613201014.2823185-1-robh@kernel.org
dt-bindings: mtd: partitions: Include TP-Link SafeLoader in allowed listIt's supposed to be there and it's needed for proper validation of DTSfiles.This fixes following errors for Northstar base
dt-bindings: mtd: partitions: Include TP-Link SafeLoader in allowed listIt's supposed to be there and it's needed for proper validation of DTSfiles.This fixes following errors for Northstar based TP-Link routers:arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dtb: flash@0: partitions: 'oneOf' conditional failed, one must be fixed: 'partition-file-system', 'partition-os-image', 'partitions-table-offset' do not match any of the regexes: 'pinctrl-[0-9]+' '#address-cells' is a required property '#size-cells' is a required property 'partition-file-system', 'partition-os-image', 'partitions-table-offset' do not match any of the regexes: '^partition@[0-9a-f]+$', 'pinctrl-[0-9]+' 'partition-file-system', 'partition-os-image', 'partitions-table-offset' do not match any of the regexes: '^partition-[0-9a-z]+$', 'pinctrl-[0-9]+' 'fis-index-block' is a required property arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dtb: flash@0: partitions:compatible: 'oneOf' conditional failed, one must be fixed: ['tplink,safeloader-partitions'] is too short 'fixed-partitions' was expected 'sercomm,sc-partitions' was expected 'arm,arm-firmware-suite' was expected 'brcm,bcm4908-partitions' was expected 'brcm,bcm947xx-cfe-partitions' was expected 'linksys,ns-partitions' was expected 'qcom,smem-part' was expected 'redboot-fis' was expected From schema: Documentation/devicetree/bindings/mtd/mtd.yamlarch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dtb: flash@0: partitions: Unevaluated properties are not allowed ('partitions-table-offset' was unexpected) From schema: Documentation/devicetree/bindings/mtd/mtd.yamlarch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dtb: flash@0: partitions: 'oneOf' conditional failed, one must be fixed: 'partition-file-system', 'partition-os-image', 'partitions-table-offset' do not match any of the regexes: 'pinctrl-[0-9]+' '#address-cells' is a required property '#size-cells' is a required property 'partition-file-system', 'partition-os-image', 'partitions-table-offset' do not match any of the regexes: '^partition@[0-9a-f]+$', 'pinctrl-[0-9]+' 'partition-file-system', 'partition-os-image', 'partitions-table-offset' do not match any of the regexes: '^partition-[0-9a-z]+$', 'pinctrl-[0-9]+' 'fis-index-block' is a required property arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dtb: flash@0: partitions:compatible: 'oneOf' conditional failed, one must be fixed: ['tplink,safeloader-partitions'] is too short 'fixed-partitions' was expected 'sercomm,sc-partitions' was expected 'arm,arm-firmware-suite' was expected 'brcm,bcm4908-partitions' was expected 'brcm,bcm947xx-cfe-partitions' was expected 'linksys,ns-partitions' was expected 'qcom,smem-part' was expected 'redboot-fis' was expected From schema: Documentation/devicetree/bindings/mtd/jedec,spi-nor.yamlarch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dtb: flash@0: partitions: Unevaluated properties are not allowed ('partitions-table-offset' was unexpected) From schema: Documentation/devicetree/bindings/mtd/jedec,spi-nor.yamlarch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dtb: flash@0: Unevaluated properties are not allowed ('partitions' was unexpected) From schema: Documentation/devicetree/bindings/mtd/jedec,spi-nor.yamlSigned-off-by: Rafał Miłecki <rafal@milecki.pl>Acked-by: Conor Dooley <conor.dooley@microchip.com>Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20230602215629.2568-1-zajec5@gmail.com
dt-bindings: mtd: Drop unneeded quotesCleanup bindings dropping unneeded quotes. Once all these are fixed,checking for this can be enabled in yamllint.Signed-off-by: Rob Herring <robh@kernel.org
dt-bindings: mtd: Drop unneeded quotesCleanup bindings dropping unneeded quotes. Once all these are fixed,checking for this can be enabled in yamllint.Signed-off-by: Rob Herring <robh@kernel.org>Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>Reviewed-by: Linus Walleij <linus.walleij@linaro.org>Reviewed-by: Heiko Stuebner <heiko@sntech.de> #rockchipSigned-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20230317233631.3968509-1-robh@kernel.org
dt-bindings: mtd: partitions: Fix partition node name patternThe 'partition' node name pattern is missing start and end anchors, soanything is allowed before or after the regex pattern. There's no
dt-bindings: mtd: partitions: Fix partition node name patternThe 'partition' node name pattern is missing start and end anchors, soanything is allowed before or after the regex pattern. There's no in treeusers needing that, so add anchors to the pattern.Signed-off-by: Rob Herring <robh@kernel.org>Reviewed-by: Pratyush Yadav <ptyadav@amazon.de>Reviewed-by: Dhruva Gole <d-gole@ti.com>Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20230120020454.3225796-1-robh@kernel.org
dt-bindings: drop redundant part of title (end, part three)The Devicetree bindings document does not have to say in the title thatit is a "binding", but instead just describe the hardware.Drop t
dt-bindings: drop redundant part of title (end, part three)The Devicetree bindings document does not have to say in the title thatit is a "binding", but instead just describe the hardware.Drop trailing "bindings" in various forms (also with trailing fullstop): find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ -not -name 'trivial-devices.yaml' \ -exec sed -i -e 's/^title: \(.*\) [bB]indings\?\.\?$/title: \1/' {} \;Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>Acked-by: Matti Vaittinen <mazziesaccount@gmail.com> # ROHMAcked-by: Ulf Hansson <ulf.hansson@linaro.org> # MMCAcked-by: Stephen Boyd <sboyd@kernel.org> # clkAcked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> # inputAcked-by: Mark Brown <broonie@kernel.org>Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> # mediaAcked-by: Sebastian Reichel <sre@kernel.org> # powerAcked-by: Viresh Kumar <viresh.kumar@linaro.org> # cpufreqLink: https://lore.kernel.org/r/20221216163815.522628-7-krzysztof.kozlowski@linaro.orgSigned-off-by: Rob Herring <robh@kernel.org>
Merge tag 'devicetree-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linuxPull devicetree updates from Rob Herring: "DT Bindings: - Various LED binding conversions and clean-up
Merge tag 'devicetree-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linuxPull devicetree updates from Rob Herring: "DT Bindings: - Various LED binding conversions and clean-ups. Convert the ir-spi-led, pwm-ir-tx, and gpio-ir-tx LED bindings to schemas. Consistently reference LED common.yaml or multi-led schemas and disallow undefined properties. - Convert IDT 89HPESx, pwm-clock, st,stmipid02, Xilinx PCIe hosts, and fsl,imx-fb bindings to schema - Add ata-generic, Broadcom u-boot environment, and dynamic MTD sub-partitions bindings. - Make all SPI based displays reference spi-peripheral-props.yaml - Fix some schema property regex's which should be fixed strings or were missing start/end anchors - Remove 'status' in examples, again... DT Core: - Fix a possible NULL dereference in overlay functions - Fix kexec reading 32-bit "linux,initrd-{start,end}" values (which never worked) - Add of_address_count() helper to count number of 'reg' entries - Support .dtso extension for DT overlay source files. Rename staging and unittest overlay files. - Update dtc to upstream v1.6.1-63-g55778a03df61"* tag 'devicetree-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (42 commits) dt-bindings: leds: Add missing references to common LED schema dt-bindings: leds: intel,lgm: Add missing 'led-gpios' property of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop() dt-bindings: lcdif: Fix constraints for imx8mp media: dt-bindings: atmel,isc: Drop unneeded unevaluatedProperties dt-bindings: Drop Jee Heng Sia dt-bindings: thermal: cooling-devices: Add missing cache related properties dt-bindings: leds: irled: ir-spi-led: convert to DT schema dt-bindings: leds: irled: pwm-ir-tx: convert to DT schema dt-bindings: leds: irled: gpio-ir-tx: convert to DT schema dt-bindings: leds: mt6360: rework to match multi-led dt-bindings: leds: lp55xx: rework to match multi-led dt-bindings: leds: lp55xx: switch to preferred 'gpios' suffix dt-bindings: leds: lp55xx: allow label dt-bindings: leds: use unevaluatedProperties for common.yaml dt-bindings: thermal: tsens: Add SM6115 compatible of/kexec: Fix reading 32-bit "linux,initrd-{start,end}" values dt-bindings: display: Convert fsl,imx-fb.txt to dt-schema dt-bindings: Add missing start and/or end of line regex anchors dt-bindings: qcom,pdc: Add missing compatibles ...
dt-bindings: mtd: fixed-partitions: Fix 'sercomm,scpart-id' schemaThe schema for 'sercomm,scpart-id' is broken. The 'if' condition isnever true because 'compatible' is in the parent node, not the
dt-bindings: mtd: fixed-partitions: Fix 'sercomm,scpart-id' schemaThe schema for 'sercomm,scpart-id' is broken. The 'if' condition isnever true because 'compatible' is in the parent node, not the childnode the sub-schema applies to. The example passes as there are noconstraints on additional/unevaluated properties. That's a secondaryissue which is complicated due to nested partitions.Drop the if/then schema and the unnecessary 'allOf' so that the'sercomm,scpart-id' property is at least defined.Cc: Mikhail Zhilkin <csharper2005@gmail.com>Signed-off-by: Rob Herring <robh@kernel.org>Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20221111212824.4103514-1-robh@kernel.org
dt-bindings: mtd: Standardize the style in the examplesAs recently requested by the binding maintaines, let's use 4 spaces inthe examples.Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
dt-bindings: mtd: Standardize the style in the examplesAs recently requested by the binding maintaines, let's use 4 spaces inthe examples.Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Reviewed-by: Rob Herring <robh@kernel.org>Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-18-miquel.raynal@bootlin.com
dt-bindings: mtd: Argue in favor of keeping additionalProperties set to trueIn most cases we try to avoid it but in some cases this isneeded. Clarify why by adding a small comment.Signed-off-by:
dt-bindings: mtd: Argue in favor of keeping additionalProperties set to trueIn most cases we try to avoid it but in some cases this isneeded. Clarify why by adding a small comment.Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Reviewed-by: Rob Herring <robh@kernel.org>Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-16-miquel.raynal@bootlin.com
dt-bindings: mtd: nvmem-cells: Inherit from MTD partitionsThe aim of MTD nvmem-cells is to treat MTD partitions as NVMEMproviders. Hence, MTD partition properties are valid here. Let'sreference m
dt-bindings: mtd: nvmem-cells: Inherit from MTD partitionsThe aim of MTD nvmem-cells is to treat MTD partitions as NVMEMproviders. Hence, MTD partition properties are valid here. Let'sreference mtd/partition.yaml which gives us a chance to drop"additionalProperties: true" in favor of "unevaluatedProperties:false".Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Reviewed-by: Rob Herring <robh@kernel.org>Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-15-miquel.raynal@bootlin.com
dt-bindings: mtd: nvmem-cells: Drop range property from exampleMemory mapped devices such as parallel NOR flash could make use of the'ranges' property to translate a nvmem 'reg' cell address to a
dt-bindings: mtd: nvmem-cells: Drop range property from exampleMemory mapped devices such as parallel NOR flash could make use of the'ranges' property to translate a nvmem 'reg' cell address to a CPUaddress but in practice there is no upstream user nor any declaration ofthis property being valid in this case yet, leading to a warning whenconstraining a bit more the schema: .../mtd/partitions/nvmem-cells.example.dtb: calibration@f00000: Unevaluated properties are not allowed ('ranges' was unexpected)So let's drop the property from the example, knowing that someone mightactually properly define it some day.Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Reviewed-by: Rob Herring <robh@kernel.org>Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-14-miquel.raynal@bootlin.com
dt-bindings: mtd: partitions: Change qcom,smem-part partition typeAs described in dd638202dfb6 ("dt-bindings: mtd: partitions: add additionalexample for qcom,smem-part"), the aim of documenting th
dt-bindings: mtd: partitions: Change qcom,smem-part partition typeAs described in dd638202dfb6 ("dt-bindings: mtd: partitions: add additionalexample for qcom,smem-part"), the aim of documenting the subnodes was to beable to declare nvmem cells. Hence, the partition property does notreally apply directly here, let's instead reference nvmem-cells.yamlfirst.Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Reviewed-by: Rob Herring <robh@kernel.org>Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-13-miquel.raynal@bootlin.com
dt-bindings: mtd: partitions: Constrain the list of parsersParser compatibles cannot be used anywhere, and the list is limited. Inorder to constrain this list, enumerate them all under the top"pa
dt-bindings: mtd: partitions: Constrain the list of parsersParser compatibles cannot be used anywhere, and the list is limited. Inorder to constrain this list, enumerate them all under the top"partitions" subnode. New parsers will have to add their own compatiblehere as well.Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Reviewed-by: Rob Herring <robh@kernel.org>Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-12-miquel.raynal@bootlin.com
dt-bindings: mtd: Clarify all partition subnodesOver time the various ways to define MTD partitions has evolved. Most ofthe controllers support several different bindings. Let's define allpossibl
dt-bindings: mtd: Clarify all partition subnodesOver time the various ways to define MTD partitions has evolved. Most ofthe controllers support several different bindings. Let's define allpossible choices in one file and mark the legacy ones deprecated. Thisway, we can just reference this file and avoid dupplicating thesedefinitions.Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Reviewed-by: Rob Herring <robh@kernel.org>Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-2-miquel.raynal@bootlin.com
dt-bindings: mtd: partitions: allow SafeLoader dynamic subpartitionsTP-Link SafeLoader partitioning means flash contains multiple partitionsdefined in the on-flash table. Some of those partitions
dt-bindings: mtd: partitions: allow SafeLoader dynamic subpartitionsTP-Link SafeLoader partitioning means flash contains multiple partitionsdefined in the on-flash table. Some of those partitions may have aspecial meaning and may require describing additionally. Allow that.Signed-off-by: Rafał Miłecki <rafal@milecki.pl>Reviewed-by: Rob Herring <robh@kernel.org>Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Link: https://lore.kernel.org/linux-mtd/20221108093102.8360-1-zajec5@gmail.com
12