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
Some address relevant varibable is defined originally as u64. To
compatible with arm32, this patch change them to "void __iomem *" type.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/rk_mipi.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dri
Modify format type for debug message.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/rk_mipi.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/video/rockchip/rk_mipi.c b/drivers/video/rockchip/rk_mipi.c
index af7656e..e0bfecf 100644
--- a/drivers/video
Eric Gao (3):
rockchip: defconfig: Increase max video resolution for mipi panel
rockchip: video: mipi: Split mipi driver into common and specific
parts
rockchop: video: mipi: Makefile: Add soc specfic driver for rk3399
mipi dsi
configs/evb-rk3399_defconfig | 8
The mipi panel used on evb-rk3399 has a 1920x1200 resolution. But now
the max resolution is 1920x1080. So increase it.
Signed-off-by: Eric Gao
---
configs/evb-rk3399_defconfig | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/configs/evb-rk3399_defconfig b/configs
To compatible with different rockchip soc, we split the mipi dirver into
common and soc specific parts, and all the soc share the common
functions from common driver part.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/rk3399_mipi.c | 183 +++
drivers/video
Add Makefile item for soc specific driver for rk3399 mipi dsi.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile
index 872dc0f..600743c 100644
--- a
Eric Gao (3):
rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi
rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi
rockchip: video: defconfig: Add support for rk3288 mipi dsi
configs/evb-rk3288_defconfig | 8 +-
drivers/video/rockchip
Signed-off-by: Eric Gao
---
drivers/video/rockchip/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile
index 600743c..8005003 100644
--- a/drivers/video/rockchip/Makefile
+++ b/drivers/video/rockchip/Makefile
@@ -14,6
Add rk3288 soc specific driver for mipi dsi.
Signed-off-by: Eric Gao
---
drivers/video/rockchip/rk3288_mipi.c | 191 +++
1 file changed, 191 insertions(+)
create mode 100644 drivers/video/rockchip/rk3288_mipi.c
diff --git a/drivers/video/rockchip
Add support for rk3288 mipi dsi.
Signed-off-by: Eric Gao
---
configs/evb-rk3288_defconfig | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/configs/evb-rk3288_defconfig b/configs/evb-rk3288_defconfig
index 227150d..fb5599d 100644
--- a/configs/evb-rk3288_defconfig
This patch series split the rockchip mipi dsi driver into common and
specific parts to make it possible that different soc share the most
common code.
Changes in v1:
-Add title.
Eric Gao (3):
rockchip: defconfig: Increase max video resolution for mipi panel
rockchip: video: mipi: Split
The mipi panel used on evb-rk3399 has a 1920x1200 resolution. But now
the max resolution is 1920x1080. So increase it.
Signed-off-by: Eric Gao
---
Changes in v1:
-Add title.
configs/evb-rk3399_defconfig | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/configs/evb
To compatible with different rockchip soc, we split the mipi dirver into
common and soc specific parts, and all the soc share the common
functions from common driver part.
Signed-off-by: Eric Gao
---
Changes in v1: None
drivers/video/rockchip/rk3399_mipi.c | 183
Add Makefile item for soc specific driver for rk3399 mipi dsi.
Signed-off-by: Eric Gao
---
Changes in v1: None
drivers/video/rockchip/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile
index 872dc0f
Some address relevant varibable is defined originally as u64. To
compatible with arm32, this patch change them to "void __iomem *" type.
Signed-off-by: Eric Gao
---
Changes in v1:
-Change the address base variable to uintptr_t type.
drivers/video/rockchip/rk_mipi.c | 12 ++
Some address relevant varibable is defined originally as u64. To
compatible with arm32, this patch change them to "void __iomem *" type.
Signed-off-by: Eric Gao
---
Changes in v1:
-Change the address base variable to uintptr_t type.
drivers/video/rockchip/rk_mipi.c | 12 ++
Changes in v1:
-Change function name from rk_display_enable to rk_mipi_enable.
-Use IS_ERR to judge the return status.
-Use dev_read_addr to replace devfdt_get_addr.
-Make the subject more intelligible.
Eric Gao (3):
rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi
Add rk3288 soc specific driver for mipi dsi.
Signed-off-by: Eric Gao
---
Changes in v1:
-Change function name from rk_display_enable to rk_mipi_enable.
-Use IS_ERR to judge the return status.
-Use dev_read_addr to replace devfdt_get_addr.
drivers/video/rockchip/rk3288_mipi.c | 191
Add support for rk3288 mipi dsi.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v1:
-Make the subject more intelligible.
configs/evb-rk3288_defconfig | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/configs/evb-rk3288_defconfig b/configs/evb
Signed-off-by: Eric Gao
---
Changes in v1: None
drivers/video/rockchip/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile
index 600743c..8005003 100644
--- a/drivers/video/rockchip/Makefile
+++ b/drivers/video/rockchip
me as RK3399
Signed-off-by: Eric Gao
---
arch/arm/include/asm/arch-rockchip/pwm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/arch-rockchip/pwm.h
b/arch/arm/include/asm/arch-rockchip/pwm.h
index 5d9a178..08ff945 100644
--- a/arch/arm/include/asm
Some address relevant varibable is defined originally as u64. To
compatible with arm32, this patch change them to uintptr_t type.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v2:
-Change the address base variable from "uintptr_t *" to "uintptr_t"
Change
Some address relevant varibable is defined originally as u64. To
compatible with arm32, this patch change them to uintptr_t type.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Cancel the force convert for devfdt_get_addr's return value type.
-Change the addr tye
Modify format type for debug message.
Signed-off-by: Eric Gao
---
Changes in v1:
-Change the debug message format type because of the change the variable.
drivers/video/rockchip/rk_mipi.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/video/rockchip
This patch series split the rockchip mipi dsi driver into common and
specific parts to make it possible that different soc share the most
common code.
Changes in v2:
-Use dev_read_addr to replace devfdt_get_addr.
Changes in v1:
-Add title.
-Delete the unused variable.
Eric Gao (3):
rockchip
The mipi panel used on evb-rk3399 has a 1920x1200 resolution. But now
the max resolution is 1920x1080. So increase it.
Signed-off-by: Eric Gao
---
Changes in v2: None
Changes in v1:
-Add title.
configs/evb-rk3399_defconfig | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff
Add Makefile item for soc specific driver for rk3399 mipi dsi.
Signed-off-by: Eric Gao
---
Changes in v2: None
Changes in v1: None
drivers/video/rockchip/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip
To compatible with different rockchip soc, we split the mipi dirver into
common and soc specific parts, and all the soc share the common
functions from common driver part.
Signed-off-by: Eric Gao
---
Changes in v2:
-Use dev_read_addr to replace devfdt_get_addr.
Changes in v1:
-Delete the
Use dev_read_addr to replace devfdt_get_addr.
-Make the subject more intelligible.
Eric Gao (3):
rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi
rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi
rockchip: video: defconfig: Add mipi dsi support for evb-
Add rk3288 soc specific driver for mipi dsi.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v2:
-Cancel the force convert for dev_read_addr return value type.
-Change regs type from "void __iomem" to "uintptr_t".
Changes in v1:
-Change function name from
Add support for rk3288 mipi dsi.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v2: None
Changes in v1:
-Make the subject more intelligible.
configs/evb-rk3288_defconfig | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/configs/evb-rk3288_defconfig
Signed-off-by: Eric Gao
---
Changes in v2: None
Changes in v1: None
drivers/video/rockchip/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile
index 600743c..8005003 100644
--- a/drivers/video/rockchip/Makefile
+++ 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
1 - 100 of 178 matches
Mail list logo