cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

mediatek,od.yaml (1341B)


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