All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers: video: rockchip: fix building eDP and LVDS drivers
@ 2020-04-20 18:18 Peter Robinson
  2020-04-20 18:45 ` Anatolij Gustschin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Robinson @ 2020-04-20 18:18 UTC (permalink / raw)
  To: u-boot

The rk_edp.c and rk_lvds.c files reference rk_setreg which is declared in
hardware.h so include it so the drivers build. Adjust rk_lvds.c so
includes are in alphabetical order while updating.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/video/rockchip/rk_edp.c  | 1 +
 drivers/video/rockchip/rk_lvds.c | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/video/rockchip/rk_edp.c b/drivers/video/rockchip/rk_edp.c
index 8703df0ec0..cf84b886e7 100644
--- a/drivers/video/rockchip/rk_edp.c
+++ b/drivers/video/rockchip/rk_edp.c
@@ -18,6 +18,7 @@
 #include <asm/arch-rockchip/clock.h>
 #include <asm/arch-rockchip/edp_rk3288.h>
 #include <asm/arch-rockchip/grf_rk3288.h>
+#include <asm/arch-rockchip/hardware.h>
 #include <dt-bindings/clock/rk3288-cru.h>
 
 #define MAX_CR_LOOP 5
diff --git a/drivers/video/rockchip/rk_lvds.c b/drivers/video/rockchip/rk_lvds.c
index cf5c0439b1..79e24baf53 100644
--- a/drivers/video/rockchip/rk_lvds.c
+++ b/drivers/video/rockchip/rk_lvds.c
@@ -13,8 +13,9 @@
 #include <asm/gpio.h>
 #include <asm/io.h>
 #include <asm/arch-rockchip/clock.h>
-#include <asm/arch-rockchip/lvds_rk3288.h>
 #include <asm/arch-rockchip/grf_rk3288.h>
+#include <asm/arch-rockchip/hardware.h>
+#include <asm/arch-rockchip/lvds_rk3288.h>
 #include <dt-bindings/clock/rk3288-cru.h>
 #include <dt-bindings/video/rk3288.h>
 
-- 
2.26.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] drivers: video: rockchip: fix building eDP and LVDS drivers
  2020-04-20 18:18 [PATCH] drivers: video: rockchip: fix building eDP and LVDS drivers Peter Robinson
@ 2020-04-20 18:45 ` Anatolij Gustschin
  2020-04-21  1:02 ` Vagrant Cascadian
  2020-04-26 21:10 ` Anatolij Gustschin
  2 siblings, 0 replies; 4+ messages in thread
From: Anatolij Gustschin @ 2020-04-20 18:45 UTC (permalink / raw)
  To: u-boot

On Mon, 20 Apr 2020 19:18:25 +0100
Peter Robinson pbrobinson at gmail.com wrote:

> The rk_edp.c and rk_lvds.c files reference rk_setreg which is declared in
> hardware.h so include it so the drivers build. Adjust rk_lvds.c so
> includes are in alphabetical order while updating.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

Reviewed-by: Anatolij Gustschin <agust@denx.de>

--
Anatolij

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] drivers: video: rockchip: fix building eDP and LVDS drivers
  2020-04-20 18:18 [PATCH] drivers: video: rockchip: fix building eDP and LVDS drivers Peter Robinson
  2020-04-20 18:45 ` Anatolij Gustschin
@ 2020-04-21  1:02 ` Vagrant Cascadian
  2020-04-26 21:10 ` Anatolij Gustschin
  2 siblings, 0 replies; 4+ messages in thread
From: Vagrant Cascadian @ 2020-04-21  1:02 UTC (permalink / raw)
  To: u-boot

On 2020-04-20, Peter Robinson wrote:
> The rk_edp.c and rk_lvds.c files reference rk_setreg which is declared in
> hardware.h so include it so the drivers build. Adjust rk_lvds.c so
> includes are in alphabetical order while updating.
>
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> Reviewed-by: Anatolij Gustschin <agust@denx.de>

This fixed the build I was having with the pinebook pro patches when
applied to v2020.04, built on both Debian and GNU Guix.

Thanks!

Tested-by: Vagrant Cascadian <vagrant@debian.org>

> ---
>  drivers/video/rockchip/rk_edp.c  | 1 +
>  drivers/video/rockchip/rk_lvds.c | 3 ++-
>  2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/video/rockchip/rk_edp.c b/drivers/video/rockchip/rk_edp.c
> index 8703df0ec0..cf84b886e7 100644
> --- a/drivers/video/rockchip/rk_edp.c
> +++ b/drivers/video/rockchip/rk_edp.c
> @@ -18,6 +18,7 @@
>  #include <asm/arch-rockchip/clock.h>
>  #include <asm/arch-rockchip/edp_rk3288.h>
>  #include <asm/arch-rockchip/grf_rk3288.h>
> +#include <asm/arch-rockchip/hardware.h>
>  #include <dt-bindings/clock/rk3288-cru.h>
>  
>  #define MAX_CR_LOOP 5
> diff --git a/drivers/video/rockchip/rk_lvds.c b/drivers/video/rockchip/rk_lvds.c
> index cf5c0439b1..79e24baf53 100644
> --- a/drivers/video/rockchip/rk_lvds.c
> +++ b/drivers/video/rockchip/rk_lvds.c
> @@ -13,8 +13,9 @@
>  #include <asm/gpio.h>
>  #include <asm/io.h>
>  #include <asm/arch-rockchip/clock.h>
> -#include <asm/arch-rockchip/lvds_rk3288.h>
>  #include <asm/arch-rockchip/grf_rk3288.h>
> +#include <asm/arch-rockchip/hardware.h>
> +#include <asm/arch-rockchip/lvds_rk3288.h>
>  #include <dt-bindings/clock/rk3288-cru.h>
>  #include <dt-bindings/video/rk3288.h>
>  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200420/cb9c018b/attachment-0001.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] drivers: video: rockchip: fix building eDP and LVDS drivers
  2020-04-20 18:18 [PATCH] drivers: video: rockchip: fix building eDP and LVDS drivers Peter Robinson
  2020-04-20 18:45 ` Anatolij Gustschin
  2020-04-21  1:02 ` Vagrant Cascadian
@ 2020-04-26 21:10 ` Anatolij Gustschin
  2 siblings, 0 replies; 4+ messages in thread
From: Anatolij Gustschin @ 2020-04-26 21:10 UTC (permalink / raw)
  To: u-boot

On Mon, 20 Apr 2020 19:18:25 +0100
Peter Robinson pbrobinson at gmail.com wrote:

> The rk_edp.c and rk_lvds.c files reference rk_setreg which is declared in
> hardware.h so include it so the drivers build. Adjust rk_lvds.c so
> includes are in alphabetical order while updating.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> ---
>  drivers/video/rockchip/rk_edp.c  | 1 +
>  drivers/video/rockchip/rk_lvds.c | 3 ++-
>  2 files changed, 3 insertions(+), 1 deletion(-)

Applied to u-boot-video/master, thanks!

--
Anatolij

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-26 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-20 18:18 [PATCH] drivers: video: rockchip: fix building eDP and LVDS drivers Peter Robinson
2020-04-20 18:45 ` Anatolij Gustschin
2020-04-21  1:02 ` Vagrant Cascadian
2020-04-26 21:10 ` Anatolij Gustschin

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.