Unverified Commit 7b6c5fb1 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2381 Add Phytium Display Engine support to the OLK-5.10.

Merge Pull Request from: @lishuo123123 
 
This is Phytium Display Engine support,DC/DP driver patch. 
 
Link:https://gitee.com/openeuler/kernel/pulls/2381

 

Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents c2c991df 0568bc65
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/dc/snps,dc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Phytium Display Controller

maintainers:
  - Chen Baozi <chenbaozi@phytium.com.cn>

allOf:
  - $ref: /schemas/dc/display-controller.yaml#

properties:
  compatible:
    const: phytium,dc

  reg:
    minItems: 1
    items:
      - description: Offset and length of the memory mapped registers

  interrupts:
    maxItems: 1

  clocks:
    minItems: 1
    items:
      - description:Display controller reference clock source

unevaluatedProperties: false

required:
  - compatible
  - reg
  - interrupts

Example:
       /memreserve/ 0xf4000000 0x4000000; // (optional)

       dc0@32000000 {
               compatible = "phytium,dc";
               reg = <0x0 0x32000000 0x0 0x8000>,
                     <0x0 0xf4000000 0x0 0x4000000>; // (optional)
               interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
               pipe_mask = 0x3
               edp_mask = 0x0;
       };
+2 −0
Original line number Diff line number Diff line
@@ -816,6 +816,8 @@ patternProperties:
    description: PHICOMM Co., Ltd.
  "^phytec,.*":
    description: PHYTEC Messtechnik GmbH
  "^phytium,.*":
    description: Phytium Technology Co., Ltd.
  "^picochip,.*":
    description: Picochip Ltd
  "^pine64,.*":
+2 −0
Original line number Diff line number Diff line
@@ -397,6 +397,8 @@ source "drivers/gpu/drm/tidss/Kconfig"

source "drivers/gpu/drm/xlnx/Kconfig"

source "drivers/gpu/drm/phytium/Kconfig"

# Keep legacy drivers last

menuconfig DRM_LEGACY
+1 −0
Original line number Diff line number Diff line
@@ -126,3 +126,4 @@ obj-$(CONFIG_DRM_MCDE) += mcde/
obj-$(CONFIG_DRM_TIDSS) += tidss/
obj-y			+= xlnx/
obj-$(CONFIG_DRM_INSPUR) += inspur/
obj-$(CONFIG_DRM_PHYTIUM) += phytium/
+7 −0
Original line number Diff line number Diff line
config DRM_PHYTIUM
	tristate "DRM Support for Phytium Graphics Card"
	depends on DRM && ARCH_PHYTIUM
	select DRM_KMS_HELPER
	help
	  Choose this option if you have a phytium graphics card.
	  This driver provides kernel mode setting and buffer management to userspace.
Loading