mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

Freescale i.MX8qxp Display Controller is implemented as construction set of building blocks with unified concept and standardized interfaces. Document all existing processing units. Signed-off-by: Liu Ying <victor.liu@nxp.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250414035028.1561475-2-victor.liu@nxp.com
84 lines
2.5 KiB
YAML
84 lines
2.5 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dc-scaling-engine.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Freescale i.MX8qxp Display Controller Scaling Engine
|
|
|
|
description: |
|
|
The unit can change the dimension of the input frame by nearest or linear
|
|
re-sampling with 1/32 sub pixel precision.
|
|
|
|
Internally it consist of two independent blocks for horizontal and vertical
|
|
scaling. The sequence of both operations is arbitrary.
|
|
|
|
Any frame dimensions between 1 and 16384 pixels in width and height are
|
|
supported, except that the vertical scaler has a frame width maximum
|
|
depending of the system's functional limitations.
|
|
|
|
In general all scale factors are supported inside the supported frame
|
|
dimensions. In range of scale factors 1/16..16 the filtered output colors
|
|
are LSBit precise (e.g. DC ripple free).
|
|
|
|
+-----------+
|
|
| Line |
|
|
| Buffer |
|
|
+-----------+
|
|
^
|
|
|
|
|
V
|
|
|\ +-----------+
|
|
------+ | | |
|
|
| | +-->| Vertical |----
|
|
| ----+ | | Scaler | |
|
|
| | |/ +-----------+ |
|
|
| | |
|
|
| | |
|
|
| | | |\
|
|
| ------------- -------------+-----+ |
|
|
Input --+ X | +--> Output
|
|
| ------------- -------------+-----+ |
|
|
| | | |/
|
|
| | |
|
|
| | |\ +-----------+ |
|
|
| ----+ | | | |
|
|
| | +-->| Horizontal|----
|
|
------+ | | Scaler |
|
|
|/ +-----------+
|
|
|
|
The unit supports downscaling, upscaling, sub pixel translation and bob
|
|
de-interlacing.
|
|
|
|
maintainers:
|
|
- Liu Ying <victor.liu@nxp.com>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- fsl,imx8qxp-dc-hscaler
|
|
- fsl,imx8qxp-dc-vscaler
|
|
|
|
reg:
|
|
maxItems: 2
|
|
|
|
reg-names:
|
|
items:
|
|
- const: pec
|
|
- const: cfg
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- reg-names
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
hscaler@561808c0 {
|
|
compatible = "fsl,imx8qxp-dc-hscaler";
|
|
reg = <0x561808c0 0x10>, <0x56183000 0x18>;
|
|
reg-names = "pec", "cfg";
|
|
};
|