[PATCH v2 00/12] YAML conversion of several Freescale/PowerPC DT bindings

2025-02-07 Thread J . Neuschäfer via B4 Relay
This is a spin-off of the series titled "powerpc: MPC83xx cleanup and LANCOM NWAPP2 board". During the development of that series, it became clear that many devicetree bindings for Freescale MPC8xxx platforms are still in the old plain-text format, or don't exist at all, and in any case don't ment

[PATCH v2 12/12] dt-bindings: mtd: raw-nand-chip: Relax node name pattern

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" In some scenarios, such as under the Freescale eLBC bus, there are raw NAND chips with a unit address that has a comma in it (cs,offset). Relax the $nodename pattern in raw-nand-chip.yaml to allow such unit addresses. Signed-off-by: J. Neuschäfer --- V2: - new patch ---

[PATCH v2 09/12] dt-bindings: memory-controllers: Convert fsl,elbc to YAML

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert the Freescale localbus controller bindings from text form to YAML. The updated list of compatible strings reflects current usage in arch/powerpc/boot/dts/, except that many existing device trees erroneously specify "simple-bus" in addition to fsl,*elbc. Changes comp

[PATCH v2 07/12] dt-bindings: watchdog: Convert mpc8xxx-wdt to YAML

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert mpc83xx-wdt.txt to YAML to enable automatic schema validation. Reviewed-by: Rob Herring (Arm) Signed-off-by: J. Neuschäfer --- V2: - trim subject line (remove "binding") - fix property order to comply with dts coding style --- .../devicetree/bindings/watchdog/mp

[PATCH v2 08/12] dt-bindings: spi: Convert Freescale SPI bindings to YAML

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" fsl-spi.txt contains the bindings for the fsl,spi and fsl,espi contollers. Convert them to YAML. Signed-off-by: J. Neuschäfer --- V2: - add missing end-of-document ("...") markers - add missing constraints to interrupts, fsl,espi-num-chipselects, fsl,csbef and fsl,csaft

[PATCH v2 06/12] dt-bindings: pci: Convert fsl,mpc83xx-pcie to YAML

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalise the binding for the PCI controllers in the Freescale MPC8xxx chip family. Information about PCI-X-specific properties was taken from fsl,pci.txt. The examples were taken from mpc8315erdb.dts and xpedite5200_xmon.dts. Signed-off-by: J. Neuschäfer --- V2: - merge

[PATCH v2 02/12] dt-bindings: ata: Convert fsl,pq-sata to YAML

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert the Freescale PowerQUICC SATA controller binding from text form to YAML. The list of compatible strings reflects current usage. To clarify the description, I changed it to mention "each SATA controller" instead of each port. Reviewed-by: Rob Herring (Arm) Signed-o

[PATCH v2 03/12] dt-bindings: crypto: Convert fsl,sec-2.0 to YAML

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert the Freescale security engine (crypto accelerator) binding from text form to YAML. The list of compatible strings reflects what was previously described in prose; not all combinations occur in existing devicetrees. Signed-off-by: J. Neuschäfer --- V2: - several im

[PATCH v2 04/12] dt-bindings: mfd: Convert fsl,mcu-mpc8349emitx to YAML

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert mcu-mpc8349emitx.txt to YAML and list the compatible strings currently in use. Reviewed-by: Rob Herring (Arm) Signed-off-by: J. Neuschäfer --- V2: - trim subject line (remove "binding") - fix property order to comply with dts coding style --- .../bindings/mfd/fs

[PATCH v2 01/12] dt-bindings: powerpc: Add Freescale/NXP MPC83xx SoCs

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Add a new binding for MPC83xx platforms, describing the board compatible strings used in currently existing device trees. Note that the SoC bus is called immr@... in many existing devicetrees, but this contradicts the simple-bus binding. Reviewed-by: Rob Herring (Arm) Sig

[PATCH v2 10/12] dt-bindings: memory-controllers: Add fsl,elbc-gpcm-uio

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalize the binding already supported by the uio_fsl_elbc_gpcm.c driver. Signed-off-by: J. Neuschäfer --- V2: - split out from fsl,elbc patch - add description - remove "device_type" property - move to bindings/memory-controllers --- .../memory-controllers/fsl,elbc-gpc

[PATCH v2 05/12] dt-bindings: dma: Convert fsl,elo*-dma to YAML

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The devicetree bindings for Freescale DMA engines have so far existed as a text file. This patch converts them to YAML, and specifies all the compatible strings currently in use in arch/powerpc/boot/dts. Signed-off-by: J. Neuschäfer --- V2: - remove unnecessary multiline

[PATCH v2 11/12] dt-bindings: nand: Add fsl,elbc-fcm-nand

2025-02-07 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalize the binding already supported by the fsl_elbc_nand.c driver and used in several device trees in arch/powerpc/boot/dts/. Signed-off-by: J. Neuschäfer --- V2: - split out from fsl,elbc binding patch - constrain #address-cells and #size-cells - add a general descri

[PATCH] powerpc/fsl_lbc: Explicitly populate bus

2025-02-09 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Historically, devicetree nodes representing the Freescale Enhanced Local Bus Controller (eLBC) have compatible strings such as: compatible = "fsl,mpc8313-elbc", "fsl,elbc", "simple-bus"; The "simple-bus" string causes the bus to be populated, and the memory devices con

[PATCH RFC 9/9] dt-bindings: nand: Convert fsl,elbc bindings to YAML

2025-01-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert the Freescale localbus controller bindings from text form to YAML. The list of compatible strings reflects current usage. Changes compared to the txt version: - removed the board-control (fsl,mpc8272ads-bcsr) node because it only appears in this example and nowh

[PATCH 8/9] dt-bindings: spi: Convert Freescale SPI bindings to YAML

2025-01-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" fsl-spi.txt contains the bindings for the fsl,spi and fsl,espi contollers. Convert them to YAML. Signed-off-by: J. Neuschäfer --- .../devicetree/bindings/spi/fsl,espi.yaml | 56 + Documentation/devicetree/bindings/spi/fsl,spi.yaml | 71 +++

[PATCH 6/9] dt-bindings: pci: Add fsl,mpc83xx-pcie bindings

2025-01-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Supplement Documentation/devicetree/bindings/pci/fsl,pci.txt with a more formal binding in YAML format. Signed-off-by: J. Neuschäfer --- .../devicetree/bindings/pci/fsl,mpc8xxx-pci.yaml | 83 ++ 1 file changed, 83 insertions(+) diff --git a/Document

[PATCH 3/9] dt-bindings: crypto: Convert fsl,sec-2.0 binding to YAML

2025-01-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert the Freescale security engine (crypto accelerator) binding from text form to YAML. The list of compatible strings reflects what was previously described in prose; not all combinations occur in existing devicetrees. Signed-off-by: J. Neuschäfer --- .../devicetree/b

[PATCH 7/9] dt-bindings: watchdog: Convert mpc8xxx-wdt binding to YAML

2025-01-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert mpc83xx-wdt.txt to YAML to enable automatic schema validation. Signed-off-by: J. Neuschäfer --- .../devicetree/bindings/watchdog/mpc8xxx-wdt.txt | 25 - .../devicetree/bindings/watchdog/mpc8xxx-wdt.yaml | 64 ++ 2 files changed, 64 i

[PATCH 4/9] dt-bindings: mfd: Convert fsl,mcu-mpc8349emitx binding to YAML

2025-01-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert mcu-mpc8349emitx.txt to YAML and list the compatible strings currently in use. Signed-off-by: J. Neuschäfer --- .../bindings/mfd/fsl,mcu-mpc8349emitx.yaml | 53 ++ .../bindings/powerpc/fsl/mcu-mpc8349emitx.txt | 17 --- 2 files

[PATCH 2/9] dt-bindings: ata: Convert fsl,pq-sata binding to YAML

2025-01-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert the Freescale PowerQUICC SATA controller binding from text form to YAML. The list of compatible strings reflects current usage. Signed-off-by: J. Neuschäfer --- .../devicetree/bindings/ata/fsl,pq-sata.yaml | 59 ++ Documentation/devicetre

[PATCH 0/9] YAML conversion of several Freescale/PowerPC DT bindings

2025-01-26 Thread J . Neuschäfer via B4 Relay
This is a spin-off of the series titled "powerpc: MPC83xx cleanup and LANCOM NWAPP2 board". During the development of that series, it became clear that many devicetree bindings for Freescale MPC8xxx platforms are still in the old plain-text format, or don't exist at all, and in any case don't ment

[PATCH 1/9] dt-bindings: powerpc: Add binding for Freescale/NXP MPC83xx SoCs

2025-01-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Add a new binding for MPC83xx platforms, describing the board compatible strings used in currently existing device trees. Note that the SoC bus is called immr@... in many existing devicetrees, but this contradicts the simple-bus binding. Signed-off-by: J. Neuschäfer ---

[PATCH 5/9] dt-bindings: dma: Convert fsl,elo*-dma bindings to YAML

2025-01-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The devicetree bindings for Freescale DMA engines have so far existed as a text file. This patch converts them to YAML, and specifies all the compatible strings currently in use in arch/powerpc/boot/dts. Signed-off-by: J. Neuschäfer --- .../devicetree/bindings/dma/fsl,elo

[PATCH] powerpc/microwatt: Fix model property in device tree

2024-12-25 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The standard property for the model name is called "model". Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/microwatt.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/microwatt.dts b/arch/powerpc/boot/dts/microwatt.dts

[PATCH 02/19] powerpc: dts: Extract mpc8315e.dtsi from mpc8315erdb.dts

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" To make it easier to add other devices based on the MPC831{4,5}{,E}, put the common parts into a dtsi file. mpc8315erdb.dtb remains identical after this patch. Signed-off-by: J. Neuschäfer --- Checkpatch (rightfully) complains about a lot of compatible strings that were

[PATCH 06/19] powerpc: dts: mpc8315e: Add missing #cells properties to SPI bus

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" These properties are required by the spi-controller binding. Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/mpc8315e.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/boot/dts/mpc8315e.dtsi b/arch/powerpc/boot/dts/mpc8315e.dtsi index 7e61a7

[PATCH 04/19] powerpc: dts: mpc8315e: Add labels to peripherals

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Labels can be used in board-specific devicetrees to refer to nodes more conveniently. mpc8315erdb.dtb remains identical after this patch. Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/mpc8315e.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10

[PATCH 07/19] powerpc: dts: mpc8315erdb: Add missing model property

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The mpc8315erdb devicetree did thus far not have a /model property, even though it is required by the devicetree specification. Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/mpc8315erdb.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/boot/dts

[PATCH 00/19] powerpc: MPC83xx cleanup and LANCOM NWAPP2 board

2025-01-02 Thread J . Neuschäfer via B4 Relay
This patchset adds a devicetree for the LANCOM NWAPP2 board based on the MPC8314E platform, and slightly modernizes the MPC83xx platform support in the process. This board is nominally end-of-life, but available to hobbyists. A U-Boot port is also in the making. Signed-off-by: J. Neuschäfer ---

[PATCH 09/19] powerpc: boot: Build devicetrees when CONFIG_MPC831x=y

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" In order to produce useful FIT images, the kernel needs to know which devicetrees to build. To that end, follow the same approach as other architectures, and enable devicetrees per platform. Signed-off-by: J. Neuschäfer --- I've only enabled MPC831x devicetrees, because t

[PATCH 11/19] dt-bindings: gpio: fsl,qoriq-gpio: Add compatible string fsl,mpc8314-gpio

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" This is for the MPC831{4,5}{,E} SoCs. Signed-off-by: J. Neuschäfer --- Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml b/Documentation/devicetree/bin

[PATCH 12/19] powerpc: dts: mpc8315e: Add GPIO controller node

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" This node das previously missing from the device tree. Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/mpc8315e.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/boot/dts/mpc8315e.dtsi b/arch/powerpc/boot/dts/mpc8315e.dtsi index f9d1b

[PATCH 05/19] powerpc: dts: mpc8315e: Disable peripherals by default

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Peripherals with a connection to the outside of the chip aren't necessarily used on all board designs, so disable them by default, and enable them per-board. Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/mpc8315e.dtsi | 15 +++ arch/powerpc/boot/dts

[PATCH 01/19] powerpc: Generalize MPC831x platform support

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The Reference Design Boards (RDB) don't have the same relevance they had then the MPC831x platform was new; if any work is done today, then likely based on used production boards, which are more readily available than NXP's discontinued devboards. To further reduce the focu

[PATCH 03/19] powerpc: dts: mpc8315e: Use IRQ_TYPE_* macros

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" This increases readability, because "0x8" isn't very descriptive. mpc8315erdb.dtb remains identical after this patch. Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/mpc8315e.dtsi | 112 ++ arch/powerpc/boot/dts/mpc8315erdb.dts |

[PATCH 10/19] powerpc: dts: Add MPC8314E devicetree

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The MPC8314E is a variant of the MPC8315E without SATA controllers. Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/mpc8314e.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/powerpc/boot/dts/mpc8314e.dtsi b/arch/powerpc/boot/dts/mpc8314e.dtsi n

[PATCH 08/19] powerpc: boot: Enable FIT image generation

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The Flat Image Tree (FIT) format combines a kernel, a set of devicetrees, and optionally additional resources into a single file that can be loaded by a bootloader such as U-Boot. Generating a FIT image as part of the kernel build reduces the need for additional build script

[PATCH 13/19] gpio: mpc8xxx: Add MPC8314 support

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" GPIO input, output, and interrupts have been tested on a MPC8314E board. Signed-off-by: J. Neuschäfer --- drivers/gpio/gpio-mpc8xxx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c index 24417c3247b0a832ad15f

[PATCH 19/19] MAINTAINERS: Add entry for LANCOM board support

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Provide a contact for NWAPP2 and other boards. Signed-off-by: J. Neuschäfer --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 910305c11e8a882da5b49ce5bd55011b93f28c32..6d4717cf7c19c25aa50c5cf1a7956797225a1d21 100

[PATCH 14/19] powerpc: mpc83xx: Switch to of_platform_populate

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Quoting from drivers/of/platform.c: > of_platform_populate() - [...] > Similar to of_platform_bus_probe(), this function walks the device > tree and creates devices from nodes. It differs in that it follows > the modern convention of requiring all device nodes to have a >

[PATCH 16/19] powerpc: dts: Add LANCOM NWAPP2 board devicetree

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" What works so far: - serial port - LEDs - Ethernet - PCIe (port 1 tested) - Flash access What doesn't work: - Access of the YAFFS file system preinstalled by the original firmware (mainline Linux does not include the YAFFS file system) - Writing NAND flash from Linux and

[PATCH 18/19] powerpc: mpc83xx_defconfig: Enable NWAPP2 board features

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" These features are required (or at least helpful) for running Linux on the LANCOM NWAPP2 board: - GPIO restart/watchdog are required for operation - The MPC83xx-internal watchdog is optional - LEDs are nice to have - ATH9K is on a removable mini-PCIe card - ATH803X is the E

[PATCH 17/19] powerpc: Regenerate mpc83xx_defconfig

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Run `make mpc83xx_defconfig` and `make savedefconfig`. This reduces the size of subsequent patches that enable/disable functionality. Signed-off-by: J. Neuschäfer --- arch/powerpc/configs/mpc83xx_defconfig | 18 ++ 1 file changed, 6 insertions(+), 12 delet

[PATCH 15/19] dt-bindings: vendor-prefixes: Add LANCOM Systems GmbH

2025-01-02 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" LANCOM Systems is a manufacturer of networking equipment. https://www.lancom-systems.com/ Signed-off-by: J. Neuschäfer --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/ven

[PATCH] dt-bindings: powerpc: Convert fsl/pmc.txt to YAML

2025-03-15 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" This patch rewrites pmc.txt into YAML format. Descriptive texts are expanded or shortened in a few places to better fit today's conventions. The list of compatible strings (and combinations of them) is based on existing device trees in arch/powerpc as well as compatible str

[PATCH v3] dt-bindings: powerpc: Convert fsl/pmc.txt to YAML

2025-04-17 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" This patch rewrites pmc.txt into YAML format. Descriptive texts are expanded or shortened in a few places to better fit today's conventions. The list of compatible strings (and combinations of them) is based on existing device trees in arch/powerpc as well as compatible str

[PATCH v2] dt-bindings: powerpc: Convert fsl/pmc.txt to YAML

2025-04-12 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" This patch rewrites pmc.txt into YAML format. Descriptive texts are expanded or shortened in a few places to better fit today's conventions. The list of compatible strings (and combinations of them) is based on existing device trees in arch/powerpc as well as compatible str

[PATCH v5 0/4] Freescale Enhanced Local Bus Controller (eLBC) binding YAML conversion

2025-04-12 Thread J . Neuschäfer via B4 Relay
This series converts the fsl,elbc binding to YAML and adds new bindings for related devices (particular kinds of chip on the eLBC). For readability, the existing unit address syntax of , (e.g. nand@1,0) is kept. This results in a few dtc validation warnings, when combined with other choices in thi

[PATCH v5 3/4] dt-bindings: nand: Add fsl,elbc-fcm-nand

2025-04-12 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalize the binding already supported by the fsl_elbc_nand.c driver and used in several device trees in arch/powerpc/boot/dts/. raw-nand-chip.yaml is referenced in order to accommodate situations in which the ECC parameters settings are set in the device tree. One such ex

[PATCH v5 1/4] dt-bindings: mtd: raw-nand-chip: Relax node name pattern

2025-04-12 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" In some scenarios, such as under the Freescale eLBC bus, there are raw NAND chips with a unit address that has a comma in it (cs,offset). For reasons of compatibility with historical device trees and readability of the unit addresses, this format is kept. Relax the $nodenam

[PATCH v5 4/4] dt-bindings: memory-controllers: Convert fsl,elbc to YAML

2025-04-12 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert the Freescale localbus controller bindings from text form to YAML. Compared to the .txt version, the YAML binding contains a new usage example with FCM NAND flash, and a full list of compatible strings based on current usage in arch/powerpc/boot/dts/. Note that the

[PATCH v4] dt-bindings: powerpc: Add Freescale/NXP MPC83xx SoCs

2025-04-12 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Add a new binding for MPC83xx platforms, describing the board compatible strings used in currently existing device trees. Note that the SoC bus is called immr@... in many existing devicetrees, but this contradicts the simple-bus binding. Reviewed-by: Rob Herring (Arm) Sig

[PATCH v5 2/4] dt-bindings: memory-controllers: Add fsl,elbc-gpcm-uio

2025-04-12 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalize the binding already supported by the uio_fsl_elbc_gpcm.c driver. Reviewed-by: Frank Li Reviewed-by: Rob Herring (Arm) Signed-off-by: J. Neuschäfer --- V4,V5: - no changes V3: - add review tags V2: - split out from fsl,elbc patch - add description - remove "d

[PATCH v2] powerpc/microwatt: Fix model property in device tree

2025-04-12 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The standard property for the model name is called "model". Signed-off-by: J. Neuschäfer --- Changes in v2: - Rebase on v6.15-rc1 (no changes except line numbers) - Link to v1: https://lore.kernel.org/r/20241225-microwatt-v1-1-8e071fcfc...@posteo.net --- arch/powerpc/boo

[PATCH] powerpc: dts: mpc8315erdb: Add GPIO controller node

2025-04-18 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The MPC8315E SoC and variants have a GPIO controller at IMMR + 0xc00. This node was previously missing from the device tree. Signed-off-by: J. Neuschäfer --- A version of this patch was previously part of the series "powerpc: MPC83xx cleanup and LANCOM NWAPP2 board", but I

[PATCH 1/4] powerpc: 512x: Rename wdt@ node to watchdog@

2025-04-18 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The watchdog.yaml schema prescribes a node name of "timer" or "watchdog" rather than the abbreviation "wdt". Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/mpc5121.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/mpc51

[PATCH 2/4] powerpc: 83xx: Rename wdt@ nodes to watchdog@

2025-04-18 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The watchdog.yaml schema prescribes a node name of "timer" or "watchdog" rather than the abbreviation "wdt". Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/asp834x-redboot.dts | 2 +- arch/powerpc/boot/dts/mpc8313erdb.dts | 2 +- arch/powerpc/boot/dts/mpc8315e

[PATCH 4/4] powerpc: p2020: Rename wdt@ nodes to watchdog@

2025-04-18 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The watchdog.yaml schema prescribes a node name of "timer" or "watchdog" rather than the abbreviation "wdt". Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/fsl/ge_imp3a.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/d

[PATCH 3/4] powerpc: 86xx: Rename wdt@ nodes to watchdog@

2025-04-18 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The watchdog.yaml schema prescribes a node name of "timer" or "watchdog" rather than the abbreviation "wdt". Signed-off-by: J. Neuschäfer --- arch/powerpc/boot/dts/fsl/gef_ppc9a.dts | 4 ++-- arch/powerpc/boot/dts/fsl/gef_sbc310.dts | 4 ++-- arch/powerpc/boot/dts/fsl/ge

[PATCH 0/4] powerpc: Rename wdt@ notes to watchdog@

2025-04-18 Thread J . Neuschäfer via B4 Relay
The watchdog.yaml schema prescribes a node name of "timer" or "watchdog" rather than the abbreviation "wdt". This series fixes the node name across arch/powerpc/boot/dts. Signed-off-by: J. Neuschäfer --- J. Neuschäfer (4): powerpc: 512x: Rename wdt@ node to watchdog@ powerpc: 83xx: Re

[PATCH v4] dt-bindings: dma: Convert fsl,elo*-dma to YAML

2025-03-08 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The devicetree bindings for Freescale DMA engines have so far existed as a text file. This patch converts them to YAML, and specifies all the compatible strings currently in use in arch/powerpc/boot/dts. Signed-off-by: J. Neuschäfer --- I considered referencing dma-control

[PATCH v4 1/4] dt-bindings: mtd: raw-nand-chip: Relax node name pattern

2025-03-13 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" In some scenarios, such as under the Freescale eLBC bus, there are raw NAND chips with a unit address that has a comma in it (cs,offset). For reasons of compatibility with historical device trees and readability of the unit addresses, this format is kept. Relax the $nodenam

[PATCH v4 4/4] dt-bindings: memory-controllers: Convert fsl,elbc to YAML

2025-03-13 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert the Freescale localbus controller bindings from text form to YAML. Compared to the .txt version, the YAML binding contains a new usage example with FCM NAND flash, and a full list of compatible strings based on current usage in arch/powerpc/boot/dts/. Note that the

[PATCH v4 3/4] dt-bindings: nand: Add fsl,elbc-fcm-nand

2025-03-13 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalize the binding already supported by the fsl_elbc_nand.c driver and used in several device trees in arch/powerpc/boot/dts/. raw-nand-chip.yaml is referenced in order to accommodate situations in which the ECC parameters settings are set in the device tree. One such ex

[PATCH v4 0/4] Freescale Enhanced Local Bus Controller (eLBC) binding YAML conversion

2025-03-13 Thread J . Neuschäfer via B4 Relay
This series converts the fsl,elbc binding to YAML and adds new bindings for related devices (particular kinds of chip on the eLBC). For readability, the existing unit address syntax of , (e.g. nand@1,0) is kept. This results in a few dtc validation warnings, when combined with other choices in thi

[PATCH v4 2/4] dt-bindings: memory-controllers: Add fsl,elbc-gpcm-uio

2025-03-13 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalize the binding already supported by the uio_fsl_elbc_gpcm.c driver. Reviewed-by: Frank Li Reviewed-by: Rob Herring (Arm) Signed-off-by: J. Neuschäfer --- V4: - no changes V3: - add review tags V2: - split out from fsl,elbc patch - add description - remove "devi

[PATCH v3] dt-bindings: powerpc: Add Freescale/NXP MPC83xx SoCs

2025-02-20 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Add a new binding for MPC83xx platforms, describing the board compatible strings used in currently existing device trees. Note that the SoC bus is called immr@... in many existing devicetrees, but this contradicts the simple-bus binding. Reviewed-by: Rob Herring (Arm) Sig

[PATCH v3] dt-bindings: dma: Convert fsl,elo*-dma to YAML

2025-02-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The devicetree bindings for Freescale DMA engines have so far existed as a text file. This patch converts them to YAML, and specifies all the compatible strings currently in use in arch/powerpc/boot/dts. Signed-off-by: J. Neuschäfer --- I considered referencing dma-control

[PATCH v3 2/3] dt-bindings: nand: Add fsl,elbc-fcm-nand

2025-02-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalize the binding already supported by the fsl_elbc_nand.c driver and used in several device trees in arch/powerpc/boot/dts/. raw-nand-chip.yaml is referenced in order to accommodate situations in which the ECC parameters settings are set in the device tree. One such ex

[PATCH v3 1/3] dt-bindings: memory-controllers: Add fsl,elbc-gpcm-uio

2025-02-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalize the binding already supported by the uio_fsl_elbc_gpcm.c driver. Reviewed-by: Frank Li Reviewed-by: Rob Herring (Arm) Signed-off-by: J. Neuschäfer --- V3: - add review tags V2: - split out from fsl,elbc patch - add description - remove "device_type" property

[PATCH v3 3/3] dt-bindings: memory-controllers: Convert fsl,elbc to YAML

2025-02-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert the Freescale localbus controller bindings from text form to YAML. Compared to the .txt version, the YAML binding contains a new usage example with FCM NAND flash, and a full list of compatible strings based on current usage in arch/powerpc/boot/dts/. Note that the

[PATCH v3 0/3] Freescale Enhanced Local Bus Controller (eLBC) binding YAML conversion

2025-02-26 Thread J . Neuschäfer via B4 Relay
This series converts the fsl,elbc binding to YAML and adds new bindings for related devices (particular kinds of chip on the eLBC). For readability, the existing unit address syntax of , (e.g. nand@1,0) is kept. This results in a few dtc validation warnings, when combined with other choices in thi

[PATCH] dt-bindings: interrupt-controller: Convert fsl,mpic-msi to YAML

2025-04-04 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" As part of a larger effort to bring various PowerPC-related bindings into the YAML world, this patch converts msi-pic.txt to YAML and moves it into the bindings/interrupt-controller/ directory. The conversion may necessarily be a bit hard to read because the binding is quite

[PATCH v2] dt-bindings: interrupt-controller: Convert fsl,mpic-msi to YAML

2025-06-11 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" As part of a larger effort to bring various PowerPC-related bindings into the YAML world, this patch converts msi-pic.txt to YAML and moves it into the bindings/interrupt-controller/ directory. The conversion may necessarily be a bit hard to read because the binding is quite

[PATCH RESEND] powerpc: dts: mpc8315erdb: Add GPIO controller node

2025-06-11 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The MPC8315E SoC and variants have a GPIO controller at IMMR + 0xc00. This node was previously missing from the device tree. Signed-off-by: J. Neuschäfer --- A version of this patch was previously part of the series "powerpc: MPC83xx cleanup and LANCOM NWAPP2 board", but I

[PATCH RESEND v2] powerpc/microwatt: Fix model property in device tree

2025-06-11 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The standard property for the model name is called "model". Signed-off-by: J. Neuschäfer --- Changes in v2: - Rebase on v6.15-rc1 (no changes except line numbers) - Link to v1: https://lore.kernel.org/r/20241225-microwatt-v1-1-8e071fcfc...@posteo.net --- arch/powerpc/boo