All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/3] omapfb: use of_graph_get_remote_endpoint()
@ 2017-06-28  0:28   ` Kuninori Morimoto
  0 siblings, 0 replies; 17+ messages in thread
From: Kuninori Morimoto @ 2017-06-28  0:28 UTC (permalink / raw)
  To: Rob Herring, devicetree
  Cc: Tomi Valkeinen, Bartlomiej Zolnierkiewicz, linux-omap,
	linux-fbdev, linux-kernel


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Now, we can use of_graph_get_remote_endpoint(). Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
based on 4c9c3d595f1bad021cc126d20879df4016801736
("of_graph: add of_graph_get_remote_endpoint()")

 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c
index d356a25..f1eb8b0 100644
--- a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c
+++ b/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c
@@ -16,6 +16,7 @@
 #include <linux/err.h>
 #include <linux/module.h>
 #include <linux/of.h>
+#include <linux/of_graph.h>
 #include <linux/seq_file.h>
 
 #include <video/omapfb_dss.h>
@@ -128,7 +129,7 @@ static struct device_node *omapdss_of_get_remote_port(const struct device_node *
 {
 	struct device_node *np;
 
-	np = of_parse_phandle(node, "remote-endpoint", 0);
+	np = of_graph_get_remote_endpoint(node);
 	if (!np)
 		return NULL;
 
-- 
1.9.1

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

* [PATCH 3/3] omapfb: use of_graph_get_remote_endpoint()
@ 2017-06-28  0:28   ` Kuninori Morimoto
  0 siblings, 0 replies; 17+ messages in thread
From: Kuninori Morimoto @ 2017-06-28  0:28 UTC (permalink / raw)
  To: Rob Herring, devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Tomi Valkeinen, Bartlomiej Zolnierkiewicz,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-fbdev-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA


From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

Now, we can use of_graph_get_remote_endpoint(). Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
---
based on 4c9c3d595f1bad021cc126d20879df4016801736
("of_graph: add of_graph_get_remote_endpoint()")

 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c
index d356a25..f1eb8b0 100644
--- a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c
+++ b/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c
@@ -16,6 +16,7 @@
 #include <linux/err.h>
 #include <linux/module.h>
 #include <linux/of.h>
+#include <linux/of_graph.h>
 #include <linux/seq_file.h>
 
 #include <video/omapfb_dss.h>
@@ -128,7 +129,7 @@ static struct device_node *omapdss_of_get_remote_port(const struct device_node *
 {
 	struct device_node *np;
 
-	np = of_parse_phandle(node, "remote-endpoint", 0);
+	np = of_graph_get_remote_endpoint(node);
 	if (!np)
 		return NULL;
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 3/3] omapfb: use of_graph_get_remote_endpoint()
@ 2017-06-28  0:28   ` Kuninori Morimoto
  0 siblings, 0 replies; 17+ messages in thread
From: Kuninori Morimoto @ 2017-06-28  0:28 UTC (permalink / raw)
  To: Rob Herring, devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Tomi Valkeinen, Bartlomiej Zolnierkiewicz,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-fbdev-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Now, we can use of_graph_get_remote_endpoint(). Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
based on 4c9c3d595f1bad021cc126d20879df4016801736
("of_graph: add of_graph_get_remote_endpoint()")

 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c
index d356a25..f1eb8b0 100644
--- a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c
+++ b/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c
@@ -16,6 +16,7 @@
 #include <linux/err.h>
 #include <linux/module.h>
 #include <linux/of.h>
+#include <linux/of_graph.h>
 #include <linux/seq_file.h>
 
 #include <video/omapfb_dss.h>
@@ -128,7 +129,7 @@ static struct device_node *omapdss_of_get_remote_port(const struct device_node *
 {
 	struct device_node *np;
 
-	np = of_parse_phandle(node, "remote-endpoint", 0);
+	np = of_graph_get_remote_endpoint(node);
 	if (!np)
 		return NULL;
 
-- 
1.9.1


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

* [PATCH 0/3] use of_graph_get_remote_endpoint()
@ 2017-06-28  0:31 Kuninori Morimoto
  2017-06-28  0:28   ` Kuninori Morimoto
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Kuninori Morimoto @ 2017-06-28  0:31 UTC (permalink / raw)
  To: Rob Herring; +Cc: devicetree-u79uwXL29TY76Z2rM5mHXA


Hi Rob

In linux-next, we have common of_graph_get_remote_endpoint()
by 4c9c3d595f1bad021cc126d20879df4016801736
("of_graph: add of_graph_get_remote_endpoint()")

These patches use of_graph_get_remote_endpoint()

Kuninori Morimoto (3):
  drm: rcar-du: use of_graph_get_remote_endpoint()
  media: ti-vpe: cal: use of_graph_get_remote_endpoint()
  omapfb: use of_graph_get_remote_endpoint()

 drivers/gpu/drm/rcar-du/rcar_du_kms.c         | 2 +-
 drivers/media/platform/ti-vpe/cal.c           | 2 +-
 drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 1/3] drm: rcar-du: use of_graph_get_remote_endpoint()
  2017-06-28  0:31 [PATCH 0/3] use of_graph_get_remote_endpoint() Kuninori Morimoto
@ 2017-06-28  0:32   ` Kuninori Morimoto
  2017-06-28  0:32   ` Kuninori Morimoto
  2017-06-28  0:33   ` Kuninori Morimoto
  2 siblings, 0 replies; 17+ messages in thread
From: Kuninori Morimoto @ 2017-06-28  0:32 UTC (permalink / raw)
  To: Rob Herring, devicetree
  Cc: Laurent Pinchart, David Airlie, dri-devel, linux-renesas-soc,
	linux-kernel


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Now, we can use of_graph_get_remote_endpoint(). Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
based on 4c9c3d595f1bad021cc126d20879df4016801736
("of_graph: add of_graph_get_remote_endpoint()")

 drivers/gpu/drm/rcar-du/rcar_du_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
index 82b978a..66d8cc3 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
@@ -309,7 +309,7 @@ static int rcar_du_encoders_init_one(struct rcar_du_device *rcdu,
 		return -ENODEV;
 	}
 
-	entity_ep_node = of_parse_phandle(ep->local_node, "remote-endpoint", 0);
+	entity_ep_node = of_graph_get_remote_endpoint(ep->local_node);
 
 	for_each_endpoint_of_node(entity, ep_node) {
 		if (ep_node == entity_ep_node)
-- 
1.9.1

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

* [PATCH 1/3] drm: rcar-du: use of_graph_get_remote_endpoint()
@ 2017-06-28  0:32   ` Kuninori Morimoto
  0 siblings, 0 replies; 17+ messages in thread
From: Kuninori Morimoto @ 2017-06-28  0:32 UTC (permalink / raw)
  To: Rob Herring, devicetree
  Cc: Laurent Pinchart, David Airlie, dri-devel, linux-renesas-soc,
	linux-kernel


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Now, we can use of_graph_get_remote_endpoint(). Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
based on 4c9c3d595f1bad021cc126d20879df4016801736
("of_graph: add of_graph_get_remote_endpoint()")

 drivers/gpu/drm/rcar-du/rcar_du_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
index 82b978a..66d8cc3 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
@@ -309,7 +309,7 @@ static int rcar_du_encoders_init_one(struct rcar_du_device *rcdu,
 		return -ENODEV;
 	}
 
-	entity_ep_node = of_parse_phandle(ep->local_node, "remote-endpoint", 0);
+	entity_ep_node = of_graph_get_remote_endpoint(ep->local_node);
 
 	for_each_endpoint_of_node(entity, ep_node) {
 		if (ep_node == entity_ep_node)
-- 
1.9.1

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

* [PATCH 2/3] media: ti-vpe: cal: use of_graph_get_remote_endpoint()
  2017-06-28  0:31 [PATCH 0/3] use of_graph_get_remote_endpoint() Kuninori Morimoto
@ 2017-06-28  0:33   ` Kuninori Morimoto
  2017-06-28  0:32   ` Kuninori Morimoto
  2017-06-28  0:33   ` Kuninori Morimoto
  2 siblings, 0 replies; 17+ messages in thread
From: Kuninori Morimoto @ 2017-06-28  0:33 UTC (permalink / raw)
  To: Rob Herring, devicetree
  Cc: Benoit Parrot, Mauro Carvalho Chehab, linux-media, linux-kernel


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Now, we can use of_graph_get_remote_endpoint(). Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
based on 4c9c3d595f1bad021cc126d20879df4016801736
("of_graph: add of_graph_get_remote_endpoint()")

 drivers/media/platform/ti-vpe/cal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/ti-vpe/cal.c b/drivers/media/platform/ti-vpe/cal.c
index 177faa3..0c7ddf8 100644
--- a/drivers/media/platform/ti-vpe/cal.c
+++ b/drivers/media/platform/ti-vpe/cal.c
@@ -1702,7 +1702,7 @@ static int of_cal_create_instance(struct cal_ctx *ctx, int inst)
 	asd->match_type = V4L2_ASYNC_MATCH_FWNODE;
 	asd->match.fwnode.fwnode = of_fwnode_handle(sensor_node);
 
-	remote_ep = of_parse_phandle(ep_node, "remote-endpoint", 0);
+	remote_ep = of_graph_get_remote_endpoint(ep_node);
 	if (!remote_ep) {
 		ctx_dbg(3, ctx, "can't get remote-endpoint\n");
 		goto cleanup_exit;
-- 
1.9.1

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

* [PATCH 2/3] media: ti-vpe: cal: use of_graph_get_remote_endpoint()
@ 2017-06-28  0:33   ` Kuninori Morimoto
  0 siblings, 0 replies; 17+ messages in thread
From: Kuninori Morimoto @ 2017-06-28  0:33 UTC (permalink / raw)
  To: Rob Herring, devicetree
  Cc: Benoit Parrot, Mauro Carvalho Chehab, linux-media, linux-kernel


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Now, we can use of_graph_get_remote_endpoint(). Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
based on 4c9c3d595f1bad021cc126d20879df4016801736
("of_graph: add of_graph_get_remote_endpoint()")

 drivers/media/platform/ti-vpe/cal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/ti-vpe/cal.c b/drivers/media/platform/ti-vpe/cal.c
index 177faa3..0c7ddf8 100644
--- a/drivers/media/platform/ti-vpe/cal.c
+++ b/drivers/media/platform/ti-vpe/cal.c
@@ -1702,7 +1702,7 @@ static int of_cal_create_instance(struct cal_ctx *ctx, int inst)
 	asd->match_type = V4L2_ASYNC_MATCH_FWNODE;
 	asd->match.fwnode.fwnode = of_fwnode_handle(sensor_node);
 
-	remote_ep = of_parse_phandle(ep_node, "remote-endpoint", 0);
+	remote_ep = of_graph_get_remote_endpoint(ep_node);
 	if (!remote_ep) {
 		ctx_dbg(3, ctx, "can't get remote-endpoint\n");
 		goto cleanup_exit;
-- 
1.9.1

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

* Re: [PATCH 2/3] media: ti-vpe: cal: use of_graph_get_remote_endpoint()
       [not found]   ` <CGME20170628085117epcas5p20400db1d5eb6613a2ef167d54024f716@epcas5p2.samsung.com>
@ 2017-06-28  8:51     ` Sylwester Nawrocki
  0 siblings, 0 replies; 17+ messages in thread
From: Sylwester Nawrocki @ 2017-06-28  8:51 UTC (permalink / raw)
  To: Kuninori Morimoto, linux-media
  Cc: Rob Herring, devicetree, Benoit Parrot, Mauro Carvalho Chehab,
	linux-kernel

On 06/28/2017 02:33 AM, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
> 
> Signed-off-by: Kuninori Morimoto<kuninori.morimoto.gx@renesas.com>

Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>

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

* Re: [PATCH 1/3] drm: rcar-du: use of_graph_get_remote_endpoint()
@ 2017-06-29 10:44     ` Laurent Pinchart
  0 siblings, 0 replies; 17+ messages in thread
From: Laurent Pinchart @ 2017-06-29 10:44 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Rob Herring, devicetree, David Airlie, dri-devel,
	linux-renesas-soc, linux-kernel

Hi Morimoto-san,

Thank you for the patch.

On Wednesday 28 Jun 2017 00:32:17 Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> based on 4c9c3d595f1bad021cc126d20879df4016801736
> ("of_graph: add of_graph_get_remote_endpoint()")

This commit isn't upstream yet. I've taken the patch in my tree and will 
rebase it on top of v4.13-rc1 before submitting it for v4.14.

>  drivers/gpu/drm/rcar-du/rcar_du_kms.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
> b/drivers/gpu/drm/rcar-du/rcar_du_kms.c index 82b978a..66d8cc3 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
> @@ -309,7 +309,7 @@ static int rcar_du_encoders_init_one(struct
> rcar_du_device *rcdu, return -ENODEV;
>  	}
> 
> -	entity_ep_node = of_parse_phandle(ep->local_node, "remote-endpoint", 
0);
> +	entity_ep_node = of_graph_get_remote_endpoint(ep->local_node);
> 
>  	for_each_endpoint_of_node(entity, ep_node) {
>  		if (ep_node == entity_ep_node)

-- 
Regards,

Laurent Pinchart

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

* Re: [PATCH 1/3] drm: rcar-du: use of_graph_get_remote_endpoint()
@ 2017-06-29 10:44     ` Laurent Pinchart
  0 siblings, 0 replies; 17+ messages in thread
From: Laurent Pinchart @ 2017-06-29 10:44 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Rob Herring, devicetree-u79uwXL29TY76Z2rM5mHXA, David Airlie,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Hi Morimoto-san,

Thank you for the patch.

On Wednesday 28 Jun 2017 00:32:17 Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
> 
> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

Reviewed-by: Laurent Pinchart <laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>

> ---
> based on 4c9c3d595f1bad021cc126d20879df4016801736
> ("of_graph: add of_graph_get_remote_endpoint()")

This commit isn't upstream yet. I've taken the patch in my tree and will 
rebase it on top of v4.13-rc1 before submitting it for v4.14.

>  drivers/gpu/drm/rcar-du/rcar_du_kms.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
> b/drivers/gpu/drm/rcar-du/rcar_du_kms.c index 82b978a..66d8cc3 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
> @@ -309,7 +309,7 @@ static int rcar_du_encoders_init_one(struct
> rcar_du_device *rcdu, return -ENODEV;
>  	}
> 
> -	entity_ep_node = of_parse_phandle(ep->local_node, "remote-endpoint", 
0);
> +	entity_ep_node = of_graph_get_remote_endpoint(ep->local_node);
> 
>  	for_each_endpoint_of_node(entity, ep_node) {
>  		if (ep_node == entity_ep_node)

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 1/3] drm: rcar-du: use of_graph_get_remote_endpoint()
  2017-06-29 10:44     ` Laurent Pinchart
  (?)
@ 2017-06-29 11:22     ` Geert Uytterhoeven
  2017-06-29 11:26         ` Laurent Pinchart
  -1 siblings, 1 reply; 17+ messages in thread
From: Geert Uytterhoeven @ 2017-06-29 11:22 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: Kuninori Morimoto, Rob Herring, devicetree, David Airlie,
	DRI Development, Linux-Renesas, linux-kernel

Hi Laurent,

On Thu, Jun 29, 2017 at 12:44 PM, Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
> On Wednesday 28 Jun 2017 00:32:17 Kuninori Morimoto wrote:
>> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>>
>> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
>>
>> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>
>> ---
>> based on 4c9c3d595f1bad021cc126d20879df4016801736
>> ("of_graph: add of_graph_get_remote_endpoint()")
>
> This commit isn't upstream yet. I've taken the patch in my tree and will

FTR, it is in linux-next, but the function has been moved from
drivers/of/base.c to drivers/of/property.c.

> rebase it on top of v4.13-rc1 before submitting it for v4.14.

Note that a simple rebase won't make it disappear, due to the move.
So you'll have to drop it explicitly.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 1/3] drm: rcar-du: use of_graph_get_remote_endpoint()
  2017-06-29 11:22     ` Geert Uytterhoeven
@ 2017-06-29 11:26         ` Laurent Pinchart
  0 siblings, 0 replies; 17+ messages in thread
From: Laurent Pinchart @ 2017-06-29 11:26 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Kuninori Morimoto, Rob Herring, devicetree, David Airlie,
	DRI Development, Linux-Renesas, linux-kernel

Hi Geert,

On Thursday 29 Jun 2017 13:22:14 Geert Uytterhoeven wrote:
> On Thu, Jun 29, 2017 at 12:44 PM, Laurent Pinchart wrote:
> > On Wednesday 28 Jun 2017 00:32:17 Kuninori Morimoto wrote:
> >> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> >> 
> >> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
> >> 
> >> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > 
> > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > 
> >> ---
> >> based on 4c9c3d595f1bad021cc126d20879df4016801736
> >> ("of_graph: add of_graph_get_remote_endpoint()")
> > 
> > This commit isn't upstream yet. I've taken the patch in my tree and will
> 
> FTR, it is in linux-next, but the function has been moved from
> drivers/of/base.c to drivers/of/property.c.

Yes, I've seen the patch in linux-next.

> > rebase it on top of v4.13-rc1 before submitting it for v4.14.
> 
> Note that a simple rebase won't make it disappear, due to the move.
> So you'll have to drop it explicitly.

I'm not sure to follow you. This is a driver patch, depending on a function 
that will make it to v4.13-rc1. At this time it thus doesn't compile against 
mainline. I'll rebase it on top of v4.13-rc1, the dependency will be there, 
and I'll submit it for v4.14.

-- 
Regards,

Laurent Pinchart

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

* Re: [PATCH 1/3] drm: rcar-du: use of_graph_get_remote_endpoint()
@ 2017-06-29 11:26         ` Laurent Pinchart
  0 siblings, 0 replies; 17+ messages in thread
From: Laurent Pinchart @ 2017-06-29 11:26 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: devicetree, Kuninori Morimoto, linux-kernel, DRI Development,
	Linux-Renesas, Rob Herring

Hi Geert,

On Thursday 29 Jun 2017 13:22:14 Geert Uytterhoeven wrote:
> On Thu, Jun 29, 2017 at 12:44 PM, Laurent Pinchart wrote:
> > On Wednesday 28 Jun 2017 00:32:17 Kuninori Morimoto wrote:
> >> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> >> 
> >> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
> >> 
> >> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > 
> > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > 
> >> ---
> >> based on 4c9c3d595f1bad021cc126d20879df4016801736
> >> ("of_graph: add of_graph_get_remote_endpoint()")
> > 
> > This commit isn't upstream yet. I've taken the patch in my tree and will
> 
> FTR, it is in linux-next, but the function has been moved from
> drivers/of/base.c to drivers/of/property.c.

Yes, I've seen the patch in linux-next.

> > rebase it on top of v4.13-rc1 before submitting it for v4.14.
> 
> Note that a simple rebase won't make it disappear, due to the move.
> So you'll have to drop it explicitly.

I'm not sure to follow you. This is a driver patch, depending on a function 
that will make it to v4.13-rc1. At this time it thus doesn't compile against 
mainline. I'll rebase it on top of v4.13-rc1, the dependency will be there, 
and I'll submit it for v4.14.

-- 
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH 1/3] drm: rcar-du: use of_graph_get_remote_endpoint()
  2017-06-29 11:26         ` Laurent Pinchart
  (?)
@ 2017-06-29 11:32         ` Geert Uytterhoeven
  -1 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2017-06-29 11:32 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: Kuninori Morimoto, Rob Herring, devicetree, David Airlie,
	DRI Development, Linux-Renesas, linux-kernel

Hi Laurent,

On Thu, Jun 29, 2017 at 1:26 PM, Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
> On Thursday 29 Jun 2017 13:22:14 Geert Uytterhoeven wrote:
>> On Thu, Jun 29, 2017 at 12:44 PM, Laurent Pinchart wrote:
>> > On Wednesday 28 Jun 2017 00:32:17 Kuninori Morimoto wrote:
>> >> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>> >>
>> >> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
>> >>
>> >> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>> >
>> > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>> >
>> >> ---
>> >> based on 4c9c3d595f1bad021cc126d20879df4016801736
>> >> ("of_graph: add of_graph_get_remote_endpoint()")
>> >
>> > This commit isn't upstream yet. I've taken the patch in my tree and will
>>
>> FTR, it is in linux-next, but the function has been moved from
>> drivers/of/base.c to drivers/of/property.c.
>
> Yes, I've seen the patch in linux-next.
>
>> > rebase it on top of v4.13-rc1 before submitting it for v4.14.
>>
>> Note that a simple rebase won't make it disappear, due to the move.
>> So you'll have to drop it explicitly.
>
> I'm not sure to follow you. This is a driver patch, depending on a function
> that will make it to v4.13-rc1. At this time it thus doesn't compile against
> mainline. I'll rebase it on top of v4.13-rc1, the dependency will be there,
> and I'll submit it for v4.14.

Sorry, I misunderstood you were going to take "of_graph: add
of_graph_get_remote_endpoint()" in your tree as a dependency.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 2/3] media: ti-vpe: cal: use of_graph_get_remote_endpoint()
  2017-06-28  0:33   ` Kuninori Morimoto
@ 2017-07-07 12:50     ` Benoit Parrot
  -1 siblings, 0 replies; 17+ messages in thread
From: Benoit Parrot @ 2017-07-07 12:50 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Rob Herring, devicetree, Mauro Carvalho Chehab, linux-media,
	linux-kernel


Acked-by: Benoit Parrot <bparrot@ti.com>

Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> wrote on Wed [2017-Jun-28 00:33:00 +0000]:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> based on 4c9c3d595f1bad021cc126d20879df4016801736
> ("of_graph: add of_graph_get_remote_endpoint()")
> 
>  drivers/media/platform/ti-vpe/cal.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/platform/ti-vpe/cal.c b/drivers/media/platform/ti-vpe/cal.c
> index 177faa3..0c7ddf8 100644
> --- a/drivers/media/platform/ti-vpe/cal.c
> +++ b/drivers/media/platform/ti-vpe/cal.c
> @@ -1702,7 +1702,7 @@ static int of_cal_create_instance(struct cal_ctx *ctx, int inst)
>  	asd->match_type = V4L2_ASYNC_MATCH_FWNODE;
>  	asd->match.fwnode.fwnode = of_fwnode_handle(sensor_node);
>  
> -	remote_ep = of_parse_phandle(ep_node, "remote-endpoint", 0);
> +	remote_ep = of_graph_get_remote_endpoint(ep_node);
>  	if (!remote_ep) {
>  		ctx_dbg(3, ctx, "can't get remote-endpoint\n");
>  		goto cleanup_exit;
> -- 
> 1.9.1
> 

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

* Re: [PATCH 2/3] media: ti-vpe: cal: use of_graph_get_remote_endpoint()
@ 2017-07-07 12:50     ` Benoit Parrot
  0 siblings, 0 replies; 17+ messages in thread
From: Benoit Parrot @ 2017-07-07 12:50 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Rob Herring, devicetree, Mauro Carvalho Chehab, linux-media,
	linux-kernel


Acked-by: Benoit Parrot <bparrot@ti.com>

Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> wrote on Wed [2017-Jun-28 00:33:00 +0000]:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> based on 4c9c3d595f1bad021cc126d20879df4016801736
> ("of_graph: add of_graph_get_remote_endpoint()")
> 
>  drivers/media/platform/ti-vpe/cal.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/platform/ti-vpe/cal.c b/drivers/media/platform/ti-vpe/cal.c
> index 177faa3..0c7ddf8 100644
> --- a/drivers/media/platform/ti-vpe/cal.c
> +++ b/drivers/media/platform/ti-vpe/cal.c
> @@ -1702,7 +1702,7 @@ static int of_cal_create_instance(struct cal_ctx *ctx, int inst)
>  	asd->match_type = V4L2_ASYNC_MATCH_FWNODE;
>  	asd->match.fwnode.fwnode = of_fwnode_handle(sensor_node);
>  
> -	remote_ep = of_parse_phandle(ep_node, "remote-endpoint", 0);
> +	remote_ep = of_graph_get_remote_endpoint(ep_node);
>  	if (!remote_ep) {
>  		ctx_dbg(3, ctx, "can't get remote-endpoint\n");
>  		goto cleanup_exit;
> -- 
> 1.9.1
> 

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

end of thread, other threads:[~2017-07-07 12:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-28  0:31 [PATCH 0/3] use of_graph_get_remote_endpoint() Kuninori Morimoto
2017-06-28  0:28 ` [PATCH 3/3] omapfb: " Kuninori Morimoto
2017-06-28  0:28   ` Kuninori Morimoto
2017-06-28  0:28   ` Kuninori Morimoto
2017-06-28  0:32 ` [PATCH 1/3] drm: rcar-du: " Kuninori Morimoto
2017-06-28  0:32   ` Kuninori Morimoto
2017-06-29 10:44   ` Laurent Pinchart
2017-06-29 10:44     ` Laurent Pinchart
2017-06-29 11:22     ` Geert Uytterhoeven
2017-06-29 11:26       ` Laurent Pinchart
2017-06-29 11:26         ` Laurent Pinchart
2017-06-29 11:32         ` Geert Uytterhoeven
2017-06-28  0:33 ` [PATCH 2/3] media: ti-vpe: cal: " Kuninori Morimoto
2017-06-28  0:33   ` Kuninori Morimoto
     [not found]   ` <CGME20170628085117epcas5p20400db1d5eb6613a2ef167d54024f716@epcas5p2.samsung.com>
2017-06-28  8:51     ` Sylwester Nawrocki
2017-07-07 12:50   ` Benoit Parrot
2017-07-07 12:50     ` Benoit Parrot

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.