From: "eric.gao"
if we enable PMIC rk808,the system will halt at very early stage
,log is shown as bellow.
INFO:plat_rockchip_pmu_init(1211): pd status 3e
INFO:BL31: Initializing runtime services
INFO:BL31: Preparing for EL3 exit to normal world
INFO:Entry point address = 0x2
From: "eric.gao"
This serial patchs enable mipi dsi display for rk3399,and let the
system log print to lcd. The function of each patch is decribe in
the following.Thank you.
Patch 1: Fix system halt when we enable bucks of PMIC rk808.
Patch 2: Enable i2c for rk3399.
Patch 3: Enable PMIC rk808 f
From: "eric.gao"
Signed-off-by: eric.gao
---
arch/arm/dts/rk3399-evb.dts | 108 +++
configs/evb-rk3399_defconfig | 5 ++
2 files changed, 113 insertions(+)
diff --git a/arch/arm/dts/rk3399-evb.dts b/arch/arm/dts/rk3399-evb.dts
index a959989..7a889c7
From: "eric.gao"
This serial patchs enable mipi dsi display for rk3399,and let the
system log print to lcd. The function of each patch is decribe in
the following.Thank you.
Patch 1: Fix system halt when we enable bucks of PMIC rk808.
Patch 2: Enable i2c for rk3399.
Patch 3: Enable PMIC rk808 f
From: "eric.gao"
Signed-off-by: eric.gao
---
drivers/clk/rockchip/clk_rk3399.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/clk/rockchip/clk_rk3399.c
b/drivers/clk/rockchip/clk_rk3399.c
index 922ce7e..cfcd1e4 100644
--- a/drivers/clk/rockchip/clk_rk3399.c
+++ b/drivers/clk/
From: "eric.gao"
Signed-off-by: eric.gao
---
configs/evb-rk3399_defconfig| 1 +
include/configs/rk3399_common.h | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index b9cb0e8..89b2e17 100644
--- a/configs/e
From: "eric.gao"
Signed-off-by: eric.gao
---
arch/arm/dts/rk3399.dtsi | 16
configs/evb-rk3399_defconfig | 1 +
drivers/i2c/rk_i2c.c | 1 +
3 files changed, 18 insertions(+)
diff --git a/arch/arm/dts/rk3399.dtsi b/arch/arm/dts/rk3399.dtsi
index 456fdb6..93e3bf4
From: "eric.gao"
if we enable PMIC rk808,the system will halt at very early stage
,log is shown as bellow.
INFO:plat_rockchip_pmu_init(1211): pd status 3e
INFO:BL31: Initializing runtime services
INFO:BL31: Preparing for EL3 exit to normal world
INFO:Entry point address = 0x2
From: "eric.gao"
Signed-off-by: eric.gao
---
arch/arm/dts/rk3399-evb.dts | 33 ++
arch/arm/dts/rk3399.dtsi | 72 +
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 2 +-
arch/arm/include/asm/arch-rockchip/mipi_rk3399.h | 203 +
From: "eric.gao"
After enable log printing to lcd,when the screen start scroll,the
system crash.And the log is shown as bellow.
"Synchronous Abort" handler, esr 0x9645
"Synchronous Abort" handler, esr 0x9645
Checking the source code, we found that the variate "pixels"
get a wrong value.
From: "Eric Gao"
when enable PMIC rk808,the system will halt at very
early stage,log is shown as bellow.
INFO:plat_rockchip_pmu_init(1211): pd status 3e
INFO:BL31: Initializing runtime services
INFO:BL31: Preparing for EL3 exit to normal world
INFO:Entry poi
the cpu run the
following code.
for (i = 0; i < pixels; i++)
*dst++ = clr; <<
Signed-off-by: Eric Gao
---
drivers/video/console_normal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/console_normal.c b/drivers/video/console_normal.c
index 89a55dd..b627
From: "eric.gao"
To enable mipi display, we need to enable pmic
rk808 first for lcd3v3 power,which use i2c0 to
communicate with soc. So enable i2c0.
Signed-off-by: eric.gao
eric@rock-chips.com
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399.dtsi | 16
c
This serials patches add mipi dsi support for rk3399. Except the
basic mipi driver, we need also enable pmic rk808 for lcd power and
enable i2c for rk808 communication. what's more, the needed clk and
pwm for backlight is init in spl stage, make sure spl work first.
Eric Gao (3):
roc
From: "eric.gao"
To enable mipi display, we need to enable pmic
rk808 first for lcd3v3 power,which use i2c0 to
communicate with soc. So enable i2c0.
Signed-off-by: eric.gao
eric@rock-chips.com
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399.dtsi | 16
c
This serials patches add mipi dsi support for rk3399. Except the
basic mipi driver, we need also enable pmic rk808 for lcd power and
enable i2c for rk808 communication. what's more, the needed clk and
pwm for backlight is init in spl stage, make sure spl work first.
Eric Gao (3):
roc
This serials patches add mipi dsi support for rk3399. Except the
basic mipi driver, we need also enable pmic rk808 for lcd power and
enable i2c for rk808 communication. what's more, the needed clk and
pwm for backlight is init in spl stage, make sure spl work first.
Eric Gao (3):
roc
From: "eric.gao"
To enable mipi display, we need to enable pmic
rk808 first for lcd3v3 power,which use i2c0 to
communicate with soc. So enable i2c0.
Signed-off-by: eric.gao
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399.dtsi | 16
configs/evb-rk3399_defc
This serials patches add mipi dsi support for rk3399. Except the
basic mipi driver, we need also enable pmic rk808 for lcd power and
enable i2c for rk808 communication. what's more, the needed clk and
pwm for backlight is init in spl stage, make sure spl work first.
Eric Gao (3):
roc
From: "eric.gao"
To enable mipi display, we need to enable pmic
rk808 first for lcd3v3 power,which use i2c0 to
communicate with soc. So enable i2c0.
Signed-off-by: eric.gao
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399.dtsi | 16
configs/evb-rk3399_defc
This serials patches add mipi dsi support for rk3399. Except the
basic mipi driver, we need also enable pmic rk808 for lcd power and
enable i2c for rk808 communication. what's more, the needed clk and
pwm for backlight is init in spl stage, make sure spl work first.
Eric Gao (3):
roc
From: "eric.gao"
To enable mipi display, we need to enable pmic
rk808 first for lcd3v3 power,which use i2c0 to
communicate with soc. So enable i2c0.
Signed-off-by: eric.gao
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399.dtsi | 16
configs/evb-rk3399_defc
This serials patches add mipi dsi support for rk3399. Except the
basic mipi driver, we need also enable pmic rk808 for lcd power and
enable i2c for rk808 communication. what's more, the needed clk and
pwm for backlight is init in spl stage, make sure spl work first.
Eric Gao (3):
roc
From: "eric.gao"
To enable mipi display, we need to enable pmic
rk808 first for lcd3v3 power,which use i2c0 to
communicate with soc. So enable i2c0.
Signed-off-by: eric.gao
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399.dtsi | 16
configs/evb-rk3399_defc
This serials patches add mipi dsi support for rk3399. Except the
basic mipi driver, we need also enable pmic rk808 for lcd power and
enable i2c for rk808 communication. what's more, the needed clk and
pwm for backlight is init in spl stage, make sure spl work first.
Eric Gao (3):
roc
From: "eric.gao"
To enable mipi display, we need to enable pmic
rk808 first for lcd3v3 power,which use i2c0 to
communicate with soc. So enable i2c0.
Signed-off-by: eric.gao
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399.dtsi | 16
configs/evb-rk3399_defc
From: "eric.gao"
To enable mipi display, we need to enable pmic
rk808 first for lcd3v3 power,which use i2c0 to
communicate with soc. So enable i2c0.
Signed-off-by: eric.gao
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399.dtsi | 16
configs/evb-rk3399_defc
This serials patches add mipi dsi support for rk3399. Except the
basic mipi driver, we need also enable pmic rk808 for lcd power and
enable i2c for rk808 communication. what's more, the needed clk and
pwm for backlight is init in spl stage, make sure spl work first.
Eric Gao (3):
roc
of_match->compatible, compat)) {
*of_idp = of_match;
return 0;
}
of_match++;
}
Signed-off-by: Eric Gao
---
arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-rockchip/rk3399/syscon_rk3399.c
b/arch/arm/mach-rockchip/rk3399/sy
the cpu run the
following code.
for (i = 0; i < pixels; i++)
*dst++ = clr; <<
Signed-off-by: Eric Gao
---
drivers/video/console_normal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/console_normal.c b/drivers/video/console_normal.c
index 89a55dd..b627
This serials patches add mipi dsi support for rk3399. Except the
basic mipi driver, we need also enable pmic rk808 for lcd power and
enable i2c for rk808 communication. what's more, the needed clk and
pwm for backlight is init in spl stage, make sure spl work first.
Eric Gao (5):
roc
To enable mipi display, we need to enable pmic
rk808 first for lcd3v3 power,which use i2c0 to
communicate with soc. So enable i2c0.
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399.dtsi | 16
configs/evb-rk3399_defconfig | 1 +
drivers/i2c/rk_i2c.c | 1 +
3 files
This serials patches add mipi dsi support for rk3399. Except the
basic mipi driver, we need also enable pmic rk808 for lcd power and
enable i2c for rk808 communication. what's more, the needed clk and
pwm for backlight is init in spl stage, make sure spl work first.
Eric Gao (5):
roc
To enable mipi display, we need to enable pmic
rk808 first for lcd3v3 power,which use i2c0 to
communicate with soc. So enable i2c0.
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399.dtsi | 16
configs/evb-rk3399_defconfig | 1 +
drivers/i2c/rk_i2c.c | 1 +
3 files
For using mipi display, we need to enable lcd3v3
which supplied by rk808,so enable rk808 first.
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399-evb.dts | 39 +++
configs/evb-rk3399_defconfig | 5 +
2 files changed, 44 insertions(+)
diff --git a/arch
Add mipi dsi driver for rk chip, To enable this
you need to enable DM, DM_VIDEO, DM_ROCKCHIP_VIDEO,
DISPLAY_MIPI in menuconfig. And enable rk808,and it's
corresponding i2c.
Signed-off-by: Eric Gao
---
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 1 +
arch/arm/include/asm/arch-roc
Add dts config for mipi display, include vop,
mipi controller, panel, backlight.And Enable rk808
for lcd_3v3 in another patch.
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399-evb.dts | 84 +
arch/arm/dts/rk3399.dtsi| 72
Enable mipi dsi by default for rk3399-evb board
Signed-off-by: Eric Gao
---
configs/evb-rk3399_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index aac6d2d..f41cbf9 100644
--- a/configs/evb-rk3399_defconfig
+++ b
stage, make sure spl work first.
Eric Gao (3):
rockchip: video: Add mipi dsi driver for rk3399
rockchip: dts: Add mipi dsi support for rk3399
rockchip: configs: Enable mipi dsi for rk3399
arch/arm/dts/rk3399-evb.dts | 84
arch/arm/dts/rk3399
Add mipi dsi driver for rk chip. To enable this you need to enable DM, DM_VIDEO
DM_ROCKCHIP_VIDEO, DISPLAY_MIPI in menuconfig. And enable rk808 and it's i2c.
Signed-off-by: Eric Gao
---
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 1 +
arch/arm/include/asm/arch-rockchip/grf_rk3
Add dts config for mipi display, include vop, mipi controller, panel,
backlight.And Enable rk808 for lcd_3v3 in another patch.
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399-evb.dts | 84 +
arch/arm/dts/rk3399.dtsi| 72
Enable mipi dsi by default for rk3399-evb board
Signed-off-by: Eric Gao
---
configs/evb-rk3399_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index aac6d2d..f41cbf9 100644
--- a/configs/evb-rk3399_defconfig
+++ b
Eric Gao (2):
rockchip: video: Kconfig: Add Kconfig for rockchip video driver
rockchip: video: Makefile: Modify Makefile for rockchip video driver
configs/chromebit_mickey_defconfig | 1 +
configs/chromebook_jerry_defconfig | 2 ++
configs/chromebook_minnie_defconfig | 2 ++
configs
1. add Kconfig for rockchip video driver, so that video port can be
selected as needed.
2. move VIDEO_ROCKCHIP option to new Kconfig for concision.
Signed-off-by: Eric Gao
---
configs/chromebit_mickey_defconfig | 1 +
configs/chromebook_jerry_defconfig | 2 ++
configs
Modify Makefile for rockchip video driver according to Kconfig, so that
source code will not be compiled if not needed.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/Makefile | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/video/rockchip/Makefile b
1. add Kconfig for rockchip video driver, so that video port can be
selected as needed.
2. move VIDEO_ROCKCHIP option to new Kconfig for concision.
Signed-off-by: Eric Gao
---
configs/chromebit_mickey_defconfig | 1 +
configs/chromebook_jerry_defconfig | 2 ++
configs
patch 1: add Kconfig file rockchip video driver.
patch 2: modify Makefile according to the new Kconfig.
Eric Gao (2):
rockchip: video: Kconfig: Add Kconfig for rockchip video driver
rockchip: video: Makefile: Modify Makefile for rockchip video driver
configs/chromebit_mickey_defconfig
Modify Makefile for rockchip video driver according to Kconfig, so that
source code will not be compiled if not needed.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/Makefile | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/video/rockchip/Makefile b
Eric Gao (8):
rockchip: video: Add mipi dsi driver for rk3399
rockchip: video: vop: Add mipi display mode for rk3399
rockchip: video: vop: Set different bitwidth for different display mode
rockchip: video: vop: Reserve enough space for mipi dispaly
rockchip: board: evb_rk3399: initialize
Signed-off-by: Eric Gao
---
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 25 ++
arch/arm/include/asm/arch-rockchip/mipi_rk3399.h | 195 +
drivers/video/rockchip/Kconfig | 11 +-
drivers/video/rockchip/Makefile | 1 +
drivers/video/rockchip
Add mipi display mode for rk3399 vop, so that we can use mipi panel
for display.
Signed-off-by: Eric Gao
---
arch/arm/include/asm/arch-rockchip/vop_rk3288.h | 1 +
drivers/video/rockchip/rk_vop.c | 6 ++
2 files changed, 7 insertions(+)
diff --git a/arch/arm/include/asm
Because the bitwidth is different for different display mode, so we need
to set them according to demand.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/rk_vop.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/drivers/video/rockchip/rk_vop.c b
plat->size here is used to reserve enough frame buffer space befor relocation.
our mipi display mode need more space, so reset it.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/rk_vop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/rockchip/rk_vop.
Signed-off-by: Eric Gao
---
board/rockchip/evb_rk3399/evb-rk3399.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c
b/board/rockchip/evb_rk3399/evb-rk3399.c
index 362fa0b..76ab467 100644
--- a/board/rockchip/evb_rk3399/evb-rk3399.c
+++ b/board
patch 1: add Kconfig file rockchip video driver.
patch 2: modify Makefile according to the new Kconfig.
Eric Gao (2):
rockchip: video: Kconfig: Add Kconfig for rockchip video driver
rockchip: video: Makefile: Modify Makefile for rockchip video driver
configs/chromebit_mickey_defconfig
Add dts config for mipi display, include vop, mipi controller, panel, backlight
. And Enable rk808 for lcd_3v3 in another patch.
Signed-off-by: Eric Gao
---
arch/arm/dts/rk3399-evb.dts | 84 +
arch/arm/dts/rk3399.dtsi| 72
The function clk_set_rate() will return it's input parameter, so it's return
value in normal condition is nonzero. In this case, we should report an error
when it return zero rather than return a nonzero value.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/rk_vop.c | 2 +-
1 fi
Enable mipi dsi by default for rk3399-evb board
Signed-off-by: Eric Gao
---
configs/evb-rk3399_defconfig| 6 ++
drivers/video/rockchip/Kconfig | 2 +-
drivers/video/rockchip/Makefile | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/configs/evb-rk3399_defconfig b
Modify Makefile for rockchip video driver according to Kconfig, so that
source code will not be compiled if not needed.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/Makefile | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/video/rockchip/Makefile b
1. add Kconfig for rockchip video driver, so that video port can be
selected as needed.
2. move VIDEO_ROCKCHIP option to new Kconfig for concision.
Signed-off-by: Eric Gao
---
configs/chromebit_mickey_defconfig | 1 +
configs/chromebook_jerry_defconfig | 2 ++
configs
uffer size for mipi display
-Add pwm0 pinctrl init for lcd backlight.
-Add dts config for mipi display.
-Add defconfigs for mipi display, so that it can be enabled by default.
-Fix rk_display_init() function report error(err:-19).
Eric Gao (8):
rockchip: video: Add mipi dsi driver for rk3399
roc
Signed-off-by: Eric Gao
---
Changes in v2:
-Add mipi driver and it's header file
-Add Kconfig and Makefile additions for mipi driver.
-Add necessary Grf declaration for mipi driver.
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 25 ++
arch/arm/include/asm/arch-rockchip/mipi_rk3
Add mipi display mode for rk3399 vop, so that we can use mipi panel
for display.
Signed-off-by: Eric Gao
---
Changes in v2:
-Add mipi display mode for vop.
-Add compatible items for rk3399 vop.
arch/arm/include/asm/arch-rockchip/vop_rk3288.h | 1 +
drivers/video/rockchip/rk_vop.c
Signed-off-by: Eric Gao
---
Changes in v2:
-Add pwm0 pinctrl init for lcd backlight.
board/rockchip/evb_rk3399/evb-rk3399.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c
b/board/rockchip/evb_rk3399/evb-rk3399.c
index 362fa0b..76ab467 100644
plat->size here is used to reserve enough frame buffer space befor relocation.
our mipi display mode need more space, so reset it.
Signed-off-by: Eric Gao
---
Changes in v2:
-Extend frame buffer size for mipi display
drivers/video/rockchip/rk_vop.c | 2 +-
1 file changed, 1 insertion(+)
Because the bitwidth is different for different display mode, so we need
to set them according to demand.
Signed-off-by: Eric Gao
---
Changes in v2:
-Change the bitwidth for different display mode.
drivers/video/rockchip/rk_vop.c | 20
1 file changed, 16 insertions(+), 4
Add dts config for mipi display, include vop, mipi controller, panel, backlight
. And Enable rk808 for lcd_3v3 in another patch.
Signed-off-by: Eric Gao
---
Changes in v2:
-Add dts config for mipi display.
arch/arm/dts/rk3399-evb.dts | 84 +
arch
The function clk_set_rate() will return it's input parameter, so it's return
value in normal condition is nonzero. In this case, we should report an error
when it return zero rather than return a nonzero value.
Signed-off-by: Eric Gao
---
Changes in v2:
-Fix rk_display_init() funct
Enable mipi dsi by default for rk3399-evb board
Signed-off-by: Eric Gao
---
Changes in v2:
-Add defconfigs for mipi display, so that it can be enabled by default.
configs/evb-rk3399_defconfig| 6 ++
drivers/video/rockchip/Kconfig | 2 +-
drivers/video/rockchip/Makefile | 2 +-
3
Add bmp logo display support for evb-rk3399
Changes in v1:
-Add bmp logo display support.
-Enable logo display for evb-rk3399
Eric Gao (2):
board: rockchip: common: Add bmp logo support
rockchip: include: Enable logo display for evb-rk3399
board/rockchip/common/Makefile |9 +
board
Add bmp logo display support for evb-rk3399
Changes in v1:
-Add bmp logo display support.
-Enable logo display for evb-rk3399
Eric Gao (2):
board: rockchip: common: Add bmp logo support
rockchip: include: Enable logo display for evb-rk3399
board/rockchip/common/Makefile |9 +
board
Signed-off-by: Eric Gao
---
Changes in v1:
-Enable logo display for evb-rk3399
include/configs/evb_rk3399.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/configs/evb_rk3399.h b/include/configs/evb_rk3399.h
index 8fdefa2..af44e45 100644
--- a/include/configs/evb_rk3399.h
Signed-off-by: Eric Gao
---
Changes in v3:
-Split mipi dsi driver file and header as a single patch.
Changes in v2: None
.../include/asm/arch-rockchip/rockchip_mipi_dsi.h | 195
drivers/video/rockchip/rk_mipi.c | 491 +
2 files changed, 686
Signed-off-by: Eric Gao
---
Changes in v3:
-Split GRF changes as a single patch
Changes in v2: None
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 23 +++
1 file changed, 23 insertions(+)
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3399.h
b/arch/arm/include
that it can be enabled by default.
Eric Gao (11):
rockchip: include: grf: Add GRF register declaration for mipi dsi
rockchip: video: Add mipi driver for rockchip soc
rockchip: video: Makefile: Add mipi driver addition.
rockchip: video: Kconfig: Add mipi driver addition.
rockchip: video
Signed-off-by: Eric Gao
---
Changes in v3:
-Split Kconfig changes to a single patch.
Changes in v2: None
drivers/video/rockchip/Kconfig | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/video/rockchip/Kconfig b/drivers/video/rockchip/Kconfig
index
Signed-off-by: Eric Gao
---
Changes in v3:
-Add ret value in debug message.
Changes in v2:
-Add pwm0 pinctrl init for lcd backlight.
board/rockchip/evb_rk3399/evb-rk3399.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c
b/board/rockchip
Because the bitwidth is different for different display mode, so we need
to set them according to demand.
Signed-off-by: Eric Gao
---
Changes in v3: None
Changes in v2:
-Change the bitwidth for different display mode.
drivers/video/rockchip/rk_vop.c | 20
1 file changed
Enable mipi dsi by default for rk3399-evb board
Signed-off-by: Eric Gao
---
Changes in v3: None
Changes in v2:
-Add defconfigs for mipi display, so that it can be enabled by default.
configs/evb-rk3399_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/evb
Add dts config for mipi display, include vop, mipi controller, panel, backlight
. And Enable rk808 for lcd_3v3 in another patch.
Signed-off-by: Eric Gao
---
Changes in v3: None
Changes in v2:
-Add dts config for mipi display.
arch/arm/dts/rk3399-evb.dts | 84
Add mipi display mode for rk3399 vop, so that we can use mipi panel
for display.
Signed-off-by: Eric Gao
---
Changes in v3: None
Changes in v2:
-Add mipi display mode for vop.
-Add compatible items for rk3399 vop.
arch/arm/include/asm/arch-rockchip/vop_rk3288.h | 1 +
drivers/video/rockchip
The function clk_set_rate() will return it's input parameter, so it's return
value in normal condition is nonzero. In this case, we should report error
when it return zero rather than return a nonzero value.
Signed-off-by: Eric Gao
-Fix rk_display_init() function report err
Signed-off-by: Eric Gao
---
Changes in v3:
-Split Makefile changes to a single patch.
Changes in v2: None
drivers/video/rockchip/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile
index 3bb0519
plat->size here is used to reserve frame buffer space befor relocation.
our mipi panel use 24 bitwidth, and vop require 32bit align. So the frame
buffer size should be at least 1920*1200*32/8.
Signed-off-by: Eric Gao
---
Changes in v3:
-Add more description in the commit message
Changes in
.
-Change the bitwidth for different display mode.
-Extend frame buffer size for mipi display
-Add pwm0 pinctrl init for lcd backlight.
-Add dts config for mipi display.
-Add defconfigs for mipi display, so that it can be enabled by default.
Eric Gao (11):
rockchip: include: grf: Add GRF register
Signed-off-by: Eric Gao
---
Changes in v4: None
Changes in v3:
-Split GRF changes as a single patch
Changes in v2: None
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 23 +++
1 file changed, 23 insertions(+)
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3399.h
Signed-off-by: Eric Gao
---
Changes in v4: None
Changes in v3:
-Split mipi dsi driver file and header as a single patch.
Changes in v2: None
.../include/asm/arch-rockchip/rockchip_mipi_dsi.h | 195
drivers/video/rockchip/rk_mipi.c | 491 +
2
Signed-off-by: Eric Gao
---
Changes in v4:
-Clear irrelevant change
Changes in v3:
-Split Makefile changes to a single patch.
Changes in v2: None
drivers/video/rockchip/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip
Signed-off-by: Eric Gao
---
Changes in v4: None
Changes in v3:
-Add ret value in debug message.
Changes in v2:
-Add pwm0 pinctrl init for lcd backlight.
board/rockchip/evb_rk3399/evb-rk3399.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c
b
Signed-off-by: Eric Gao
---
Changes in v4:
-Clear irrelevant change.
Changes in v3:
-Split Kconfig changes to a single patch.
Changes in v2: None
drivers/video/rockchip/Kconfig | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/video/rockchip/Kconfig b
The function clk_set_rate() will return it's input parameter, so it's return
value in normal condition is nonzero. In this case, we should report error
when it return zero rather than return a nonzero value.
Signed-off-by: Eric Gao
---
Changes in v4:
-Move this patch to an early stage
Because the bitwidth is different for different display mode, so we need
to set them according to demand.
Signed-off-by: Eric Gao
---
Changes in v4: None
Changes in v3: None
Changes in v2:
-Change the bitwidth for different display mode.
drivers/video/rockchip/rk_vop.c | 20
Enable mipi dsi by default for rk3399-evb board
Signed-off-by: Eric Gao
---
Changes in v4: None
Changes in v3: None
Changes in v2:
-Add defconfigs for mipi display, so that it can be enabled by default.
configs/evb-rk3399_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a
Add mipi display mode for rk3399 vop, so that we can use mipi panel
for display.
Signed-off-by: Eric Gao
---
Changes in v4: None
Changes in v3: None
Changes in v2:
-Add mipi display mode for vop.
-Add compatible items for rk3399 vop.
arch/arm/include/asm/arch-rockchip/vop_rk3288.h | 1
plat->size here is used to reserve frame buffer space befor relocation.
our mipi panel use 24 bitwidth, and vop require 32bit align. So the frame
buffer size should be at least 1920*1200*32/8.
Signed-off-by: Eric Gao
---
Changes in v4: None
Changes in v3:
-Add more description in the com
Add dts config for mipi display, include vop, mipi controller, panel, backlight
. And Enable rk808 for lcd_3v3 in another patch.
Signed-off-by: Eric Gao
---
Changes in v4: None
Changes in v3: None
Changes in v2:
-Add dts config for mipi display.
arch/arm/dts/rk3399-evb.dts | 84
Signed-off-by: Eric Gao
---
Changes in v5:
-Modify indentation for better readability.
-Make all enum variate have explicit value.
Changes in v4: None
Changes in v3:
-Split GRF changes as a single patch
Changes in v2: None
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 29
pi display, so that it can be enabled by default.
Eric Gao (10):
rockchip: include: grf: Add GRF register declaration for mipi dsi
rockchip: video: Add mipi driver support for rockchip soc
rockchip: video: vop: Fix rk_display_init() return error
rockchip: video: vop: Add mipi display mode
Signed-off-by: Eric Gao
---
Changes in v5:
-Merge Kconfig and Makefile changes into this patch.
Changes in v4: None
Changes in v3:
-Split mipi dsi driver file and header as a single patch.
Changes in v2: None
.../include/asm/arch-rockchip/rockchip_mipi_dsi.h | 195
drivers/video
8.
Signed-off-by: Eric Gao
---
Changes in v5:
-Drop previous change, and modify clk_set_rate implement in rk3399.
Changes in v4:
-Move this patch to an early stage.
Changes in v3:
-Improve indentation relationship
Changes in v2:
-Fix rk_display_init() function report error(err:-19).
d
1 - 100 of 178 matches
Mail list logo