From: cailiwei <cailiwei@hisilicon.com>
To: <linux-fbdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<b.zolnierkie@samsung.com>, <guodong.xu@linaro.org>
Cc: <suzhuangluan@hisilicon.com>, <dengqingshan@hisilicon.com>,
<xuhongtao8@hisilicon.com>, <zhengwanchun@hisilicon.com>,
<shizongxuan@huawei.com>, <cailiwei@hisilicon.com>
Subject: [PATCH 1/8] fb: hisilicon: Add framebuffer driver for hi3660 SoC
Date: Tue, 7 Feb 2017 10:35:52 +0800 [thread overview]
Message-ID: <20170207023559.79455-1-cailiwei@hisilicon.com> (raw)
From: Levy-Cai <cailiwei@hisilicon.com>
Add framebuffer driver for hi3660 SoC, this driver include lcd
driver & Hdmi adv7533/adv7535 driver, support lcd display at
1080p@60 and hdmi display at 1080p@60.
Signed-off-by: cailiwei <cailiwei@hisilicon.com>
---
drivers/video/fbdev/Kconfig | 11 ++++++++++
drivers/video/fbdev/Makefile | 1 +
drivers/video/fbdev/hisi/Kconfig | 6 +++++
drivers/video/fbdev/hisi/dss/Makefile | 41 +++++++++++++++++++++++++++++++++++
4 files changed, 59 insertions(+)
mode change 100644 => 100755 drivers/video/fbdev/Kconfig
mode change 100644 => 100755 drivers/video/fbdev/Makefile
create mode 100755 drivers/video/fbdev/hisi/Kconfig
create mode 100755 drivers/video/fbdev/hisi/dss/Makefile
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
old mode 100644
new mode 100755
index 5d3b0db5ce0a..85c46cc75908
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -2429,6 +2429,16 @@ config FB_HYPERV
help
This framebuffer driver supports Microsoft Hyper-V Synthetic Video.
+config FB_HISI
+ tristate "Hisilicon Framebuffer support"
+ depends on FB
+ select FB_CFB_FILLRECT
+ select FB_CFB_COPYAREA
+ select FB_CFB_IMAGEBLIT
+ select REGMAP
+ help
+ This framebuffer driver supports Hisilicon FB.
+
config FB_SIMPLE
bool "Simple framebuffer support"
depends on (FB = y)
@@ -2448,6 +2458,7 @@ config FB_SIMPLE
source "drivers/video/fbdev/omap/Kconfig"
source "drivers/video/fbdev/omap2/Kconfig"
source "drivers/video/fbdev/mmp/Kconfig"
+source "drivers/video/fbdev/hisi/Kconfig"
config FB_SH_MOBILE_MERAM
tristate "SuperH Mobile MERAM read ahead support"
diff --git a/drivers/video/fbdev/Makefile b/drivers/video/fbdev/Makefile
old mode 100644
new mode 100755
index ee8c81405a7f..a10d3d2793e3
--- a/drivers/video/fbdev/Makefile
+++ b/drivers/video/fbdev/Makefile
@@ -23,6 +23,7 @@ obj-$(CONFIG_FB_I740) += i740fb.o
obj-$(CONFIG_FB_MATROX) += matrox/
obj-$(CONFIG_FB_RIVA) += riva/
obj-$(CONFIG_FB_NVIDIA) += nvidia/
+obj-$(CONFIG_FB_HISI) += hisi/dss/
obj-$(CONFIG_FB_ATY) += aty/ macmodes.o
obj-$(CONFIG_FB_ATY128) += aty/ macmodes.o
obj-$(CONFIG_FB_RADEON) += aty/
diff --git a/drivers/video/fbdev/hisi/Kconfig b/drivers/video/fbdev/hisi/Kconfig
new file mode 100755
index 000000000000..c30747d52a38
--- /dev/null
+++ b/drivers/video/fbdev/hisi/Kconfig
@@ -0,0 +1,6 @@
+config HISI_FB_KIRIN960
+ tristate "HISI FB KIRIN960 Framebuffer support"
+ depends on FB_HISI
+
+ help
+ This framebuffer driver supports KIRIN960 FB.
diff --git a/drivers/video/fbdev/hisi/dss/Makefile b/drivers/video/fbdev/hisi/dss/Makefile
new file mode 100755
index 000000000000..60004880dd80
--- /dev/null
+++ b/drivers/video/fbdev/hisi/dss/Makefile
@@ -0,0 +1,41 @@
+ifeq ($(CONFIG_HISI_FB_KIRIN960),y)
+obj-$(CONFIG_HISI_FB_KIRIN960) := hisifb.o
+endif
+
+hisifb-objs := \
+ hisi_mipi_dsi_host.o \
+ hisi_mipi_dsi.o \
+ hisi_dpe.o \
+ hisi_fb_panel.o \
+ hisi_fb_isr.o \
+ hisi_fb_vsync.o \
+ hisi_fb_buf_sync.o \
+ hisi_fb_bl.o \
+ hisi_fb_utils.o \
+ hisi_fb.o \
+ hisi_overlay_utils.o \
+ hisi_block_algorithm.o \
+ hisi_overlay_online.o \
+ hisi_overlay_cmdlist_utils.o
+
+ifeq ($(CONFIG_HISI_FB_KIRIN960),y)
+hisifb-objs += \
+ hisi_dpe_utils_hi3660.o \
+ hisi_overlay_utils_hi3660.o \
+ panel/mipi_hikey_nte300nts.o \
+ hdmi/adv75xx.o \
+ hdmi/mipi_adi_hdmi.o
+endif
+
+EXTRA_CFLAGS += -Idrivers/video/hisi/dss \
+ -Idrivers/video/hisi/panel \
+ -Idrivers/video/hisi \
+ -Iinclude \
+ -Idrivers/staging/android
+
+ifeq ($(CONFIG_HISI_PERIDVFS),y)
+EXTRA_CFLAGS += -Idrivers/clk/hisi/peri_dvfs
+endif
+
+clean:
+ rm *.o .*cmd
--
2.12.0-rc0
next reply other threads:[~2017-02-07 2:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20170207024027epcas5p2528e797ee0c34cb60d97f0b659f4acbf@epcas5p2.samsung.com>
2017-02-07 2:35 ` cailiwei [this message]
2017-02-07 2:35 ` [PATCH 2/8] " cailiwei
2017-02-07 2:35 ` [PATCH 3/8] " cailiwei
2017-02-07 2:35 ` [PATCH 4/8] " cailiwei
2017-02-07 2:35 ` [PATCH 5/8] " cailiwei
2017-02-07 2:35 ` [PATCH 6/8] " cailiwei
2017-02-07 2:35 ` [PATCH 7/8] " cailiwei
2017-02-07 2:35 ` [PATCH 8/8] " cailiwei
2017-02-08 16:07 ` [PATCH 1/8] " Bartlomiej Zolnierkiewicz
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=20170207023559.79455-1-cailiwei@hisilicon.com \
--to=cailiwei@hisilicon.com \
--cc=b.zolnierkie@samsung.com \
--cc=dengqingshan@hisilicon.com \
--cc=guodong.xu@linaro.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shizongxuan@huawei.com \
--cc=suzhuangluan@hisilicon.com \
--cc=xuhongtao8@hisilicon.com \
--cc=zhengwanchun@hisilicon.com \
/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®