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
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
-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
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 +++
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
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
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 +++
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
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 --
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
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
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
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
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
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
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
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
17 matches
Mail list logo