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 Device Tree Bindings
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
51 A ports node with endpoint definitions as defined in
52 Documentation/devicetree/bindings/media/video-interfaces.txt.
64 Input endpoints of the controller.
69 Output endpoints of the controller.
77 additionalProperties: false
88 additionalProperties: false
92 #include <dt-bindings/interrupt-controller/arm-gic.h>
94 #include <dt-bindings/clock/sun6i-a31-ccu.h>
95 #include <dt-bindings/reset/sun6i-a31-ccu.h>
98 compatible = "allwinner,sun6i-a31-drc";
99 reg = <0x01e70000 0x10000>;
100 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
101 clocks = <&ccu CLK_AHB1_DRC0>, <&ccu CLK_IEP_DRC0>,
102 <&ccu CLK_DRAM_DRC0>;
103 clock-names = "ahb", "mod",
105 resets = <&ccu RST_AHB1_DRC0>;
108 #address-cells = <1>;
114 drc0_in_be0: endpoint {
115 remote-endpoint = <&be0_out_drc0>;
120 #address-cells = <1>;
124 drc0_out_tcon0: endpoint@0 {
126 remote-endpoint = <&tcon0_in_drc0>;
129 drc0_out_tcon1: endpoint@1 {
131 remote-endpoint = <&tcon1_in_drc0>;