[staging:staging-next] BUILD SUCCESS 8ef0c4f06432b5b2f4e32f37b81708eae1e20c8c

2020-02-15 Thread kbuild test robot
00213 i386 randconfig-a002-20200213 x86_64 randconfig-a001-20200213 x86_64 randconfig-a001-20200215 x86_64 randconfig-a002-20200215 x86_64 randconfig-a003-20200215 i386 randconfig-a001-20200215 i386

[driver-core:debugfs_cleanup] BUILD SUCCESS 2b55467fc2750c6448d25be5d783a1b1222c0c45

2020-02-15 Thread kbuild test robot
randconfig-a001-20200214 i386 randconfig-a002-20200214 i386 randconfig-a003-20200214 x86_64 randconfig-a001-20200215 x86_64 randconfig-a002-20200215 x86_64 randconfig-a003-20200215 i386 randconfig-a001-20200215 i386

[driver-core:debugfs_remove_return_value] BUILD SUCCESS d14e26bc0cc4a4dfa32a4424930697c1a1e22c91

2020-02-15 Thread kbuild test robot
-32bit_defconfig pariscgeneric-64bit_defconfig x86_64 randconfig-a001-20200215 x86_64 randconfig-a002-20200215 x86_64 randconfig-a003-20200215 i386 randconfig-a001-20200215 i386 randconfig-a002-20200215 i386

[RESEND PATCH v3 16/17] media: imx: silence a couple debug messages

2020-02-15 Thread Steve Longerbeam
Convert to dev_dbg the "subdev bound" and IPU-internal media-link creation messages. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-dev-common.c | 4 +++- drivers/staging/media/imx/imx-media-dev.c | 2 +- drivers/staging/media/imx/imx-media-internal-sd.c | 6 +++

[RESEND PATCH v3 12/17] media: imx: csi: Add missing notifier unregister/cleanup

2020-02-15 Thread Steve Longerbeam
Add the missing calls to unregister and cleanup the subdev notifier in imx_csi_remove(). Fixes: c893500a16baf ("media: imx: csi: Register a subdev notifier") Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-csi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver

[RESEND PATCH v3 14/17] media: imx: csi: Lookup upstream endpoint with imx_media_get_pad_fwnode

2020-02-15 Thread Steve Longerbeam
Fix the 1:1 port-id:pad-index assumption for the upstream subdevice, by searching the upstream subdevice's endpoints for one that maps to the pad's index. This is carried out by a new reverse mapping function imx_media_get_pad_fwnode(). Signed-off-by: Steve Longerbeam --- drivers/staging/media/i

[RESEND PATCH v3 13/17] media: imx: csi: Create media links in bound notifier

2020-02-15 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the CSI sink pad. Signed-off-by: Steve Longerbeam --- Changes in v3: - call a local imx-media utility imx_media_create_fwnode_pad_link(). --- drivers/staging/media/imx/imx-media-csi.c | 21 +++

[RESEND PATCH v3 15/17] media: imx: Create missing links from CSI-2 receiver

2020-02-15 Thread Steve Longerbeam
The entities external to the i.MX6 IPU and i.MX7 now create the links to their fwnode-endpoint connected entities in their notifier bound callbacks. Which means imx_media_create_of_links() and imx_media_create_csi_of_links() are no longer needed and are removed. However there is still one case in

[RESEND PATCH v3 17/17] media: imx: TODO: Remove media link creation todos

2020-02-15 Thread Steve Longerbeam
Remove the TODO items regarding media link creation, these issues are resolved by moving media link creation to individual entity bound callbacks and the implementation of the get_fwnode_pad operation. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/TODO | 29 --

[RESEND PATCH v3 11/17] media: imx: csi: Embed notifier in struct csi_priv

2020-02-15 Thread Steve Longerbeam
Embed the notifier in 'struct csi_priv', instead of dynamically allocating it, to make it possible to retrieve csi_priv in a notifier callback op. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-csi.c | 25 +-- 1 file changed, 10 insertions(+), 15 dele

[RESEND PATCH v3 10/17] media: imx7-media-csi: Create media links in bound notifier

2020-02-15 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the CSI sink pad. Signed-off-by: Steve Longerbeam Reviewed-by: Rui Miguel Silva --- Changes in v3: - call a local imx-media utility imx_media_create_fwnode_pad_link(). Changes in v2: - Rename noti

[RESEND PATCH v3 06/17] media: imx: Add imx_media_create_fwnode_pad_link()

2020-02-15 Thread Steve Longerbeam
Add functions to create media links between a source and sink subdevice based on fwnode endpoint connections between them. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-utils.c | 91 + drivers/staging/media/imx/imx-media.h | 4 + 2 files chang

[RESEND PATCH v3 09/17] media: imx7-mipi-csis: Create media links in bound notifier

2020-02-15 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the mipi csi-2 receiver sink pad. Signed-off-by: Steve Longerbeam --- Changes in v3: - call a local imx-media utility imx_media_create_fwnode_pad_link(). Changes in v2: - Move notifier_to_csis_stat

[RESEND PATCH v3 04/17] media: imx: mipi csi-2: Implement get_fwnode_pad op

2020-02-15 Thread Steve Longerbeam
Implement get_fwnode_pad operation. If the endpoint is owned by the MIPI CSI-2 receiver, return the endpoint's port number. The MIPI CSI-2 receiver maps port numbers and pad indexes 1:1. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx6-mipi-csi2.c | 28 ++ 1

[RESEND PATCH v3 03/17] media: imx: csi: Implement get_fwnode_pad op

2020-02-15 Thread Steve Longerbeam
The CSI does not have a 1:1 relationship between fwnode port numbers and pad indexes. In fact the CSI fwnode device is itself a port which is the sink, containing only a single fwnode endpoint. Implement media_entity operation get_fwnode_pad to first verify the given endpoint is the CSI's sink endp

[RESEND PATCH v3 08/17] media: imx: mipi csi-2: Create media links in bound notifier

2020-02-15 Thread Steve Longerbeam
Implement a notifier bound op to register media links from the remote sub-device's source pad(s) to the mipi csi-2 receiver sink pad. Signed-off-by: Steve Longerbeam --- Changes in v3: - call a local imx-media utility imx_media_create_fwnode_pad_link() that creates a single link. --- drivers/s

[RESEND PATCH v3 02/17] media: v4l2-fwnode: Pass notifier to v4l2_async_register_fwnode_subdev()

2020-02-15 Thread Steve Longerbeam
Instead of allocating a notifier in v4l2_async_register_fwnode_subdev(), have the caller provide one. This allows the caller to implement notifier ops (bind, unbind). The caller is now responsible for first initializing its notifier with a call to v4l2_async_notifier_init(). Signed-off-by: Steve