mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark yao <mark.yao@rock-chips.com>
To: Sandy Huang <hjc@rock-chips.com>, David Airlie <airlied@linux.ie>,
	Heiko Stuebner <heiko@sntech.de>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 3/4] drm/rockchip: Add support for Rockchip Soc RGB output interface
Date: Tue, 17 Oct 2017 09:47:24 +0800	[thread overview]
Message-ID: <02a599df-c866-92dc-3aa0-f63c6bc67257@rock-chips.com> (raw)
In-Reply-To: <1507536416-110807-1-git-send-email-hjc@rock-chips.com>

On 2017年10月09日 16:06, Sandy Huang wrote:
> Some Rockchip CRTCs, like rv1108, can directly output parallel and
> serial RGB data to panel or conversion chip, so we add this driver to
> probe encoder and connector.
>
> Signed-off-by: Sandy Huang <hjc@rock-chips.com>
> ---
> Changes in v3:
>    update for rgb-mode move to panel node.
> Changes in v2:
>    1. add error log when probe failed;
>    2. update name_to_output_mode() according to sean's suggest;
>    3. Fix uninitialized use of ret.
>
>   drivers/gpu/drm/rockchip/Kconfig            |   9 +
>   drivers/gpu/drm/rockchip/Makefile           |   1 +
>   drivers/gpu/drm/rockchip/rockchip_drm_drv.c |   2 +
>   drivers/gpu/drm/rockchip/rockchip_drm_drv.h |   1 +
>   drivers/gpu/drm/rockchip/rockchip_rgb.c     | 343 ++++++++++++++++++++++++++++
>   5 files changed, 356 insertions(+)
>   create mode 100644 drivers/gpu/drm/rockchip/rockchip_rgb.c
>
> diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig
> index 0c31f0a..85c7cc5 100644
> --- a/drivers/gpu/drm/rockchip/Kconfig
> +++ b/drivers/gpu/drm/rockchip/Kconfig
> @@ -8,6 +8,7 @@ config DRM_ROCKCHIP
>   	select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP
>   	select DRM_DW_HDMI if ROCKCHIP_DW_HDMI
>   	select DRM_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI
> +	select DRM_RGB if ROCKCHIP_RGB
>   	select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
>   	help
>   	  Choose this option if you have a Rockchip soc chipset.
> @@ -65,4 +66,12 @@ config ROCKCHIP_LVDS
>   	  Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
>   	  support LVDS, rgb, dual LVDS output mode. say Y to enable its
>   	  driver.
> +
> +config ROCKCHIP_RGB
> +	bool "Rockchip RGB support"

See the fix[0] for lvds,  RGB driver using pinctl also need "depends on PINCTRL".

[0]https://patchwork.kernel.org/patch/9987017/

  reply	other threads:[~2017-10-17  1:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-09  8:06 [PATCH v3 0/4] Add support rockchip " Sandy Huang
2017-10-09  8:06 ` [PATCH v3 1/4] devicetree/bindings: display: Add doucument for RGB panels Sandy Huang
2017-10-09  8:06 ` [PATCH v3 2/4] devicetree/bindings: display: Add document for rockchip RGB output Sandy Huang
2017-10-09  8:06 ` [PATCH v3 3/4] drm/rockchip: Add support for Rockchip Soc RGB output interface Sandy Huang
2017-10-17  1:47   ` Mark yao [this message]
2017-10-17 15:43   ` Sean Paul
2017-10-09  8:07 ` [PATCH v3 4/4] drm/rockchip: vop: Add more RGB output interface type Sandy Huang
2017-10-17 15:43   ` Sean Paul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=02a599df-c866-92dc-3aa0-f63c6bc67257@rock-chips.com \
    --to=mark.yao@rock-chips.com \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=heiko@sntech.de \
    --cc=hjc@rock-chips.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®