Apple FPWM controller

Schema identifier ($id): "http://devicetree.org/schemas/pwm/apple,s5l-fpwm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "asahi@lists.linux.dev", "Sasha Finkelstein <fnkl.kernel@gmail.com>"

PWM controller used for keyboard backlight on ARM Macs

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "apple,t8103-fpwm", "apple,t8112-fpwm", "apple,t6000-fpwm", "apple,t6020-fpwm"

Item 2

Exact value (const): "apple,s5l-fpwm"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

#pwm-cells — not listed as required here #

Exact value (const): 2

Required in this object (required): "compatible", "reg", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pwm@235044000 {
  compatible = "apple,t8103-fpwm", "apple,s5l-fpwm";
  reg = <0x35044000 0x4000>;
  power-domains = <&ps_fpwm1>;
  clocks = <&clkref>;
  #pwm-cells = <2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page