Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Fixes issues #212 and #77 #215

Open
wants to merge 43 commits into
base: gvt-staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
d143c00
lockdep: Swap storage for pin_count and references
ickle Apr 25, 2019
ede1814
ftrace: Allow configuring global trace buffer size (for dump-on-oops)
ickle Nov 13, 2017
44ba0ab
kernel/panic: Show the stacktrace after additional notifier messages
ickle Sep 3, 2018
ebb31fd
x86: Downgrade clock throttling thermal event critical error
ickle Oct 9, 2018
d5eacbf
libata: Downgrade unsupported feature warnings to notifications
danvet Nov 16, 2021
debc8ee
perf/core: Avoid removing shared pmu_context on unregister
ickle May 12, 2017
5138814
ICL HACK: usb/icl: Work around ACPI boottime crash
ideak Jul 2, 2018
1bcd7a3
RFC: hung_task: taint kernel
danvet May 2, 2019
03b9fef
RFC: soft/hardlookup: taint kernel
danvet May 2, 2019
23c6f67
sched: Mark "RT throttling activated" as KERN_NOTICE
danvet Nov 16, 2021
107b575
net/sch_generic: Shut up noise
danvet Jul 18, 2017
c81dd68
mm: Show slab debug as offsets from section base not hashed pointers
ickle Jul 1, 2019
8ec8a98
uapi/perf: Squelch compiler warning
ickle Jul 27, 2019
447d5cb
drm/i915: Force compilation with intel-iommu for CI validation
ickle Sep 10, 2019
cbcf109
HAX iommu/intel: Ignore igfx_off
ickle Sep 10, 2019
cb9fb00
Revert "drm/i915: Don't select BROKEN"
jlahtine-intel Nov 6, 2019
277bdd3
HAX timer: Describe the delayed_work for a freed timer
ickle Apr 9, 2020
ebf52fb
pci/msi: Stop warning for MSI enabling failure
ickle Apr 23, 2020
60bfb3d
perf/core: Only copy-to-user after completely unlocking all locks, v3.
mlankhorst May 2, 2020
c21406f
HAX suspend: Disable S3/S4 for fi-bdw-samus
ickle Oct 31, 2020
fa91abc
HAX x86/rapl: Treat Tigerlake like Icelake
ickle Nov 11, 2020
f96d0b4
HAX sound: Disable probing snd_hda with DG1
ickle Nov 27, 2020
6c1c156
HAX net/phy: Suppress WARN for calling stop while halted
ickle Dec 17, 2020
c10ab29
HAX net/phy: Suppress WARN from phy_error
ickle Jan 21, 2021
6cf54f2
Merge remote-tracking branch 'drm-misc/drm-misc-fixes' into drm-tip
sravnborg Jul 9, 2022
7494c1e
Merge remote-tracking branch 'drm-intel/drm-intel-fixes' into drm-tip
sravnborg Jul 9, 2022
fca6518
Merge remote-tracking branch 'drm/drm-next' into drm-tip
sravnborg Jul 9, 2022
12359a7
Merge remote-tracking branch 'drm-misc/drm-misc-next' into drm-tip
sravnborg Jul 9, 2022
d39799b
Merge remote-tracking branch 'drm-intel/drm-intel-next' into drm-tip
sravnborg Jul 9, 2022
916a0ee
Merge remote-tracking branch 'drm-intel/drm-intel-gt-next' into drm-tip
sravnborg Jul 9, 2022
696cadd
Merge remote-tracking branch 'drm-intel/topic/core-for-CI' into drm-tip
sravnborg Jul 9, 2022
ebea934
drm-tip: 2022y-07m-09d-14h-01m-16s UTC integration manifest
sravnborg Jul 9, 2022
0f10311
drm/i915/gvt: fix typo in comment
JuliaLawall May 21, 2022
82509d9
drm/i915/gvt: Fix kernel-doc
May 24, 2022
c2165d5
drm/i915/gvt: Fix kernel-doc
May 24, 2022
3bfe9f1
drm/i915/gvt: Fix kernel-doc
Jun 2, 2022
65ee729
drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"
ColinIanKing Mar 15, 2022
320cd26
Merge remote-tracking branch 'vfio-upstream/for-linus' into gvt-staging
zhenyw Jul 11, 2022
1936863
Merge remote-tracking branch 'intel-iommu/iommu/fixes' into gvt-staging
zhenyw Jul 11, 2022
9620296
Merge remote-tracking branch 'origin/gvt-fixes' into gvt-staging
zhenyw Jul 11, 2022
aca05bf
Merge remote-tracking branch 'origin/gvt-next' into gvt-staging
zhenyw Jul 11, 2022
aaa6894
gvt-staging: 2022y-07m-11d-13h-06m-27s CST integration manifest
zhenyw Jul 11, 2022
c63e796
Fixes issue #212 and #77
smsilva98 Aug 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,22 @@ properties:
$ref: /schemas/graph.yaml#/$defs/port-base
unevaluatedProperties: false
description:
Video port for MIPI DSI input.
MIPI DSI/DPI input.

properties:
endpoint:
$ref: /schemas/media/video-interfaces.yaml#
type: object
additionalProperties: false

properties:
remote-endpoint: true

bus-type:
enum: [7]
default: 1

data-lanes: true

port@1:
$ref: /schemas/graph.yaml#/properties/port
Expand Down Expand Up @@ -143,6 +158,8 @@ examples:
reg = <0>;
anx7625_in: endpoint {
remote-endpoint = <&mipi_dsi>;
bus-type = <7>;
data-lanes = <0 1 2 3>;
};
};

Expand Down
173 changes: 173 additions & 0 deletions Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-ldb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-ldb.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale i.MX8qm/qxp LVDS Display Bridge

maintainers:
- Liu Ying <[email protected]>

description: |
The Freescale i.MX8qm/qxp LVDS Display Bridge(LDB) has two channels.

The i.MX8qm/qxp LDB is controlled by Control and Status Registers(CSR) module.
The CSR module, as a system controller, contains the LDB's configuration
registers.

For i.MX8qxp LDB, each channel supports up to 24bpp parallel input color
format and can map the input to VESA or JEIDA standards. The two channels
cannot be used simultaneously, that is to say, the user should pick one of
them to use. Two LDB channels from two LDB instances can work together in
LDB split mode to support a dual link LVDS display. The channel indexes
have to be different. Channel0 outputs odd pixels and channel1 outputs
even pixels.

For i.MX8qm LDB, each channel additionally supports up to 30bpp parallel
input color format. The two channels can be used simultaneously, either
in dual mode or split mode. In dual mode, the two channels output identical
data. In split mode, channel0 outputs odd pixels and channel1 outputs even
pixels.

A side note is that i.MX8qm/qxp LDB is officially called pixel mapper in
the SoC reference manuals. The pixel mapper uses logic of LDBs embedded in
i.MX6qdl/sx SoCs, i.e., it is essentially based on them. To keep the naming
consistency, this binding calls it LDB.

properties:
compatible:
enum:
- fsl,imx8qm-ldb
- fsl,imx8qxp-ldb

"#address-cells":
const: 1

"#size-cells":
const: 0

clocks:
items:
- description: pixel clock
- description: bypass clock

clock-names:
items:
- const: pixel
- const: bypass

power-domains:
maxItems: 1

fsl,companion-ldb:
$ref: /schemas/types.yaml#/definitions/phandle
description: |
A phandle which points to companion LDB which is used in LDB split mode.

patternProperties:
"^channel@[0-1]$":
type: object
description: Represents a channel of LDB.

properties:
"#address-cells":
const: 1

"#size-cells":
const: 0

reg:
description: The channel index.
enum: [ 0, 1 ]

phys:
description: A phandle to the phy module representing the LVDS PHY.
maxItems: 1

phy-names:
const: lvds_phy

port@0:
$ref: /schemas/graph.yaml#/properties/port
description: Input port of the channel.

port@1:
$ref: /schemas/graph.yaml#/properties/port
description: Output port of the channel.

required:
- "#address-cells"
- "#size-cells"
- reg
- phys
- phy-names

additionalProperties: false

required:
- compatible
- "#address-cells"
- "#size-cells"
- clocks
- clock-names
- power-domains
- channel@0
- channel@1

allOf:
- if:
properties:
compatible:
contains:
const: fsl,imx8qm-ldb
then:
properties:
fsl,companion-ldb: false

additionalProperties: false

examples:
- |
#include <dt-bindings/firmware/imx/rsrc.h>
ldb {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,imx8qxp-ldb";
clocks = <&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_MISC2>,
<&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_BYPASS>;
clock-names = "pixel", "bypass";
power-domains = <&pd IMX_SC_R_LVDS_0>;

channel@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
phys = <&mipi_lvds_0_phy>;
phy-names = "lvds_phy";

port@0 {
reg = <0>;

mipi_lvds_0_ldb_ch0_mipi_lvds_0_pxl2dpi: endpoint {
remote-endpoint = <&mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch0>;
};
};
};

channel@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
phys = <&mipi_lvds_0_phy>;
phy-names = "lvds_phy";

port@0 {
reg = <0>;

mipi_lvds_0_ldb_ch1_mipi_lvds_0_pxl2dpi: endpoint {
remote-endpoint = <&mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch1>;
};
};
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pixel-combiner.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale i.MX8qm/qxp Pixel Combiner

maintainers:
- Liu Ying <[email protected]>

description: |
The Freescale i.MX8qm/qxp Pixel Combiner takes two output streams from a
single display controller and manipulates the two streams to support a number
of modes(bypass, pixel combine, YUV444 to YUV422, split_RGB) configured as
either one screen, two screens, or virtual screens. The pixel combiner is
also responsible for generating some of the control signals for the pixel link
output channel.
properties:
compatible:
enum:
- fsl,imx8qm-pixel-combiner
- fsl,imx8qxp-pixel-combiner

"#address-cells":
const: 1

"#size-cells":
const: 0

reg:
maxItems: 1

clocks:
maxItems: 1

clock-names:
const: apb

power-domains:
maxItems: 1

patternProperties:
"^channel@[0-1]$":
type: object
description: Represents a display stream of pixel combiner.

properties:
"#address-cells":
const: 1

"#size-cells":
const: 0

reg:
description: The display stream index.
enum: [ 0, 1 ]

port@0:
$ref: /schemas/graph.yaml#/properties/port
description: Input endpoint of the display stream.

port@1:
$ref: /schemas/graph.yaml#/properties/port
description: Output endpoint of the display stream.

required:
- "#address-cells"
- "#size-cells"
- reg
- port@0
- port@1

additionalProperties: false

required:
- compatible
- "#address-cells"
- "#size-cells"
- reg
- clocks
- clock-names
- power-domains

additionalProperties: false

examples:
- |
#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
pixel-combiner@56020000 {
compatible = "fsl,imx8qxp-pixel-combiner";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x56020000 0x10000>;
clocks = <&dc0_pixel_combiner_lpcg IMX_LPCG_CLK_4>;
clock-names = "apb";
power-domains = <&pd IMX_SC_R_DC_0>;
channel@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
port@0 {
reg = <0>;
dc0_pixel_combiner_ch0_dc0_dpu_disp0: endpoint {
remote-endpoint = <&dc0_dpu_disp0_dc0_pixel_combiner_ch0>;
};
};
port@1 {
reg = <1>;
dc0_pixel_combiner_ch0_dc0_pixel_link0: endpoint {
remote-endpoint = <&dc0_pixel_link0_dc0_pixel_combiner_ch0>;
};
};
};
channel@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
port@0 {
reg = <0>;
dc0_pixel_combiner_ch1_dc0_dpu_disp1: endpoint {
remote-endpoint = <&dc0_dpu_disp1_dc0_pixel_combiner_ch1>;
};
};
port@1 {
reg = <1>;
dc0_pixel_combiner_ch1_dc0_pixel_link1: endpoint {
remote-endpoint = <&dc0_pixel_link1_dc0_pixel_combiner_ch1>;
};
};
};
};
Loading