https://github.com/raspberrypi/linux

sort by:
Revision Author Date Message Commit Date
b6cafbf mmc: Apply ERASE_BROKEN quirks correctly Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:25:46 UTC
849c262 IQaudIO: auto-mute for AMP+ and DigiAMP+ IQAudIO amplifier mute via GPIO22. Add dt params for "one-shot" unmute and auto mute. Revision 2, auto mute implementing HiassofT suggestion to mute/unmute using set_bias_level, rather than startup/shutdown.... "By default DAPM waits 5 seconds (pmdown_time) before shutting down playback streams so a close/stop immediately followed by open/start doesn't trigger an amp mute+unmute." Tested on both AMP+ (via DAC+) and DigiAMP+, with both options... dtoverlay=iqaudio-dacplus,unmute_amp "one-shot" unmute when kernel module loads. dtoverlay=iqaudio-dacplus,auto_mute_amp Unmute amp when ALSA device opened by a client. Mute, with 5 second delay when ALSA device closed. (Re-opening the device within the 5 second close window, will cancel mute.) Revision 4, using gpiod. Revision 5, clean-up formatting before adding mute code. - Convert tab plus 4 space formatting to 2x tab - Remove '// NOT USED' commented code Revision 6, don't attempt to "one-shot" unmute amp, unless card is successfully registered. Signed-off-by: DigitalDreamtime <clive.messer@digitaldreamtime.co.uk> 26 June 2016, 12:25:45 UTC
135390e Revert "videobuf2-v4l2: Verify planes array in buffer dequeueing" This reverts commit ec797f4091efd796d0d1fa2ea61e372a3b3dfa20. 26 June 2016, 12:25:44 UTC
6dd8941 Added support for headphones, microphone and bclk_ratio settings. This patch adds headphone and microphone capability to the Audio Injector sound card. The patch also sets the bit clock ratio for use in the bcm2835-i2s driver. The bcm2835-i2s can't handle an 8 kHz sample rate when the bit clock is at 12 MHz because its register is only 10 bits wide which can't represent the ch2 offset of 1508. For that reason, the rate constraint is added. 26 June 2016, 12:25:42 UTC
d7c8302 rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. See: https://github.com/raspberrypi/linux/pull/1510 26 June 2016, 12:25:41 UTC
6147775 BCM270X_DT: Add spi-rtc overlay on SPI0.0 Initial version only supports PCF2123 RTC. See: https://github.com/raspberrypi/linux/pull/1510 26 June 2016, 12:25:40 UTC
ae739f8 dmaengine: bcm2835: Fix polling for completion of DMA with interrupts masked. The tx_status hook is supposed to be safe to call from interrupt context, but it wouldn't ever return completion for the last transfer, meaning you couldn't poll for DMA completion with interrupts masked. This fixes IRQ handling for bcm2835's DSI1, which requires using the DMA engine to write its registers due to a bug in the AXI bridge. Signed-off-by: Eric Anholt <eric@anholt.net> 26 June 2016, 12:25:39 UTC
6db2b8e dmaengine: bcm2835: Avoid splitting periods into very small chunks The current cyclic DMA period splitting implementation can generate very small chunks at the end of each period. For example a 65536 byte period will be split into a 65532 byte chunk and a 4 byte chunk on the "lite" DMA channels. This increases pressure on the RAM controller as the DMA controller needs to fetch two control blocks from RAM in quick succession and could potentially cause latency issues if the RAM is tied up by other devices. We can easily avoid these situations by distributing the remaining length evenly between the last-but-one and the last chunk, making sure that split chunks will be at least half the maximum length the DMA controller can handle. This patch checks if the last chunk would be less than half of the maximum DMA length and if yes distributes the max len+4...max_len*1.5 bytes evenly between the last 2 chunks. This results in chunk sizes between max_len/2 and max_len*0.75 bytes. Signed-off-by: Matthias Reichl <hias@horus.com> Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Tested-by: Clive Messer <clive.messer@digitaldreamtime.co.uk> 26 June 2016, 12:25:38 UTC
574e4b6 dmaengine: bcm2835: Fix cyclic DMA period splitting The code responsible for splitting periods into chunks that can be handled by the DMA controller missed to update total_len, the number of bytes processed in the current period, when there are more chunks to follow. Therefore total_len was stuck at 0 and the code didn't work at all. This resulted in a wrong control block layout and audio issues because the cyclic DMA callback wasn't executing on period boundaries. Fix this by adding the missing total_len update. Signed-off-by: Matthias Reichl <hias@horus.com> Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Tested-by: Clive Messer <clive.messer@digitaldreamtime.co.uk> 26 June 2016, 12:25:37 UTC
6fb261e ARM: bcm2835: make dma-channel-0 available for kms setups Enable the use of dma-channel 0 when using the vc4-kms-v3d overlay. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> 26 June 2016, 12:25:36 UTC
887857b ARM: bcm2835: add interrupt-names and apply correct mapping Add interrupt-names properties to dt and apply the correct mapping between irq and dma channels. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> 26 June 2016, 12:25:35 UTC
0b4ff86 ARM: bcm270x: changed bcrm,dma-channel-mask to mask out the used channel Dma channel0 is used by the legacy api - to avoid confilcts this needs to get masked out in the device-tree instead of hardcoding it in the driver. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> 26 June 2016, 12:25:34 UTC
00cad6a dmaengine: bcm2835: Load driver early and support legacy API Load driver early since at least bcm2708_fb doesn't support deferred probing and even if it did, we don't want the video driver deferred. Support the legacy DMA API which is needed by bcm2708_fb (but only using the dedicated dma channel 0). Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Signed-off-by: Martin Sperl <kernel@martin.sperl.org> 26 June 2016, 12:25:33 UTC
37fb46e dmaengine: bcm2835: use platform_get_irq_byname Use platform_get_irq_byname to allow for correct mapping of interrupts to dma channels. The currently implemented device tree is unfortunately implemented with the wrong assumption, that each dma-channel has its own dma channel, but dma-irq 11 is handling dma-channel 11-14 and dma-irq 12 is actually a "catch all" interrupt. So here we use the byname variant and require that interrupts are explicitly named via the interrupts-name property in the device tree. The use of shared interrupts is also implemented. As a side-effect this means we can now use dma channels 12, 13 and 14 in a correct manner - also testing shows that onl using channels 11 to 14 for spi and i2s works perfectly (when playing some video) Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> 26 June 2016, 12:25:32 UTC
2035197 dmaengine: bcm2835: add dma_memcopy support to bcm2835-dma Also added check for an error condition in bcm2835_dma_create_cb_chain that showed up during development of this patch. Tested using dmatest for all enabled channels. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Vinod Koul <vinod.koul@intel.com> 26 June 2016, 12:25:30 UTC
573109c dmaengine: bcm2835: add slave_sg support to bcm2835-dma Add slave_sg support to bcm2835-dma using shared allocation code for bcm2835_desc and DMA-control blocks already used by dma_cyclic. Note that bcm2835_dma_callback had to get modified to support both modes of operation (cyclic and non-cyclic). Tested using: * Hifiberry I2S card (using cyclic DMA) * fb_st7735r SPI-framebuffer (using slave_sg DMA via spi-bcm2835) playing BigBuckBunny for audio and video. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Vinod Koul <vinod.koul@intel.com> 26 June 2016, 12:25:29 UTC
303e0d5 dmaengine: bcm2835: limit max length based on channel type The bcm2835 dma system has 2 basic types of dma-channels: * "normal" channels * "light" channels Lite channels are limited in several aspects: * internal data-structure is 128 bit (not 256) * does not support BCM2835_DMA_TDMODE (2D) * DMA length register is limited to 16 bit. so 0-65535 (not 0-65536 as mentioned in the official datasheet) * BCM2835_DMA_S/D_IGNORE are not supported The detection of the type of mode is implemented by looking at the LITE bit in the DEBUG register for each channel. This allows automatic detection. Based on this the maximum block size is set to (64K - 4) or to 1G and this limit is honored during generation of control block chains. The effect is that when a LITE channel is used more control blocks are used to do the same transfer (compared to a normal channel). As there are several sources/target DREQS that are 32 bit wide we need to have the transfer to be a multiple of 4 as this would break the transfer otherwise. This is why the limit of (64K - 4) was chosen over the alternative of (64K - 4K). Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Vinod Koul <vinod.koul@intel.com> 26 June 2016, 12:25:28 UTC
842eab9 dmaengine: bcm2835: move controlblock chain generation into separate method In preparation of adding slave_sg functionality this patch moves the generation/allocation of bcm2835_desc and the building of the corresponding DMA-control-block chain from bcm2835_dma_prep_dma_cyclic into the newly created method bcm2835_dma_create_cb_chain. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Vinod Koul <vinod.koul@intel.com> 26 June 2016, 12:25:27 UTC
bedcfad dmaengine: bcm2835: move cyclic member from bcm2835_chan into bcm2835_desc In preparation to consolidating code we move the cyclic member into the bcm_2835_desc structure. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Vinod Koul <vinod.koul@intel.com> 26 June 2016, 12:25:26 UTC
ec38c9f dmaengine: bcm2835: add additional defines for DMA-registers Add additional defines describing the DMA registers as well as adding some more documentation to those registers. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Vinod Koul <vinod.koul@intel.com> 26 June 2016, 12:25:25 UTC
9f408b6 dmaengine: bcm2835: remove unnecessary masking of dma channels The original patch contained 3 dma channels that were masked out. These - as far as research and discussions show - are a artefacts remaining from the downstream legacy dma-api. Right now down-stream still includes a legacy api used only in a single (downstream only) driver (bcm2708_fb) that requires 2D DMA for speedup (DMA-channel 0). Formerly the sd-card support driver also was using this legacy api (DMA-channel 2), but since has been moved over to use dmaengine directly. The DMA-channel 3 is already masked out in the devicetree in the default property "brcm,dma-channel-mask = <0x7f35>;" So we can remove the whole masking of DMA channels. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Vinod Koul <vinod.koul@intel.com> 26 June 2016, 12:25:23 UTC
868da4e Revert "dmaengine: bcm2835: Add slave dma support" This reverts commit 8a349301238aabb40c9da5ca8c8492b6b8d146f6. 26 June 2016, 12:25:22 UTC
8cd6ba7 Revert "dmaengine: bcm2835: Load driver early and support legacy API" This reverts commit 6f56fff39c811953809b011f59c49a2122c4d173. 26 June 2016, 12:25:21 UTC
9592d72 Revert "bcm2835-dma: Limit cyclic transfers on lite channels to 32k" This reverts commit 052c2005b6ecedc5abad86632f5781adda310aa7. 26 June 2016, 12:25:20 UTC
6134ba9 Revert "bcm2835-dma: Fix up convert to DMA pool" This reverts commit ec2e48fda22c57cab56a4332d1a095f91c919493. 26 June 2016, 12:25:19 UTC
cd43c50 Starts device in station mode instead of monitor, fixes NetworkManager issues 26 June 2016, 12:25:18 UTC
06b866d Enables warning in the compiler and fixes some issues, reference => https://github.com/diederikdehaas/rtl8812AU 26 June 2016, 12:25:17 UTC
d66668c Fixes compatibility with 3.13 26 June 2016, 12:25:16 UTC
05efd83 Fixes CONFIG_CONCURRENT_MODE CONFIG_MULTI_VIR_IFACES 26 June 2016, 12:25:14 UTC
d3c8aa4 Add ProductId for the Netgear N150 - WNA1000M 26 June 2016, 12:25:13 UTC
6107dcc Add support for more 8188CUS and 8192CUS devices 26 June 2016, 12:25:12 UTC
309dc50 Tentatively added support for more 8188CUS based devices. 26 June 2016, 12:25:11 UTC
3ff3507 Set dev_type to wlan Fixes #23 26 June 2016, 12:25:10 UTC
338eaed Add #if for 3.14 kernel change (#87) Fixes compiling after changes in https://github.com/torvalds/linux/commit/f663dd9aaf9ed124f25f0f8452edf238f087ad50 and https://github.com/torvalds/linux/commit/99932d4fc03a13bb3e94938fe25458fabc8f2fc3 Fixes #86 26 June 2016, 12:25:09 UTC
89ca55d suppress spurious messages 26 June 2016, 12:25:08 UTC
7262733 Enable cfg80211 support 26 June 2016, 12:25:07 UTC
127b0bd Fixed MCP23017 section in overlay README Old description could have led to the misunderstanding that it is an i2c port expander, but in fact it is a gpio expander. 26 June 2016, 12:25:05 UTC
0931d1d Add ads1015 overlay See: https://github.com/raspberrypi/linux/pull/1520 26 June 2016, 12:25:04 UTC
b16a3eb brcmfmac: change rx_seq check log from error print to debug print The bus rx sequence is not in order because that control and event frames always cause immediate send, but data frames may be held for glomming in firmware side. It is not actually an error as the packets are still processed even if the RX sequence is not in order. Therefore the error message is rephrased and changed to a debug message. [ Patch from Broadcom ] See: https://github.com/raspberrypi/linux/issues/1313 26 June 2016, 12:25:03 UTC
9330391 brcmfmac: use ndev->needed_headroom to reserve additional header space When using nmap tool with FMAC, the nmap packets were be dropped by kernel because the size was too short. The kernel message showed like "nmap: packet size is too short (42 <= 50)". It is caused by the packet length is shorter than ndev->hard_header_len. According to LL_RESERVED_SPACE() and hard_header_len definition, we should use hard_header_len to reserve L2 header, like ethernet header(ETH_HLEN) in our case and use needed_headroom for the additional headroom needed by hardware. [ Patch from Broadcom ] See: https://github.com/raspberrypi/linux/issues/1357 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:25:02 UTC
68f6517 brcmfmac: revise SDIO error message in brcmf_sdio_drivestrengthinit The error message is given for something that is not an error here as the drive strength configuration may not be applicable for specific devices. Therefore the error message is rephrased and changed to a debug message. [ Patch from Broadcom ] Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:25:01 UTC
7c7a762 BCM270X_DT: Make i2c-gpio usable by other overlays Modify the i2c-gpio overlay to export symbol i2c-gpio for use by other overlays. Export the alias as well for good measure. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:25:00 UTC
a72061d BCM270X_DT: Fix rpi-dac overlay The rpi-dac overlay is almost identical to the hifiberry-dac overlay - the codec used is different but it also doesn't sit on the I2C bus. As a result, when the overlays were modified for dynamic loading and it was discovered that the hifiberry-dac overlay didn't work any more, the the rpi-dac overlay was also broken. The failure was caused by the fact that outside a bus, device names are constructed from the concatenation of the path elements leading to it, so moving the codec instantiation inside /soc caused the device name to get a "soc" added, breaking ALSA's naming. See: http://forum.kodi.tv/showthread.php?tid=269814&pid=2349776#pid2349776 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:24:59 UTC
d08b7e3 Implement a "wakeup-source" option for the i2c-rtc DeviceTree overlay. See: https://github.com/raspberrypi/linux/pull/1511 26 June 2016, 12:24:58 UTC
a1cefa0 smsir.h: remove a now duplicated definition (IR_DEFAULT_TIMEOUT) This macro is now part of the core. Remove from Siano driver. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> 26 June 2016, 12:24:57 UTC
007c1d1 [media] rc: gpio-ir-recv: add timeout on idle Many decoders require a trailing space (period without IR illumination) to be delivered before completing a decode. Since the gpio-ir-recv driver only delivers events on gpio transitions, a single IR symbol (caused by a quick touch on an IR remote) will not be properly decoded without the use of a timer to flush the tail end state of the IR receiver. This patch initializes and uses a timer and the timeout field of rcdev to complete the stream and allow decode. The timeout can be overridden through the use of the LIRC_SET_REC_TIMEOUT ioctl. Signed-off-by: Eric Nelson <eric@nelint.com> Acked-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> 26 June 2016, 12:24:55 UTC
5c438c8 [media] rc-core: define a default timeout for drivers A default timeout value of 125 ms should work for all decoders. Declare a constant to help standardize its' use. Signed-off-by: Eric Nelson <eric@nelint.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> 26 June 2016, 12:24:54 UTC
1a40445 gpio-ir overlay: gpio_pin shouldn't change pull setting Signed-off-by: Matthias Reichl <hias@horus.com> 26 June 2016, 12:24:53 UTC
1ecc9ce BCM270X_DT: Sort entries to placate check script Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:24:52 UTC
6f2c478 BCM270X_DT: Add mcp23017 to the overlay Makefile Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:24:51 UTC
58fb10d BCM2835-V4L2: Correct handling for BGR24 vs RGB24. There was a bug in the GPU firmware that had reversed these two formats. Detect the old firmware, and reverse the formats if necessary. Signed-off-by: Dave Stevenson <6by9@users.noreply.github.com> 26 June 2016, 12:24:50 UTC
3514213 Change BoomBerry name to JustBoom in all locations due to legal challenge 26 June 2016, 12:24:48 UTC
9903dbc New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 26 June 2016, 12:24:47 UTC
b1110bb config: Add support for Logitech Rumblepad 26 June 2016, 12:24:46 UTC
20e4a2b BCM2835-V4L2: Increase minimum resolution to 32x32 https://github.com/raspberrypi/linux/issues/1498 showed up that 16x16 is failing to work on the GPU for some reason. GPU bug being tracked on https://github.com/raspberrypi/firmware/issues/607 Workaround here by increasing minimum resolution via V4L2 to 32x32. Signed-off-by: Dave Stevenson <6by9@users.noreply.github.com> 26 June 2016, 12:24:45 UTC
383f14e simple: add sound-dai-cells to I2S def Add '#sound-dai-cells = <0>;' to the I2S definition in bcm2708_common.dtsi Not having it specified, whilst not causing an issue right now with rpi-4.4.y, is going to cause an issue going forward with the use of simple-card driver. So it doesn't fall through the cracks, patch it in now. Hopefully Martin has taken care of getting a patch submitted for the upstream Pi dts, as it was he who first run into the issue with the current upstream kernel.... https://github.com/msperl/linux-rpi/issues/3#issue-154916615 Signed-off-by: DigitalDreamtime <clive.messer@digitaldreamtime.co.uk> 26 June 2016, 12:24:44 UTC
25ef9e5 Add dt param to force HiFiBerry DAC+ Pro into slave mode "dtoverlay=hifiberry-dacplus,slave" Add 'slave' param to use HiFiBerry DAC+ Pro in slave mode, with Pi as master for bit and frame clock. Signed-off-by: DigitalDreamtime <clive.messer@digitaldreamtime.co.uk> 26 June 2016, 12:24:43 UTC
edba11f bcm2835-camera: Fix max/min error when looping over cameras/resolutions See: https://github.com/raspberrypi/linux/issues/1447#issuecomment-221303506 26 June 2016, 12:24:42 UTC
4659192 Added Overlay for Microchip MCP23017 I2C gpio expander 26 June 2016, 12:24:40 UTC
84dc828 config: Add NF_MATCH_RPFILTER 26 June 2016, 12:24:39 UTC
32d5c6a Revert "Revert "drm/vc4: Force HDMI to connected."" This reverts commit 7da44d06540b4a191ecc74e943f3203577fce0df. This breaks the driver on Pi3 as hotplug is implemented through a gpio expander owned by the GPU. We need to extend the virtual gpio driver to support this, but for now assume hotplug is always enabled. 26 June 2016, 12:24:38 UTC
2066503 clk: bcm2835: Skip PLLC clocks when deciding on a new clock parent If the firmware had set up a clock to source from PLLC, go along with it. But if we're looking for a new parent, we don't want to switch it to PLLC because the firmware will force PLLC (and thus the AXI bus clock) to different frequencies during over-temp/under-voltage, without notification to Linux. On my system, this moves the Linux-enabled HDMI state machine and DSI1 escape clock over to plld_per from pllc_per. EMMC still ends up on pllc_per, because the firmware had set it up to use that. Signed-off-by: Eric Anholt <eric@anholt.net> Fixes: 41691b8862e2 ("clk: bcm2835: Add support for programming the audio domain clocks") 26 June 2016, 12:24:37 UTC
e99cef4 clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi PHYs source PLLs. Neither of them is currently represented by a phy device that would grab the clock for us. This keeps other drivers from killing the networking PHYs when they disable their own clocks and trigger PLLD_PER's refcount going to 0. v2: Skip marking as critical if they aren't on at boot. Signed-off-by: Eric Anholt <eric@anholt.net> 26 June 2016, 12:24:35 UTC
caf89fa clk: bcm2835: Mark the VPU clock as critical The VPU clock is also the clock for our AXI bus, so we really can't disable it. This might have happened during boot if, for example, uart1 (aux_uart clock) probed and was then disabled before the other consumers of the VPU clock had probed. v2: Rewrite to use a .flags in bcm2835_clock_data, since other clocks will need this too. Signed-off-by: Eric Anholt <eric@anholt.net> 26 June 2016, 12:24:34 UTC
072ba0b clk: Allow clocks to be marked as CRITICAL Critical clocks are those which must not be gated, else undefined or catastrophic failure would occur. Here we have chosen to ensure the prepare/enable counts are correctly incremented, so as not to confuse users with enabled clocks with no visible users. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/1455225554-13267-2-git-send-email-mturquette@baylibre.com (cherry picked from commit 32b9b10961860860268961d9aad0c56a73018c37) 26 June 2016, 12:24:33 UTC
a14ad7a drm/vc4: Fix drm_vblank_put/get imbalance in page flip path. The async page flip path was missing drm_crtc_vblank_get/put completely. The sync flip path was missing a vblank put, so async flips only reported proper pageflip completion events by chance, and vblank irq's never turned off after a first vsync'ed page flip until system reboot. Tested against Raspian kernel 4.4.8 tree on RPi 2B. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Cc: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> 26 June 2016, 12:24:31 UTC
d551b2d drm/vc4: Fix get_vblank_counter with proper no-op for Linux 4.4+ get_vblank_counter hooked up to drm_vblank_count() which alway was non-sensical but didn't hurt in the past. Since Linux 4.4 it triggers a WARN_ON_ONCE in drm_update_vblank_count on first vblank irq disable, so fix it by hooking to drm_vblank_no_hw_counter(). Tested against Raspian kernel 4.4.8 tree on RPi 2B. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Cc: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> 26 June 2016, 12:24:30 UTC
c867f56 BCM270X_DT: Add the disabled-by-default DPI device node. This will be enabled and connected to a particular panel by DT overlays. Signed-off-by: Eric Anholt <eric@anholt.net> 26 June 2016, 12:24:29 UTC
fe45ba7 drm/panel: simple: Add the 7" DPI panel from Adafruit This is a basic TFT panel with a 40-pin FPC connector on it. The specification doesn't define timings, but the Adafruit instructions were setting up 800x480 CVT. v2: Add .bus_format and vsync/hsync flags. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Rob Herring <robh@kernel.org> [treding@nvidia.com: keep entries properly sorted] Signed-off-by: Thierry Reding <treding@nvidia.com> (cherry picked from commit 8070fdbd024727c752f815b18e5339c681a01bbe) 26 June 2016, 12:24:28 UTC
bf40c6b drm/vc4: Add missing render node support There shouldn't be any other driver support necessary, since none of the driver-specific ioctls ever required auth, and none of them deal with modesetting. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (cherry picked from commit 0cd3e27476620176c19e346f82576c6e139b85a9) 26 June 2016, 12:24:27 UTC
5bb551d drm/vc4: Add support for gamma ramps. We could possibly save a bit of power by not requesting gamma conversion when the ramp happens to be 1:1, but at least if all the CRTCs are off the SRAM will be disabled. This should fix brightness sliders in a lot of fullscreen games. Signed-off-by: Eric Anholt <eric@anholt.net> (cherry picked from commit e582b6c7e7f9d0b1e30e8017e4082d3a9ede3310) 26 June 2016, 12:24:26 UTC
467df2b drm/vc4: Rename async to nonblock. The async name is deprecated and should be changed to nonblocking. Cc: Eric Anholt <eric@anholt.net> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1461679905-30177-12-git-send-email-maarten.lankhorst@linux.intel.com (cherry picked from commit eb63961ba52ba545f5b7ebeeeefe1c98704e1a79) 26 June 2016, 12:24:25 UTC
fb28c9d drm/vc4: Kick out the simplefb framebuffer before we set up KMS. If we don't, then simplefb stays loaded on /dev/fb0 even though scanout isn't happening from simplefb's memory area any more, and you end up with no console. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit b3a15f6d55fb584dd4d8baac5d1b6a398720620c) 26 June 2016, 12:24:24 UTC
9d3059a drm/vc4: Fix NULL deref in HDMI init error path If you make it here other than through err_destroy_encoder, vc4->hdmi is still NULL. Signed-off-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 5883980313af70aec0ceebaef6ef0709726e5e63) 26 June 2016, 12:24:22 UTC
3259a55 drm/vc4: Add DPI driver The DPI interface involves taking a ton of our GPIOs to be used as outputs, and routing display signals over them in parallel. v2: Use display_info.bus_formats[] to replace our custom DT properties. v3: Rebase on V3D documentation changes. v4: Fix rebase detritus from V3D documentation changes. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Rob Herring <robh@kernel.org> (cherry picked from commit 08302c35b59d306ff37b996e56fb2a488c1d2c2e) 26 June 2016, 12:24:21 UTC
3781902 dt-bindings: Add binding docs for V3D. This was missed in the upstreaming process. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Stephen Warren <swarren@wwwdotorg.org> (cherry picked from commit 4653f22e9ab08b2b7178b7262a9326eb777e0266) 26 June 2016, 12:24:20 UTC
aaafd58 drm: Add an encoder and connector type enum for DPI. Right now exynos is exposing DPI as a TMDS encoder and VGA connector, which seems rather misleading. This isn't just an internal detail, since xrandr actually exposes "VGA" as the output name. Define some new enums so that vc4's DPI can have a more informative name. I considered other names for the connector as well. For VC4, the Adafruit DPI kippah takes the 28 GPIO pins and routes them to a standard-ish 40-pin FPC connector, but "40-pin FPC" doesn't uniquely identify an ordering of pins (apparently some other orderings exist), doesn't explain things as well for the user (who, if anything, knows their product is a DPI kippah/panel combo), and actually doesn't have to exist (one could connect the 28 GPIOs directly to something else). Simply "DPI" seems like a good compromise name to distinguish from the HDMI, DSI, and TV connectors . Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (cherry picked from commit 0b27c02a7f1c697694f2ad6d6517e7dbf9ecfa39) 26 June 2016, 12:24:19 UTC
2a1117c BCM270X: Include DRM_PANEL_SIMPLE in the defconfigs. This is going to be required for the Adafruit DPI panel support. Signed-off-by: Eric Anholt <eric@anholt.net> 26 June 2016, 12:24:18 UTC
cd44794 rtc: ds1307: ensure that any pending alarm is cleared before a new alarm is enabled If a previously-set alarm was disabled and then triggered, it may still be pending when a new alarm is configured. Then, if the alarm is enabled before the pending alarm is cleared, then an interrupt is immediately raised. Unfortunately, when the alarm is cleared and enabled during the same I²C block write, the chip (at least the DS1339 I have) considers that the alarm is enabled before it is cleared, and raises an interrupt. This patch ensures that the pending alarm is cleared before the alarm is enabled. Signed-off-by: Nicolas Boullis <nboullis@debian.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> 26 June 2016, 12:24:16 UTC
8657f21 mmc: Add card_quirks module parameter, log quirks Use mmc_block.card_quirks to override the quirks for all SD or MMC cards. The value is a bitfield using the bit positions defined in include/linux/mmc/card.h. If the module parameter is placed in the kernel command line (or bootargs) stored on the card then, assuming the device only has one SD card interface, the override effectively becomes card-specific. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:24:15 UTC
c7c873f brcmfmac: Plug memory leak in brcmf_fill_bss_param See: https://github.com/raspberrypi/linux/issues/1471 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:24:14 UTC
83e4fc3 mmc: Apply QUIRK_BROKEN_ERASE to other capacities Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:24:13 UTC
0ad25be New AudioInjector.net Pi soundcard with low jitter audio in and out. Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile. Adds the dts overlay and updates the Makefile and README. Updates the relevant defconfig files to enable building for the Raspberry Pi. Thanks to Phil Elwell (pelwell) for the review, simple-card concepts and discussion. Thanks to Clive Messer for overlay naming suggestions. 26 June 2016, 12:24:11 UTC
9ae73a9 mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, and set it for cards of that type. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:24:10 UTC
db0adb0 BCM270X_DT: Fix the tinylcd35 overlay RTC support Now that overlay parameters are applied before the merge (a requirement for kernel runtime overlays) it is illegal for parameters/overrides to target nodes in the base DTB. Solve the problem of only enabling I2C when an RTC option is used by making the RTC fragments conditional, and including the required status="okay" within the fragments. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:24:09 UTC
6b1013b BCM270X_DT: Include address override for pca9542 Omitted from "BCM270X_DT: Add umbrella I2C Mux overlay i2c-mux". Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:24:08 UTC
3db6f46 BCM270X_DT: Add umbrella I2C Mux overlay i2c-mux This overlay supports a range of I2C multiplexers - PCA9542 (2 ports), PCA9545 (4 ports) and PCA9548 (8 ports). Also remove the dedicated i2c-mux-9548a overlays since it is no longer needed. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:24:07 UTC
c898f11 Revert "drm/vc4: Force HDMI to connected." Now that we have the HDMI HPD GPIOs correctly identified in the DT, we should be able to successfully detect HDMI. This reverts commit fbec01e2d17b924d91850e17eeecf975e74c9ebf. Signed-off-by: Eric Anholt <eric@anholt.net> 26 June 2016, 12:24:05 UTC
645d8b2 BCM270X_DT: Set correct HDMI HPD GPIO levels for various boards. The CM is left out, because I haven't found a source for how the CM's HPD is connected. Signed-off-by: Eric Anholt <eric@anholt.net> 26 June 2016, 12:24:04 UTC
ebdec67 BCM270X_DT: Move vc4 node contents to bcm2708_common.dtsi. This should clarify what's going on with the overlay: The hardware is always present, we're just enabling the DT node so that the vc4 driver probes. The interrupts are left in the overlay, because the firmware doesn't check node status before masking out the vc4 interrupts. By having the nodes in the common file, we'll be able to correctly connect the HDMI HPD GPIO so that we can detect whether an HDMI monitor is connected. Signed-off-by: Eric Anholt <eric@anholt.net> 26 June 2016, 12:24:03 UTC
d226c4c config: Add CONFIG_DRM_LOAD_EDID_FIRMWARE 26 June 2016, 12:24:02 UTC
bdb8d46 Allow up to 24dB digital gain to be applied when using IQAudIO DAC 24db_digital_gain DT param can be used to specify that PCM512x codec "Digital" volume control should not be limited to 0dB gain, and if specified will allow the full 24dB gain. Signed-off-by: DigitalDreamtime <clive.messer@digitaldreamtime.co.uk> 26 June 2016, 12:24:01 UTC
e264f10 ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, binding I2S bus and setting I2S mode, clock source and frequency setting according to spec. Signed-off-by: Andrey Grodzovsky <andrey2805@gmail.com> 26 June 2016, 12:24:00 UTC
43b3737 Revert "config: Add CONFIG_DRM_LOAD_EDID_FIRMWARE" This reverts commit 417aed4cb35a479e001c8389fd8d97c3ea612999. 26 June 2016, 12:23:59 UTC
2fbbbcd Revert "rpi: update vc_vchi_audioserv_defs.h" This reverts commit 64fa9f963dffab0145f7960a593422064bb0aa8d. 26 June 2016, 12:23:57 UTC
dcdcc4b config: Add CONFIG_DRM_LOAD_EDID_FIRMWARE 26 June 2016, 12:23:56 UTC
b1d2a0a BCM270X_DT: i2c0-bcm2708 - pin group params Add parameters to set pin groups as a unit, setting the pin function appropriately. The parameters are: pins_0_1 pins_28_29 pins_44_45 pins_46_47 Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:23:55 UTC
572bc8d pinctrl-bcm2835: Return pins to inputs when freed When dynamically unloading overlays, it is important that freed pins are restored to being inputs to prevent functions from being enabled in multiple places at once. Signed-off-by: Phil Elwell <phil@raspberrypi.org> 26 June 2016, 12:23:54 UTC
636db44 videobuf2-v4l2: Verify planes array in buffer dequeueing commit 2c1f6951a8a82e6de0d82b1158b5e493fc6c54ab upstream. When a buffer is being dequeued using VIDIOC_DQBUF IOCTL, the exact buffer which will be dequeued is not known until the buffer has been removed from the queue. The number of planes is specific to a buffer, not to the queue. This does lead to the situation where multi-plane buffers may be requested and queued with n planes, but VIDIOC_DQBUF IOCTL may be passed an argument struct with fewer planes. __fill_v4l2_buffer() however uses the number of planes from the dequeued videobuf2 buffer, overwriting kernel memory (the m.planes array allocated in video_usercopy() in v4l2-ioctl.c) if the user provided fewer planes than the dequeued buffer had. Oops! Fixes: b0e0e1f83de3 ("[media] media: videobuf2: Prepare to divide videobuf2") Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 26 June 2016, 12:23:53 UTC
fc4bee5 Revert "bcm2835: extend allowed range of channels and samplerates" This reverts commit 688a5f0daa45e0a51b324707768d472e1d715c13. 26 June 2016, 12:23:51 UTC
back to top