1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/display/allwinner,sun6i-a31-drc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A31 Dynamic Range Controller
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 The DRC (Dynamic Range Controller) allows to dynamically adjust
15 pixel brightness/contrast based on histogram measurements for LCD
16 content adaptive backlight control.
21 - allwinner,sun6i-a31-drc
22 - allwinner,sun6i-a31s-drc
23 - allwinner,sun8i-a23-drc
24 - allwinner,sun8i-a33-drc
25 - allwinner,sun9i-a80-drc
35 - description: The DRC interface clock
36 - description: The DRC module clock
37 - description: The DRC DRAM clock
49 $ref: /schemas/graph.yaml#/properties/ports
53 $ref: /schemas/graph.yaml#/properties/port
55 Input endpoints of the controller.
58 $ref: /schemas/graph.yaml#/properties/port
60 Output endpoints of the controller.
75 additionalProperties: false
79 #include <dt-bindings/interrupt-controller/arm-gic.h>
81 #include <dt-bindings/clock/sun6i-a31-ccu.h>
82 #include <dt-bindings/reset/sun6i-a31-ccu.h>
85 compatible = "allwinner,sun6i-a31-drc";
86 reg = <0x01e70000 0x10000>;
87 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
88 clocks = <&ccu CLK_AHB1_DRC0>, <&ccu CLK_IEP_DRC0>,
90 clock-names = "ahb", "mod",
92 resets = <&ccu RST_AHB1_DRC0>;
101 drc0_in_be0: endpoint {
102 remote-endpoint = <&be0_out_drc0>;
107 #address-cells = <1>;
111 drc0_out_tcon0: endpoint@0 {
113 remote-endpoint = <&tcon0_in_drc0>;
116 drc0_out_tcon1: endpoint@1 {
118 remote-endpoint = <&tcon1_in_drc0>;