1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/med 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,od.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Mediatek display overdirve 7 title: Mediatek display overdirve 8 8 9 maintainers: 9 maintainers: 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 11 - Philipp Zabel <p.zabel@pengutronix.de> 12 12 13 description: | 13 description: | 14 Mediatek display overdrive, namely OD, incre 14 Mediatek display overdrive, namely OD, increases the transition values 15 of pixels between consecutive frames to make 15 of pixels between consecutive frames to make LCD rotate faster. 16 OD device node must be siblings to the centr 16 OD device node must be siblings to the central MMSYS_CONFIG node. 17 For a description of the MMSYS_CONFIG bindin 17 For a description of the MMSYS_CONFIG binding, see 18 Documentation/devicetree/bindings/arm/mediat 18 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml 19 for details. 19 for details. 20 20 21 properties: 21 properties: 22 compatible: 22 compatible: 23 oneOf: 23 oneOf: 24 - enum: 24 - enum: 25 - mediatek,mt2712-disp-od 25 - mediatek,mt2712-disp-od 26 - mediatek,mt8173-disp-od 26 - mediatek,mt8173-disp-od 27 - items: 27 - items: 28 - const: mediatek,mt6795-disp-od 28 - const: mediatek,mt6795-disp-od 29 - const: mediatek,mt8173-disp-od 29 - const: mediatek,mt8173-disp-od 30 30 31 reg: 31 reg: 32 maxItems: 1 32 maxItems: 1 33 33 34 interrupts: 34 interrupts: 35 maxItems: 1 35 maxItems: 1 36 36 37 clocks: 37 clocks: 38 items: 38 items: 39 - description: OD Clock 39 - description: OD Clock 40 40 41 required: 41 required: 42 - compatible 42 - compatible 43 - reg 43 - reg 44 - clocks 44 - clocks 45 45 46 additionalProperties: false 46 additionalProperties: false 47 47 48 examples: 48 examples: 49 - | 49 - | 50 #include <dt-bindings/clock/mt8173-clk.h> 50 #include <dt-bindings/clock/mt8173-clk.h> 51 51 52 soc { 52 soc { 53 #address-cells = <2>; 53 #address-cells = <2>; 54 #size-cells = <2>; 54 #size-cells = <2>; 55 55 56 od@14023000 { 56 od@14023000 { 57 compatible = "mediatek,mt8173-disp 57 compatible = "mediatek,mt8173-disp-od"; 58 reg = <0 0x14023000 0 0x1000>; 58 reg = <0 0x14023000 0 0x1000>; 59 clocks = <&mmsys CLK_MM_DISP_OD>; 59 clocks = <&mmsys CLK_MM_DISP_OD>; 60 }; 60 }; 61 }; 61 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.