Skip to content

Commit 2c97b5a

Browse files
committed
Merge tag 'devicetree-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull Devicetree updates from Rob Herring: - DT schemas for PWM, syscon, power domains, SRAM, syscon-reboot, syscon-poweroff, renesas-irqc, simple-pm-bus, renesas-bsc, pwm-rcar, Renesas tpu, at24 eeprom, rtc-sh, Allwinner PS/2, sharp,ld-d5116z01b panel, Arm SMMU, max77650, Meson CEC, Amlogic canvas and DWC3 glue, Allwinner A10 mUSB and CAN, TI Davinci MDIO, QCom QCS404 interconnect, Unisoc/Spreadtrum SoCs and UART - Convert a bunch of Samsung bindings to DT schema - Convert a bunch of ST stm32 bindings to DT schema - Realtek and Exynos additions to Arm Mali bindings - Fix schema errors in RiscV CPU schema - Various schema fixes from improved meta-schema checks - Improve the handling of 'dma-ranges' and in particular fix DMA mask setup on PCI bridges - Fix a memory leak in add_changeset_property() and DT unit tests. - Several documentation improvements for schema validation - Rework build rules to improve schema validation errors - Color output for dtx_diff * tag 'devicetree-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (138 commits) libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h dt-bindings: arm: Remove leftover axentia.txt of: unittest: fix memory leak in attach_node_and_children of: overlay: add_changeset_property() memory leak dt-bindings: interrupt-controller: arm,gic-v3: Add missing type to interrupt-partition-* nodes dt-bindings: firmware: ixp4xx: Drop redundant minItems/maxItems dt-bindings: power: Rename back power_domain.txt bindings to fix references dt-bindings: i2c: stm32: Migrate i2c-stm32 documentation to yaml dt-bindings: mtd: Convert stm32 fmc2-nand bindings to json-schema dt-bindings: remoteproc: convert stm32-rproc to json-schema dt-bindings: mailbox: convert stm32-ipcc to json-schema dt-bindings: mfd: Convert stm32 low power timers bindings to json-schema dt-bindings: interrupt-controller: Convert stm32-exti to json-schema dt-bindings: crypto: Convert stm32 HASH bindings to json-schema dt-bindings: rng: Convert stm32 RNG bindings to json-schema dt-bindings: pwm: Convert Samsung PWM bindings to json-schema dt-bindings: pwm: Convert PWM bindings to json-schema dt-bindings: serial: Add a new compatible string for SC9863A dt-bindings: serial: Convert sprd-uart to json-schema dt-bindings: arm: Add bindings for Unisoc SC9863A ...
2 parents 8328dd2 + a8de130 commit 2c97b5a

File tree

254 files changed

+6314
-3792
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+6314
-3792
lines changed

Documentation/devicetree/bindings/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ $(obj)/%.example.dts: $(src)/%.yaml FORCE
1212
$(call if_changed,chk_binding)
1313

1414
DT_TMP_SCHEMA := processed-schema.yaml
15-
extra-y += $(DT_TMP_SCHEMA)
1615

1716
quiet_cmd_mk_schema = SCHEMA $@
1817
cmd_mk_schema = $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) -o $@ $(real-prereqs)
@@ -26,8 +25,12 @@ DT_DOCS = $(shell \
2625

2726
DT_SCHEMA_FILES ?= $(addprefix $(src)/,$(DT_DOCS))
2827

28+
ifeq ($(CHECK_DTBS),)
2929
extra-y += $(patsubst $(src)/%.yaml,%.example.dts, $(DT_SCHEMA_FILES))
3030
extra-y += $(patsubst $(src)/%.yaml,%.example.dt.yaml, $(DT_SCHEMA_FILES))
31+
endif
3132

3233
$(obj)/$(DT_TMP_SCHEMA): $(DT_SCHEMA_FILES) FORCE
3334
$(call if_changed,mk_schema)
35+
36+
extra-y += $(DT_TMP_SCHEMA)

Documentation/devicetree/bindings/arm/amlogic/smp-sram.txt

Lines changed: 0 additions & 32 deletions
This file was deleted.

Documentation/devicetree/bindings/arm/arm,scmi.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Required sub-node properties:
100100

101101
[0] http://infocenter.arm.com/help/topic/com.arm.doc.den0056a/index.html
102102
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
103-
[2] Documentation/devicetree/bindings/power/power_domain.txt
103+
[2] Documentation/devicetree/bindings/power/power-domain.yaml
104104
[3] Documentation/devicetree/bindings/thermal/thermal.txt
105105
[4] Documentation/devicetree/bindings/sram/sram.txt
106106
[5] Documentation/devicetree/bindings/reset/reset.txt

Documentation/devicetree/bindings/arm/arm,scpi.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Required properties:
110110
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
111111
[2] Documentation/devicetree/bindings/thermal/thermal.txt
112112
[3] Documentation/devicetree/bindings/sram/sram.txt
113-
[4] Documentation/devicetree/bindings/power/power_domain.txt
113+
[4] Documentation/devicetree/bindings/power/power-domain.yaml
114114

115115
Example:
116116

Documentation/devicetree/bindings/arm/axentia.txt

Lines changed: 0 additions & 28 deletions
This file was deleted.

Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Required properties for Pinctrl sub nodes:
124124
CONFIG settings.
125125

126126
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
127-
[2] Documentation/devicetree/bindings/power/power_domain.txt
127+
[2] Documentation/devicetree/bindings/power/power-domain.yaml
128128
[3] Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt
129129

130130
RTC bindings based on SCU Message Protocol

Documentation/devicetree/bindings/arm/samsung/exynos-chipid.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/arm/samsung/exynos-chipid.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Samsung Exynos SoC series Chipid driver
8+
9+
maintainers:
10+
- Krzysztof Kozlowski <[email protected]>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- const: samsung,exynos4210-chipid
16+
17+
reg:
18+
maxItems: 1
19+
20+
samsung,asv-bin:
21+
description:
22+
Adaptive Supply Voltage bin selection. This can be used
23+
to determine the ASV bin of an SoC if respective information
24+
is missing in the CHIPID registers or in the OTP memory.
25+
allOf:
26+
- $ref: /schemas/types.yaml#/definitions/uint32
27+
- enum: [ 0, 1, 2, 3 ]
28+
29+
required:
30+
- compatible
31+
- reg
32+
33+
examples:
34+
- |
35+
chipid@10000000 {
36+
compatible = "samsung,exynos4210-chipid";
37+
reg = <0x10000000 0x100>;
38+
samsung,asv-bin = <2>;
39+
};

Documentation/devicetree/bindings/arm/samsung/pmu.txt

Lines changed: 0 additions & 72 deletions
This file was deleted.
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/arm/samsung/pmu.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Samsung Exynos SoC series Power Management Unit (PMU)
8+
9+
maintainers:
10+
- Krzysztof Kozlowski <[email protected]>
11+
12+
# Custom select to avoid matching all nodes with 'syscon'
13+
select:
14+
properties:
15+
compatible:
16+
contains:
17+
enum:
18+
- samsung,exynos3250-pmu
19+
- samsung,exynos4210-pmu
20+
- samsung,exynos4412-pmu
21+
- samsung,exynos5250-pmu
22+
- samsung,exynos5260-pmu
23+
- samsung,exynos5410-pmu
24+
- samsung,exynos5420-pmu
25+
- samsung,exynos5433-pmu
26+
- samsung,exynos7-pmu
27+
required:
28+
- compatible
29+
30+
properties:
31+
compatible:
32+
items:
33+
- enum:
34+
- samsung,exynos3250-pmu
35+
- samsung,exynos4210-pmu
36+
- samsung,exynos4412-pmu
37+
- samsung,exynos5250-pmu
38+
- samsung,exynos5260-pmu
39+
- samsung,exynos5410-pmu
40+
- samsung,exynos5420-pmu
41+
- samsung,exynos5433-pmu
42+
- samsung,exynos7-pmu
43+
- const: syscon
44+
45+
reg:
46+
maxItems: 1
47+
48+
'#clock-cells':
49+
const: 1
50+
51+
clock-names:
52+
description:
53+
List of clock names for particular CLKOUT mux inputs
54+
minItems: 1
55+
maxItems: 32
56+
items:
57+
pattern: '^clkout([0-9]|[12][0-9]|3[0-1])$'
58+
59+
clocks:
60+
minItems: 1
61+
maxItems: 32
62+
63+
interrupt-controller:
64+
description:
65+
Some PMUs are capable of behaving as an interrupt controller (mostly
66+
to wake up a suspended PMU).
67+
68+
'#interrupt-cells':
69+
description:
70+
Must be identical to the that of the parent interrupt controller.
71+
const: 3
72+
73+
syscon-poweroff:
74+
$ref: "../../power/reset/syscon-poweroff.yaml#"
75+
type: object
76+
description:
77+
Node for power off method
78+
79+
syscon-reboot:
80+
$ref: "../../power/reset/syscon-reboot.yaml#"
81+
type: object
82+
description:
83+
Node for reboot method
84+
85+
required:
86+
- compatible
87+
- reg
88+
- '#clock-cells'
89+
- clock-names
90+
- clocks
91+
92+
examples:
93+
- |
94+
#include <dt-bindings/clock/exynos5250.h>
95+
96+
pmu_system_controller: system-controller@10040000 {
97+
compatible = "samsung,exynos5250-pmu", "syscon";
98+
reg = <0x10040000 0x5000>;
99+
interrupt-controller;
100+
#interrupt-cells = <3>;
101+
interrupt-parent = <&gic>;
102+
#clock-cells = <1>;
103+
clock-names = "clkout16";
104+
clocks = <&clock CLK_FIN_PLL>;
105+
};

0 commit comments

Comments
 (0)