Samsung DTS ARM changes for v5.20, part two

1. Cleanups: align SDHCI node names.
 2. DT bindings: Document preferred compatible naming schema.
 3. DT bindings: fixes and improvements to Exynos PMU bindings.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmLGkn8QHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD1xGMD/9pmiDFs/16HP8QmEJ+0YuilCyuoBEX0osb
 yfThqoCJ7ZUsJqukPMcCojxH5v65st2EC/ca9VdLFGNek2DZoRd60BbCDJ/9TnkN
 PZGqUm2EV2IQZu+OaJ6xS76OWirM+XKVNege5x0cM8yGMrMUVPBPNNzUpRxFDLNC
 wV0AEwSWL6AIhJ/8IU0zjLSWSdd4sbxo2NuYb+gGztdZlK7qvSSUQQQH9OGy/DUR
 X+gbRwjlVS9taj0aAmYf51iz/tEEzogFie4EX5aenhJDw+7ZkR1md6kNXhR365QE
 Q9GkKnktBuayRqt90kKSRl2QpPm+Pdq+gj5HTfZV0GI7bFLMNcjjwoGIcN9tT+TU
 D3QoB9WvQLe2KuZCS1n31uDQJ1dFgES4o0xCnzDv3ad63mWCgtu6rYnBxfyoOq0O
 EZnYN564OPUpgR09z5DgxrRp715S8YspbQo/s33bmuJ0V4ezId8aGeeH45dwlNeJ
 jEMCrdYHRTu2gphA9qU7MOXaZsuwCR0oBn96okQjMb4Lous77hp/s+D214jM75Rs
 t5/68c4p7a08Y9meoysgcdKOp9p8FbpHKCZDCIaLoJwWHPLmOW0UjGrIlgT0jOB9
 ci1+SjhDnxEcOlrEiAeNMAqMa1AxA9fEJY+joAvVwdnM32mrMuqoy+k7NHT4NIXy
 8gmw6edbLQ==
 =vWaQ
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmLGl4UACgkQmmx57+YA
 GNlDZBAAtw7FMoswmtWZyuvFZRkpzej7pcj/VOjDukNw7g19ozGsKTOv5nrKIsZE
 BpO8EJAgUcVWz7REytTf+1LPSHARtGBy2TCu2uSoO7/Kw4vQStnWSBn64wWl9ICY
 q5Wlmk/LcG77VyfwlOoFnZ97b/M3fbnOEyU55A/pR6q41uy7CD27j06XV/l6wuSi
 gN97BgYTwFJbihhBa+4F02cSEauAiOXNvzi0RyasriFu4BJAkxGp8zZZ8sOMYFFs
 muNBNSU0wacBr+6tu+S6hjgksF4wOCczmw+pCn3r7nplhIzuDpXczYd6mP9lyMyA
 wGBG8SaDXSZcmnvph9lYpzgzpF00ddZEKHWf/+CpcVtx8hrgx7JEmugd/oJhh78i
 8cPIvNAGDn6AeXpML0zIa9tqsj1WgzQohObiJMkXWrKdGxk7RLVqwj3WwVr7RxN3
 5dFeYJSteWwGBESO1hN1RHepPTAPCXsb9K1M/G8ysQdPVgU1XvmVAINpPBuj4vjH
 hnscu109yKHA3v93IUfnoJF1/eRuVOGezealildggphNnKJatxao2Moceu8mRTKM
 2WWr+6XXo593jdLkjiJTv6cX2y7Dm5X9FyLYBOfet80O1iNTybw//QJ9voiG77dQ
 PpviVgllB2xWYkryRsWuFsa8RqSwYKur0JrCU3+0l+Z6xlBMyn0=
 =2e3m
 -----END PGP SIGNATURE-----

Merge tag 'samsung-dt-5.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into arm/dt

Samsung DTS ARM changes for v5.20, part two

1. Cleanups: align SDHCI node names.
2. DT bindings: Document preferred compatible naming schema.
3. DT bindings: fixes and improvements to Exynos PMU bindings.

* tag 'samsung-dt-5.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  dt-bindings: soc: samsung: exynos-pmu: add reboot-mode
  dt-bindings: soc: samsung: exynos-pmu: use abolute ref paths
  dt-bindings: soc: samsung: exynos-pmu: cleanup assigned clocks
  dt-bindings: samsung: document preferred compatible naming
  ARM: dts: s5pv210: align SDHCI node name with dtschema
  ARM: dts: s3c64xx: align SDHCI node name with dtschema
  ARM: dts: s3c24xx: align SDHCI node name with dtschema
  ARM: dts: exynos: align SDHCI node name with dtschema

Link: https://lore.kernel.org/r/20220707080408.69251-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2022-07-07 10:21:24 +02:00
commit 8873d6b877
6 changed files with 61 additions and 18 deletions

View File

@ -0,0 +1,40 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/samsung/samsung-soc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Samsung S3C, S5P and Exynos SoC compatibles naming convention
maintainers:
- Krzysztof Kozlowski <krzk@kernel.org>
description: |
Guidelines for new compatibles for SoC blocks/components.
When adding new compatibles in new bindings, use the format::
samsung,SoC-IP
For example::
samsung,exynos5433-cmu-isp
select:
properties:
compatible:
pattern: "^samsung,.*(s3c|s5pv|exynos)[0-9a-z]+.*$"
required:
- compatible
properties:
compatible:
oneOf:
- description: Preferred naming style for compatibles of SoC components
pattern: "^samsung,(s3c|s5pv|exynos|exynosautov)[0-9]+-.*$"
# Legacy compatibles with wild-cards - list cannot grow with new bindings:
- enum:
- samsung,exynos4x12-pinctrl
- samsung,exynos4x12-usb2-phy
- samsung,s3c64xx-pinctrl
- samsung,s3c64xx-wakeup-eint
additionalProperties: true

View File

@ -49,9 +49,6 @@ properties:
reg:
maxItems: 1
assigned-clock-parents: true
assigned-clocks: true
'#clock-cells':
const: 1
@ -77,14 +74,20 @@ properties:
Must be identical to the that of the parent interrupt controller.
const: 3
reboot-mode:
$ref: /schemas/power/reset/syscon-reboot-mode.yaml
type: object
description:
Reboot mode to alter bootloader behavior for the next boot
syscon-poweroff:
$ref: "../../power/reset/syscon-poweroff.yaml#"
$ref: /schemas/power/reset/syscon-poweroff.yaml#
type: object
description:
Node for power off method
syscon-reboot:
$ref: "../../power/reset/syscon-reboot.yaml#"
$ref: /schemas/power/reset/syscon-reboot.yaml#
type: object
description:
Node for reboot method

View File

@ -316,7 +316,7 @@
status = "disabled";
};
sdhci_0: sdhci@12510000 {
sdhci_0: mmc@12510000 {
compatible = "samsung,exynos4210-sdhci";
reg = <0x12510000 0x100>;
interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
@ -325,7 +325,7 @@
status = "disabled";
};
sdhci_1: sdhci@12520000 {
sdhci_1: mmc@12520000 {
compatible = "samsung,exynos4210-sdhci";
reg = <0x12520000 0x100>;
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
@ -334,7 +334,7 @@
status = "disabled";
};
sdhci_2: sdhci@12530000 {
sdhci_2: mmc@12530000 {
compatible = "samsung,exynos4210-sdhci";
reg = <0x12530000 0x100>;
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
@ -343,7 +343,7 @@
status = "disabled";
};
sdhci_3: sdhci@12540000 {
sdhci_3: mmc@12540000 {
compatible = "samsung,exynos4210-sdhci";
reg = <0x12540000 0x100>;
interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;

View File

@ -45,7 +45,7 @@
status = "disabled";
};
sdhci_1: sdhci@4ac00000 {
sdhci_1: mmc@4ac00000 {
compatible = "samsung,s3c6410-sdhci";
reg = <0x4AC00000 0x100>;
interrupts = <0 0 21 3>;
@ -56,7 +56,7 @@
status = "disabled";
};
sdhci_0: sdhci@4a800000 {
sdhci_0: mmc@4a800000 {
compatible = "samsung,s3c6410-sdhci";
reg = <0x4A800000 0x100>;
interrupts = <0 0 20 3>;

View File

@ -59,7 +59,7 @@
#interrupt-cells = <1>;
};
sdhci0: sdhci@7c200000 {
sdhci0: mmc@7c200000 {
compatible = "samsung,s3c6410-sdhci";
reg = <0x7c200000 0x100>;
interrupt-parent = <&vic1>;
@ -70,7 +70,7 @@
status = "disabled";
};
sdhci1: sdhci@7c300000 {
sdhci1: mmc@7c300000 {
compatible = "samsung,s3c6410-sdhci";
reg = <0x7c300000 0x100>;
interrupt-parent = <&vic1>;
@ -81,7 +81,7 @@
status = "disabled";
};
sdhci2: sdhci@7c400000 {
sdhci2: mmc@7c400000 {
compatible = "samsung,s3c6410-sdhci";
reg = <0x7c400000 0x100>;
interrupt-parent = <&vic1>;

View File

@ -357,7 +357,7 @@
status = "disabled";
};
sdhci0: sdhci@eb000000 {
sdhci0: mmc@eb000000 {
compatible = "samsung,s3c6410-sdhci";
reg = <0xeb000000 0x100000>;
interrupt-parent = <&vic1>;
@ -368,7 +368,7 @@
status = "disabled";
};
sdhci1: sdhci@eb100000 {
sdhci1: mmc@eb100000 {
compatible = "samsung,s3c6410-sdhci";
reg = <0xeb100000 0x100000>;
interrupt-parent = <&vic1>;
@ -379,7 +379,7 @@
status = "disabled";
};
sdhci2: sdhci@eb200000 {
sdhci2: mmc@eb200000 {
compatible = "samsung,s3c6410-sdhci";
reg = <0xeb200000 0x100000>;
interrupt-parent = <&vic1>;
@ -390,7 +390,7 @@
status = "disabled";
};
sdhci3: sdhci@eb300000 {
sdhci3: mmc@eb300000 {
compatible = "samsung,s3c6410-sdhci";
reg = <0xeb300000 0x100000>;
interrupt-parent = <&vic3>;