| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-dither.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Freescale i.MX8qxp Display Controller Dither Unit |
| 8 |
|
| 9 |
description: | |
| 10 |
The unit can increase the physical color resolution of a display from 5, 6, 7 |
| 11 |
or 8 bits per RGB channel to a virtual resolution of 10 bits. The physical |
| 12 |
resolution can be set individually for each channel. |
| 13 |
|
| 14 |
The resolution is increased by mixing the two physical colors that are nearest |
| 15 |
to the virtual color code in a variable ratio either by time (temporal |
| 16 |
dithering) or by position (spatial dithering). |
| 17 |
|
| 18 |
An optimized algorithm for temporal dithering minimizes noise artifacts on the |
| 19 |
output image. |
| 20 |
|
| 21 |
The dither operation can be individually enabled or disabled for each pixel |
| 22 |
using the alpha input bit. |
| 23 |
|
| 24 |
maintainers: |
| 25 |
- Liu Ying <[email protected]> |
| 26 |
|
| 27 |
properties: |
| 28 |
compatible: |
| 29 |
const: fsl,imx8qxp-dc-dither |
| 30 |
|
| 31 |
reg: |
| 32 |
maxItems: 1 |
| 33 |
|
| 34 |
required: |
| 35 |
- compatible |
| 36 |
- reg |
| 37 |
|
| 38 |
additionalProperties: false |
| 39 |
|
| 40 |
examples: |
| 41 |
- | |
| 42 |
dither@5618c400 { |
| 43 |
compatible = "fsl,imx8qxp-dc-dither"; |
| 44 |
reg = <0x5618c400 0x14>; |
| 45 |
}; |