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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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 ++
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
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
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
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
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
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
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
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
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
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
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
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
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
Add mipi dsi configuration for evb-rk3288 device tree.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Add Reviewer.
Changes in v2:
-Move panel and backlight configuration to it's define node.
Changes in v1:
-Add dts configuration.
arch/arm/dts/rk3288-evb.dtsi
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Add Reviewer.
Changes in v2:
-Add configs support for rk3288 mipi dsi
Changes in v1: None
configs/evb-rk3288_defconfig | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configs/evb-rk3288_defconfig
Because rk3288 and rk3399 use the same mipi dsi controller and phy with
only a few difference in grf register. So we share the mipi driver, and
handle the difference.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Rebase with local new change.
-Add Reviewer.
Changes in
Add grf register define for rk3288 mipi dsi
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Add Reviewer.
Changes in v2: None
Changes in v1:
-Add grf define for mipi dsi
arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 62 +
1 file changed, 62
for rk3288 mipi dsi
Changes in v1:
-Add grf define for mipi dsi
-Make a different configuration for rk3288.
-Add dts configuration.
Eric Gao (4):
rockchip: rk3288: grf: Add grf define for mipi dsi
rockchip: video: Add mipi display support for rk3288
rockchip: dts: evb_rk3288: Add mipi displ
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
Reviewed-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Chan
Add mipi dsi configs for rk3399 evb board
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5:
-Regenerate defconfig file using "make savedefconfig"
Changes in v4: None
Changes in v3: None
Changes i
Because the bitwidth is different for different display mode, so we need
to set them according to demand.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2
Enable pwm0 for display of rk3399 evb board. The PWM do not have decicated
interrupt number in dts and can not get periph_id by pinctrl framework. So
init them here.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5
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
Reviewed-by: Simon Glass
Reviewed-by: Philipp Tomsich
---
Changes in v8:
-Set vop disabled by default.
-Move unused config.
Changes in v7
Add mipi display mode for rk3399 vop, so that we can use mipi panel
for display.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
-Add mipi display mode
It's caused by the difference of clk_set_rate function implement between
rk3288 andd rk3399.
clk_set_rate() of rk3288 return 0 in normal condition.
clk_set_rate() of rk3399 return input parameter in normal condition.
So check clk_set_rate's return value by IS_ERR_VALUE.
Signed-off-by
Add basic driver for mipi display on rockchip soc platform.
Signed-off-by: Eric Gao
Acked-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5:
-Merge Kconfig and Makefile changes into this patch.
Changes in v4: None
Changes in v3:
-Split mipi dsi
Add GRF register declaration for mipi dsi.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
Reviewed-by: Philipp Tomsich
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5:
-Modify indentation for better readability.
-Make all enum variate have explicit value
).
-Add mipi display mode for vop.
-Add compatible items for rk3399 vop.
-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 b
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Add Reviewer.
Changes in v2:
-Add configs support for rk3288 mipi dsi
Changes in v1: None
configs/evb-rk3288_defconfig | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configs/evb-rk3288_defconfig
Add mipi dsi configuration for evb-rk3288 device tree.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Add Reviewer.
Changes in v2:
-Move panel and backlight configuration to it's define node.
Changes in v1:
-Add dts configuration.
arch/arm/dts/rk3288-evb.dtsi
Because rk3288 and rk3399 use the same mipi dsi controller and phy with
only a few difference in grf register. So we share the mipi driver, and
handle the difference.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Add Reviewer.
Changes in v2:
-Modify some variate's
Add grf register define for rk3288 mipi dsi
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Add Reviewer.
Changes in v2: None
Changes in v1:
-Add grf define for mipi dsi
arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 62 +
1 file changed, 62
:
-Add grf define for mipi dsi
-Make a different configuration for rk3288.
-Add dts configuration.
Eric Gao (4):
rockchip: rk3288: grf: Add grf define for mipi dsi
rockchip: video: Add mipi display support for rk3288
rockchip: dts: evb_rk3288: Add mipi display support
rockchip: configs:
Because the bitwidth is different for different display mode, so we need
to set them according to demand.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
-Change the
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
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
Chan
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
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6:
-Move panel and backlight configuration to it's define node, and s
Enable pwm0 for display of rk3399 evb board. The PWM do not have decicated
interrupt number in dts and can not get periph_id by pinctrl framework. So
init them here.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4
Add mipi dsi configs for rk3399 evb board
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
Changes in v5:
-Regenerate defconfig file using "make savedefconfig"
Changes in v4: None
Changes in v3: None
Changes in v2:
-Add defconfigs for mi
Add mipi display mode for rk3399 vop, so that we can use mipi panel
for display.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
-Add mipi display mode for vop.
-Add
Add basic driver for mipi display on rockchip soc platform.
Signed-off-by: Eric Gao
Acked-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
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
It's caused by the difference of clk_set_rate function implement between
rk3288 andd rk3399.
clk_set_rate() of rk3288 return 0 in normal condition.
clk_set_rate() of rk3399 return input parameter in normal condition.
So check clk_set_rate's return value by IS_ERR_VALUE.
Signed-off-by
Add GRF register declaration for mipi dsi.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v7: None
Changes in v6: None
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
399 vop.
-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 (9):
rockchip: include: grf: Add GRF regi
Add mipi dsi configuration for evb-rk3288 device tree.
Signed-off-by: Eric Gao
---
Changes in v2:
-Move panel and backlight configuration to it's define node.
Changes in v1:
-Add dts configuration.
arch/arm/dts/rk3288-evb.dtsi | 80
arch/ar
Signed-off-by: Eric Gao
---
Changes in v2:
-Add configs support for rk3288 mipi dsi
Changes in v1: None
configs/evb-rk3288_defconfig | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configs/evb-rk3288_defconfig b/configs/evb-rk3288_defconfig
index aad2533..aef88d6
Because rk3288 and rk3399 use the same mipi dsi controller and phy with
only a few difference in grf register. So we share the mipi driver, and
handle the difference.
Signed-off-by: Eric Gao
---
Changes in v2:
-Modify some variate's type for compatibility between arm64 and arm32
ma
.
-Add dts configuration.
Eric Gao (4):
rockchip: rk3288: grf: Add grf define for mipi dsi
rockchip: video: Add mipi display support for rk3288
rockchip: dts: evb_rk3288: Add mipi display support
rockchip: configs: Add config support for rk3288 mipi dsi
arch/arm/dts/rk328
Add grf register define for rk3288 mipi dsi
Signed-off-by: Eric Gao
---
Changes in v2: None
Changes in v1:
-Add grf define for mipi dsi
arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 62 +
1 file changed, 62 insertions(+)
diff --git a/arch/arm/include/asm/arch
Because rk3288 and rk3399 use the same mipi dsi controller and phy with
only a few difference in grf register. So we share the mipi driver, and
handle the difference.
Signed-off-by: Eric Gao
---
Changes in v1:
-Make a different configuration for rk3288.
drivers/video/rockchip/rk_mipi.c | 54
Add mipi dsi configuration for evb-rk3288 device tree.
Signed-off-by: Eric Gao
---
Changes in v1:
-Add dts configuration.
arch/arm/dts/rk3288-evb.dtsi | 88
arch/arm/dts/rk3288.dtsi | 41 +
2 files changed, 129 insertions
Changes in v1:
-Add grf define for mipi dsi
-Make a different configuration for rk3288.
-Add dts configuration.
Eric Gao (3):
rockchip: rk3288: grf: Add grf define for mipi dsi
rockchip: video: Add mipi display support for rk3288
rockchip: dts: evb_rk3288: Add mipi display support
arch
Add grf register define for rk3288 mipi dsi
Signed-off-by: Eric Gao
---
Changes in v1:
-Add grf define for mipi dsi
arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 62 +
1 file changed, 62 insertions(+)
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3288.h
Enable mipi dsi by default for rk3399-evb board
Signed-off-by: Eric Gao
---
Changes in v5:
-Regenerate defconfig file using "make savedefconfig"
Changes in v4: None
Changes in v3: None
Changes in v2:
-Add defconfigs for mipi display, so that it can be enabled by default.
c
Signed-off-by: Eric Gao
---
Changes in v5: None
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
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 v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
-Add dts config for mipi display.
arch/arm/dts/rk3399
Add mipi display mode for rk3399 vop, so that we can use mipi panel
for display.
Signed-off-by: Eric Gao
---
Changes in v5: None
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
Add vidconsole environment variable, so that we can enable log printing
to lcd when we need.
Signed-off-by: Eric Gao
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
include/configs/rk3399_common.h | 5 -
1 file changed, 4 insertions(+), 1 deletion
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 v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
-Change the bitwidth for different display mode.
drivers/video/rockchip/rk_vop.c
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 v5: None
Changes in v4: None
Changes in v3:
-Add m
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
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
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:
-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
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
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
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
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
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
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
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 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:
-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
.
-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
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
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
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
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
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
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
1 - 100 of 178 matches
Mail list logo