[PATCH v2 resend 5/8] media: platform: xilinx: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/xilinx/xilinx-vipp.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/media/platform/xilinx

[PATCH v2 resend 8/8] fbdev: omapfb: use of_graph_get_remote_port()

2024-05-28 Thread Kuninori Morimoto
We already have of_graph_get_remote_port(), Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/drivers/video/fbdev

[PATCH v2 resend 7/8] video: fbdev: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/fbdev/omap2

[PATCH v2 resend 6/8] staging: media: atmel: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/staging/media/deprecated/atmel/atmel-sama5d2-isc.c | 6 +- drivers/staging/media/deprecated/atmel/atmel-sama7g5-isc.c | 6 +- 2 files

[PATCH v2 resend 4/8] media: platform: ti: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/ti/am437x/am437x-vpfe.c | 12 +--- drivers/media/platform/ti/davinci/vpif_capture.c | 12 ++-- 2 files changed

[PATCH v2 resend 3/8] media: platform: microchip: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- .../microchip/microchip-sama5d2-isc.c | 19 +++ .../microchip/microchip-sama7g5-isc.c | 19 +++ 2 files

[PATCH v2 resend 2/8] hwtracing: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Reviewed-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 resend 1/8] gpu: drm: use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/omapdrm/dss/base.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/base.c b/drivers

[PATCH v2 resend 0/8] use for_each_endpoint_of_node()

2024-05-28 Thread Kuninori Morimoto
rename endpoint func to device_endpoint [ ] add new port function [ ] add new endpont function [ ] remove of_graph_get_next_device_endpoint() v1 -> v2 - fixup TI patch Link: https://lore.kernel.org/r/8734sf6mgn.wl-kuninori.morimoto...@renesas.com Kuninori Morimo

[PATCH v2 8/8] fbdev: omapfb: use of_graph_get_remote_port()

2024-03-31 Thread Kuninori Morimoto
We already have of_graph_get_remote_port(), Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/drivers/video/fbdev

[PATCH v2 7/8] video: fbdev: use for_each_endpoint_of_node()

2024-03-31 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/fbdev/omap2

[PATCH v2 6/8] staging: media: atmel: use for_each_endpoint_of_node()

2024-03-31 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/staging/media/deprecated/atmel/atmel-sama5d2-isc.c | 6 +- drivers/staging/media/deprecated/atmel/atmel-sama7g5-isc.c | 6 +- 2 files

[PATCH v2 5/8] media: platform: xilinx: use for_each_endpoint_of_node()

2024-03-31 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/xilinx/xilinx-vipp.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/media/platform/xilinx

[PATCH v2 4/8] media: platform: ti: use for_each_endpoint_of_node()

2024-03-31 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/ti/am437x/am437x-vpfe.c | 12 +--- drivers/media/platform/ti/davinci/vpif_capture.c | 12 ++-- 2 files changed

[PATCH v2 3/8] media: platform: microchip: use for_each_endpoint_of_node()

2024-03-31 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- .../microchip/microchip-sama5d2-isc.c | 19 +++ .../microchip/microchip-sama7g5-isc.c | 19 +++ 2 files

[PATCH v2 2/8] hwtracing: use for_each_endpoint_of_node()

2024-03-31 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Reviewed-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 1/8] gpu: drm: use for_each_endpoint_of_node()

2024-03-31 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/omapdrm/dss/base.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/base.c b/drivers

[PATCH v2 0/8] use for_each_endpoint_of_node()

2024-03-31 Thread Kuninori Morimoto
n [ ] remove of_graph_get_next_device_endpoint() v1 -> v2 - fixup TI patch Link: https://lore.kernel.org/r/8734sf6mgn.wl-kuninori.morimoto...@renesas.com Kuninori Morimoto (8): gpu: drm: use for_each_endpoint_of_node() hwtracing: use for_each_endpoint_of_node() media: p

Re: [PATCH 4/8] media: platform: ti: use for_each_endpoint_of_node()

2024-03-25 Thread Kuninori Morimoto
Hi Dan > > We already have for_each_endpoint_of_node(), don't use > > of_graph_get_next_endpoint() directly. Replace it. > > > > Signed-off-by: Kuninori Morimoto > > --- (snip) > > - for (i = 0; ; i++) { > > + for_each_endpoint_of_node(dev-&g

[PATCH 8/8] fbdev: omapfb: use of_graph_get_remote_port()

2024-03-24 Thread Kuninori Morimoto
We already have of_graph_get_remote_port(), Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/drivers/video/fbdev

[PATCH 7/8] video: fbdev: use for_each_endpoint_of_node()

2024-03-24 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/fbdev/omap2

[PATCH 6/8] staging: media: atmel: use for_each_endpoint_of_node()

2024-03-24 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/staging/media/deprecated/atmel/atmel-sama5d2-isc.c | 6 +- drivers/staging/media/deprecated/atmel/atmel-sama7g5-isc.c | 6 +- 2 files

[PATCH 5/8] media: platform: xilinx: use for_each_endpoint_of_node()

2024-03-24 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/xilinx/xilinx-vipp.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/media/platform/xilinx

[PATCH 3/8] media: platform: microchip: use for_each_endpoint_of_node()

2024-03-24 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- .../microchip/microchip-sama5d2-isc.c | 19 +++ .../microchip/microchip-sama7g5-isc.c | 19 +++ 2 files

[PATCH 4/8] media: platform: ti: use for_each_endpoint_of_node()

2024-03-24 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/ti/am437x/am437x-vpfe.c | 8 +++- drivers/media/platform/ti/davinci/vpif_capture.c | 11 +-- 2 files changed, 8

[PATCH 2/8] hwtracing: use for_each_endpoint_of_node()

2024-03-24 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto Reviewed-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 1/8] gpu: drm: use for_each_endpoint_of_node()

2024-03-24 Thread Kuninori Morimoto
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/omapdrm/dss/base.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/base.c b/drivers

[PATCH 0/8] use for_each_endpoint_of_node()

2024-03-24 Thread Kuninori Morimoto
new endpont function [ ] remove of_graph_get_next_device_endpoint() Kuninori Morimoto (8): gpu: drm: use for_each_endpoint_of_node() hwtracing: use for_each_endpoint_of_node() media: platform: microchip: use for_each_endpoint_of_node() media: platform: ti: use for_each_endpoint_of_node() media: p

[PATCH 2/2] video: fbdev: replace of_graph_get_next_endpoint()

2024-03-24 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/video/fbdev/omap2/omapfb/dss/dsi.c| 3 ++- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 20 +-- driv

[PATCH 1/2] gpu: drm: replace of_graph_get_next_endpoint()

2024-03-24 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/drm_of.c | 4 +++- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/

[PATCH 0/2] of: replace of_graph_get_next_endpoint()

2024-03-24 Thread Kuninori Morimoto
-1, -1) for some devices - add extra explain for drm_of_get_dsi_bus() - add FIXME and Link on adv7604.c - based on latest of branch Kuninori Morimoto (2): gpu: drm: replace of_graph_get_next_endpoint() video: fbdev: replace of_graph_get_next_endpoint() drivers/gpu/

[PATCH v2 4/4] video: fbdev: replace of_graph_get_next_endpoint()

2024-03-03 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/video/fbdev/omap2/omapfb/dss/dsi.c| 3 ++- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 20 +-- driv

[PATCH v2 3/4] media: platform: replace of_graph_get_next_endpoint()

2024-03-03 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto --- drivers/media/platform/atmel/atmel-isi.c | 4 ++-- drivers/media/platform/intel/pxa_camera.c | 2 +- drivers/media/platform/samsung/exyn

[PATCH v2 2/4] media: i2c: replace of_graph_get_next_endpoint()

2024-03-03 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Link: https://lore.kernel.org/r/9d1e99b0-892d-4a72-a9b3-886b8ed09...@xs4all.nl Signed-off-by: Kuninori Morimoto --- drivers/media/i2c/adv7343.c | 2 +- drivers/media/i2c/adv760

[PATCH v2 1/4] gpu: drm: replace of_graph_get_next_endpoint()

2024-03-03 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/drm_of.c | 4 +++- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/

[PATCH v2 resend 0/4] of: replace of_graph_get_next_endpoint()

2024-03-03 Thread Kuninori Morimoto
of_graph_get_next_device_endpoint() v1 -> v2 - add Reviewed-by from Launrent - use by_regs(xx, -1, -1) for some devices - add extra explain for drm_of_get_dsi_bus() - add FIXME and Link on adv7604.c - based on latest of branch Kuninori Morimoto (4): gpu:

Re: [PATCH v2 resend 0/4] of: replace of_graph_get_next_endpoint()

2024-02-26 Thread Kuninori Morimoto
dsi_bus() > - add FIXME and Link on adv7604.c > - based on latest of branch > > Kuninori Morimoto (4): > gpu: drm: replace of_graph_get_next_endpoint() > media: i2c: replace of_graph_get_next_endpoint() > media: platform: replace of_graph_get_next_endpoint() >

[PATCH v2 resend 4/4] video: fbdev: replace of_graph_get_next_endpoint()

2024-02-19 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/video/fbdev/omap2/omapfb/dss/dsi.c| 3 ++- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 20 +-- driv

[PATCH v2 resend 3/4] media: platform: replace of_graph_get_next_endpoint()

2024-02-19 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto --- drivers/media/platform/atmel/atmel-isi.c | 4 ++-- drivers/media/platform/intel/pxa_camera.c | 2 +- drivers/media/platform/samsung/exyn

[PATCH v2 resend 2/4] media: i2c: replace of_graph_get_next_endpoint()

2024-02-19 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Link: https://lore.kernel.org/r/9d1e99b0-892d-4a72-a9b3-886b8ed09...@xs4all.nl Signed-off-by: Kuninori Morimoto --- drivers/media/i2c/adv7343.c | 2 +- drivers/media/i2c/adv760

[PATCH v2 resend 1/4] gpu: drm: replace of_graph_get_next_endpoint()

2024-02-19 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/drm_of.c | 4 +++- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/

[PATCH v2 resend 0/4] of: replace of_graph_get_next_endpoint()

2024-02-19 Thread Kuninori Morimoto
of_graph_get_next_device_endpoint() v1 -> v2 - add Reviewed-by from Launrent - use by_regs(xx, -1, -1) for some devices - add extra explain for drm_of_get_dsi_bus() - add FIXME and Link on adv7604.c - based on latest of branch Kuninori Morimoto (4): gpu:

[PATCH v2 4/4] video: fbdev: replace of_graph_get_next_endpoint()

2024-02-06 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/video/fbdev/omap2/omapfb/dss/dsi.c| 3 ++- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 20 +-- driv

[PATCH v2 3/4] media: platform: replace of_graph_get_next_endpoint()

2024-02-06 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto --- drivers/media/platform/atmel/atmel-isi.c | 4 ++-- drivers/media/platform/intel/pxa_camera.c | 2 +- drivers/media/platform/samsung/exyn

[PATCH v2 2/4] media: i2c: replace of_graph_get_next_endpoint()

2024-02-06 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Link: https://lore.kernel.org/r/9d1e99b0-892d-4a72-a9b3-886b8ed09...@xs4all.nl Signed-off-by: Kuninori Morimoto --- drivers/media/i2c/adv7343.c | 2 +- drivers/media/i2c/adv760

[PATCH v2 1/4] gpu: drm: replace of_graph_get_next_endpoint()

2024-02-06 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/drm_of.c | 4 +++- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/

[PATCH v2 0/4] of: replace of_graph_get_next_endpoint()

2024-02-06 Thread Kuninori Morimoto
of_graph_get_next_device_endpoint() v1 -> v2 - add Reviewed-by from Launrent - use by_regs(xx, -1, -1) for some devices - add extra explain for drm_of_get_dsi_bus() - add FIXME and Link on adv7604.c - based on latest of branch Kuninori Morimoto (4): gpu: drm: repl

Re: [PATCH 2/4] media: i2c: replace of_graph_get_next_endpoint()

2024-02-06 Thread Kuninori Morimoto
at 'just works' > (tm). > > I'm pretty sure this code is wrong, but nobody ever noticed. Changing it > to the new code just makes it bug-compatible :-) Nice ;) So, let's add /* FIXME */ here in v2 Thank you for your help !! Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto

Re: [PATCH 4/4] video: fbdev: replace of_graph_get_next_endpoint()

2024-02-06 Thread Kuninori Morimoto
ank you for pointing it. I will rebase to latest of branch in v2 Thank you for your help !! Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto

Re: [PATCH 3/4] media: platform: replace of_graph_get_next_endpoint()

2024-02-06 Thread Kuninori Morimoto
oint_by_regs(node, -1, -1); Thank you for your help !! Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto

Re: [PATCH v3 05/24] media: i2c: switch to use of_graph_get_next_device_endpoint()

2024-02-06 Thread Kuninori Morimoto
which is equivalent to of_graph_get_endpoint_by_regs(dev, 0, 0). Technically, -1 instead of 0 is equivalent, but I'd argue is sloppy and wrong. But you mentioned -1 here, So, I will use it on next patch-set. Thank you for your help !! Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto

[PATCH 4/4] video: fbdev: replace of_graph_get_next_endpoint()

2024-02-05 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/amba-clcd.c | 2 +- drivers/video/fbdev/omap2/omapfb/dss/dsi.c| 3 ++- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c |

[PATCH 3/4] media: platform: replace of_graph_get_next_endpoint()

2024-02-05 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto --- drivers/media/platform/atmel/atmel-isi.c | 4 ++-- drivers/media/platform/intel/pxa_camera.c | 2 +- drivers/media/platform/samsung/exyn

[PATCH 2/4] media: i2c: replace of_graph_get_next_endpoint()

2024-02-05 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto --- drivers/media/i2c/adv7343.c | 2 +- drivers/media/i2c/adv7604.c | 2 +- drivers/media/i2c/mt9p031.c | 2 +- drivers/media/

[PATCH 1/4] gpu: drm: replace of_graph_get_next_endpoint()

2024-02-05 Thread Kuninori Morimoto
ULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.ga310089-r...@kernel.org Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/drm_of.c | 2 +- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +- drivers/gpu/drm/tiny/arcpg

[PATCH 0/4] of: replace of_graph_get_next_endpoint()

2024-02-05 Thread Kuninori Morimoto
() [*] replace endpoint func - use endpoint_by_regs() (A) [ ] replace endpoint func - use for_each() [ ] rename endpoint func to device_endpoint [ ] add new port function [ ] add new endpont function [ ] remove of_graph_get_next_device_endpoint() Kuninori Morimoto (4): gpu

Re: [PATCH v3 05/24] media: i2c: switch to use of_graph_get_next_device_endpoint()

2024-02-05 Thread Kuninori Morimoto
; on new function. Thank you for your help !! Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto

Re: [PATCH v3 05/24] media: i2c: switch to use of_graph_get_next_device_endpoint()

2024-02-05 Thread Kuninori Morimoto
skip the rename. It is needed to avoid confuse, because new function will add another endpoint loop. see https://lore.kernel.org/r/20240131100701.754a95ee@booty Thank you for your help !! Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto

Re: [PATCH v3 14/24] of: property: add of_graph_get_next_endpoint()

2024-02-01 Thread Kuninori Morimoto
e other. > > So a better name for this function would probably be > of_graph_get_next_port_endpoint() I guess, to clearly differentiate from > of_graph_get_next_device_endpoint(). Yes, Indeed, Thank you for pointing it ! I will update it on v4 Thank you for your help !! Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto

Re: [PATCH v3 02/24] of: property: use unsigned int return on of_graph_get_endpoint_count()

2024-02-01 Thread Kuninori Morimoto
rting for this function. I see. v4 will be Because of of_graph_get_endpoint_count() doesn't report error, just return count of endpoint, the return type of it should be unsigned. Tidyup it. Thank you for your help !! Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto

[PATCH v3 24/24] fbdev: omapfb: use of_graph_get_next_device_endpoint()

2024-01-31 Thread Kuninori Morimoto
omapdss_of_get_first_endpoint() is same as of_graph_get_next_device_endpoint(xxx, NULL). Replcase it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/dsi.c| 3 ++- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 20 +-- drivers/video/fbdev/omap2

[PATCH v3 02/24] of: property: use unsigned int return on of_graph_get_endpoint_count()

2024-01-31 Thread Kuninori Morimoto
The return type and the variable of of_graph_get_endpoint_count() should be unsigned. Tidyup it. Signed-off-by: Kuninori Morimoto --- drivers/of/property.c| 2 +- include/linux/of_graph.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/of/property.c b

[PATCH v3 03/24] of: property: rename of_graph_get_next_endpoint() to of_graph_get_next_device_endpoint()

2024-01-31 Thread Kuninori Morimoto
of "port". So let's rename related functions as of_graph_get_next_endpoint() -> of_graph_get_next_device_endpoint() of_graph_get_endpoint_count() -> of_graph_get_device_endpoint_count() for_each_endpoint_of_node() -> for_each_device_endpoint_of_node() Signed-off-by

[PATCH v3 14/24] of: property: add of_graph_get_next_endpoint()

2024-01-31 Thread Kuninori Morimoto
eck node name (= "endpoint"). To handle endpoint more intuitive, create of_graph_get_next_endpoint() of_graph_get_next_endpoint(port1, NULL); // A1 of_graph_get_next_endpoint(port1, A1); // A2 of_graph_get_next_endpoint(port1, A2); // NULL Signed-off-by: Kuninori Mo

[PATCH v3 01/24] of: property: add missing kerneldoc for of_graph_get_endpoint_count()

2024-01-31 Thread Kuninori Morimoto
of_graph_get_endpoint_count() doesn't have kerneldoc. Add it. Signed-off-by: Kuninori Morimoto --- drivers/of/property.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/of/property.c b/drivers/of/property.c index afdaefbd03f6..4e879faa1710 100644 --- a/drivers/of/property.c

[PATCH v3 22/24] fbdev: omapfb: use of_graph_get_next_port()

2024-01-31 Thread Kuninori Morimoto
Now we can use of_graph_get_next_port() for port parsing. Use it on omapfb. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 48 +-- drivers/video/fbdev/omap2/omapfb/dss/dss.c| 9 ++-- include/video/omapfb_dss.h| 4

[PATCH v3 11/24] of: remove of_graph_get_next_endpoint() define

2024-01-31 Thread Kuninori Morimoto
All driver are using new of_graph_get_next_device_endpoint(), remove of_graph_get_next_endpoint() macro. Signed-off-by: Kuninori Morimoto --- include/linux/of_graph.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/linux/of_graph.h b/include/linux/of_graph.h index 80b7a579e96a

[PATCH v3 19/24] ASoC: audio-graph-card2: use of_graph_get_next_endpoint()

2024-01-31 Thread Kuninori Morimoto
We can now use of_graph_get_next_endpoint(), let's use it. Signed-off-by: Kuninori Morimoto --- sound/soc/generic/audio-graph-card2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/generic/audio-graph-card2.c b/sound/soc/generic/audio-graph-card2.c index

[PATCH v3 17/24] ASoC: audio-graph-card: use of_graph_get_next_endpoint()

2024-01-31 Thread Kuninori Morimoto
We can now use of_graph_get_next_endpoint(), let's use it. Signed-off-by: Kuninori Morimoto --- sound/soc/generic/audio-graph-card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/generic/audio-graph-card.c b/sound/soc/generic/audio-graph-card.c index

[PATCH v3 20/24] ASoC: test-component: use for_each_port_of_node()

2024-01-31 Thread Kuninori Morimoto
Current test-component.c is using for_each_endpoint_of_node() for parsing, but it should use "port" base loop instead of "endpoint", because properties are "port" base instead of "endpoint". Signed-off-by: Kuninori Morimoto --- sound/soc/generic/te

[PATCH v3 04/24] video: fbdev: switch to use of_graph_get_next_device_endpoint()

2024-01-31 Thread Kuninori Morimoto
of_graph_get_next_endpoint() is now renamed to of_graph_get_next_device_endpoint(). Switch to it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/amba-clcd.c | 2 +- drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c | 2 +- drivers/video/fbdev/pxafb.c

[PATCH v3 18/24] ASoC: audio-graph-card2: use of_graph_get_next_port()

2024-01-31 Thread Kuninori Morimoto
Now we can use of_graph_get_next_port() for port parsing. Use it on audio-graph-card2 driver. Signed-off-by: Kuninori Morimoto --- sound/soc/generic/audio-graph-card2.c | 29 --- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/sound/soc/generic/audio-graph

[PATCH v3 12/24] of: property: add port base loop

2024-01-31 Thread Kuninori Morimoto
port@0 { (1) endpoint@0 {...}; (2) endpoint@1 {...}; }; port@1 { (3) endpoint {...}; }; ... }; Add "port" base functions. Si

[PATCH v3 06/24] media: platform: switch to use of_graph_get_next_device_endpoint()

2024-01-31 Thread Kuninori Morimoto
of_graph_get_next_endpoint() is now renamed to of_graph_get_next_device_endpoint(). Switch to it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/atmel/atmel-isi.c | 4 ++-- drivers/media/platform/intel/pxa_camera.c| 2 +- drivers/media/platform

[PATCH v3 13/24] of: property: use of_graph_get_next_port() on of_graph_get_next_endpoint()

2024-01-31 Thread Kuninori Morimoto
We have of_graph_get_next_port(), use it on of_graph_get_next_endpoint(). Signed-off-by: Kuninori Morimoto Reviewed-by: Tomi Valkeinen --- drivers/of/property.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/of/property.c b/drivers/of/property.c

[PATCH v3 15/24] drm: omapdrm: use of_graph_get_next_endpoint()

2024-01-31 Thread Kuninori Morimoto
We can now use of_graph_get_next_endpoint(), let's use it. Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/omapdrm/dss/dpi.c | 2 +- drivers/gpu/drm/omapdrm/dss/sdi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dpi.c b/drivers/gpu/drm

[PATCH v3 10/24] ASoC: switch to use of_graph_get_next_device_endpoint()

2024-01-31 Thread Kuninori Morimoto
of_graph_get_next_endpoint() is now renamed to of_graph_get_next_device_endpoint(). Switch to it. Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/ak4613.c | 2 +- sound/soc/generic/audio-graph-card2.c | 2 +- sound/soc/generic/simple-card-utils.c | 6 +++--- sound/soc/generic

[PATCH v3 21/24] fbdev: omapfb: use of_graph_get_remote_port()

2024-01-31 Thread Kuninori Morimoto
We already have of_graph_get_remote_port(), Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/drivers/video/fbdev

[PATCH v3 07/24] gpu: drm: switch to use of_graph_get_next_device_endpoint()

2024-01-31 Thread Kuninori Morimoto
of_graph_get_next_endpoint() is now renamed to of_graph_get_next_device_endpoint(). Switch to it. Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/armada/armada_drv.c | 2 +- drivers/gpu/drm/bridge/tc358767.c | 2 +- drivers/gpu/drm/drm_of.c

[PATCH v3 05/24] media: i2c: switch to use of_graph_get_next_device_endpoint()

2024-01-31 Thread Kuninori Morimoto
of_graph_get_next_endpoint() is now renamed to of_graph_get_next_device_endpoint(). Switch to it. Signed-off-by: Kuninori Morimoto --- drivers/media/i2c/adv7343.c | 2 +- drivers/media/i2c/adv748x/adv748x-core.c | 2 +- drivers/media/i2c/adv7604.c | 2 +- drivers/media

[PATCH v3 09/24] staging: switch to use of_graph_get_next_device_endpoint()

2024-01-31 Thread Kuninori Morimoto
of_graph_get_next_endpoint() is now renamed to of_graph_get_next_device_endpoint(). Switch to it. Signed-off-by: Kuninori Morimoto --- drivers/staging/media/deprecated/atmel/atmel-sama5d2-isc.c | 2 +- drivers/staging/media/deprecated/atmel/atmel-sama7g5-isc.c | 2 +- drivers/staging/media

[PATCH v3 23/24] fbdev: omapfb: use of_graph_get_next_endpoint()

2024-01-31 Thread Kuninori Morimoto
We can now use of_graph_get_next_endpoint(), let's use it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/dpi.c| 3 ++- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 22 +-- drivers/video/fbdev/omap2/omapfb/dss/sdi.c| 3 ++- include/video

[PATCH v3 00/24] of: property: add port base loop

2024-01-31 Thread Kuninori Morimoto
tidyup function explain - add missing header on each files https://lore.kernel.org/r/87jzo0uda2.wl-kuninori.morimoto...@renesas.com https://lore.kernel.org/r/87fryhklhb.wl-kuninori.morimoto...@renesas.com Kuninori Morimoto (24): 1) of: property: add missing kerneldoc for of_grap

[PATCH v3 16/24] media: xilinx-tpg: use of_graph_get_next_endpoint()

2024-01-31 Thread Kuninori Morimoto
We can now use of_graph_get_next_endpoint(), let's use it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/xilinx/xilinx-tpg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/xilinx/xilinx-tpg.c b/drivers/media/platform/xilinx/xilinx

[PATCH v3 08/24] hwtracing: switch to use of_graph_get_next_device_endpoint()

2024-01-31 Thread Kuninori Morimoto
of_graph_get_next_endpoint() is now renamed to of_graph_get_next_device_endpoint(). Switch to it. Signed-off-by: Kuninori Morimoto --- drivers/hwtracing/coresight/coresight-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwtracing/coresight/coresight

Re: [PATCH 05/22] sound: remove sh-specific sounds/soc/sh drivers

2023-01-17 Thread Kuninori Morimoto
MMON_CLK You can remove sound/soc/sh/fsi.c It is for SH SoC. Thank you for your help !! Best regards --- Kuninori Morimoto

Re: [PATCH v2 05/10] arm64: dts: renesas: r8a77961: Add FCP device nodes

2020-09-10 Thread Kuninori Morimoto
Hi Geert > > From: Kuninori Morimoto > > > > This patch adds FCP device nodes for R-Car M3-W+ (r8a77961) SoC. > > This patch was tested on R-Car M3-W+ Salvator-XS board. > > > > Signed-off-by: Kuninori Morimoto (snip) > Missing "iommus = <_vc0 16

Re: [PATCH v2 07/10] arm64: dts: renesas: r8a77961: Add DU device nodes

2020-09-10 Thread Kuninori Morimoto
Hi Geert > > From: Kuninori Morimoto > > > > This patch adds DU device nodes for R-Car M3-W+ (r8a77961) SoC. > > This patch was tested on R-Car M3-W+ Salvator-XS board. > > > > Signed-off-by: Kuninori Morimoto > > --- (snip

Re: [PATCH v2 02/10] dt-bindings: display: renesas: dw-hdmi: tidyup example compatible.

2020-09-09 Thread Kuninori Morimoto
Hi Laurent, > > Author: Kuninori Morimoto > > Date: Tue Sep 8 09:34:11 2020 +0900 > > > > dt-bindings: display: renesas: dw-hdmi: Tidyup example compatible > > > > The DT example erronously uses the "renesas,r8a7795-dw-hdmi", when the

Re: [PATCH v2 10/10] arm64: dts: renesas: r8a77961-salvator-xs: add HDMI Sound support

2020-09-08 Thread Kuninori Morimoto
Hi Laurent > > > > From: Kuninori Morimoto > > > > > > > > This patch enables HDMI Sound on R-Car M3-W+ Salvator-XS board. > > > > > > > > This reverts commit b997613fad58a03588f0f64a3d86db6c5bd76dd2. > > > > >

Re: [PATCH v2 10/10] arm64: dts: renesas: r8a77961-salvator-xs: add HDMI Sound support

2020-09-08 Thread Kuninori Morimoto
Hi Laurent Thank you for your review > > From: Kuninori Morimoto > > > > This patch enables HDMI Sound on R-Car M3-W+ Salvator-XS board. > > > > This reverts commit b997613fad58a03588f0f64a3d86db6c5bd76dd2. > > Which tree can this commit be found in ?

[PATCH v2 08/10] arm64: dts: renesas: r8a77961: Add HDMI device nodes

2020-09-07 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch adds HDMI device nodes for R-Car M3-W+ (r8a77961) SoC. This patch was tested on R-Car M3-W+ Salvator-XS board. Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a77961.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion

[PATCH v2 10/10] arm64: dts: renesas: r8a77961-salvator-xs: add HDMI Sound support

2020-09-07 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch enables HDMI Sound on R-Car M3-W+ Salvator-XS board. This reverts commit b997613fad58a03588f0f64a3d86db6c5bd76dd2. Signed-off-by: Kuninori Morimoto --- .../boot/dts/renesas/r8a77961-salvator-xs.dts | 29 +++ 1 file changed, 29 insertions

[PATCH v2 09/10] arm64: dts: renesas: r8a77961-salvator-xs: add HDMI Display support

2020-09-07 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch enables HDMI Display on R-Car M3-W+ Salvator-XS board. Signed-off-by: Kuninori Morimoto --- .../boot/dts/renesas/r8a77961-salvator-xs.dts | 28 +++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77961-salvator

[PATCH v2 07/10] arm64: dts: renesas: r8a77961: Add DU device nodes

2020-09-07 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch adds DU device nodes for R-Car M3-W+ (r8a77961) SoC. This patch was tested on R-Car M3-W+ Salvator-XS board. Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a77961.dtsi | 13 - 1 file changed, 12 insertions(+), 1 deletion

[PATCH v2 06/10] arm64: dts: renesas: r8a77961: Add VSP device nodes

2020-09-07 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch adds VSP device nodes for R-Car M3-W+ (r8a77961) SoC. This patch was tested on R-Car M3-W+ Salvator-XS board. Signed-off-by: Kuninori Morimoto --- arch/arm64/boot/dts/renesas/r8a77961.dtsi | 55 +++ 1 file changed, 55 insertions

[PATCH v2 01/10] dt-bindings: display: renesas: du: Document the r8a77961 bindings

2020-09-07 Thread Kuninori Morimoto
From: Kuninori Morimoto Document the R-Car M3-W+ (R8A77961) SoC in the R-Car DU bindings. Signed-off-by: Kuninori Morimoto --- Documentation/devicetree/bindings/display/renesas,du.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/renesas

[PATCH v2 03/10] dt-bindings: display: renesas: dw-hdmi: Add R8A77961 support

2020-09-07 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch adds R-Car M3-W+ (R8A77961) SoC bindings. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- .../devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH v2 02/10] dt-bindings: display: renesas: dw-hdmi: tidyup example compatible.

2020-09-07 Thread Kuninori Morimoto
From: Kuninori Morimoto required is "renesas,r8a7795-hdmi", instead of "renesas,r8a7795-dw-hdmi" Signed-off-by: Kuninori Morimoto --- .../devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docu

[PATCH v2 04/10] drm: rcar-du: Add r8a77961 support

2020-09-07 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch adds R-Car M3-W+ (R8A77961) support which has compatible to R-Car M3-W (R8A77960). Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b

  1   2   3   >