linux-2.6-microblaze.git
2 weeks agoASoC: dt-bindings: qcom,sm8250: Add Fairphone 5 sound card
Luca Weiss [Wed, 7 May 2025 08:01:37 +0000 (10:01 +0200)]
ASoC: dt-bindings: qcom,sm8250: Add Fairphone 5 sound card

Document the bindings for the sound card on Fairphone 5 which uses the
older non-audioreach audio architecture.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20250507-fp5-dp-sound-v4-1-4098e918a29e@fairphone.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2 weeks agodt-bindings: arm/cpus: Allow 2 power-domains entries
Rob Herring (Arm) [Tue, 27 May 2025 20:21:09 +0000 (15:21 -0500)]
dt-bindings: arm/cpus: Allow 2 power-domains entries

Some platforms have both "perf" and "psci" power domains, so allow 2
entries.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2 weeks agodt-bindings: usb: dwc3-xilinx: allow dma-coherent
Radhey Shyam Pandey [Fri, 16 May 2025 13:18:36 +0000 (18:48 +0530)]
dt-bindings: usb: dwc3-xilinx: allow dma-coherent

On Versal Gen 2 SoC the LPD USB DMA controller is coherent with the CPU
so allow specifying the information.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/1747401516-286356-1-git-send-email-radhey.shyam.pandey@amd.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2 weeks agomedia: dt-bindings: sony,imx219: Allow props from video-interface-devices
Alexander Stein [Thu, 15 May 2025 14:29:42 +0000 (16:29 +0200)]
media: dt-bindings: sony,imx219: Allow props from video-interface-devices

Allow properties from video-interface-devices. The change is identical to
commit b6339ecfd0865 ("media: dt-bindings: sony,imx290: Allow props from
video-interface-devices")

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Jai Luthra <jai.luthra@ideasonboard.com>
Link: https://lore.kernel.org/r/20250515142945.1348722-1-alexander.stein@ew.tq-group.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2 weeks agodt-bindings: soundwire: qcom: Document v2.1.0 version of IP block
Krzysztof Kozlowski [Mon, 19 May 2025 08:04:54 +0000 (10:04 +0200)]
dt-bindings: soundwire: qcom: Document v2.1.0 version of IP block

All Qualcomm SoC Soundwire controllers are version-detectable (even
1.x), however certain unidentified quirks might be potentially needed,
so document v2.1 version used on Qualcomm SM8650 and SM8750 SoCs,
fallbacking to v2.0.

Suggested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250519080453.29858-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2 weeks agodt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1021a-wdt
Frank Li [Thu, 22 May 2025 19:47:31 +0000 (15:47 -0400)]
dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1021a-wdt

Add compatible string fsl,ls1021a-wdt for ls1021a SoC. fsl,ls1021a-wdt
allow big-endian property.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250522194732.493624-1-Frank.Li@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2 weeks agodt-bindings: pinctrl: amlogic,pinctrl-a4: Add missing constraint on allowed 'group...
Rob Herring (Arm) [Wed, 7 May 2025 21:58:51 +0000 (16:58 -0500)]
dt-bindings: pinctrl: amlogic,pinctrl-a4: Add missing constraint on allowed 'group' node properties

The "^group-[0-9a-z-]+$" nodes schema doesn't constrain the allowed
properties as the referenced common schemas don't have constraints.
Add the missing "unevaluatedProperties" constraint.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250507215852.2748420-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
3 weeks agodt-bindings: display: rockchip: Convert cdn-dp-rockchip.txt to yaml
Chaoyi Chen [Tue, 20 May 2025 02:47:18 +0000 (10:47 +0800)]
dt-bindings: display: rockchip: Convert cdn-dp-rockchip.txt to yaml

Convert cdn-dp-rockchip.txt to yaml.

Add new "port@1" property which represents the CDN DP output to keep
the same style as the other display interfaces.

This patch also changes the constraints for "phys" and "extcon". For
the original binding, only one phy and the corresponding extcon can
be specified. In the new binding, one or two phys can be specified.
Since the RK3399 has two DP-USB PHYs, specifying one allows output
via the corresponding PHY, while specifying two lets the driver
choose one PHY for output. This rule also applies to extcon, which
provides the cable state for the corresponding PHY.

Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250520024718.142-3-kernel@airkyi.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
3 weeks agodt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller
Hugo Villeneuve [Tue, 20 May 2025 15:11:12 +0000 (11:11 -0400)]
dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller

Allow to inherit valid properties from the dsi-controller. This fixes the
following warning when adding a panel property:

rzg2lc.dtb: dsi@10850000: '#address-cells', '#size-cells', 'panel@0' do not
    match any of the regexes: 'pinctrl-[0-9]+'
    from schema $id:
        http://devicetree.org/schemas/display/bridge/renesas,dsi.yaml#

Also add a panel property to the example.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250520151112.3278569-1-hugo@hugovil.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
3 weeks agodt-bindings: trivial-devices: Add VZ89TE to trivial
Rodrigo Gobbi [Thu, 15 May 2025 00:00:40 +0000 (21:00 -0300)]
dt-bindings: trivial-devices: Add VZ89TE to trivial

Add sgx,vz89te part number since it is similar to sgx,vz89x,
which is documented in trivial-devices.yaml.

Signed-off-by: Rodrigo Gobbi <rodrigo.gobbi.7@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250515000225.79239-1-rodrigo.gobbi.7@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agomedia: dt-bindings: renesas,vsp1: add top-level constraints
Krzysztof Kozlowski [Thu, 1 May 2025 17:34:13 +0000 (19:34 +0200)]
media: dt-bindings: renesas,vsp1: add top-level constraints

Properties with variable number of items per each device are expected to
have widest constraints in top-level "properties:" block and further
customized (narrowed) in "if:then:".  Add missing top-level constraints
for clocks and clock-names.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250501173411.134130-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agomedia: dt-bindings: renesas,fcp: add top-level constraints
Krzysztof Kozlowski [Thu, 1 May 2025 17:34:12 +0000 (19:34 +0200)]
media: dt-bindings: renesas,fcp: add top-level constraints

Properties with variable number of items per each device are expected to
have widest constraints in top-level "properties:" block and further
customized (narrowed) in "if:then:".  Add missing top-level constraints
for clocks and clock-names.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250501173411.134130-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: trivial-devices: Add Maxim max30208
Rodrigo Gobbi [Sat, 3 May 2025 19:01:01 +0000 (16:01 -0300)]
dt-bindings: trivial-devices: Add Maxim max30208

The temperature sensor for maxim is a simple i2c driver,
it's eligible to trivial devices.

Signed-off-by: Rodrigo Gobbi <rodrigo.gobbi.7@gmail.com>
Link: https://lore.kernel.org/r/20250503190509.33074-1-rodrigo.gobbi.7@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: soc: fsl,qman-fqd: Fix reserved-memory.yaml reference
Rob Herring (Arm) [Wed, 7 May 2025 15:42:31 +0000 (10:42 -0500)]
dt-bindings: soc: fsl,qman-fqd: Fix reserved-memory.yaml reference

The reserved-memory.yaml reference needs the full path. No warnings were
generated because the example has the wrong compatible string, so fix
that too.

Fixes: 304a90c4f75d ("dt-bindings: soc: fsl: Convert q(b)man-* to yaml format")
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250507154231.1590634-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert ti,omap-intc-irq to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:49:16 +0000 (09:49 -0500)]
dt-bindings: interrupt-controller: Convert ti,omap-intc-irq to DT schema

Convert the TI OMAP2/3 interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

"ti,intc-size" property isn't actually used with "ti,omap2-intc", so the
2 bindings can be combined.

Link: https://lore.kernel.org/r/20250505144917.1294150-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert ti,omap4-wugen-mpu to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:49:12 +0000 (09:49 -0500)]
dt-bindings: interrupt-controller: Convert ti,omap4-wugen-mpu to DT schema

Convert the TI Wakeup Generator interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Link: https://lore.kernel.org/r/20250505144913.1293967-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert ti,keystone-irq to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:49:07 +0000 (09:49 -0500)]
dt-bindings: interrupt-controller: Convert ti,keystone-irq to DT schema

Convert the TI Keystone 2 interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144908.1293785-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert technologic,ts4800-irqc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:48:55 +0000 (09:48 -0500)]
dt-bindings: interrupt-controller: Convert technologic,ts4800-irqc to DT schema

Convert the TS-4800 FPGA interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144856.1293370-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert st,spear3xx-shirq to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:48:50 +0000 (09:48 -0500)]
dt-bindings: interrupt-controller: Convert st,spear3xx-shirq to DT schema

Convert the SPEAr3xx Shared interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Link: https://lore.kernel.org/r/20250505144851.1293180-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert snps,dw-apb-ictl to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:48:37 +0000 (09:48 -0500)]
dt-bindings: interrupt-controller: Convert snps,dw-apb-ictl to DT schema

Convert the Synopsys DW-APB interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Link: https://lore.kernel.org/r/20250505144842.1292840-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert snps,archs-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:48:33 +0000 (09:48 -0500)]
dt-bindings: interrupt-controller: Convert snps,archs-intc to DT schema

Convert the ARC-HS incore interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144834.1292666-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert snps,archs-idu-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:48:29 +0000 (09:48 -0500)]
dt-bindings: interrupt-controller: Convert snps,archs-idu-intc to DT schema

Convert the ARC-HS Interrupt Distribution Unit interrupt controller
binding to schema format. It's a straight-forward conversion of the
typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144830.1292495-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert snps,arc700-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:48:25 +0000 (09:48 -0500)]
dt-bindings: interrupt-controller: Convert snps,arc700-intc to DT schema

Convert the Arc Core interrupt controller binding to schema format. It's
a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144826.1292329-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert qca,ar7100-misc-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:48:20 +0000 (09:48 -0500)]
dt-bindings: interrupt-controller: Convert qca,ar7100-misc-intc to DT schema

Convert the Qualcomm Atheros ath79 Misc interrupt controller binding to
schema format.

Adjust the compatible values to match what's actually in use.

Link: https://lore.kernel.org/r/20250505144821.1292151-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert qca,ar7100-cpu-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:48:16 +0000 (09:48 -0500)]
dt-bindings: interrupt-controller: Convert qca,ar7100-cpu-intc to DT schema

Convert the Qualcomm Atheros ath79 CPU interrupt controller binding to
schema format.

Link: https://lore.kernel.org/r/20250505144817.1291980-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert marvell,odmi-controller to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:47:26 +0000 (09:47 -0500)]
dt-bindings: interrupt-controller: Convert marvell,odmi-controller to DT schema

Convert the Marvell On-Die Message interrupt controller binding to
schema format.

Drop the 'interrupt-controller' property which isn't relevant for an MSI
controller.

Link: https://lore.kernel.org/r/20250505144727.1290271-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert marvell,cp110-icu to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:45:23 +0000 (09:45 -0500)]
dt-bindings: interrupt-controller: Convert marvell,cp110-icu to DT schema

Convert the Marvell ICU interrupt controller to DT schema format.

Add the missing addressing properties to read and translate child node
addresses.

Drop the legacy binding description and example.

Link: https://lore.kernel.org/r/20250505144524.1285795-1-robh@kernel.org
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert marvell,ap806-sei to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:47:48 +0000 (09:47 -0500)]
dt-bindings: interrupt-controller: Convert marvell,ap806-sei to DT schema

Convert the Marvell SEI interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144749.1290862-1-robh@kernel.org
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert marvell,ap806-gicp to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:47:20 +0000 (09:47 -0500)]
dt-bindings: interrupt-controller: Convert marvell,ap806-gicp to DT schema

Convert the Marvell GICP MSI controller binding to schema format. It's a
straight-forward conversion of the typical MSI controller.

Link: https://lore.kernel.org/r/20250505144721.1290068-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert marvell,armada-8k-pic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:47:14 +0000 (09:47 -0500)]
dt-bindings: interrupt-controller: Convert marvell,armada-8k-pic to DT schema

Convert the Marvell 7K/8K PIC interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Link: https://lore.kernel.org/r/20250505144715.1289866-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert lsi,zevio-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:47:10 +0000 (09:47 -0500)]
dt-bindings: interrupt-controller: Convert lsi,zevio-intc to DT schema

Convert the TI-NSPIRE interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

'#interrupt-cells' was missing from the property list, but used in the
example, so add it.

Link: https://lore.kernel.org/r/20250505144711.1289677-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert jcore,aic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:47:05 +0000 (09:47 -0500)]
dt-bindings: interrupt-controller: Convert jcore,aic to DT schema

Convert the J-Core advanced interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Link: https://lore.kernel.org/r/20250505144707.1289503-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert img,pdc-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:47:01 +0000 (09:47 -0500)]
dt-bindings: interrupt-controller: Convert img,pdc-intc to DT schema

Convert the ImgTec Powerdown Controller (PDC) interrupt controller
binding to schema format. It's a straight-forward conversion of the
typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144703.1289335-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert google,goldfish-pic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:57 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert google,goldfish-pic to DT schema

Convert the Google Goldfish PIC interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Link: https://lore.kernel.org/r/20250505144658.1289158-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert ezchip,nps400-ic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:48 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert ezchip,nps400-ic to DT schema

Convert the EZchip NPS interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Link: https://lore.kernel.org/r/20250505144649.1288786-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert csky,mpintc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:39 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert csky,mpintc to DT schema

Convert the C-SKY Multi-processor interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Link: https://lore.kernel.org/r/20250505144640.1288458-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert csky,apb-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:35 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert csky,apb-intc to DT schema

Convert the C-SKY APB interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144636.1288261-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert cirrus,ep7209-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:30 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert cirrus,ep7209-intc to DT schema

Convert the Cirrus EP7209 interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144631.1288086-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert brcm,bcm6345-l1-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:21 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert brcm,bcm6345-l1-intc to DT schema

Convert the Broadcom BCM6345 interrupt controller binding to schema
format.

The old schema indicated SoC specific compatibles should be present, but
there are none in use. So drop them.

The most number of CPUs on any platform seems to be 2, so document that
as the maximum.

Link: https://lore.kernel.org/r/20250505144622.1287712-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert arm,nvic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:45:52 +0000 (09:45 -0500)]
dt-bindings: interrupt-controller: Convert arm,nvic to DT schema

Convert the Arm NVIC interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144553.1286730-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert amazon,al-fic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:45:47 +0000 (09:45 -0500)]
dt-bindings: interrupt-controller: Convert amazon,al-fic to DT schema

Convert the Amazon FIC interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144548.1286525-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert al,alpine-msix to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:45:42 +0000 (09:45 -0500)]
dt-bindings: interrupt-controller: Convert al,alpine-msix to DT schema

Convert the Amazaon Alpine MSIX controller binding to schema format.

Drop the interrupt-controller property as the MSIX controller doesn't
provide interrupts. The interrupt-parent property is required in this
case for custom MSI mapping properties.

Link: https://lore.kernel.org/r/20250505144543.1286351-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert abilis,tb10x-ictl to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:45:33 +0000 (09:45 -0500)]
dt-bindings: interrupt-controller: Convert abilis,tb10x-ictl to DT schema

Convert the Abilis TB10x interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144534.1286092-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert microchip,pic32mzda-evic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:47:53 +0000 (09:47 -0500)]
dt-bindings: interrupt-controller: Convert microchip,pic32mzda-evic to DT schema

Convert the Microchip PIC32 interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250505144754.1291072-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert chrp,open-pic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:48:08 +0000 (09:48 -0500)]
dt-bindings: interrupt-controller: Convert chrp,open-pic to DT schema

Convert the Open PIC interrupt controller binding to schema format.

While the Linux kernel supports the "open-pic" compatible, that's not
used in any upstream .dts file. It used for "device_type" though. Add
"fsl,mpic" compatible which was not documented.

Link: https://lore.kernel.org/r/20250505144809.1291619-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert cdns,xtensa-{mx,pic} to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:25 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert cdns,xtensa-{mx,pic} to DT schema

Convert the Xtensa interrupt controller bindings to DT schema. Both only
vary by the compatible string, so combine them into 1 schema doc.

Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Link: https://lore.kernel.org/r/20250505144626.1287879-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert ti,cp-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:49:00 +0000 (09:49 -0500)]
dt-bindings: interrupt-controller: Convert ti,cp-intc to DT schema

Convert the TI Common Platform interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20250505144903.1293558-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert aspeed,ast2xxx-scu-ic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:11 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert aspeed,ast2xxx-scu-ic to DT schema

Convert the Aspeed SCU interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144613.1287360-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert aspeed,ast2400-i2c-ic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:04 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert aspeed,ast2400-i2c-ic to DT schema

Convert the Aspeed I2C interrupt controller binding to schema format.

Drop the "#address-cells" and "#size-cells" as they are unused and
incorrect anyways.

Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Link: https://lore.kernel.org/r/20250505144605.1287121-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert faraday,ftintc010 to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:53 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert faraday,ftintc010 to DT schema

Convert the Faraday FTINTC010 interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250505144654.1288979-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert arm,versatile-fpga-irq to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:45:56 +0000 (09:45 -0500)]
dt-bindings: interrupt-controller: Convert arm,versatile-fpga-irq to DT schema

Convert the Arm Versatile FPGA interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250505144558.1286889-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert marvell,orion-bridge-intc to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:47:42 +0000 (09:47 -0500)]
dt-bindings: interrupt-controller: Convert marvell,orion-bridge-intc to DT schema

Convert the Marvell Orion bridge interrupt controller binding to schema
format.

marvell,orion-intc is already covered by mrvl,intc.yaml schema, so it
can be dropped.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20250505144743.1290672-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert brcm,bcm2835-armctrl-ic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:16 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert brcm,bcm2835-armctrl-ic to DT schema

Convert the Broadcom BCM2835 ARMCTRL interrupt controller binding to
schema format. It's a straight-forward conversion of the typical
interrupt controller.

Link: https://lore.kernel.org/r/20250505144618.1287539-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: interrupt-controller: Convert cnxt,cx92755-ic to DT schema
Rob Herring (Arm) [Mon, 5 May 2025 14:46:43 +0000 (09:46 -0500)]
dt-bindings: interrupt-controller: Convert cnxt,cx92755-ic to DT schema

Convert the Conexant Digicolor interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Acked-by: Baruch Siach <baruch@tkos.co.il>
Link: https://lore.kernel.org/r/20250505144644.1288617-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
4 weeks agodt-bindings: Move altr,msi-controller to interrupt-controller directory
Rob Herring (Arm) [Wed, 7 May 2025 15:42:53 +0000 (10:42 -0500)]
dt-bindings: Move altr,msi-controller to interrupt-controller directory

While altr,msi-controller is used with PCI, it is not a PCI host bridge
and is just an MSI provider. Move it with other MSI providers in the
'interrupt-controller' directory.

Acked-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250507154253.1593870-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
5 weeks agodt-bindings: gpu: mali-bifrost: Add compatible for RZ/V2N SoC
Lad Prabhakar [Fri, 2 May 2025 16:25:40 +0000 (17:25 +0100)]
dt-bindings: gpu: mali-bifrost: Add compatible for RZ/V2N SoC

Add a compatible string for the Renesas RZ/V2N SoC variants that include a
Mali-G31 GPU. These variants share the same restrictions on interrupts,
clocks, and power domains as the RZ/G2L SoC, so extend the existing schema
validation accordingly.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20250502162540.165962-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
5 weeks agoof: unittest: Unlock on error in unittest_data_add()
Dan Carpenter [Wed, 30 Apr 2025 08:05:40 +0000 (11:05 +0300)]
of: unittest: Unlock on error in unittest_data_add()

The of_overlay_mutex_unlock() was accidentally deleted if "of_root" is
NULL.  Change this to a goto unlock.

Fixes: d1eabd218ede ("of: unittest: treat missing of_root as error instead of fixing up")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/aBHZ1DvXiBcZkWmk@stanley.mountain
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
5 weeks agodevres: Export devm_ioremap_resource_wc()
Rob Herring (Arm) [Wed, 23 Apr 2025 19:42:15 +0000 (14:42 -0500)]
devres: Export devm_ioremap_resource_wc()

devm_ioremap_resource_wc() is not exported, so add one.

Link: https://lore.kernel.org/r/20250423-dt-memory-region-v2-v2-3-2fbd6ebd3c88@kernel.org
Acked-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
5 weeks agoof: Simplify of_dma_set_restricted_buffer() to use of_for_each_phandle()
Rob Herring (Arm) [Wed, 23 Apr 2025 19:42:14 +0000 (14:42 -0500)]
of: Simplify of_dma_set_restricted_buffer() to use of_for_each_phandle()

Simplify of_dma_set_restricted_buffer() by using of_property_present()
and of_for_each_phandle() iterator.

Acked-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20250423-dt-memory-region-v2-v2-2-2fbd6ebd3c88@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
5 weeks agoof: reserved_mem: Add functions to parse "memory-region"
Rob Herring (Arm) [Wed, 23 Apr 2025 19:42:13 +0000 (14:42 -0500)]
of: reserved_mem: Add functions to parse "memory-region"

Drivers with "memory-region" properties currently have to do their own
parsing of "memory-region" properties. The result is all the drivers
have similar patterns of a call to parse "memory-region" and then get
the region's address and size. As this is a standard property, it should
have common functions for drivers to use. Add new functions to count the
number of regions and retrieve the region's address as a resource.

Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Acked-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20250423-dt-memory-region-v2-v2-1-2fbd6ebd3c88@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
6 weeks agopsci: MAINTAINERS: Include DT binding in the entry
Krzysztof Kozlowski [Thu, 1 May 2025 15:09:36 +0000 (17:09 +0200)]
psci: MAINTAINERS: Include DT binding in the entry

Updates to PSCI Devicetree binding seems to be not picked up from the
mailing list, probably because actual maintainers are not CC-ed.  Add
the binding to the PCSI maintainers entry.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250501150934.77317-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
6 weeks agodt-bindings: arm: psci: change labels to lower-case in example
Krzysztof Kozlowski [Thu, 1 May 2025 15:09:35 +0000 (17:09 +0200)]
dt-bindings: arm: psci: change labels to lower-case in example

DTS coding style expects labels to be lowercase, so adjust the example
code.  No functional impact.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250501150934.77317-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodocs: dt: Update overlay file extension
Geert Uytterhoeven [Wed, 5 Feb 2025 10:46:37 +0000 (11:46 +0100)]
docs: dt: Update overlay file extension

Building DTB overlays from .dts files is no longer supported.
Update the documentation to reflect this.

Fixes: 81d362732bac05f6 ("kbuild: Disallow DTB overlays to built from .dts named source files")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Andrew Davis <afd@ti.com>
Reviewed-by: Yanteng Si <siyanteng@loongson.cn>
Link: https://lore.kernel.org/r/ebce4d9591dd0259a636196dda31d40901dc04b0.1738752288.git.geert+renesas@glider.be
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: interrupt-controller: via,vt8500-intc: Convert to YAML
Alexey Charkov [Fri, 18 Apr 2025 13:57:25 +0000 (17:57 +0400)]
dt-bindings: interrupt-controller: via,vt8500-intc: Convert to YAML

Rewrite the textual description for the VIA/WonderMedia interrupt
controller as YAML schema.

The original textual version did not contain information about the
usage of 'interrupts' to describe the connection of a chained
controller to its parent, add it here. A chained controller can
trigger up to 8 different interrupts (IRQ0~7) on its parent.

Signed-off-by: Alexey Charkov <alchark@gmail.com>
Link: https://lore.kernel.org/r/20250418-via_intc_binding-v2-1-b649ce737f71@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: arm/cpus: allow up to 3 interconnects entries
Neil Armstrong [Fri, 18 Apr 2025 12:56:16 +0000 (14:56 +0200)]
dt-bindings: arm/cpus: allow up to 3 interconnects entries

Allow up to 3 entries as used on the Qualcomm SM8650 CPU nodes.

This fixes the following errors:
cpu@0: interconnects: [[7, 3, 3, 7, 15, 3], [8, 0, 3, 8, 1, 3], [9, 0, 9, 1]] is too long

Fixes: 791a3fcd2345 ("dt-bindings: arm/cpus: Add missing properties")
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250418-topic-sm8x50-upstream-cpu-icc-max3-v1-1-87d9c2713d72@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: display: imx: convert fsl,tcon.txt to yaml format
Frank Li [Thu, 17 Apr 2025 15:11:33 +0000 (11:11 -0400)]
dt-bindings: display: imx: convert fsl,tcon.txt to yaml format

Convert fsl,tcon.txt to yaml format.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Link: https://lore.kernel.org/r/20250417151134.3569837-1-Frank.Li@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: fsl: convert m4if.txt and tigerp.txt to yaml format
Frank Li [Thu, 17 Apr 2025 15:06:04 +0000 (11:06 -0400)]
dt-bindings: fsl: convert m4if.txt and tigerp.txt to yaml format

Convert m4if.txt and tigerp.txt to yaml format. These just use reg to
indicate memory region.

Additional changes:
- Add compatible string fsl,imx51-aipstz.
- Add fsl,imx53-tigerp and fail back to fsl,imx51-tigerp
- Add compatible string fsl,imx7d-pcie-phy, which is not real phy and just
indicate a memory region.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250417150608.3569512-1-Frank.Li@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: display: imx: convert ldb.txt to yaml format
Frank Li [Thu, 17 Apr 2025 14:57:41 +0000 (10:57 -0400)]
dt-bindings: display: imx: convert ldb.txt to yaml format

Convert ldb.txt to yaml format.

Additional changes
- fix clock-names order to match existed dts file.
- remove lvds-panel and iomuxc-gpr node in examples.
- fsl,imx6q-ldb fail back to fsl,imx53-ldb.
- add fsl,panel property to match existed dts.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250417145742.3568572-1-Frank.Li@nxp.com
[robh: Use #/properties/port schema for port]
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: powerpc: Convert fsl/pmc.txt to YAML
J. Neuschäfer [Thu, 17 Apr 2025 14:21:14 +0000 (16:21 +0200)]
dt-bindings: powerpc: Convert fsl/pmc.txt to YAML

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 strings
already mentioned in the plain-text version of the binding.

One thing I didn't handle are soc-clk@... nodes as seen in
arch/powerpc/boot/dts/fsl/pq3-power.dtsi. They are also ignored
by Linux drivers.

Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Link: https://lore.kernel.org/r/20250417-fslpmc-yaml-v3-1-b3eccd389176@posteo.net
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: virtio: pci-iommu: Add ref to pci-device.yaml
Rob Herring (Arm) [Mon, 7 Apr 2025 16:53:40 +0000 (11:53 -0500)]
dt-bindings: virtio: pci-iommu: Add ref to pci-device.yaml

The virtio pci-iommu is a PCI device, so it should have a reference to
the pci-device.yaml schema. The pci-device.yaml schema defines the 'reg'
format as a schema, so the text description for 'reg' can be dropped.

Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20250407165341.2934499-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: backlight: add TI LP8864/LP8866 LED-backlight drivers
Alexander Sverdlin [Wed, 18 Dec 2024 21:08:26 +0000 (22:08 +0100)]
dt-bindings: backlight: add TI LP8864/LP8866 LED-backlight drivers

Add bindings for Texas Instruments' LP8864/LP8866 LED-backlight drivers.
Note that multiple channels in these models are used for load-balancing and
brightness is controlled gobally, so from a user perspective it's only one
LED.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Link: https://lore.kernel.org/r/20241218210829.73191-2-alexander.sverdlin@siemens.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: display: imx: convert fsl-imx-drm.txt to yaml format
Frank Li [Tue, 15 Apr 2025 21:29:42 +0000 (17:29 -0400)]
dt-bindings: display: imx: convert fsl-imx-drm.txt to yaml format

Convert fsl-imx-drm.txt to yaml format and create 5 yaml files for
differences purpose.

Additional changes:
- add missed include file in examples.
- add clocks, clock-names for ipu.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250415212943.3400852-1-Frank.Li@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: interrupt-controller: Add missed fsl tzic controller
Frank Li [Tue, 15 Apr 2025 15:48:58 +0000 (11:48 -0400)]
dt-bindings: interrupt-controller: Add missed fsl tzic controller

Add missed fsl tzic interrupt controller binding doc.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250415154859.3381515-1-Frank.Li@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: remove RZ/N1S bindings
Wolfram Sang [Fri, 11 Apr 2025 19:47:57 +0000 (21:47 +0200)]
dt-bindings: remove RZ/N1S bindings

Except for these four quite random bindings, no further upstream
activity has been observed in the last 8 years. So, remove these
fragments to reduce maintenance burden.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20250411194849.11067-2-wsa+renesas@sang-engineering.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: Remove obsolete numa.txt
Rob Herring (Arm) [Thu, 10 Apr 2025 20:13:23 +0000 (15:13 -0500)]
dt-bindings: Remove obsolete numa.txt

The NUMA binding is now covered by the dtschema
numa-distance-map-v1.yaml and CPU and memory node schemas with all
the relevant descriptions moved to them.

Link: https://lore.kernel.org/r/20250410201325.962203-2-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: Remove obsolete cpu-topology.txt
Rob Herring (Arm) [Thu, 10 Apr 2025 20:13:22 +0000 (15:13 -0500)]
dt-bindings: Remove obsolete cpu-topology.txt

The cpu topology binding is now covered by the dtschema cpu-map.yaml
schema with all the relevant descriptions moved to it.

Link: https://lore.kernel.org/r/20250410201325.962203-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: counter: Convert ftm-quaddec.txt to yaml format
Frank Li [Thu, 10 Apr 2025 22:25:05 +0000 (18:25 -0400)]
dt-bindings: counter: Convert ftm-quaddec.txt to yaml format

Convert ftm-quaddec.txt to yaml format.

Additional changes:
- Remove "status" at example.
- Remove label at example.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250410222509.3242241-1-Frank.Li@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: cpufreq: Drop redundant Mediatek binding
Rob Herring (Arm) [Thu, 10 Apr 2025 15:47:38 +0000 (10:47 -0500)]
dt-bindings: cpufreq: Drop redundant Mediatek binding

The Mediatek CPUFreq binding document just describes properties from
the CPU node which the driver uses. This is redundant as all the
properties are described in the arm/cpus.yaml schema.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20250410-dt-cpu-schema-v2-17-63d7dc9ddd0a@kernel.org
7 weeks agodt-bindings: arm/cpus: Add power-domains constraints
Rob Herring (Arm) [Thu, 10 Apr 2025 15:47:37 +0000 (10:47 -0500)]
dt-bindings: arm/cpus: Add power-domains constraints

The "power-domains" and "power-domains-names" properties are missing any
constraints. Add the constraints and drop the generic descriptions.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20250410-dt-cpu-schema-v2-16-63d7dc9ddd0a@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: arm/cpus: Add missing properties
Rob Herring (Arm) [Thu, 10 Apr 2025 15:47:36 +0000 (10:47 -0500)]
dt-bindings: arm/cpus: Add missing properties

The Arm CPU schema is missing a number of properties already in use.
This has gone unnoticed as extra properties have not been restricted.
Add a missing reference to cpu.yaml, and add all the missing properties.

As "clock-latency" and "voltage-tolerance" are related to opp-v1, add
those properties to the opp-v1.yaml schema.

With this, other properties can be prevented from creeping in with
'unevaluatedProperties: false'.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20250410-dt-cpu-schema-v2-15-63d7dc9ddd0a@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: Reference opp-v1 schema in CPU schemas
Rob Herring (Arm) [Thu, 10 Apr 2025 15:47:35 +0000 (10:47 -0500)]
dt-bindings: Reference opp-v1 schema in CPU schemas

The opp-v1 binding is only used in MIPS and arm32 CPU nodes, so add a
$ref to it in the CPU schemas and drop the "select".

As opp-v1 has long been deprecated, mark it as such.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20250410-dt-cpu-schema-v2-14-63d7dc9ddd0a@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: arm/cpus: Re-wrap 'description' entries
Rob Herring (Arm) [Thu, 10 Apr 2025 15:47:34 +0000 (10:47 -0500)]
dt-bindings: arm/cpus: Re-wrap 'description' entries

Some of the 'description' entries have odd line wrapping and incorrect
YAML block modifiers. The 'description' entries should typically wrap
at 80 chars. Reformat the entries to follow that along with using '>'
modifiers as appropriate.

Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20250410-dt-cpu-schema-v2-13-63d7dc9ddd0a@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
7 weeks agodt-bindings: arm/cpus: Add schemas for "enable-method" dependencies
Rob Herring (Arm) [Thu, 10 Apr 2025 15:47:33 +0000 (10:47 -0500)]
dt-bindings: arm/cpus: Add schemas for "enable-method" dependencies

Replace the prose for properties dependent on specific "enable-method"
values with schemas defining the same requirements.

Both "qcom,acc" and "qcom,saw" properties appear to be required for any
of the Qualcomm enable-method values, so the schema is a bit simpler
than what the text said. The properties are also needed on some Qualcomm
platforms with other enable-method values. It's limited to Cortex A53
based platforms so use that to disable the properties. The references
to arm/msm/qcom,saw2.txt and arm/msm/qcom,kpss-acc.txt are out of date,
so just drop them.

Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20250410-dt-cpu-schema-v2-12-63d7dc9ddd0a@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2 months agodt-bindings: vendor-prefixes: Add EcoNet
Caleb James DeLisle [Sun, 30 Mar 2025 17:02:57 +0000 (17:02 +0000)]
dt-bindings: vendor-prefixes: Add EcoNet

Add the "econet" vendor prefix for SoC maker

Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250330170306.2584136-2-cjd@cjdns.fr
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2 months agodt-bindings: writing-schema: Explain sub-nodes with additionalProperties:true
Krzysztof Kozlowski [Mon, 31 Mar 2025 08:13:45 +0000 (10:13 +0200)]
dt-bindings: writing-schema: Explain sub-nodes with additionalProperties:true

Document recently introduced pattern of using additionalProperties: true
for sub-nodes with their own schema.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250331081345.37103-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2 months agoLinux 6.15-rc1
Linus Torvalds [Sun, 6 Apr 2025 20:11:33 +0000 (13:11 -0700)]
Linux 6.15-rc1

2 months agotools/include: make uapi/linux/types.h usable from assembly
Thomas Weißschuh [Wed, 2 Apr 2025 20:21:57 +0000 (21:21 +0100)]
tools/include: make uapi/linux/types.h usable from assembly

The "real" linux/types.h UAPI header gracefully degrades to a NOOP when
included from assembly code.

Mirror this behaviour in the tools/ variant.

Test for __ASSEMBLER__ over __ASSEMBLY__ as the former is provided by the
toolchain automatically.

Reported-by: Mark Brown <broonie@kernel.org>
Closes: https://lore.kernel.org/lkml/af553c62-ca2f-4956-932c-dd6e3a126f58@sirena.org.uk/
Fixes: c9fbaa879508 ("selftests: vDSO: parse_vdso: Use UAPI headers instead of libc headers")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://patch.msgid.link/20250321-uapi-consistency-v1-1-439070118dc0@linutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2 months agoMerge tag 'turbostat-2025.05.06' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds [Sun, 6 Apr 2025 19:32:43 +0000 (12:32 -0700)]
Merge tag 'turbostat-2025.05.06' of git://git./linux/kernel/git/lenb/linux

Pull turbostat updates from Len Brown:

 - support up to 8192 processors

 - add cpuidle governor debug telemetry, disabled by default

 - update default output to exclude cpuidle invocation counts

 - bug fixes

* tag 'turbostat-2025.05.06' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux:
  tools/power turbostat: v2025.05.06
  tools/power turbostat: disable "cpuidle" invocation counters, by default
  tools/power turbostat: re-factor sysfs code
  tools/power turbostat: Restore GFX sysfs fflush() call
  tools/power turbostat: Document GNR UncMHz domain convention
  tools/power turbostat: report CoreThr per measurement interval
  tools/power turbostat: Increase CPU_SUBSET_MAXCPUS to 8192
  tools/power turbostat: Add idle governor statistics reporting
  tools/power turbostat: Fix names matching
  tools/power turbostat: Allow Zero return value for some RAPL registers
  tools/power turbostat: Clustered Uncore MHz counters should honor show/hide options

2 months agoMerge tag 'soundwire-6.15-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 6 Apr 2025 19:04:53 +0000 (12:04 -0700)]
Merge tag 'soundwire-6.15-rc1-fixes' of git://git./linux/kernel/git/vkoul/soundwire

Pull soundwire fix from Vinod Koul:

 - add missing config symbol CONFIG_SND_HDA_EXT_CORE required for asoc
   driver CONFIG_SND_SOF_SOF_HDA_SDW_BPT

* tag 'soundwire-6.15-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire:
  ASoC: SOF: Intel: Let SND_SOF_SOF_HDA_SDW_BPT select SND_HDA_EXT_CORE

2 months agotools/power turbostat: v2025.05.06
Len Brown [Sun, 6 Apr 2025 18:49:20 +0000 (14:49 -0400)]
tools/power turbostat: v2025.05.06

Support up to 8192 processors
Add cpuidle governor debug telemetry, disabled by default
Update default output to exclude cpuidle invocation counts
Bug fixes

Signed-off-by: Len Brown <len.brown@intel.com>
2 months agotools/power turbostat: disable "cpuidle" invocation counters, by default
Len Brown [Sun, 6 Apr 2025 18:29:57 +0000 (14:29 -0400)]
tools/power turbostat: disable "cpuidle" invocation counters, by default

Create "pct_idle" counter group, the sofware notion of residency
so it can now be singled out, independent of other counter groups.

Create "cpuidle" group, the cpuidle invocation counts.
Disable "cpuidle", by default.

Create "swidle" = "cpuidle" + "pct_idle".
Undocument "sysfs", the old name for "swidle", but keep it working
for backwards compatibilty.

Create "hwidle", all the HW idle counters

Modify "idle", enabled by default
"idle" = "hwidle" + "pct_idle" (and now excludes "cpuidle")

Signed-off-by: Len Brown <len.brown@intel.com>
2 months agoMerge tag 'perf-urgent-2025-04-06' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds [Sun, 6 Apr 2025 17:48:12 +0000 (10:48 -0700)]
Merge tag 'perf-urgent-2025-04-06' of git://git./linux/kernel/git/tip/tip

Pull perf event fix from Ingo Molnar:
 "Fix a perf events time accounting bug"

* tag 'perf-urgent-2025-04-06' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/core: Fix child_total_time_enabled accounting bug at task exit

2 months agoMerge tag 'sched-urgent-2025-04-06' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 6 Apr 2025 17:44:58 +0000 (10:44 -0700)]
Merge tag 'sched-urgent-2025-04-06' of git://git./linux/kernel/git/tip/tip

Pull scheduler fixes from Ingo Molnar:

 - Fix a nonsensical Kconfig combination

 - Remove an unnecessary rseq-notification

* tag 'sched-urgent-2025-04-06' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  rseq: Eliminate useless task_work on execve
  sched/isolation: Make CONFIG_CPU_ISOLATION depend on CONFIG_SMP

2 months agoDisable SLUB_TINY for build testing
Linus Torvalds [Sun, 6 Apr 2025 17:00:04 +0000 (10:00 -0700)]
Disable SLUB_TINY for build testing

... and don't error out so hard on missing module descriptions.

Before commit 6c6c1fc09de3 ("modpost: require a MODULE_DESCRIPTION()")
we used to warn about missing module descriptions, but only when
building with extra warnigns (ie 'W=1').

After that commit the warning became an unconditional hard error.

And it turns out not all modules have been converted despite the claims
to the contrary.  As reported by Damian Tometzki, the slub KUnit test
didn't have a module description, and apparently nobody ever really
noticed.

The reason nobody noticed seems to be that the slub KUnit tests get
disabled by SLUB_TINY, which also ends up disabling a lot of other code,
both in tests and in slub itself.  And so anybody doing full build tests
didn't actually see this failre.

So let's disable SLUB_TINY for build-only tests, since it clearly ends
up limiting build coverage.  Also turn the missing module descriptions
error back into a warning, but let's keep it around for non-'W=1'
builds.

Reported-by: Damian Tometzki <damian@riscv-rocks.de>
Link: https://lore.kernel.org/all/01070196099fd059-e8463438-7b1b-4ec8-816d-173874be9966-000000@eu-central-1.amazonses.com/
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Fixes: 6c6c1fc09de3 ("modpost: require a MODULE_DESCRIPTION()")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2 months agotools/power turbostat: re-factor sysfs code
Len Brown [Sun, 6 Apr 2025 16:53:18 +0000 (12:53 -0400)]
tools/power turbostat: re-factor sysfs code

Probe cpuidle "sysfs" residency and counts separately,
since soon we will make one disabled on, and the
other disabled off.

Clarify that some BIC (build-in-counters) are actually "groups".
since we're about to re-name some of those groups.

no functional change.

Signed-off-by: Len Brown <len.brown@intel.com>
2 months agotools/power turbostat: Restore GFX sysfs fflush() call
Zhang Rui [Wed, 19 Mar 2025 00:53:07 +0000 (08:53 +0800)]
tools/power turbostat: Restore GFX sysfs fflush() call

Do fflush() to discard the buffered data, before each read of the
graphics sysfs knobs.

Fixes: ba99a4fc8c24 ("tools/power turbostat: Remove unnecessary fflush() call")
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2 months agotools/power turbostat: Document GNR UncMHz domain convention
Len Brown [Sun, 6 Apr 2025 16:23:22 +0000 (12:23 -0400)]
tools/power turbostat: Document GNR UncMHz domain convention

Document that on Intel Granite Rapids Systems,
Uncore domains 0-2 are CPU domains, and
uncore domains 3-4 are IO domains.

Signed-off-by: Len Brown <len.brown@intel.com>
2 months agotools/power turbostat: report CoreThr per measurement interval
Len Brown [Sun, 6 Apr 2025 15:18:39 +0000 (11:18 -0400)]
tools/power turbostat: report CoreThr per measurement interval

The CoreThr column displays total thermal throttling events
since boot time.

Change it to report events during the measurement interval.

This is more useful for showing a user the current conditions.
Total events since boot time are still available to the user via
/sys/devices/system/cpu/cpu*/thermal_throttle/*

Document CoreThr on turbostat.8

Fixes: eae97e053fe30 ("turbostat: Support thermal throttle count print")
Reported-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Cc: Chen Yu <yu.c.chen@intel.com>
2 months agotools/power turbostat: Increase CPU_SUBSET_MAXCPUS to 8192
Justin Ernst [Wed, 19 Mar 2025 20:27:31 +0000 (15:27 -0500)]
tools/power turbostat: Increase CPU_SUBSET_MAXCPUS to 8192

On systems with >= 1024 cpus (in my case 1152), turbostat fails with the error output:
"turbostat: /sys/fs/cgroup/cpuset.cpus.effective: cpu str malformat 0-1151"

A similar error appears with the use of turbostat --cpu when the inputted cpu
range contains a cpu number >= 1024:
# turbostat -c 1100-1151
"--cpu 1100-1151" malformed
...

Both errors are caused by parse_cpu_str() reaching its limit of CPU_SUBSET_MAXCPUS.

It's a good idea to limit the maximum cpu number being parsed, but 1024 is too low.
For a small increase in compute and allocated memory, increasing CPU_SUBSET_MAXCPUS
brings support for parsing cpu numbers >= 1024.

Increase CPU_SUBSET_MAXCPUS to 8192, a common setting for CONFIG_NR_CPUS on x86_64.

Signed-off-by: Justin Ernst <justin.ernst@hpe.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2 months agoMerge tag 'timers-cleanups-2025-04-06' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 6 Apr 2025 15:35:37 +0000 (08:35 -0700)]
Merge tag 'timers-cleanups-2025-04-06' of git://git./linux/kernel/git/tip/tip

Pull timer cleanups from Thomas Gleixner:
 "A set of final cleanups for the timer subsystem:

   - Convert all del_timer[_sync]() instances over to the new
     timer_delete[_sync]() API and remove the legacy wrappers.

     Conversion was done with coccinelle plus some manual fixups as
     coccinelle chokes on scoped_guard().

   - The final cleanup of the hrtimer_init() to hrtimer_setup()
     conversion.

     This has been delayed to the end of the merge window, so that all
     patches which have been merged through other trees are in mainline
     and all new users are catched.

  Doing this right before rc1 ensures that new code which is merged post
  rc1 is not introducing new instances of the original functionality"

* tag 'timers-cleanups-2025-04-06' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  tracing/timers: Rename the hrtimer_init event to hrtimer_setup
  hrtimers: Rename debug_init_on_stack() to debug_setup_on_stack()
  hrtimers: Rename debug_init() to debug_setup()
  hrtimers: Rename __hrtimer_init_sleeper() to __hrtimer_setup_sleeper()
  hrtimers: Remove unnecessary NULL check in hrtimer_start_range_ns()
  hrtimers: Make callback function pointer private
  hrtimers: Merge __hrtimer_init() into __hrtimer_setup()
  hrtimers: Switch to use __htimer_setup()
  hrtimers: Delete hrtimer_init()
  treewide: Convert new and leftover hrtimer_init() users
  treewide: Switch/rename to timer_delete[_sync]()