276dc46 | popcornmix | 29 April 2015, 15:42:21 UTC | vchiq: Allocation does not need to be atomic | 29 April 2015, 17:02:56 UTC |
6ee7bbc | Phil Elwell | 29 April 2015, 17:01:53 UTC | Merge pull request #947 from notro/mmc Use bcm2835-mmc driver on ARCH_BCM2835 | 29 April 2015, 17:01:53 UTC |
f127c57 | Noralf Trønnes | 29 April 2015, 15:29:04 UTC | bcm2835: Change to use bcm2835-mmc in Device Tree Use downstream bcm2835-mmc driver to get increased throughput and DMA support. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 29 April 2015, 15:29:04 UTC |
ab96dd8 | Noralf Trønnes | 29 April 2015, 15:28:22 UTC | bcm2835: bcm2835_defconfig enable MMC_BCM2835 Enable the downstream bcm2835-mmc driver and DMA support. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 29 April 2015, 15:28:22 UTC |
56b6f70 | Noralf Trønnes | 29 April 2015, 15:24:46 UTC | mmc: bcm2835-mmc: Make available on ARCH_BCM2835 Make the bcm2835-mmc driver available for use on ARCH_BCM2835. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 29 April 2015, 15:24:46 UTC |
83f9ea7 | Noralf Trønnes | 29 April 2015, 15:24:02 UTC | bcm2835: bcm2835_defconfig Some options in bcm2835_defconfig are now the default and some have changed. Update to keep functionality. No longer available: SCSI_MULTI_LUN and RESOURCE_COUNTERS. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 29 April 2015, 15:24:02 UTC |
3140e4a | popcornmix | 29 April 2015, 11:56:08 UTC | Squash: Inlcude ARCH_BCM2835 in depends for bcm2835-sdhost | 29 April 2015, 15:04:40 UTC |
154a21d | Phil Elwell | 28 April 2015, 14:09:55 UTC | Squash: Make delay_after_stop a DT parameter, defaulting to zero | 29 April 2015, 15:04:40 UTC |
f7087bb | popcornmix | 29 April 2015, 15:03:50 UTC | Merge pull request #945 from notro/dma Make legacy DMA API available on ARCH_BCM2835 | 29 April 2015, 15:03:50 UTC |
af4d42c | Phil Elwell | 25 March 2015, 17:49:47 UTC | Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. | 29 April 2015, 10:17:46 UTC |
3d71332 | Phil Elwell | 17 April 2015, 18:30:22 UTC | Add blk_pos parameter to mmc multi_io_quirk callback | 29 April 2015, 10:17:34 UTC |
809f815 | popcornmix | 29 April 2015, 10:16:52 UTC | Revert "Add blk_pos parameter to mmc multi_io_quirk callback" This reverts commit c8ffccdae8c1aa9b85749c99e65a0a688eef4816. | 29 April 2015, 10:16:52 UTC |
447841c | popcornmix | 29 April 2015, 10:16:36 UTC | Revert "Adding bcm2835-sdhost driver, and an overlay to enable it" This reverts commit d441bcbae8e68154eb38e1db780bf2ea68a63be3. | 29 April 2015, 10:16:36 UTC |
3268698 | popcornmix | 28 April 2015, 18:29:54 UTC | bcm2835-mmc: Default to disabling MMC_QUIRK_BLK_NO_CMD23 | 28 April 2015, 18:29:54 UTC |
b1020b5 | Noralf Trønnes | 28 April 2015, 17:54:17 UTC | BCM270x: Remove dmaman device Remove the dmaman device since the dmaengine now handles the legacy API manager. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 28 April 2015, 17:54:17 UTC |
f89ecdc | Noralf Trønnes | 28 April 2015, 17:26:59 UTC | BCM270x: dma: Remove driver Remove dma.c driver which is now merged with bcm2708-dmaengine. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 28 April 2015, 17:26:59 UTC |
1c3f58d | Noralf Trønnes | 28 April 2015, 17:25:43 UTC | dmaengine: bcm2708: Merge with arch dma.c driver and disable dma.c Merge the legacy DMA API driver with bcm2708-dmaengine. This is done so we can use bcm2708_fb on ARCH_BCM2835 (mailbox driver is also needed). Changes to the dma.c code: - Use BIT() macro. - Cutdown some comments to one line. - Add mutex to vc_dmaman and use this, since the dev lock is locked during probing of the engine part. - Add global g_dmaman variable since drvdata is used by the engine part. - Restructure for readability: vc_dmaman_chan_alloc() vc_dmaman_chan_free() bcm_dma_chan_free() - Restructure bcm_dma_chan_alloc() to simplify error handling. - Use device irq resources instead of hardcoded bcm_dma_irqs table. - Remove dev_dmaman_register() and code it directly. - Remove dev_dmaman_deregister() and code it directly. - Simplify bcm_dmaman_probe() using devm_* functions. - Get dmachans from DT if available. - Keep 'dma.dmachans' module argument name for backwards compatibility. Make it available on ARCH_BCM2835 as well. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 28 April 2015, 17:25:43 UTC |
0454dbb | Noralf Trønnes | 28 April 2015, 17:24:30 UTC | BCM270x: Add memory and irq resources to dmaengine device and DT Prepare for merging of the legacy DMA API arch driver dma.c with bcm2708-dmaengine by adding memory and irq resources both to platform file device and Device Tree node. Don't use BCM_DMAMAN_DRIVER_NAME so we don't have to include mach/dma.h Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 28 April 2015, 17:24:30 UTC |
8d7a5a2 | popcornmix | 23 April 2015, 14:57:47 UTC | fixup! 8192cu needs old wireless extensions | 23 April 2015, 14:57:47 UTC |
d441bcb | Phil Elwell | 25 March 2015, 17:49:47 UTC | Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. | 23 April 2015, 14:52:46 UTC |
c8ffccd | Phil Elwell | 17 April 2015, 18:30:22 UTC | Add blk_pos parameter to mmc multi_io_quirk callback | 23 April 2015, 14:52:04 UTC |
07d2cff | popcornmix | 23 April 2015, 11:47:18 UTC | fixup! bcm2708 framebuffer driver | 23 April 2015, 11:47:18 UTC |
aba1c97 | popcornmix | 23 April 2015, 11:21:53 UTC | fixup! MMC: added alternative MMC driver | 23 April 2015, 11:21:53 UTC |
7d253ca | popcornmix | 22 April 2015, 19:31:12 UTC | bcm2835-mmc: Add option to disable some delays | 22 April 2015, 19:31:12 UTC |
dd5b0e4 | Peter Kümmel | 22 April 2015, 07:13:47 UTC | 8192cu needs old wireless extensions The obsolete WIRELESS_EXT configuration is used by the old Realtek code and is needed for AP support. | 22 April 2015, 15:18:31 UTC |
ed9e73d | popcornmix | 22 April 2015, 15:16:46 UTC | alsa: Make interrupted close paths quieter | 22 April 2015, 15:18:30 UTC |
07a5d16 | popcornmix | 21 April 2015, 16:41:54 UTC | alsa: Ensure mutexes are released through error paths | 21 April 2015, 16:41:54 UTC |
8a38de5 | popcornmix | 18 April 2015, 18:00:17 UTC | fixup! Add 2709 platform for Raspberry Pi 2 | 18 April 2015, 18:00:17 UTC |
d34769d | popcornmix | 18 April 2015, 16:21:12 UTC | bcm2835-mmc: Add option to disable MMC_QUIRK_BLK_NO_CMD23 | 18 April 2015, 16:25:50 UTC |
622cc72 | popcornmix | 18 April 2015, 16:20:14 UTC | bcm2708-dmaengine: Add debug options | 18 April 2015, 16:25:49 UTC |
86662df | popcornmix | 18 April 2015, 11:10:19 UTC | Merge pull request #935 from pranith/rpi-4.0.y vcsm: Use boolean as it cannot be built as module | 18 April 2015, 11:10:19 UTC |
0e189c1 | Pranith Kumar | 18 April 2015, 00:36:38 UTC | vcsm: Use boolean as it cannot be built as module On building the bcm_vc_sm as a module we get the following error: v7_dma_flush_range and do_munmap are undefined in vc-sm.ko. Fix by making it not an option to build as module | 18 April 2015, 00:49:33 UTC |
a82d952 | Daniel Matuschek | 18 March 2015, 17:06:52 UTC | HiFiBerry Digi: set SPDIF status bits for sample rate The HiFiBerry Digi driver did not signal the sample rate in the SPDIF status bits. While this is optional, some DACs and receivers do not accept this signal. This patch adds the sample rate bits in the SPDIF status block. | 17 April 2015, 18:43:39 UTC |
3cc7bbf | popcornmix | 17 April 2015, 15:58:45 UTC | smsc95xx: Disable turbo mode by default | 17 April 2015, 15:58:45 UTC |
a39c7de | Steve Glendinning | 19 February 2015, 18:47:12 UTC | smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. This patch stops smsc95xx from changing truesize. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> | 17 April 2015, 15:57:43 UTC |
9359f0b | Martin Sperl | 16 April 2015, 20:18:47 UTC | spi: bcm2835: change timeout of polling driver to 1s The way that the timeout code is written in the polling function the timeout does also trigger when interrupted or rescheduled while in the polling loop. This patch changes the timeout from effectively 20ms (=2 jiffies) to 1 second and removes the time that the transfer really takes out of the computation, as - per design - this is <30us and the jiffie resolution is 10ms so that does not make any difference what so ever. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> | 16 April 2015, 20:24:39 UTC |
f66b21b | Martin Sperl | 06 April 2015, 17:16:30 UTC | spi: bcm2835: enabling polling mode for transfers shorter than 30us In cases of short transfer times the CPU is spending lots of time in the interrupt handler and scheduler to reschedule the worker thread. Measurements show that we have times where it takes 29.32us to between the last clock change and the time that the worker-thread is running again returning from wait_for_completion_timeout(). During this time the interrupt-handler is running calling complete() and then also the scheduler is rescheduling the worker thread. This time can vary depending on how much of the code is still in CPU-caches, when there is a burst of spi transfers the subsequent delays are in the order of 25us, so the value of 30us seems reasonable. With polling the whole transfer of 4 bytes at 10MHz finishes after 6.16us (CS down to up) with the real transfer (clock running) taking 3.56us. So the efficiency has much improved and is also freeing CPU cycles, reducing interrupts and context switches. Because of the above 30us seems to be a reasonable limit for polling. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org> | 16 April 2015, 20:24:39 UTC |
c62365f | Martin Sperl | 06 April 2015, 17:16:31 UTC | spi: bcm2835: transform native-cs to gpio-cs on first spi_setup Transforms the bcm-2835 native SPI-chip select to their gpio-cs equivalent. This allows for some support of some optimizations that are not possible due to HW-gliches on the CS line - especially filling the FIFO before enabling SPI interrupts (by writing to CS register) while the transfer is already in progress (See commit: e3a2be3030e2) This patch also works arround some issues in bcm2835-pinctrl which does not set the value when setting the GPIO as output - it just sets up output and (typically) leaves the GPIO as low. When a fix for this is merged then this gpio_set_value can get removed from bcm2835_spi_setup. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org> | 16 April 2015, 20:24:38 UTC |
db1e62a | Martin Sperl | 29 March 2015, 14:03:25 UTC | spi: bcm2835: fill FIFO before enabling interrupts to reduce interrupts/message To reduce the number of interrupts/message we fill the FIFO before enabling interrupts - for short messages this reduces the interrupt count from 2 to 1 interrupt. There have been rare cases where short (<200ns) chip-select switches with native CS have been observed during such operation, this is why this optimization is only enabled for GPIO-CS. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Tested-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org> | 16 April 2015, 20:24:38 UTC |
eaca895 | Martin Sperl | 29 March 2015, 14:03:23 UTC | spi: bcm2835: fix code formatting issue Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Tested-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org> | 16 April 2015, 20:24:38 UTC |
02326c9 | Martin Sperl | 26 March 2015, 10:08:36 UTC | spi: bcm2835: move to the transfer_one driver model This also allows for GPIO-CS to get used removing the limitation of 2/3 SPI devises on the SPI bus. Fixes: spi-cs-high with native CS with multiple devices on the spi-bus resetting the chip selects to "normal" polarity after a finished transfer. No other functionality/improvements added. Tested with the following 4 devices on the spi-bus: * mcp2515 with native CS * mcp2515 with gpio CS * fb_st7735r with native CS (plus spi-cs-high via transistor inverting polarity) * enc28j60 with gpio-CS Tested-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org> | 16 April 2015, 20:24:38 UTC |
cf39d75 | Martin Sperl | 19 March 2015, 09:01:53 UTC | spi: bcm2835: enable support of 3-wire mode Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org> | 16 April 2015, 20:24:37 UTC |
e491345 | Martin Sperl | 19 March 2015, 09:01:52 UTC | spi: bcm2835: clock divider can be a multiple of 2 The official documentation is wrong in this respect. Has been tested empirically for dividers 2-1024 Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org> | 16 April 2015, 20:24:37 UTC |
0368652 | Martin Sperl | 23 March 2015, 14:11:53 UTC | spi: bcm2835: fill/drain SPI-fifo as much as possible during interrupt Implement the recommendation from the BCM2835 data-sheet with regards to polling drivers to fill/drain the FIFO as much data as possible also for the interrupt-driven case (which this driver is making use of). This means that for long transfers (>64bytes) we need one interrupt every 64 bytes instead of every 12 bytes, as the FIFO is 16 words (not bytes) wide. Tested with mcp251x (can bus), fb_st7735 (TFT framebuffer device) and enc28j60 (ethernet) drivers. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org> | 16 April 2015, 20:24:37 UTC |
1f93a1b | Martin Sperl | 20 March 2015, 14:26:11 UTC | spi: bcm2835: fix all checkpath --strict messages The following errors/warnings issued by checkpatch.pl --strict have been fixed: drivers/spi/spi-bcm2835.c:182: CHECK: Alignment should match open parenthesis drivers/spi/spi-bcm2835.c:191: CHECK: braces {} should be used on all arms of this statement drivers/spi/spi-bcm2835.c:234: CHECK: Alignment should match open parenthesis drivers/spi/spi-bcm2835.c:256: CHECK: Alignment should match open parenthesis drivers/spi/spi-bcm2835.c:271: CHECK: Alignment should match open parenthesis drivers/spi/spi-bcm2835.c:346: CHECK: Alignment should match open parenthesis total: 0 errors, 0 warnings, 6 checks, 403 lines checked In 2 locations the arguments had to get split/moved to the next line so that the line width stays below 80 chars. Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Mark Brown <broonie@kernel.org> | 16 April 2015, 20:24:37 UTC |
88f741c | popcornmix | 13 April 2015, 22:34:50 UTC | bcm2835-mmc: Add range of debug options for slowing things down | 13 April 2015, 23:04:39 UTC |
bce1174 | Jakub Kicinski | 02 March 2015, 15:34:37 UTC | bcm2708: fix uart1 parameters System clock is 250MHz, but the device uses a non-standard oversampling rate (8 instead of 16) hence the clock rate has to be multiplied by 16/8 = 2. Currently the clock rate seems to be divided by 2. Also correct the .type and .flags. Signed-off-by: Jakub Kicinski <kubakici@wp.pl> | 13 April 2015, 23:04:35 UTC |
f431558 | popcornmix | 13 April 2015, 16:16:29 UTC | config: Add default configs | 13 April 2015, 20:45:19 UTC |
b7af628 | Clive Messer | 02 April 2015, 11:22:55 UTC | Add Device Tree support for RPi-DAC. | 13 April 2015, 20:45:18 UTC |
12cb37f | Waldemar Brodkorb | 25 March 2015, 08:26:17 UTC | Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x kernel. Patch works fine for our embedded system. URL to the audio chip: http://www.mikroe.com/add-on-boards/audio-voice/audio-codec-proto/ Playback tested with devicetree enabled. Signed-off-by: Waldemar Brodkorb <wbrodkorb@conet.de> | 13 April 2015, 20:45:17 UTC |
f56cbd3 | Phil Elwell | 27 March 2015, 11:45:44 UTC | BCM270x_DT: Refactor bcm2708.dtsi and bcm2709.dtsi Extract the common elements, creating bcm2708_common.dtsi | 13 April 2015, 20:45:16 UTC |
a63495e | Noralf Trønnes | 24 March 2015, 14:12:35 UTC | BCM270x_DT: add bcm2835-mmc entry Add Device Tree entry for bcm2835-mmc. In non-DT mode, don't add the device in the board file. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:15 UTC |
839ccef | Noralf Trønnes | 24 March 2015, 13:50:19 UTC | bcm270x: add mmc-bcm2835 clock Add clock for the mmc-bcm2835.0 device. Will be used in non-DT mode. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:14 UTC |
35e87da | Noralf Trønnes | 24 March 2015, 13:48:30 UTC | BCM270x_DT: add bcm2835-dma entry Add Device Tree entry for bcm2835-dma. The entry doesn't contain any resources since they are handled by the arch/arm/mach-bcm270x/dma.c driver. In non-DT mode, don't add the device in the board file. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:13 UTC |
769a0ed | Noralf Trønnes | 07 March 2015, 19:40:43 UTC | dts: overlay: rpi-display: pullup irq gpio An early version of rpi-display needs the touch controller irq to be pulled up. This is the version with 9-bit SPI as default. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:12 UTC |
bf6b7e4 | Noralf Trønnes | 07 March 2015, 19:40:07 UTC | dts: overlay: piscreen: set speed to 24MHz Some of the displays can't handle the 32MHz speed. Lower the default speed to 24MHz. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:12 UTC |
4f2bbfb | Noralf Trønnes | 07 March 2015, 19:39:30 UTC | dts: overlay: add support for MZ61581 display Add Device Tree overlay for MZ61581 display by Tontec. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:11 UTC |
27146e2 | Martin Sperl | 02 March 2015, 09:37:02 UTC | enable compiling spi-bcm2835 and add overlay to allow us to load the driver | 13 April 2015, 20:45:10 UTC |
ebb0b22 | Noralf Trønnes | 27 February 2015, 17:17:25 UTC | dts: overlay: add support for Adafruit PiTFT Add DT overlay for the Adafruit PiTFT 2.8" resistive touch screen Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:09 UTC |
91f5fc8 | Phil Elwell | 27 February 2015, 15:10:24 UTC | enc28j60: Add device tree compatible string and an overlay | 13 April 2015, 20:45:08 UTC |
c3797a1 | Noralf Trønnes | 26 February 2015, 20:38:47 UTC | dts: overlay: add support for PiScreen display Add Device Tree overlay for PiScreen display by OzzMaker.com Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:07 UTC |
e8390ff | Noralf Trønnes | 26 February 2015, 20:38:00 UTC | dts: overlay: add support for HY28B display Add Device Tree overlay for HY28B display by HAOYU Electronics. Default values are set to match Texy's display shield. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:06 UTC |
1bef338 | Noralf Trønnes | 26 February 2015, 20:36:27 UTC | dts: overlay: add support for HY28A display Add Device Tree overlay for HY28A display by HAOYU Electronics. Default values are set to match Texy's display shield. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:06 UTC |
2a5fa11 | Noralf Trønnes | 26 February 2015, 20:24:05 UTC | dts: overlay: add support for rpi-display Add Device Tree overlay for rpi-display by Watterott. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> | 13 April 2015, 20:45:05 UTC |
77fa1da | Jon Burgess | 17 February 2015, 13:22:17 UTC | Create generic i2c-rtc overlay for supporting ds1307, ds3231, pcf2127 and pcf8523. Signed-off-by: Jon Burgess <jburgess777@gmail.com> | 13 April 2015, 20:45:04 UTC |
0d6a4ef | Dave Martin | 01 April 2015, 13:08:31 UTC | serial/amba-pl011: Refactor and simplify TX FIFO handling Commit 734745c serial/amba-pl011: Activate TX IRQ passively adds some complexity and overhead in the form of a softirq mechanism for transmitting in the absence of interrupts. This patch simplifies the code flow to reduce the reliance on subtle behaviour and avoid fragility under future maintenance. To this end, the TX softirq mechanism is removed and instead pl011_start_tx() will now simply stuff the FIFO until full (guaranteeing future TX IRQs), or until there are no more chars to write (in which case we don't care whether an IRQ happens). Signed-off-by: Dave Martin <Dave.Martin@xxxxxxx> Signed-off-by: Jakub Kicinski <kubakici@xxxxx> | 13 April 2015, 20:45:03 UTC |
3a947da | Dave Martin | 27 February 2015, 15:51:37 UTC | serial/amba-pl011: Activate TX IRQ passively The current PL011 driver transmits a dummy character when the UART is opened, to assert the TX IRQ for the first time (see pl011_startup()). The UART is put in loopback mode temporarily, so the receiver presumably shouldn't see anything. However... At least some platforms containing a PL011 send characters down the wire even when loopback mode is enabled. This means that a spurious NUL character may be seen at the receiver when the PL011 is opened through the TTY layer. The current code also temporarily sets the baud rate to maximum and the character width to the minimum, to that the dummy TX completes as quickly as possible. If this is seen by the receiver it will result in a framing error and can knock the receiver out of sync -- turning subsequent output into garbage until synchronisation is reestablished. (Particularly problematic during boot with systemd.) To avoid spurious transmissions, this patch removes assumptions about whether the TX IRQ will fire until at least one TX IRQ has been seen. Instead, the UART will unmask the TX IRQ and then slow-start via polling and timer-based soft IRQs initially. If the TTY layer writes enough data to fill the FIFO to the interrupt threshold in one go, the TX IRQ should assert, at which point the driver changes to fully interrupt-driven TX. In this way, the TX IRQ is activated as a side-effect instead of being done deliberately. This should also mean that the driver works on the SBSA Generic UART[1] (a cut-down PL011) without invasive changes. The Generic UART lacks some features needed for the dummy TX approach to work (FIFO disabling and loopback). [1] Server Base System Architecture (ARM-DEN-0029-v2.3) http://infocenter.arm.com/ (click-thru required :/) Signed-off-by: Dave Martin <Dave.Martin@xxxxxxx> | 13 April 2015, 20:45:02 UTC |
f5b6bc1 | Phil Elwell | 26 February 2015, 09:58:22 UTC | pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting the common one), the device tree files currently only specify two. In the absence of the third, simply don't register that interrupt (as opposed to registering 0), which has the effect of making it impossible to generate interrupts for GPIOs 46-53 which, since they share pins with the SD card interface, is unlikely to be a problem. | 13 April 2015, 20:45:01 UTC |
022f1df | Phil Elwell | 24 February 2015, 13:40:50 UTC | pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has four interrupt lines - one each for the three IRQ groups and one common. Rather confusingly, the GPIO interrupt groups don't correspond directly with the GPIO control banks. Instead, GPIOs 0-27 generate IRQ GPIO0, 28-45 GPIO1 and 46-53 GPIO2. Awkwardly, the GPIOS for IRQ GPIO1 straddle two 32-entry GPIO banks, so it is cleaner to split out a function to process the interrupts for a single GPIO bank. This bug has only just been observed because GPIOs above 27 can only be accessed on an old Raspberry Pi with the optional P5 header fitted, where the pins are often used for I2S instead. | 13 April 2015, 20:45:00 UTC |
ca0cb9b | Rainer Herbers | 15 February 2015, 12:44:14 UTC | Create bmp085_i2c-sensor-overlay.dts and update Makefile | 13 April 2015, 20:44:59 UTC |
be003e4 | Phil Elwell | 12 February 2015, 11:17:53 UTC | Fix LED "input" trigger implementation for 3.19 | 13 April 2015, 20:44:58 UTC |
f0ea57b | jeanleflambeur | 01 February 2015, 11:35:38 UTC | Fix grabbing lock from atomic context in i2c driver 2 main changes: - check for timeouts in the bcm2708_bsc_setup function as indicated by this comment: /* poll for transfer start bit (should only take 1-20 polls) */ This implies that the setup function can now fail so account for this everywhere it's called - Removed the clk_get_rate call from inside the setup function as it locks a mutex and that's not ok since we call it from under a spin lock. removed dead code and update comment fixed typo in comment | 13 April 2015, 20:44:57 UTC |
9e27b05 | android | 25 August 2014, 12:18:21 UTC | BCM2708_VCIO : Add automatic creation of device node | 13 April 2015, 20:44:57 UTC |
207ab40 | Byron Bradley | 06 February 2015, 14:19:41 UTC | Add device-tree overlay for pcf2127 Signed-off-by: Byron Bradley <byronb@afterthoughtsoftware.com> | 13 April 2015, 20:44:56 UTC |
a1023c7 | Phil Elwell | 05 February 2015, 16:01:44 UTC | i2c_bcm2708: Fix clock reference counting | 13 April 2015, 20:44:55 UTC |
287692c | Phil Elwell | 04 February 2015, 12:59:36 UTC | w1-gpio: Sort out the pullup/parasitic power tangle | 13 April 2015, 20:44:54 UTC |
0676e97 | Phil Elwell | 04 February 2015, 10:02:24 UTC | pinctrl-bcm2835: bcm2835_gpio_direction_output must set the value | 13 April 2015, 20:44:53 UTC |
ef2f917 | Phil Elwell | 03 February 2015, 11:41:38 UTC | BCM270x_DT: Add i2c0_baudrate and i2c1_baudrate parameters | 13 April 2015, 20:44:52 UTC |
8d55ebd | Daniel Matuschek | 03 February 2015, 06:15:19 UTC | HiFiBerry Amp: fix device-tree problems Some code to load the driver based on device-tree-overlays was missing. This is added by this patch. | 13 April 2015, 20:44:51 UTC |
4726f86 | popcornmix | 20 June 2014, 16:19:27 UTC | bcm2709: Simplify and strip down IRQ handler | 13 April 2015, 20:44:50 UTC |
c1fe741 | Phil Elwell | 06 February 2015, 13:50:57 UTC | BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support the Raspberry Pi PWR LED, which is driven by external hardware in normal use. N.B. pwr_led is not available on Model A or B boards. | 13 April 2015, 20:44:49 UTC |
bbfe16a | Ryan Coe | 01 February 2015, 01:26:03 UTC | Add device-tree overlay for ds1307 Signed-off-by: Ryan Coe <bluemrp9@gmail.com> | 13 April 2015, 20:44:49 UTC |
b2c3156 | Ryan Coe | 01 February 2015, 01:25:49 UTC | Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe <bluemrp9@gmail.com> | 13 April 2015, 20:44:48 UTC |
2d72def | Joerg Hohensohn | 01 February 2015, 21:08:03 UTC | bugfix for 32kHz sample rate, was missing | 13 April 2015, 20:44:47 UTC |
7a09844 | Daniel Matuschek | 31 January 2015, 15:07:56 UTC | Add a parameter to turn off SPDIF output if no audio is playing This patch adds the paramater auto_shutdown_output to the kernel module. Default behaviour of the module is the same, but when auto_shutdown_output is set to 1, the SPDIF oputput will shutdown if no stream is playing. | 13 April 2015, 20:44:46 UTC |
96bd7ad | Phil Elwell | 28 January 2015, 16:22:04 UTC | BCM2708_DT: Add pcf8523-rtc overlay | 13 April 2015, 20:44:45 UTC |
b8c70f8 | Serge Schneider | 03 September 2014, 13:44:22 UTC | I2C: Only register the I2C device for the current board revision | 13 April 2015, 20:44:44 UTC |
60c1124 | Timo Kokkonen | 30 October 2014, 06:30:30 UTC | Added support to reserve/enable a GPIO pin to be used from pps-gpio module (LinuxPPS). Enable PPS modules in default config for RPi. | 13 April 2015, 20:44:43 UTC |
b50a5ee | Phil Elwell | 26 January 2015, 09:18:24 UTC | Add pps-gpio DT overlay Parameters: gpiopin=<input pin> // Default 18 | 13 April 2015, 20:44:42 UTC |
4d814ab | Daniel Matuschek | 25 January 2015, 18:41:06 UTC | Add device tree overlay for HiFiBerry Amp/Amp+ This patch add the missing device tree file for the HiFiBerry Amp and Amp+ boards. | 13 April 2015, 20:44:41 UTC |
e97da0a | Phil Elwell | 23 January 2015, 15:18:03 UTC | BCM2708_DT: Build the overlays as well | 13 April 2015, 20:44:40 UTC |
82b431d | Phil Elwell | 23 January 2015, 14:48:55 UTC | scripts/dtc: Update to upstream version with overlay patches | 13 April 2015, 20:44:39 UTC |
332f2e7 | Daniel Matuschek | 23 January 2015, 15:41:17 UTC | TAS5713: return error if initialisation fails Existing TAS5713 driver logs errors during initialisation, but does not return an error code. Therefore even if initialisation fails, the driver will still be loaded, but won't work. This patch fixes this. I2C communication error will now reported correctly by a non-zero return code. | 13 April 2015, 20:44:38 UTC |
3a26e7b | Phil Elwell | 15 January 2015, 10:39:06 UTC | Adding w1-gpio device tree overlays N.B. Requires firmware supporting multi-target overrides w1-gpio-overlay: Use if a pullup pin is not required. Parameters: gpiopin=<i/o pin> // default 4 w1-gpio-pullup-overlay: Use if a pullup pin is required. Parameters: gpiopin=<i/o pin> // default 4 pullup=<pullup pin> // default 5 | 13 April 2015, 20:44:38 UTC |
1b32ff2 | Phil Elwell | 06 January 2015, 12:06:55 UTC | Fix the activity LED in DT mode Add a "leds" node to the base DTBs, and a subnode for the activity LED. You can change the LED function like this: dtparam=act_led_trigger=heartbeat Add aliases for the other main nodes (soc, intc). Issue: linux #757 | 13 April 2015, 20:44:37 UTC |
f00a062 | Phil Elwell | 18 December 2014, 16:48:32 UTC | lirc-rpi: Add device tree support, and a suitable overlay The overlay supports DT parameters that match the old module parameters, except that gpio_in_pull should be set using the strings "up", "down" or "off". lirc-rpi: Also support pinctrl-bcm2835 in non-DT mode | 13 April 2015, 20:44:36 UTC |
c68c6b4 | Phil Elwell | 16 December 2014, 10:23:48 UTC | DT: Add overrides to enable i2c0, i2c1, spi and i2s | 13 April 2015, 20:44:35 UTC |
fb571c9 | Phil Elwell | 05 December 2014, 17:26:26 UTC | fdt: Add support for the CONFIG_CMDLINE_EXTEND option | 13 April 2015, 20:44:34 UTC |
802ce94 | popcornmix | 13 April 2015, 17:45:39 UTC | Adding Device Tree support for some RPi audio cards | 13 April 2015, 20:44:33 UTC |
7c66aca | Phil Elwell | 13 April 2015, 18:14:18 UTC | bcm2708: Allow option card devices to be configured via DT If the kernel is built with Device Tree support, and if a DT blob is provided for the kernel at boot time, then the platform devices for option cards are not created. This avoids both the need to blacklist unwanted devices, and the need to update the board support code with each new device. | 13 April 2015, 20:44:32 UTC |