Samsung Exynos SoC series Power Management Unit (PMU)
Schema identifier ($id): "http://devicetree.org/schemas/soc/samsung/exynos-pmu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"samsung,exynos3250-pmu","samsung,exynos4210-pmu","samsung,exynos4212-pmu","samsung,exynos4412-pmu","samsung,exynos5250-pmu","samsung,exynos5260-pmu","samsung,exynos5410-pmu","samsung,exynos5420-pmu","samsung,exynos5433-pmu","samsung,exynos7-pmu","samsung,exynos850-pmu","samsung-s5pv210-pmu"Item 2
Exact value (
const):"syscon"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"axis,artpec9-pmu","samsung,exynos2200-pmu","samsung,exynos7870-pmu","samsung,exynos7885-pmu","samsung,exynos8890-pmu","samsung,exynos8895-pmu","samsung,exynos9810-pmu","samsung,exynos990-pmu","samsung,exynosautov9-pmu","samsung,exynosautov920-pmu","tesla,fsd-pmu"Item 2
Exact value (
const):"samsung,exynos7-pmu"Item 3
Exact value (
const):"syscon"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"samsung,exynos3250-pmu","samsung,exynos4210-pmu","samsung,exynos4212-pmu","samsung,exynos4412-pmu","samsung,exynos5250-pmu","samsung,exynos5420-pmu","samsung,exynos5433-pmu"Item 2
Exact value (
const):"simple-mfd"Item 3
Exact value (
const):"syscon"
reg — required here #
Maximum number of items (maxItems): 1
#clock-cells — not listed as required here #
Exact value (const): 1
clock-names — not listed as required here #
List of clock names for particular CLKOUT mux inputs
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
Array item rules (items) #
String pattern (
pattern):"^clkout([0-9]|[12][0-9]|3[0-1])$"
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
dp-phy — not listed as required here #
Shared schema rule ($ref): /schemas/phy/samsung,dp-video-phy.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
interrupt-controller — not listed as required here #
Some PMUs are capable of behaving as an interrupt controller (mostly to wake up a suspended PMU).
#interrupt-cells — not listed as required here #
Must be identical to the that of the parent interrupt controller.
Exact value (const): 3
mipi-phy — not listed as required here #
Shared schema rule ($ref): /schemas/phy/samsung,mipi-video-phy.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
reboot-mode — not listed as required here #
Shared schema rule ($ref): /schemas/power/reset/syscon-reboot-mode.yaml
Value type (type): "object"
Reboot mode to alter bootloader behavior for the next boot
syscon-poweroff — not listed as required here #
Shared schema rule ($ref): /schemas/power/reset/syscon-poweroff.yaml#
Value type (type): "object"
Node for power off method
syscon-reboot — not listed as required here #
Shared schema rule ($ref): /schemas/power/reset/syscon-reboot.yaml#
Value type (type): "object"
Node for reboot method
google,pmu-intr-gen-syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to PMU interrupt generation interface.
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"samsung,exynos3250-pmu","samsung,exynos4210-pmu","samsung,exynos4212-pmu","samsung,exynos4412-pmu","samsung,exynos5250-pmu","samsung,exynos5410-pmu","samsung,exynos5420-pmu","samsung,exynos5433-pmu"When the condition matches (
then) #Required in this object (
required):"#clock-cells","clock-names","clocks"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"samsung,exynos3250-pmu","samsung,exynos4210-pmu","samsung,exynos4212-pmu","samsung,exynos4412-pmu","samsung,exynos5250-pmu","samsung,exynos5420-pmu","samsung,exynos5433-pmu","samsung,exynos7870-pmu"When the condition matches (
then) #Properties and child nodes (
properties)
mipi-phy— not listed as required here
true— No constraints added by this property rule.When the condition does not match (
else) #Properties and child nodes (
properties)
mipi-phy— not listed as required here
false— Not permitted by this property rule.
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"samsung,exynos5250-pmu","samsung,exynos5420-pmu","samsung,exynos5433-pmu"When the condition matches (
then) #Properties and child nodes (
properties)
dp-phy— not listed as required here
true— No constraints added by this property rule.When the condition does not match (
else) #Properties and child nodes (
properties)
dp-phy— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Required in this object (
required):"google,pmu-intr-gen-syscon"When the condition does not match (
else) #Properties and child nodes (
properties)
google,pmu-intr-gen-syscon— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/clock/exynos5250.h>
pmu_system_controller: system-controller@10040000 {
compatible = "samsung,exynos5250-pmu", "syscon";
reg = <0x10040000 0x5000>;
interrupt-controller;
#interrupt-cells = <3>;
interrupt-parent = <&gic>;
#clock-cells = <1>;
clock-names = "clkout16";
clocks = <&clock CLK_FIN_PLL>;
dp-phy {
compatible = "samsung,exynos5250-dp-video-phy";
#phy-cells = <0>;
};
mipi-phy {
compatible = "samsung,s5pv210-mipi-video-phy";
#phy-cells = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0