- Sep 13, 2019
-
-
Dave Stevenson authored
The codec is happy with video up to 1920 high if the width is suitably reduced to stay within level limits. eg 1080x1920 is OK to decode. Increase the height limit accordingly. Signed-off-by:
Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Jörg Schambacher authored
Adds the driver for the Hifiberry DAC+DSP. It supports capture and playback depending on the DSP firmware. Signed-off-by:
Joerg Schambacher <joerg@i2audio.com>
-
James Hughes authored
Margins were incorrectly assumed to be setup in SDTV mode, but were not actually done, so this make the setup non-conditional on mode. Signed-off-by:
James Hughes <james.hughes@raspberrypi.org>
-
Phil Elwell authored
Without this change, V3D ends up using (and rapidly running out of) bounce buffers. Signed-off-by:
Phil Elwell <phil@raspberrypi.org>
-
Phil Elwell authored
This one got missed. Signed-off-by:
Phil Elwell <phil@raspberrypi.org>
-
Phil Elwell authored
See: https://github.com/raspberrypi/linux/issues/3182 Signed-off-by:
Phil Elwell <phil@raspberrypi.org>
-
Dave Stevenson authored
This is mainly used for the NoIR camera which has no IR filter and can completely confuse normal AWB presets. Signed-off-by:
Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
Adds a simple greyworld white balance preset, mainly for use with cameras without an IR filter (eg Raspberry Pi NoIR) Signed-off-by:
Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
The interrupt GPIO is optional to the driver, therefore add an option to not configure it. Signed-off-by:
Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
In order to allow the overlay to be loaded multiple times the GPIO node for the interrupt line needs to be unique. Rename it based on the MCP23017 I2C address https://github.com/raspberrypi/linux/issues/3207 Signed-off-by:
Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Yaroslav Rosomakho authored
This prevents DMA leaks. Signed-off-by:
Yaroslav Rosomakho <yaroslavros@gmail.com>
-
Yaroslav Rosomakho authored
Limit max_req_size under arm64 (or any other platform that uses swiotlb) to prevent potential buffer overflow due to bouncing. Signed-off-by:
Yaroslav Rosomakho <yaroslavros@gmail.com>
-
Kieran Bingham authored
Add a media controller device node to represent the Unicam device. The attached sensor will be automatically added to the media graph by V4L2 core. Signed-off-by:
Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
unicam_start_rx() is not used outside of the unicam module. Its current definition produces a compiler warning, that no function prototype exists. As the function is only used within the local scope of the module, convert it to a static function. Signed-off-by:
Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
Provide a single media device to contain all of the bcm2835_codec devices created. Signed-off-by:
Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
Pass the bcm2835_codec_driver driver context directly into the bcm2835_codec_create() so that it can be used to store driver global state. Pass the struct platform_device *pdev by adding it to the driver global state. Signed-off-by:
Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
Three entities are created, Decode, Encode and ISP but all of the video nodes use the same video name string "bcm2835-codec" which makes it difficult to identify each role. Append the role-name to the video name to facilitate identifying a specific instance from userspace. The Card-Type is also extended with the role name to support identifying the device context from within QUERY_CAP operations. Signed-off-by:
Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
The static role text is declared incorrectly. The static should be first, and the roles should also be constified. Convert from "const static char *" to "static const char * const". Signed-off-by:
Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Kieran Bingham authored
The job_ready comment is incorrectly using the documentation prefix (/**) which causes a warning at build time. Simplify it. Signed-off-by:
Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Dave Stevenson authored
Adds an overlay for the IMX219 image sensor, connected to the Unicam CSI2 receiver peripheral. Signed-off-by:
Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
Signed-off-by:
Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Dave Stevenson authored
Adds a driver for the 8MPix Sony IMX219 CSI2 sensor. Whilst the sensor supports 2 or 4 CSI2 data lanes, this driver currently only supports 2 lanes. 8MPix @ 15fps, 1080P @ 30fps (cropped FOV), and 1640x1232 (2x2 binned) @ 30fps are currently supported. Signed-off-by:
Dave Stevenson <dave.stevenson@raspberrypi.org> Tested-by:
Kieran Bingham <kieran.bingham@ideasonboard.com>
-
Dave Stevenson authored
The IMX219 is an 8MPix CSI2 sensor, supporting 2 or 4 data lanes. Document the binding for this device. Signed-off-by:
Dave Stevenson <dave.stevenson@raspberrypi.org>
-
Phil Elwell authored
Signed-off-by:
Phil Elwell <phil@raspberrypi.org>
-
Phil Elwell authored
Signed-off-by:
Phil Elwell <phil@raspberrypi.org>
-
Trevor Stiles authored
Signed-off-by:
Trevor Stiles <tstiles@shel.org>
-
Álvaro Fernández Rojas authored
This is needed to identify the different models on distributions like OpenWrt. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com>
-
Aman Gupta authored
The ISP and ENCODE roles have the same underlying hardware. Neither requires vertical alignment. Signed-off-by:
Aman Gupta <aman@tmm1.net>
-
Aman Gupta authored
fixes #3171 Signed-off-by:
Aman Gupta <aman@tmm1.net>
-
popcornmix authored
-
popcornmix authored
This code path hasn't been used previously. Fixed up after testing with kodi on 32-bit userland and 64-bit kernel Signed-off-by:
popcornmix <popcornmix@gmail.com>
-
Phil Elwell authored
The xtal parameter is targetting the wrong node - fix it. See: https://github.com/raspberrypi/linux/issues/3156 Signed-off-by:
Phil Elwell <phil@raspberrypi.org>
-
Phil Elwell authored
Enable the V3D driver, which depends on BCM2835_POWER. Originally submitted by GitHub user 'phire' in a slightly different form. See: https://github.com/raspberrypi/linux/pull/3063 Signed-off-by:
Phil Elwell <phil@raspberrypi.org>
-
P33M authored
The hardware will do a 4-byte write to memory on any IN packet received that is between 1 and 3 bytes long. This tramples memory in the uvcvideo driver, as it uses a sequence of 1- and 2-byte control transfers to query the min/max/range/step of each individual camera control and gives us buffers that are offsets into a struct. Catch small control transfers in the data phase and use the align_buf to bounce the correct number of bytes into the URB's buffer. In general, short packets on non-control endpoints should be OK as URBs should have enough buffer space for a wMaxPacket size transfer. See: https://github.com/raspberrypi/linux/issues/3148 Signed-off-by:
Jonathan Bell <jonathan@raspberrypi.org>
-
Jonathan Bell authored
Users have reported log spam created by "Event Ring Full" xHC event TRBs. These are caused by interrupt latency in conjunction with a very busy set of devices on the bus. The errors are benign, but throughput will suffer as the xHC will pause processing of transfers until the event ring is drained by the kernel. Expand the number of event TRB slots available by increasing the number of event ring segments in the ERST. Controllers have a hardware-defined limit as to the number of ERST entries they can process, so make the actual number in use min(ERST_MAX_SEGS, hw_max). Signed-off-by:
Jonathan Bell <jonathan@raspberrypi.org>
-
Phil Elwell authored
The I2C interface nodes need aliases to give them fixed bus numbers, and setting the pulls on the GPIOs (particularly 9-13) increases the chances of the bus working with weak or absent external pulls. See: https://www.raspberrypi.org/forums/posting.php?mode=reply&f=107&t=248439 Signed-off-by:
Phil Elwell <phil@raspberrypi.org>
-
Phil Elwell authored
See: https://github.com/raspberrypi/linux/issues/3141 Signed-off-by:
Phil Elwell <phil@raspberrypi.org>
-
Phil Elwell authored
Update bcm2709_defconfig to match the output from savedefconfig. Signed-off-by:
Phil Elwell <phil@raspberrypi.org>
-
Boris Brezillon authored
X/Y positioning of T-format buffers is quite tricky and the current implementation was failing to position a plane using this format correctly when the CRTC X, Y or both X and Y offsets were negative. It was also failing when the SRC X/Y offsets were != 0. Signed-off-by:
Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20180803092231.26446-5-boris.brezillon@bootlin.com
-
Boris Brezillon authored
The offset adjustment depends on the framebuffer modified, so let's just move this operation in the DRM_FORMAT_MOD_LINEAR case inside vc4_plane_mode_set(). This we'll be able to fix offset calculation for DRM_FORMAT_MOD_BROADCOM_VC4_T_TILED and DRM_FORMAT_MOD_BROADCOM_SANDXXX. Signed-off-by:
Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20180803092231.26446-4-boris.brezillon@bootlin.com
-