* [PATCH 1/2] video: seps525: Align driver with latest treewide changes
@ 2021-01-07 13:26 Michal Simek
2021-01-07 13:26 ` [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs Michal Simek
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Michal Simek @ 2021-01-07 13:26 UTC (permalink / raw)
To: u-boot
Some structures/functions have been renamed which are not reflected in this
driver.
Commit 8a8d24bdf174 ("dm: treewide: Rename ..._platdata variables to just
..._plat"), commit c69cda25c9b5 ("dm: treewide: Rename dev_get_platdata()
to dev_get_plat()"), commit caa4daa2ae3d ("dm: treewide: Rename 'platdata'
variables to just 'plat'") and commit 41575d8e4c33 ("dm: treewide: Rename
auto_alloc_size members to be shorter") are describing these changes.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
Driver was developed based on master branch and next got more changes.
---
drivers/video/seps525.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/video/seps525.c b/drivers/video/seps525.c
index 369e5e6afc87..74c8721e1e11 100644
--- a/drivers/video/seps525.c
+++ b/drivers/video/seps525.c
@@ -299,7 +299,7 @@ static int seps525_probe(struct udevice *dev)
static int seps525_bind(struct udevice *dev)
{
- struct video_uc_platdata *plat = dev_get_uclass_platdata(dev);
+ struct video_uc_plat *plat = dev_get_uclass_plat(dev);
plat->size = WIDTH * HEIGHT * 16;
@@ -320,8 +320,8 @@ U_BOOT_DRIVER(seps525_video) = {
.id = UCLASS_VIDEO,
.of_match = seps525_ids,
.ops = &seps525_ops,
- .platdata_auto_alloc_size = sizeof(struct video_uc_platdata),
+ .plat_auto = sizeof(struct video_uc_plat),
.bind = seps525_bind,
.probe = seps525_probe,
- .priv_auto_alloc_size = sizeof(struct seps525_priv),
+ .priv_auto = sizeof(struct seps525_priv),
};
--
2.30.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs
2021-01-07 13:26 [PATCH 1/2] video: seps525: Align driver with latest treewide changes Michal Simek
@ 2021-01-07 13:26 ` Michal Simek
2021-01-11 12:42 ` Ashok Reddy Soma
2021-01-20 7:47 ` Michal Simek
2021-01-07 16:21 ` [PATCH 1/2] video: seps525: Align driver with latest treewide changes Simon Glass
2021-01-20 7:48 ` Michal Simek
2 siblings, 2 replies; 6+ messages in thread
From: Michal Simek @ 2021-01-07 13:26 UTC (permalink / raw)
To: u-boot
Enable this driver to get build and probe for our platform.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
configs/xilinx_zynqmp_virt_defconfig | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig
index e400cd4702ee..0bf4b7d692e9 100644
--- a/configs/xilinx_zynqmp_virt_defconfig
+++ b/configs/xilinx_zynqmp_virt_defconfig
@@ -54,6 +54,7 @@ CONFIG_CMD_SPI=y
CONFIG_CMD_USB=y
CONFIG_CMD_USB_MASS_STORAGE=y
CONFIG_CMD_TFTPPUT=y
+CONFIG_CMD_BMP=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_TIME=y
CONFIG_CMD_TIMER=y
@@ -155,6 +156,15 @@ CONFIG_USB_ETHER=y
CONFIG_USB_ETH_CDC=y
CONFIG_USB_HOST_ETHER=y
CONFIG_USB_ETHER_ASIX=y
+CONFIG_DM_VIDEO=y
+CONFIG_VIDEO_COPY=y
+CONFIG_DISPLAY=y
+CONFIG_VIDEO_SEPS525=y
+CONFIG_LCD=y
+CONFIG_SPLASH_SCREEN=y
+CONFIG_BMP_16BPP=y
+CONFIG_BMP_24BPP=y
+CONFIG_BMP_32BPP=y
CONFIG_WDT=y
CONFIG_WDT_CDNS=y
CONFIG_PANIC_HANG=y
--
2.30.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 1/2] video: seps525: Align driver with latest treewide changes
2021-01-07 13:26 [PATCH 1/2] video: seps525: Align driver with latest treewide changes Michal Simek
2021-01-07 13:26 ` [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs Michal Simek
@ 2021-01-07 16:21 ` Simon Glass
2021-01-20 7:48 ` Michal Simek
2 siblings, 0 replies; 6+ messages in thread
From: Simon Glass @ 2021-01-07 16:21 UTC (permalink / raw)
To: u-boot
On Thu, 7 Jan 2021 at 06:26, Michal Simek <michal.simek@xilinx.com> wrote:
>
> Some structures/functions have been renamed which are not reflected in this
> driver.
> Commit 8a8d24bdf174 ("dm: treewide: Rename ..._platdata variables to just
> ..._plat"), commit c69cda25c9b5 ("dm: treewide: Rename dev_get_platdata()
> to dev_get_plat()"), commit caa4daa2ae3d ("dm: treewide: Rename 'platdata'
> variables to just 'plat'") and commit 41575d8e4c33 ("dm: treewide: Rename
> auto_alloc_size members to be shorter") are describing these changes.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> Driver was developed based on master branch and next got more changes.
> ---
> drivers/video/seps525.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs
2021-01-07 13:26 ` [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs Michal Simek
@ 2021-01-11 12:42 ` Ashok Reddy Soma
2021-01-20 7:47 ` Michal Simek
1 sibling, 0 replies; 6+ messages in thread
From: Ashok Reddy Soma @ 2021-01-11 12:42 UTC (permalink / raw)
To: u-boot
Acked-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
> -----Original Message-----
> From: Michal Simek <monstr@monstr.eu> On Behalf Of Michal Simek
> Sent: Thursday, January 7, 2021 6:56 PM
> To: u-boot at lists.denx.de; git <git@xilinx.com>; Simon Glass
> <sjg@chromium.org>
> Subject: [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs
>
> Enable this driver to get build and probe for our platform.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> configs/xilinx_zynqmp_virt_defconfig | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/configs/xilinx_zynqmp_virt_defconfig
> b/configs/xilinx_zynqmp_virt_defconfig
> index e400cd4702ee..0bf4b7d692e9 100644
> --- a/configs/xilinx_zynqmp_virt_defconfig
> +++ b/configs/xilinx_zynqmp_virt_defconfig
> @@ -54,6 +54,7 @@ CONFIG_CMD_SPI=y
> CONFIG_CMD_USB=y
> CONFIG_CMD_USB_MASS_STORAGE=y
> CONFIG_CMD_TFTPPUT=y
> +CONFIG_CMD_BMP=y
> CONFIG_CMD_CACHE=y
> CONFIG_CMD_TIME=y
> CONFIG_CMD_TIMER=y
> @@ -155,6 +156,15 @@ CONFIG_USB_ETHER=y
> CONFIG_USB_ETH_CDC=y
> CONFIG_USB_HOST_ETHER=y
> CONFIG_USB_ETHER_ASIX=y
> +CONFIG_DM_VIDEO=y
> +CONFIG_VIDEO_COPY=y
> +CONFIG_DISPLAY=y
> +CONFIG_VIDEO_SEPS525=y
> +CONFIG_LCD=y
> +CONFIG_SPLASH_SCREEN=y
> +CONFIG_BMP_16BPP=y
> +CONFIG_BMP_24BPP=y
> +CONFIG_BMP_32BPP=y
> CONFIG_WDT=y
> CONFIG_WDT_CDNS=y
> CONFIG_PANIC_HANG=y
> --
> 2.30.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs
2021-01-07 13:26 ` [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs Michal Simek
2021-01-11 12:42 ` Ashok Reddy Soma
@ 2021-01-20 7:47 ` Michal Simek
1 sibling, 0 replies; 6+ messages in thread
From: Michal Simek @ 2021-01-20 7:47 UTC (permalink / raw)
To: u-boot
?t 7. 1. 2021 v 14:26 odes?latel Michal Simek <michal.simek@xilinx.com> napsal:
>
> Enable this driver to get build and probe for our platform.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> configs/xilinx_zynqmp_virt_defconfig | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig
> index e400cd4702ee..0bf4b7d692e9 100644
> --- a/configs/xilinx_zynqmp_virt_defconfig
> +++ b/configs/xilinx_zynqmp_virt_defconfig
> @@ -54,6 +54,7 @@ CONFIG_CMD_SPI=y
> CONFIG_CMD_USB=y
> CONFIG_CMD_USB_MASS_STORAGE=y
> CONFIG_CMD_TFTPPUT=y
> +CONFIG_CMD_BMP=y
> CONFIG_CMD_CACHE=y
> CONFIG_CMD_TIME=y
> CONFIG_CMD_TIMER=y
> @@ -155,6 +156,15 @@ CONFIG_USB_ETHER=y
> CONFIG_USB_ETH_CDC=y
> CONFIG_USB_HOST_ETHER=y
> CONFIG_USB_ETHER_ASIX=y
> +CONFIG_DM_VIDEO=y
> +CONFIG_VIDEO_COPY=y
> +CONFIG_DISPLAY=y
> +CONFIG_VIDEO_SEPS525=y
> +CONFIG_LCD=y
> +CONFIG_SPLASH_SCREEN=y
> +CONFIG_BMP_16BPP=y
> +CONFIG_BMP_24BPP=y
> +CONFIG_BMP_32BPP=y
> CONFIG_WDT=y
> CONFIG_WDT_CDNS=y
> CONFIG_PANIC_HANG=y
> --
> 2.30.0
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] video: seps525: Align driver with latest treewide changes
2021-01-07 13:26 [PATCH 1/2] video: seps525: Align driver with latest treewide changes Michal Simek
2021-01-07 13:26 ` [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs Michal Simek
2021-01-07 16:21 ` [PATCH 1/2] video: seps525: Align driver with latest treewide changes Simon Glass
@ 2021-01-20 7:48 ` Michal Simek
2 siblings, 0 replies; 6+ messages in thread
From: Michal Simek @ 2021-01-20 7:48 UTC (permalink / raw)
To: u-boot
?t 7. 1. 2021 v 14:26 odes?latel Michal Simek <michal.simek@xilinx.com> napsal:
>
> Some structures/functions have been renamed which are not reflected in this
> driver.
> Commit 8a8d24bdf174 ("dm: treewide: Rename ..._platdata variables to just
> ..._plat"), commit c69cda25c9b5 ("dm: treewide: Rename dev_get_platdata()
> to dev_get_plat()"), commit caa4daa2ae3d ("dm: treewide: Rename 'platdata'
> variables to just 'plat'") and commit 41575d8e4c33 ("dm: treewide: Rename
> auto_alloc_size members to be shorter") are describing these changes.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> Driver was developed based on master branch and next got more changes.
> ---
> drivers/video/seps525.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/video/seps525.c b/drivers/video/seps525.c
> index 369e5e6afc87..74c8721e1e11 100644
> --- a/drivers/video/seps525.c
> +++ b/drivers/video/seps525.c
> @@ -299,7 +299,7 @@ static int seps525_probe(struct udevice *dev)
>
> static int seps525_bind(struct udevice *dev)
> {
> - struct video_uc_platdata *plat = dev_get_uclass_platdata(dev);
> + struct video_uc_plat *plat = dev_get_uclass_plat(dev);
>
> plat->size = WIDTH * HEIGHT * 16;
>
> @@ -320,8 +320,8 @@ U_BOOT_DRIVER(seps525_video) = {
> .id = UCLASS_VIDEO,
> .of_match = seps525_ids,
> .ops = &seps525_ops,
> - .platdata_auto_alloc_size = sizeof(struct video_uc_platdata),
> + .plat_auto = sizeof(struct video_uc_plat),
> .bind = seps525_bind,
> .probe = seps525_probe,
> - .priv_auto_alloc_size = sizeof(struct seps525_priv),
> + .priv_auto = sizeof(struct seps525_priv),
> };
> --
> 2.30.0
>
This has been fixed by another patch that's why dropping it.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-01-20 7:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 13:26 [PATCH 1/2] video: seps525: Align driver with latest treewide changes Michal Simek
2021-01-07 13:26 ` [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs Michal Simek
2021-01-11 12:42 ` Ashok Reddy Soma
2021-01-20 7:47 ` Michal Simek
2021-01-07 16:21 ` [PATCH 1/2] video: seps525: Align driver with latest treewide changes Simon Glass
2021-01-20 7:48 ` Michal Simek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.