Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/mediatek/mediatek,od.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Mediatek display overdirve
0008 
0009 maintainers:
0010   - Chun-Kuang Hu <chunkuang.hu@kernel.org>
0011   - Philipp Zabel <p.zabel@pengutronix.de>
0012 
0013 description: |
0014   Mediatek display overdrive, namely OD, increases the transition values
0015   of pixels between consecutive frames to make LCD rotate faster.
0016   OD device node must be siblings to the central MMSYS_CONFIG node.
0017   For a description of the MMSYS_CONFIG binding, see
0018   Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
0019   for details.
0020 
0021 properties:
0022   compatible:
0023     oneOf:
0024       - items:
0025           - const: mediatek,mt2712-disp-od
0026       - items:
0027           - const: mediatek,mt8173-disp-od
0028 
0029   reg:
0030     maxItems: 1
0031 
0032   interrupts:
0033     maxItems: 1
0034 
0035   clocks:
0036     items:
0037       - description: OD Clock
0038 
0039 required:
0040   - compatible
0041   - reg
0042   - clocks
0043 
0044 additionalProperties: false
0045 
0046 examples:
0047   - |
0048     #include <dt-bindings/clock/mt8173-clk.h>
0049 
0050     soc {
0051         #address-cells = <2>;
0052         #size-cells = <2>;
0053 
0054         od@14023000 {
0055             compatible = "mediatek,mt8173-disp-od";
0056             reg = <0 0x14023000 0 0x1000>;
0057             clocks = <&mmsys CLK_MM_DISP_OD>;
0058         };
0059     };