linux/drivers/media
Krzysztof Kozlowski 9fda25332c media: i2c: imx258: get clock from device properties and enable it via runtime PM
The IMX258 sensor driver checked in device properties for a
clock-frequency property which actually does not mean that the clock is
really running such frequency or is it even enabled.

Get the provided clock and check it frequency.  If none is provided,
fall back to old property.

Enable the clock when accessing the IMX258 registers and when streaming
starts with runtime PM.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-02-06 09:36:55 +01:00
..
cec Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
common Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
dvb-core media: dvb_frontend: Fix fall-through warnings for Clang 2021-01-27 12:55:53 +01:00
dvb-frontends media: mxl692: MaxLinear 692 ATSC demod/tuner driver 2021-02-05 23:37:59 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: i2c: imx258: get clock from device properties and enable it via runtime PM 2021-02-06 09:36:55 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: v4l2-async: Improve v4l2_async_notifier_add_*_subdev() API 2021-02-06 09:18:53 +01:00
platform media: marvell-ccic: power up the device on mclk enable 2021-02-06 09:31:03 +01:00
radio media: si4713: remove trailing semicolon in macro definition 2020-12-03 08:54:13 +01:00
rc Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vidtv: adapter->mdev was set too late 2021-02-05 23:52:58 +01:00
tuners media: qm1d1c0042: fix error return code in qm1d1c0042_init() 2021-01-27 12:59:17 +01:00
usb media: uvc: strncpy -> strscpy 2021-02-05 23:53:20 +01:00
v4l2-core media: v4l2-async: Improve v4l2_async_notifier_add_*_subdev() API 2021-02-06 09:18:53 +01:00
Kconfig media: Remove superfluous dependency for MEDIA_SUPPORT_FILTER 2020-11-27 12:19:25 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00