6fe4193 | popcornmix | 05 September 2017, 15:24:03 UTC | vcsm: Handle the clean+invalidate case directly | 22 September 2017, 16:23:44 UTC |
65371fa | Dave Stevenson | 05 September 2017, 09:18:33 UTC | vcsm: Replace SM_PDE_T with sm_pde_t Follows the Linux kernel coding style Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:44 UTC |
8e4d189 | Dave Stevenson | 05 September 2017, 09:17:18 UTC | vcsm: Replace SM_PRIV_DATA_T with sm_priv_data_t Follows the Linux kernel coding style Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:43 UTC |
2a81015 | Dave Stevenson | 05 September 2017, 09:16:07 UTC | vcsm: Replace SM_STATE_T with sm_state_t Follow the Linux kernel coding style Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:42 UTC |
db60653 | Dave Stevenson | 05 September 2017, 09:15:25 UTC | vcsm: Replace SM_STATS_T with sm_stats_t Follows the kernel coding style Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:42 UTC |
8148c12 | Dave Stevenson | 05 September 2017, 09:12:21 UTC | vcsm: Replace SM_RESOURCE_T with sm_resource_t Follow the Linux kernel coding style. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:41 UTC |
07d6487 | Dave Stevenson | 01 September 2017, 16:55:07 UTC | vcsm: Remove VC_SM_LOCK_CACHE_MODE_T typedef. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:41 UTC |
b51a9b4 | Dave Stevenson | 01 September 2017, 16:47:32 UTC | vcsm: Fix "Prefer kcalloc over kzalloc with multiply" Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:40 UTC |
2616cca | Dave Stevenson | 01 September 2017, 16:45:34 UTC | vcsm: Fix "void function return statements are not generally useful" Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:40 UTC |
4b67d88 | Dave Stevenson | 01 September 2017, 16:38:27 UTC | vcsm: Fix "struct vm_operations_struct should normally be const" Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:39 UTC |
fb58839 | Dave Stevenson | 01 September 2017, 16:36:11 UTC | vcsm: Correct "long unsigned int" to "unsigned long" Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:38 UTC |
115d6be | Dave Stevenson | 01 September 2017, 16:33:49 UTC | vcsm: Fix use of S_IRUGO and use 0444 instead Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:38 UTC |
14115e4 | Dave Stevenson | 01 September 2017, 16:24:48 UTC | vcsm: Fix spaces around operators. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:37 UTC |
4835d7f | Dave Stevenson | 01 September 2017, 16:29:37 UTC | vcsm: Fix indentation of switch/case statement. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:37 UTC |
34ea48e | Dave Stevenson | 01 September 2017, 16:21:09 UTC | vcsm: Fix lots of block quote formatting issues Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:36 UTC |
089bc6d | Dave Stevenson | 01 September 2017, 16:01:11 UTC | vcsm: Fix erroneous space in 'if' statement. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:36 UTC |
47b00b3 | Dave Stevenson | 01 September 2017, 15:59:49 UTC | vcsm: Fix blank lines after declarations. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:35 UTC |
c15df00 | Dave Stevenson | 01 September 2017, 15:55:08 UTC | vcsm: "unsigned int" preferred over "unsigned" fixed. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:35 UTC |
9a7a8bf | Dave Stevenson | 01 September 2017, 15:50:29 UTC | vcsm: Remove typedef of VC_VCHI_SM_HANDLE_T Replaced with struct sm_instance *. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:34 UTC |
685021b | Dave Stevenson | 01 September 2017, 15:34:13 UTC | vcsm: Fix block comment formatting Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:33 UTC |
6db7e58 | Dave Stevenson | 01 September 2017, 15:29:53 UTC | vcsm: Correct block comment style on licence headers. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:33 UTC |
ece569f | Dave Stevenson | 01 September 2017, 15:26:12 UTC | vcsm: Remove all typedefs from vc_sm_defs.h and calling code Remove typedefs on the structures that make up the IPC to the firmware for VCSM. Update all calling code appropriately. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:32 UTC |
1e377c6 | Dave Stevenson | 15 February 2017, 11:17:44 UTC | VCSM: New option to import a DMABUF for VPU use Takes a dmabuf, and then calls over to the VPU to wrap it into a suitable handle. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:32 UTC |
4739b16 | Dave Stevenson | 25 August 2017, 14:58:57 UTC | vcsm: Convert to loading via device tree. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:31 UTC |
63ff5f8 | Dave Stevenson | 19 May 2017, 13:29:12 UTC | vcsm: code-style: Fix comment indentation Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:31 UTC |
9bebfb8 | Dave Stevenson | 15 February 2017, 11:16:05 UTC | VCSM: Specify pointers in IPC msgs as uint32_t Pointers were specified as void* which will fail rather badly if the kernel is switched to 64 bit. GPU wants 32 bit addresses, so use uint32_t and cast whereever necessary. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> | 22 September 2017, 16:23:30 UTC |
7a3d89d | popcornmix | 25 August 2017, 18:18:26 UTC | vcsm: Provide new ioctl to clean/invalidate a 2D block | 22 September 2017, 16:23:30 UTC |
3b0ae0c | popcornmix | 25 August 2017, 18:18:13 UTC | cache: export clean and invalidate | 22 September 2017, 16:23:29 UTC |
f900301 | Eric Anholt | 19 December 2014, 00:07:15 UTC | mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams my kernel log with these warnings. Signed-off-by: Eric Anholt <eric@anholt.net> | 22 September 2017, 16:23:28 UTC |
6600a27 | Sven Köhler | 07 August 2017, 16:49:20 UTC | Fix dependencies broken since driver was renamed | 22 September 2017, 16:23:28 UTC |
6c257eb | James Hughes | 21 July 2017, 08:55:12 UTC | Sets the BCDC priority to constant 0 This is to workaround for a possible issue in the wireless chip firmware where some packets with higher priorities seem to go missing. See https://github.com/raspberrypi/linux/issues/1342 for details. | 22 September 2017, 16:23:27 UTC |
ebe8b82 | Phil Elwell | 19 July 2017, 14:20:50 UTC | overlays: i2c1-bcm2708: Don't overwrite i2c1 pins node It is bad practise to overwrite an entire node in an overlay. Instead, target the node and overwrite any properties that need changing. See: https://github.com/raspberrypi/linux/pull/2118 Suggested-by: soodvarun78 <soodvarun78@gmail.com> Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:27 UTC |
f26ffd3 | Conn | 17 July 2017, 02:25:43 UTC | config: enhance DualShock3 controller support Enable rumble support in Sony HID & HID battery strength. | 22 September 2017, 16:23:26 UTC |
e84e9e5 | Phil Elwell | 19 July 2017, 14:43:05 UTC | config: Add CONFIG_W1_SLAVE_DS2438 See: https://github.com/raspberrypi/linux/pull/2100 Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:26 UTC |
09cdb70 | Phil Elwell | 19 July 2017, 13:50:49 UTC | Revert "Revert "bcm2835-mmc: Fix DMA usage"" This reverts commit d52c1ae3a211386b5ec98804a468436e85b5b8af. | 22 September 2017, 16:23:25 UTC |
93dd979 | Phil Elwell | 18 July 2017, 14:30:48 UTC | bcm2835-mmc: Prevent DMA race condition The end of a read operation is triggered by the completion of the DMA transfer, but writes are complete when the data IRQ is raised. The bcm2835-mmc driver contains a race between the handling of the DMA completion interrupt and the submission of the next request. Fix the race by deferring the completion of the request until the DMA transfer finishes. Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:25 UTC |
9867799 | popcornmix | 17 July 2017, 15:54:06 UTC | Revert "bcm2835-mmc: Fix DMA usage" This reverts commit f4258b9352afc1480dd1c29a11528e53b73bf356. | 22 September 2017, 16:23:24 UTC |
a6bac2d | Phil Elwell | 14 July 2017, 11:59:55 UTC | bcm2835-mmc: Fix DMA usage The previous change ("bcm2835-mmc: Only claim one DMA channel") used an incorrect variable, the effect of which was to prevent DMA from being used at all. Fix that bug by using the right variable. Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:24 UTC |
22ecac9 | Bilal Amarni | 24 May 2017, 08:52:50 UTC | [ARM64] enable drivers for GPIO expander and vcio | 22 September 2017, 16:23:23 UTC |
ae9538c | Matthias Reichl | 10 July 2017, 09:05:17 UTC | config: enable generic S/PDIF codec drivers (#2104) These drivers can be used as dummy ADC/DAC drivers for attaching general codecs that don't need to be configured. This option will build 2 additional drivers, spdif_receiver and spdif_transmitter. Since these drivers have DT bindings they are handy for quick testing of I2S peripherals with simple-audio-card. eg: fragment@0 { target-path = "/"; __overlay__ { dummy_receiver: spdif-receiver { #address-cells = <0>; #size-cells = <0>; #sound-dai-cells = <0>; compatible = "linux,spdif-dir"; status = "okay"; }; }; }; Signed-off-by: Matthias Reichl <hias@horus.com> | 22 September 2017, 16:23:22 UTC |
e838e98 | Matthijs Kooijman | 09 July 2017, 13:15:22 UTC | overlays: Add gpio-shutdown overlay (#2103) This overlay facilitates the addition of a powerbutton by converting GPIO edges into KEY_POWER keypresses, which can be handled by systemd-logind to shut down the system. Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl> | 22 September 2017, 16:23:22 UTC |
c589cae | Allo | 03 July 2017, 10:15:20 UTC | PianoPlus: Dual Mono & Dual Stereo features added (#2069) | 22 September 2017, 16:23:21 UTC |
d56d3d0 | Steve Conner | 29 June 2017, 14:56:19 UTC | New i2c-rtc-gpio device overlay (#2092) Created new i2c-rtc-gpio device overlay by combining i2c-rtc and i2c-gpio. Tested with PCF2127 on CM3. | 22 September 2017, 16:23:21 UTC |
36a7502 | Eric Anholt | 21 June 2017, 16:03:51 UTC | bcm2708: Drop CMA alignment from FKMS mode as well. I dropped it from KMS mode in d88274d88ed81de1ade8e18e4c0ed91792ec82ea and should have done both of them at that time. Signed-off-by: Eric Anholt <eric@anholt.net> | 22 September 2017, 16:23:20 UTC |
2d0927a | popcornmix | 20 June 2017, 16:51:47 UTC | bcm2835-cpufreq: Change licence to GPLv2 Signed-off-by: Eben Upton <eben.upton@broadcom.com> Signed-off-by: Dom Cobley <dom@raspberrypi.com> | 22 September 2017, 16:23:20 UTC |
dc04d7d | Andrei Gherzan | 05 June 2017, 15:40:38 UTC | dma-bcm2708: Fix module compilation of CONFIG_DMA_BCM2708 bcm2708-dmaengine.c defines functions like bcm_dma_start which are defined as well in dma-bcm2708.h as inline versions when CONFIG_DMA_BCM2708 is not defined. This works fine when CONFIG_DMA_BCM2708 is built in, but when it is selected as module build fails with redefinition errors because in the build system when CONFIG_DMA_BCM2708 is selected as module, the macro becomes CONFIG_DMA_BCM2708_MODULE. This patch makes the header use CONFIG_DMA_BCM2708_MODULE too when available. Fixes https://github.com/raspberrypi/linux/issues/2056 Signed-off-by: Andrei Gherzan <andrei@gherzan.com> | 22 September 2017, 16:23:19 UTC |
a1ce02c | sandeepal | 02 June 2017, 13:29:46 UTC | Allo Digione Driver (#2048) Driver for the Allo Digione soundcard | 22 September 2017, 16:23:19 UTC |
02dd5e9 | Stefan Tatschner | 29 May 2017, 19:46:16 UTC | Add device tree config for htu21 See: https://github.com/raspberrypi/linux/pull/2041 Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:18 UTC |
21067c9 | Phil Elwell | 31 May 2017, 14:27:39 UTC | BCM270X_DT: Improve i2c-sensor and i2c-rtc overlay Use the "__dormant__" feature to permit multiple instances of each overlay, which is more useful now that changing the "reg" property also changes the node address. Although the overlay grows slightly, when applied only the requested node is included. Usage does not change, except that the "lm75addr" parameter of the i2c-sensor overlay has been deprecated in favour of the generic "addr" parameter. Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:17 UTC |
692f372 | Phil Elwell | 31 May 2017, 08:33:55 UTC | config: Adding SENSOR_JC42 The jc42 module supports a number of I2C-based temperature sensor modules. [ DM_RAID0 config lost because now selected by DM_RAID ] See: https://github.com/raspberrypi/linux/issues/2046 Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:17 UTC |
5fa32b9 | Anton Onishchenko | 23 May 2017, 15:55:46 UTC | mpu6050 device tree overlay (#2031) Add overlay and config options for InvenSense MPU6050 6-axis motion detector. | 22 September 2017, 16:23:16 UTC |
61ac39b | chenzhiwo | 17 May 2017, 08:34:57 UTC | Add device tree overlay for GPIO connected rotary encoder. See Documentation/input/rotary-encoder.txt for more information. | 22 September 2017, 16:23:16 UTC |
98b46f4 | Ahmet Inan | 15 May 2017, 15:10:53 UTC | overlays: Add Goodix overlay Add support for I2C connected Goodix gt9271 multiple touch controller using GPIOs 4 and 17 (pins 7 and 11 on GPIO header) for interrupt and reset. Signed-off-by: Ahmet Inan <inan@distec.de> | 22 September 2017, 16:23:15 UTC |
2f6f5ee | Phil Elwell | 08 May 2017, 15:43:40 UTC | irq_bcm2836: Send event when onlining sleeping cores In order to reduce power consumption and bus traffic, it is sensible for secondary cores to enter a low-power idle state when waiting to be started. The wfe instruction causes a core to wait until an event or interrupt arrives before continuing to the next instruction. The sev instruction sends a wakeup event to the other cores, so call it from bcm2836_smp_boot_secondary, the function that wakes up the waiting cores during booting. It is harmless to use this patch without the corresponding change adding wfe to the ARMv7/ARMv8-32 stubs, but if the stubs are updated and this patch is not applied then the other cores will sleep forever. See: https://github.com/raspberrypi/linux/issues/1989 Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:15 UTC |
b1407b6 | Scott Ellis | 25 April 2017, 17:05:42 UTC | BCM270X_DT: Add tmp102 to i2c sensor overlay Signed-off-by: Scott Ellis <scott@jumpnowtek.com> | 22 September 2017, 16:23:14 UTC |
6a6e4d2 | Scott Ellis | 25 April 2017, 14:46:09 UTC | config: Enable TI TMP102 temp sensor module Signed-off-by: Scott Ellis <scott@jumpnowtek.com> | 22 September 2017, 16:23:14 UTC |
383b0ce | Phil Elwell | 23 April 2017, 18:38:06 UTC | config: Add CONFIG_BMP280 (and CONFIG_BMP280_I2C) Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:13 UTC |
e206d61 | Phil Elwell | 23 April 2017, 18:36:53 UTC | BCM270X_DT: Add bme280 and bmp180 to i2c-sensor overlay Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:12 UTC |
94d8f29 | Matt Flax | 04 April 2017, 09:23:04 UTC | Audioinjector octo : Make the playback and capture symmetric This patch ensures that the sample rate and channel count of the audioinjector octo sound card are symmetric. | 22 September 2017, 16:23:12 UTC |
3f794c8 | Matt Flax | 04 April 2017, 09:20:59 UTC | Audioinjector : make the octo and pi sound cards have different driver names This patch gives the audioinjector octo and pi soundcards different driver names. This allows both the be loaded without clashing. | 22 September 2017, 16:23:11 UTC |
06414ca | Bilal Amarni | 09 July 2017, 15:56:19 UTC | rtl8192: switch to netdev->priv_destructor() When trying to build from the rpi-4.11.y branch, I'm getting the following error : drivers/net/wireless/realtek/rtl8192cu/os_dep/linux/ioctl_cfg80211.c:3464:10: error: 'struct net_device' has no member named 'destructor' It seems to occur since this upstream commit : https://github.com/torvalds/linux/commit/cf124db566e6b036b8bcbe8decbed740bdfac8c6 [...] netdev->priv_destructor() performs all actions to free up the private resources that used to be freed by netdev->destructor(), except for free_netdev(). netdev->needs_free_netdev is a boolean that indicates whether free_netdev() should be done at the end of unregister_netdevice(). Signed-off-by: Bilal Amarni <bilal.amarni@gmail.com> | 22 September 2017, 16:23:11 UTC |
efd3703 | Matthias Reichl | 06 July 2017, 16:52:16 UTC | config: add missing arizona regulator modules In kernel 4.12 CONFIG_REGULATOR_ARIZONA was replaced by 2 separate options for LDO1 and MICSUPP regulators. Enable these, they are needed by the Cirrus Logic Audio Card. Also regenerate configs with make savedefconfig to get rid of the duplicated CONFIG_TOUCHSCREEN_EDT_FT5X06 entry. Signed-off-by: Matthias Reichl <hias@horus.com> | 22 September 2017, 16:23:10 UTC |
6793a20 | Matthias Reichl | 07 May 2017, 14:24:57 UTC | ASoC: bcm2835: Enforce full symmetry bcm2835's configuration registers can't be changed when a stream is running, which means asymmetric configurations aren't supported. Channel and rate symmetry are already enforced by constraints but samplebits had been missed. As hw_params doesn't check for symmetry constraints by itself and just returns success if a stream is running this led to situations where asymmetric configurations were seeming to succeed but of course didn't work because the hardware wasn't configured at all. Fix this by adding the missing samplerate symmetry constraint. Signed-off-by: Matthias Reichl <hias@horus.com> | 22 September 2017, 16:23:10 UTC |
48f2c9a | Matthias Reichl | 07 May 2017, 14:19:54 UTC | ASoC: bcm2835: Support additional samplerates up to 384kHz Sample rates are only restricted by the capabilities of the clock driver, so use SNDRV_PCM_RATE_CONTINUOUS instead of SNDRV_PCM_RATE_8000_192000. Tests (eg with pcm5122) have shown that bcm2835 works fine in 384kHz/32bit stereo mode, so change the maximum allowed rate from 192kHz to 384kHz. Signed-off-by: Matthias Reichl <hias@horus.com> | 22 September 2017, 16:23:09 UTC |
fcca085 | Matthias Reichl | 07 May 2017, 13:30:50 UTC | ASoC: bcm2835: Support left/right justified and DSP modes DSP modes and left/right justified modes can be supported on bcm2835 by configuring the frame sync polarity and frame sync length registers and by adjusting the channel data position registers. Clock and frame sync polarity handling in hw_params has been refactored to make the interaction between logical rising/falling edge frame start and physical configuration (changed by normal/inverted polarity modes) clearer. Modes where the first active data bit is transmitted immediately after frame start (eg DSP mode B with slot 0 active) only work reliable if bcm2835 is configured as frame master. In frame slave mode channel swap (or shift, this isn't quite clear yet) can occur. Currently the driver only warns if an unstable configuration is detected but doensn't prevent using them. Signed-off-by: Matthias Reichl <hias@horus.com> | 22 September 2017, 16:23:09 UTC |
280be45 | Matthias Reichl | 07 May 2017, 09:34:26 UTC | ASoC: bcm2835: Add support for TDM modes bcm2835 supports arbitrary positioning of channel data within a frame and thus is capable of supporting TDM modes. Since the driver is limited to 2-channel operations only TDM setups with exactly 2 active slots are supported. Logical TDM slot numbering follows the usual convention: For I2S-like modes, with a 50% duty-cycle frame clock, slots 0, 2, ... are transmitted in the first half of a frame, slots 1, 3, ... are transmitted in the second half. For DSP modes slot numbering is ascending: 0, 1, 2, 3, ... Channel position calculation has been refactored to use TDM info and moved out of hw_params. set_tdm_slot, set_bclk_ratio and hw_params now check more strictly if the configuration is valid. Illegal configurations like odd number of slots in I2S mode, data lengths exceeding slot width or frame sizes larger than the hardware limit of 1024 are rejected. Also hw_params now properly checks for errors from clk_set_rate. Allowed PCM formats are already guarded by stream constraints, thus the formats check in hw_params has been removed and data_length is now retrieved via params_width(). Also standard functions like snd_soc_params_to_bclk are now being used instead of manual calculations to make the code more readable. Special care has been taken to ensure that set_bclk_ratio works as before. The bclk ratio is mapped to a 2-channel TDM config with a slot width of half the ratio. In order to support odd ratios, which can't be expressed via a TDM config, the ratio (frame length) is stored and used by hw_params. Signed-off-by: Matthias Reichl <hias@horus.com> | 22 September 2017, 16:23:08 UTC |
197fc35 | Phil Elwell | 27 June 2017, 14:07:14 UTC | SQUASH: mmc: Apply ERASE_BROKEN quirks correctly Squash with: mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:07 UTC |
6877691 | Phil Elwell | 20 May 2017, 21:10:14 UTC | overlays: README: remove vestigial SDIO parameters Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:07 UTC |
8abc0c6 | Phil Elwell | 26 May 2017, 12:03:41 UTC | BCM270X_DT: Add midi-uart1 overlay Add a scaler to the ttyS0 clock so that requesting 38400 baud results in an approximately 31250 baud signal. This is analagous to midi-uart0, except for ttyS0, which may be useful on Pi3 and also may avoid an issue with ttyAMA0 failing to synchronise to an active data stream. See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=183860 Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:06 UTC |
2650bbc | Phil Elwell | 21 June 2017, 16:19:04 UTC | serial: 8250: Fix THRE flag usage for CAP_MINI The BCM2835 MINI UART has non-standard THRE semantics. Conventionally the bit means that the FIFO is empty (although there may still be a byte in the transmit register), but on 2835 it indicates that the FIFO is not empty. This causes interrupts after every byte is transmitted, with the FIFO providing some interrupt latency tolerance. A consequence of this difference is that the usual strategy of writing multiple bytes into the TX FIFO after checking THRE once is unsafe. In the worst case of 7 bytes in the FIFO, writing 8 bytes loses all but the first since by then the FIFO is full. There is an HFIFO ("Hidden FIFO") bit which is almost what is needed, but it only adds more bytes while both THRE and TEMT are set, i.e. when the TX side is completely idle. This is unnecessarily pessimistic. Add a new special case, predicated on CAP_MINI, that loops until THRE is no longer set. With this change, the FIFO fills quickly but subsequent writes are paced by the transmission rate. See: https://github.com/raspberrypi/linux/issues/1855 Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:06 UTC |
84aa9c0 | popcornmix | 20 June 2017, 13:03:48 UTC | rtl8192: Fixup build | 22 September 2017, 16:23:05 UTC |
81c0564 | P33M | 20 June 2017, 12:44:01 UTC | dwc_otg: fiq_fsm: Add non-periodic TT exclusivity constraints Certain hub types do not discriminate between pipe direction (IN or OUT) when considering non-periodic transfers. Therefore these hubs get confused if multiple transfers are issued in different directions with the same device address and endpoint number. Constrain queuing non-periodic split transactions so they are performed serially in such cases. Related: https://github.com/raspberrypi/linux/issues/2024 | 22 September 2017, 16:23:04 UTC |
4c1368f | P33M | 12 June 2017, 15:10:03 UTC | dwc_otg: add module parameter int_ep_interval_min Add a module parameter (defaulting to ignored) that clamps the polling rate of high-speed Interrupt endpoints to a minimum microframe interval. The parameter is modifiable at runtime as it is used when activating new endpoints (such as on device connect). | 22 September 2017, 16:23:04 UTC |
05fc2c5 | popcornmix | 12 June 2017, 12:05:43 UTC | config: Add CONFIG_CAN_GS_USB | 22 September 2017, 16:23:03 UTC |
18ebe5d | P33M | 26 May 2017, 11:50:31 UTC | dwc_otg: fiq_fsm: Make isochronous compatibility checks work properly Get rid of the spammy printk and local pointer mangling. Also, there is a nominal benefit for using fiq_fsm for isochronous transfers in FS mode (~1.1k IRQs per second vs 2.1k IRQs per second) so remove the root port speed check. | 22 September 2017, 16:23:03 UTC |
5e590ce | Phil Elwell | 19 May 2017, 15:07:23 UTC | serial: 8250: Add CAP_MINI, set for bcm2835aux commit d087e7a991f1f61ee2c07db1be7c5cc2aa373f5d upstream. The AUX/mini-UART in the BCM2835 family of procesors is a cut-down 8250 clone. In particular it is lacking support for the following features: CSTOPB PARENB PARODD CMSPAR CS5 CS6 Add a new capability (UART_CAP_MINI) that exposes the restrictions to the user of the termios API by turning off the unsupported features in the request. N.B. It is almost possible to automatically discover the missing features by reading back the LCR register, but the CSIZE bits don't cooperate (contrary to the documentation, both bits are significant, but CS5 and CS6 are mapped to CS7) and the code is much longer. See: https://github.com/raspberrypi/linux/issues/1561 Signed-off-by: Phil Elwell <phil@raspberrypi.org> Acked-by: Eric Anholt <eric@anholt.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 22 September 2017, 16:23:02 UTC |
3b69d1e | P33M | 25 May 2017, 15:04:53 UTC | dwc_otg: make periodic scheduling behave properly for FS buses If the root port is in full-speed mode, transfer times at 12mbit/s would be calculated but matched against high-speed quotas. Reinitialise hcd->frame_usecs[i] on each port enable event so that full-speed bandwidth can be tracked sensibly. Also, don't bother using the FIQ for transfers when in full-speed mode - at the slower bus speed, interrupt frequency is reduced by an order of magnitude. Related issue: https://github.com/raspberrypi/linux/issues/2020 | 22 September 2017, 16:23:01 UTC |
1ae7f49 | Phil Elwell | 22 May 2017, 12:56:41 UTC | clk: bcm2835: Minimise clock jitter for PCM clock Fractional clock dividers generate accurate average frequencies but with jitter, particularly when the integer divisor is small. Introduce a new metric of clock accuracy to penalise clocks with a good average but worse jitter compared to clocks with an average which is no better but with lower jitter. The metric is the ideal rate minus the worse deviation from that ideal using the nearest integer divisors. Use this metric for parent selection for clocks requiring low jitter (currently just PCM). Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:01 UTC |
b34aad8 | Phil Elwell | 26 April 2017, 16:28:47 UTC | clk: bcm2835: Limit PCM clock to OSC and PLLD_PER It is unwise to use sources other than the oscillator and PLLD_PER for the PCM peripheral (and perhaps others - TBD) because their rate can change and they may even be switched off, so explicitly restrict the choice using dummy entries in the list of potential parents (item index is significant). See: https://github.com/raspberrypi/linux/issues/1949 Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:23:00 UTC |
d0800a7 | popcornmix | 22 May 2017, 14:28:27 UTC | config: Add CONFIG_IPV6_ROUTE_INFO | 22 September 2017, 16:23:00 UTC |
40bf5b6 | popcornmix | 22 May 2017, 12:35:28 UTC | config: Add CONFIG_IPV6_SIT_6RD | 22 September 2017, 16:22:59 UTC |
6c03fae | popcornmix | 16 May 2017, 14:58:00 UTC | config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 | 22 September 2017, 16:22:59 UTC |
0de2029 | popcornmix | 15 May 2017, 15:40:05 UTC | config: Add CONFIG_TOUCHSCREEN_GOODIX | 22 September 2017, 16:22:58 UTC |
8d07f22 | Phil Elwell | 18 May 2017, 14:36:46 UTC | staging: bcm2835-audio: Fix memory corruption I'm all for fixing memory leaks, but freeing a block while it is still being used is a recipe for hard-to-debug kernel exeptions. 1) There is already a vchi method for freeing the instance, so use it. 2) Only call it on error, and then only before initted is false. Signed-off-by: Phil Elwell <phil@raspberrypi.org> Fixes: 0adbfd4694c2 ("staging: bcm2835-audio: fix memory leak in bcm2835_audio_open_connection()") | 22 September 2017, 16:22:57 UTC |
fb8928e | popcornmix | 18 May 2017, 12:55:42 UTC | fixup: rtl8192cu fixes from milhouse | 22 September 2017, 16:22:57 UTC |
dd1b17e | popcornmix | 18 May 2017, 10:40:43 UTC | config: Add FB_TFT_ST7789V module | 22 September 2017, 16:22:56 UTC |
f284140 | popcornmix | 16 May 2017, 18:34:52 UTC | config: Add CONFIG_I2C_ROBOTFUZZ_OSIF | 22 September 2017, 16:22:56 UTC |
c4398eb | Phil Elwell | 16 May 2017, 13:39:49 UTC | mmc: Change downstream MMC driver CONFIG option The upstream SDHOST driver has now claimed CONFIG_MMC_BCM2835, which clashes with the downstream MMC driver. Rename the downstream option to CONFIG_MMC_BCM2835_MMC. Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:22:55 UTC |
8d634c9 | Eric Anholt | 15 May 2017, 16:28:36 UTC | drm/vc4: Mark the device as active when enabling runtime PM. Failing to do so meant that we got a resume() callback on first use of the device, so we would leak the bin BO that we allocated during probe. Signed-off-by: Eric Anholt <eric@anholt.net> Fixes: 553c942f8b2c ("drm/vc4: Allow using more than 256MB of CMA memory.") | 22 September 2017, 16:22:55 UTC |
50fe306 | popcornmix | 18 April 2017, 20:43:46 UTC | vc4_fkms: Apply firmware overscan offset to hardware cursor | 22 September 2017, 16:22:54 UTC |
c5e1c13 | Eric Anholt | 02 February 2017, 17:42:18 UTC | drm/vc4: Fix sending of page flip completion events in FKMS mode. In the rewrite of vc4_crtc.c for fkms, I dropped the part of the CRTC's atomic flush handler that moved the completion event from the proposed atomic state change to the CRTC's current state. That meant that when full screen pageflipping happened (glxgears -fullscreen in X, compton, por weston), the app would end up blocked firever waiting to draw its next frame. Signed-off-by: Eric Anholt <eric@anholt.net> | 22 September 2017, 16:22:54 UTC |
d076ae5 | Eric Anholt | 02 February 2017, 01:10:09 UTC | drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was making to the firmware. Signed-off-by: Eric Anholt <eric@anholt.net> | 22 September 2017, 16:22:53 UTC |
8acf442 | Eric Anholt | 02 February 2017, 01:09:18 UTC | drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. Signed-off-by: Eric Anholt <eric@anholt.net> | 22 September 2017, 16:22:53 UTC |
b659fcb | Eric Anholt | 14 September 2016, 07:39:33 UTC | drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt <eric@anholt.net> | 22 September 2017, 16:22:52 UTC |
b316991 | Eric Anholt | 14 September 2016, 08:16:19 UTC | raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. Signed-off-by: Eric Anholt <eric@anholt.net> | 22 September 2017, 16:22:51 UTC |
4324660 | Eric Anholt | 14 September 2016, 08:18:09 UTC | raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt <eric@anholt.net> | 22 September 2017, 16:22:51 UTC |
61e6115 | Yasunari Takiguchi | 14 April 2017, 09:43:57 UTC | This is the driver for Sony CXD2880 DVB-T2/T tuner + demodulator. It includes the CXD2880 driver and the CXD2880 SPI adapter. The current CXD2880 driver version is 1.4.1 - 1.0.1 released on April 13, 2017. Signed-off-by: Yasunari Takiguchi <Yasunari.Takiguchi@sony.com> Signed-off-by: Masayuki Yamamoto <Masayuki.Yamamoto@sony.com> Signed-off-by: Hideki Nozawa <Hideki.Nozawa@sony.com> Signed-off-by: Kota Yonezawa <Kota.Yonezawa@sony.com> Signed-off-by: Toshihiko Matsumoto <Toshihiko.Matsumoto@sony.com> Signed-off-by: Satoshi Watanabe <Satoshi.C.Watanabe@sony.com> | 22 September 2017, 16:22:50 UTC |
cecbcdb | Phil Elwell | 11 May 2016, 11:50:33 UTC | 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> mmc: Apply QUIRK_BROKEN_ERASE to other capacities Signed-off-by: Phil Elwell <phil@raspberrypi.org> 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> | 22 September 2017, 16:22:50 UTC |
909da31 | Stefan Agner | 29 April 2016, 17:32:17 UTC | mmc: read mmc alias from device tree To get the SD/MMC host device ID, read the alias from the device tree. This is useful in case a SoC has multipe SD/MMC host controllers while the second controller should logically be the first device (e.g. if the second controller is connected to an internal eMMC). Combined with block device numbering using MMC/SD host device ID, this results in predictable name assignment of the internal eMMC block device. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Dmitry Torokhov <dtor@chromium.org> [dianders: rebase + roll in http://crosreview.com/259916] Signed-off-by: Douglas Anderson <dianders@chromium.org> | 22 September 2017, 16:22:49 UTC |
798bbf8 | Phil Elwell | 23 March 2017, 16:34:46 UTC | bcm2835-aux: Add aux interrupt controller The AUX block has a shared interrupt line with a register indicating which devices have active IRQs. Expose this as a nested interrupt controller to avoid sharing problems. See: https://github.com/raspberrypi/linux/issues/1484 https://github.com/raspberrypi/linux/issues/1573 Signed-off-by: Phil Elwell <phil@raspberrypi.org> | 22 September 2017, 16:22:48 UTC |