- Mar 14, 2023
-
-
Naushir Patuck authored
This commit updates the imx219 driver to adverise support for embedded data streams. This can then be used by the bcm2835-unicam driver, which has recently been updated to expose the embedded data stream to userland. The imx219 sensor subdevice overloads the media pad to differentiate between image stream (pad 0) and embedded data stream (pad 1) when performing the v4l2_subdev_pad_ops functions. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
-
Dave Stevenson authored
The HBLANK control was read-only, and always configured such that the sensor HTS register was 3448. This limited the maximum exposure time that could be achieved to around 1.26 secs. Make HBLANK read/write so that the line time can be extended, and thereby allow longer exposures (and slower frame rates). Retain the overall HTS setting when changing modes rather than resetting it to a default. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
-
David Plowman authored
The datasheet for this sensor documents the minimum vblanking as being 32 lines. It does fix some problems with occasional black lines at the bottom of images (tested on Raspberry Pi). Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
-
David Plowman authored
Tested on Raspberry Pi running libcamera. Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
-
Phil Elwell authored
On Pi 4, raise the requested CMA size to 512MB by default, on the understanding that the firmware will cap that to 256MB if it's a 32-bit kernel with less than 2GB of RAM. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Adding the cam1_reg label to the dummy camera regulator gets rid of an error when all overlays are tried against all boards, and brings it closer to what's happening in 6.2. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Pi 400 doesn't have an ACT LED, only a green PWR LED, but a user may wish to remap the ACT functionality to a GPIO on the 40-pin header. Restore the ACT LED declaration, but leave it disabled in order to prevent a GPIO being claimed until either the act_led_gpio dtparam or the act-led overlay is used. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Historically, downstream Pi DTS files have named the LEDs led0 and (if present) led1, while upstream have used the more meaningful "ACT" and "PWR". As part of a closer alignment with upstream, make the LED names match. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Dave Stevenson authored
This is currently running on defaults, so the --strict desired for media drivers and similar won't be observed. That may be possible to add later. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Without a MODULE_DEVICE_TABLE declare for the of_device_ids, the compatible strings won't be turned into module aliases. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
lirc-rpi was retired years ago, suggesting that this overlay is not being used. Before deleting outright, remove the lirc-rpi element. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Dave Stevenson authored
The ST7701 supports numerous different interface mechanisms for MIPI DSI, RGB, or SPI. The driver was only implementing DSI input, so add RGB parallel input with SPI configuration. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
-
Lee Jackson authored
Signed-off-by: Lee Jackson <lee.jackson@arducam.com>
-
Lee Jackson authored
VCM is enabled by default, but you can use 'vcm=off' to disable VCM support. Signed-off-by: Lee Jackson <lee.jackson@arducam.com>
-
Phil Elwell authored
As of kernel 5.19 the WM8731 driver has separate I2C and SPI support modules. Change the Kconfig definitions for the audioinjector.net Pi and Rpi-PROTO soundcards to select SND_SOC_WM8731_I2C. See: https://github.com/raspberrypi/linux/issues/5364 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Dave Stevenson authored
In adding the MPEG2/MPEG4/H264 level and profile controls to the decoder, they weren't declared as read-only, nor handlers added to bcm2835_codec_s_ctrl. That resulted in an error message "Invalid control" being logged every time v4l2_ctrl_handler_setup was called from bcm2835_codec_create_component. Define those controls as read only, and exit early from s_ctrl on read only controls. Fixes: "media: bcm2835-v4l2-codec: Add profile & level ctrls to decode" Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
-
Lee Jackson authored
Signed-off-by: Lee Jackson <lee.jackson@arducam.com>
-
Lee Jackson authored
VCM is enabled by default, but you can use 'vcm=off' to disable VCM support. Signed-off-by: Lee Jackson <lee.jackson@arducam.com>
-
Lee Jackson authored
Include the driver module for the AK7375. Signed-off-by: Lee Jackson <lee.jackson@arducam.com>
-
Yassine Oudjana authored
commit 90f7e76e upstream Make the driver get needed regulators on probe and enable/disable them on runtime PM callbacks. Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com> Tested-by: Umang Jain <umang.jain@ideasonboard.com>
-
Yassine Oudjana authored
commit 04a79f07 upstream Add supply properties to describe regulators needed to power the AK7375 VCM. Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Tested-by: Umang Jain <umang.jain@ideasonboard.com>
-
Yassine Oudjana authored
commit 6d801f89 upstream Convert DT bindings document for AKM AK7375 VCM to DT schema format and add an example. Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Tested-by: Umang Jain <umang.jain@ideasonboard.com>
-
Matthias Reichl authored
This aligns vc4 with Intel, AMD and Synopsis drivers and fixes max bpc connector property not working as expected on monitors with YCbCr 4:2:2 support but not deep color support. max_bpc in connector state is clamped at max_bpc from display info and the latter only takes deep color modes into account so it will always be 8, even if the display can do 4:2:2 12-bit output. Signed-off-by: Matthias Reichl <hias@horus.com>
-
Dom Cobley authored
Support displaying DRM_FORMAT_YUV444 and DRM_FORMAT_YVU444 formats. Tested with kmstest and kodi. e.g. kmstest -r 1920x1080@60 -f 400x300-YU24 Note: without the shift of width, only half the chroma is fetched, resulting in correct left half of image and corrupt colours on right half. The increase in width shouldn't affect fetching of Y data, as the hardware will clamp at dest width. Signed-off-by: Dom Cobley <popcornmix@gmail.com>
-
John Cox authored
In order to support discovery of what profile & levels are supported by stateful decoders implement the profile and level controls where they are defined by V4L2. Signed-off-by: John Cox <jc@kynesim.co.uk>
-
Phil Elwell authored
See: https://github.com/raspberrypi/linux/issues/5338 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Stanislav Zidek authored
This is necessary for volumes with integrity protection, both with and without DM_CRYPT. Signed-off-by: Stanislav Zidek <e.p@centrum.cz>
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-