NVIDIA Tegra PWFM controller
Schema identifier ($id): "http://devicetree.org/schemas/pwm/nvidia,tegra20-pwm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"nvidia,tegra20-pwm","nvidia,tegra186-pwm"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"nvidia,tegra30-pwm","nvidia,tegra114-pwm","nvidia,tegra124-pwm","nvidia,tegra132-pwm","nvidia,tegra210-pwm"Item 2
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra194-pwm"Item 2
Exact value (
const):"nvidia,tegra186-pwm"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra234-pwm"Item 2
Exact value (
const):"nvidia,tegra194-pwm"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Array item rules (items) #
Item 1
module reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pwm"
#pwm-cells — not listed as required here #
Exact value (const): 2
pinctrl-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"default"
Item 2
Exact value (
const):"sleep"
pinctrl-0 — not listed as required here #
configuration for the default/active state
pinctrl-1 — not listed as required here #
configuration for the sleep state
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
power-domains — not listed as required here #
Array item rules (items) #
Item 1
phandle to the core power domain
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pwm.yaml
Required in this object (required): "compatible", "reg", "clocks", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/tegra20-car.h>
pwm: pwm@7000a000 {
compatible = "nvidia,tegra20-pwm";
reg = <0x7000a000 0x100>;
#pwm-cells = <2>;
clocks = <&tegra_car TEGRA20_CLK_PWM>;
resets = <&tegra_car 17>;
reset-names = "pwm";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)