Allwinner A10 Infrared Controller
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun4i-a10-ir.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rc.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun4i-a10-ir"
Rule 2
Exact value (
const):"allwinner,sun5i-a13-ir"
Rule 3
Exact value (
const):"allwinner,sun6i-a31-ir"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"allwinner,suniv-f1c100s-ir","allwinner,sun8i-a83t-ir","allwinner,sun8i-r40-ir","allwinner,sun50i-a64-ir","allwinner,sun50i-h6-ir","allwinner,sun50i-h616-ir"Item 2
Exact value (
const):"allwinner,sun6i-a31-ir"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb"
Item 2
Exact value (
const):"ir"
resets — not listed as required here #
Maximum number of items (maxItems): 1
clock-frequency — not listed as required here #
Default value (default): 8000000
IR Receiver clock frequency, in Hertz.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
ir0: ir@1c21800 {
compatible = "allwinner,sun4i-a10-ir";
clocks = <&apb0_gates 6>, <&ir0_clk>;
clock-names = "apb", "ir";
clock-frequency = <3000000>;
resets = <&apb0_rst 1>;
interrupts = <0 5 1>;
reg = <0x01C21800 0x40>;
linux,rc-map-name = "rc-rc6-mce";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0