Martin Sperl writes:
>> On 26.04.2016, at 21:39, Eric Anholt wrote:
>>
>> 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 firmwa
Matthias Reichl writes:
> The bcm2835-i2s driver already has support for the S16_LE format but
> that format hasn't been made available because dmaengine_pcm didn't
> support packed data transfers.
Acked-by: Eric Anholt
signature.asc
Description: PGP signature
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.
Signed-off-by: Eric Anholt
---
drivers/clk/bc
ication 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
Fixes: 41691b8862e2 ("clk: bcm2835: Add support for
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
---
drivers/gpu/drm/vc4/vc4_drv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/dr
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
---
drivers/gpu/drm/vc4
suggested by
the simplefb maintainer as the solution agreed upon at ELCE 2014, and
was acked by the DRM maintainer for merging through this tree.
Eric Anholt (2):
drm/vc4: Kick out the simplefb framebuffer before we set up KMS
-0700)
This pull request brings in changes for bcm2835_defconfig and
multi_v7_defconfig in 4.7.
Eric Anholt (7):
ARM: multi_v7_defconfig: Add more BCM2835 support
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
---
Dave: It would be nice if I could merge this patch through
bcm2835-dt-next, where I'
Julia Lawall writes:
> Remove .owner field if calls are used which set it automatically
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Acked-by: Eric Anholt
signature.asc
Description: PGP signature
Stephen Boyd writes:
> On 04/13, Eric Anholt wrote:
>> Signed-off-by: Eric Anholt
>> ---
>
> Acked-by: Stephen Boyd
>
> Or can I merge this? It wasn't addressed To: me so who knows.
Yeah, please merge it.
signature.asc
Description: PGP signature
.
Eric Anholt (3):
drm: Add an encoder and connector type enum for DPI.
drm/vc4: Add DPI driver
drm/vc4: Fix NULL deref in HDMI init error path
.../devicetree/bindings/display/brcm,bcm-vc4.txt | 36 ++
drivers/gpu/drm/drm_crtc.c
-0700)
This pull request brings in the DPI panel support for vc4, plus a
minor bugfix found during Pi3 development.
Eric Anholt (3):
drm: Add an encoder and
This is equivalent and works for arm64 as well.
Signed-off-by: Eric Anholt
Acked-by: Stephen Warren
---
v2: add ack
drivers/irqchip/irq-bcm2835.c | 3 +--
drivers/irqchip/irq-bcm2836.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/irqchip/irq-bcm2835.c b
Signed-off-by: Eric Anholt
Acked-by: Stephen Warren
---
v2: add ack
drivers/irqchip/irq-bcm2836.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
index 6b61c68b87ae..bb3d61fe4bdb 100644
--- a/drivers/irqchip/irq
For arm64, the bootloader will instead be implementing the spin-table
enable method.
Signed-off-by: Eric Anholt
Acked-by: Stephen Warren
---
v2: add ack, fix #ifdef
drivers/irqchip/irq-bcm2836.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq
Signed-off-by: Eric Anholt
Acked-by: Stephen Warren
---
v2: add ack
drivers/irqchip/irq-bcm2836.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
index bb3d61fe4bdb..27875982657e 100644
--- a/drivers/irqchip/irq
In poweroff, we set the reset bit and the power down bit, but only
managed to unset the reset bit for poweron. This meant that if HDMI
did -EPROBE_DEFER after it had grabbed its clocks, we'd power down the
PLLH (that had been on at boot time) and never recover.
Signed-off-by: Eric Anholt
Signed-off-by: Eric Anholt
---
v2: no change
drivers/clk/bcm/clk-bcm2835.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c
index 4c0f1b504e2f..87616ded5bbe 100644
--- a/drivers/clk/bcm/clk-bcm2835.c
+++ b
Arnd Bergmann writes:
> On Tuesday 05 April 2016, Eric Anholt wrote:
>> For arm64, the bootloader will instead be implementing the spin-table
>> enable method.
>>
>> Signed-off-by: Eric Anholt
>> ---
>> drivers/irqchip/irq-bcm2836.c | 6 +-
>>
Stephen Warren writes:
> On 04/08/2016 12:20 PM, Eric Anholt wrote:
>> Stephen Warren writes:
>>
>>> On 04/04/2016 09:44 PM, Eric Anholt wrote:
>>>> dsb() requires an argument on arm64, so we needed to add "sy".
>>>> Instead, take this
Stefan Wahren writes:
> Hi Eric,
>
>> Eric Anholt hat am 5. April 2016 um 05:20 geschrieben:
>>
>>
>> In poweroff, we set the reset bit and the power down bit, but only
>> managed to unset the reset bit for poweron. This meant that if HDMI
>> did -EP
Stephen Warren writes:
> On 04/04/2016 09:44 PM, Eric Anholt wrote:
>> dsb() requires an argument on arm64, so we needed to add "sy".
>> Instead, take this opportunity to switch to the same smp_wmb() call
>> that gic uses for its IPIs. This is a less strong barri
Here's the series for irqchip-bcm283x on arm64 for the Pi3. Since I'd
like to land Makefile changes that would enable building
irqchip-bcm283x on arm64, it would be nice if I had either a stable
branch to merge from, or an ack to merge them through the arm64 tree.
Eric Anholt (4):
Signed-off-by: Eric Anholt
---
drivers/irqchip/irq-bcm2836.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
index ee62413..a99b630 100644
--- a/drivers/irqchip/irq-bcm2836.c
+++ b/drivers/irqchip/irq-bcm2836.c
@@ -19
For arm64, the bootloader will instead be implementing the spin-table
enable method.
Signed-off-by: Eric Anholt
---
drivers/irqchip/irq-bcm2836.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
index 233ccdd
Signed-off-by: Eric Anholt
---
drivers/irqchip/irq-bcm2836.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
index 4ae9f76..ee62413 100644
--- a/drivers/irqchip/irq-bcm2836.c
+++ b/drivers/irqchip/irq-bcm2836.c
This is equivalent and works for arm64 as well.
Signed-off-by: Eric Anholt
---
drivers/irqchip/irq-bcm2835.c | 3 +--
drivers/irqchip/irq-bcm2836.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/irqchip/irq-bcm2835.c b/drivers/irqchip/irq-bcm2835.c
index bf9cc5f
to trigger).
Eric Anholt (2):
clk: bcm2835: Fix compiler warnings on 64-bit builds
clk: bcm2835: Fix PLL poweron
drivers/clk/bcm/clk-bcm2835.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
--
2.7.0
In poweroff, we set the reset bit and the power down bit, but only
managed to unset the reset bit for poweron. This meant that if HDMI
did -EPROBE_DEFER after it had grabbed its clocks, we'd power down the
PLLH (that had been on at boot time) and never recover.
Signed-off-by: Eric Anhol
Signed-off-by: Eric Anholt
---
drivers/clk/bcm/clk-bcm2835.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c
index 4c0f1b5..87616de 100644
--- a/drivers/clk/bcm/clk-bcm2835.c
+++ b/drivers/clk/bcm/clk
If you make it here other than through err_destroy_encoder, vc4->hdmi
is still NULL.
Signed-off-by: Eric Anholt
---
drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c
index d8b8
Stephen Warren writes:
> On 03/31/2016 06:28 PM, Eric Anholt wrote:
>> This approximately triples write performance for the SD card. My card
>> is too full of important data to collect very reliable numbers, but I
>> see 271.361% +/- 166.742% improvement (n=3 before, 6
ce appears to be unaffected.
Signed-off-by: Eric Anholt
---
arch/arm/configs/bcm2835_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/bcm2835_defconfig
b/arch/arm/configs/bcm2835_defconfig
index 1ef69fc..1617fd2 100644
--- a/arch/arm/configs/bcm2835
The power domain driver we've enabled doesn't actually do anything
without it, and we need it to do its job for VC4 to initialize
successfully.
Signed-off-by: Eric Anholt
---
arch/arm/configs/bcm2835_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/a
This is also present in multi_v7_defconfig, and means that I can test
the pi1 with the 2835 defconfig in my normal environment.
Signed-off-by: Eric Anholt
---
arch/arm/configs/bcm2835_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/configs/bcm2835_defconfig
b/arch/arm
Combined with the queued DT changes, we now get HDMI and 3D support.
Signed-off-by: Eric Anholt
---
arch/arm/configs/bcm2835_defconfig | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arm/configs/bcm2835_defconfig
b/arch/arm/configs/bcm2835_defconfig
index 1192a6f
The WDT is required for reboot and I2S is used for audio devices on
the P5 header (or BT audio on the Pi3).
Signed-off-by: Eric Anholt
---
arch/arm/configs/multi_v7_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs
ce appears to be unaffected.
Signed-off-by: Eric Anholt
---
arch/arm/configs/multi_v7_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index 43a8ce0..a913520 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++
This allows the Raspberry Pi 2 to be network booted from the
defconfig.
Signed-off-by: Eric Anholt
---
arch/arm/configs/multi_v7_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index a913520
Stephen Boyd writes:
> On 03/17, Eric Anholt wrote:
>> This is late, so feel free to drop it, but I figured I'd send it to
>> you in case you were still open to merges. I've pounded on it a bit
>> today (modesets to all sorts of resolutions on HDMI, used it for
&
This is the vendor for a 7" DPI panel sold by Adafruit which I'd like
to describe in DT.
Signed-off-by: Eric Anholt
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindi
This is round 2 of the DPI panel support for vc4. This time the
custom properties are dropped in favor of
connector->display_info.bus_formats[].
Testable tree is at:
https://github.com/anholt/linux/tree/drm-vc4-dpi-boot
Eric Anholt (5):
of: Add vendor prefix for On Tat Industrial Comp
ain 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 con
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
Acked-by: Rob Herring
---
.../bindings/display/panel/
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.
Signed-off-by: Eric Anholt
---
.../devicetree/bindings/display/brcm,bcm-vc4.txt | 36
It's currently marked disabled, as it's not useful without a panel
associated with it and the GPIO pins routed to ALT2.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm283x.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arc
Rob Herring writes:
> On Fri, Mar 18, 2016 at 07:42:45PM -0700, Eric Anholt wrote:
>> The DPI interface involves taking a ton of our GPIOs to be used as
>> outputs, and routing display signals over them in parallel.
>>
>> Signed-off-by: Eric Anholt
>> ---
&g
m,dma-channel-mask = <0x7f35>;"
So we can remove the whole masking of DMA channels.
Signed-off-by: Martin Sperl
Reviewed-by: Eric Anholt
Signed-off-by: Eric Anholt
---
drivers/dma/bcm2835-dma.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/dma/bcm2835-dma.c b/dri
From: Martin Sperl
Add additional defines describing the DMA registers
as well as adding some more documentation to those registers.
Signed-off-by: Martin Sperl
Reviewed-by: Eric Anholt
Signed-off-by: Eric Anholt
---
drivers/dma/bcm2835-dma.c | 57
Here's the series for DMA slave and memcpy support for 2835, with the
DT changes to enable the remaining channels dropped out while that
goes through review. I had to do some minor conflict resolution, but
it was pretty mechanical, and I tested again with dmatest on the last
patch.
Martin Sperl (
d-off-by: Noralf Trønnes
Signed-off-by: Martin Sperl
Reviewed-by: Eric Anholt
Signed-off-by: Eric Anholt
---
drivers/dma/bcm2835-dma.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c
index 996c4b0..2d72fe8 100644
--- a/drivers/dma/bc
From: Martin Sperl
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
Reviewed-by: Eric Anholt
Signed-off-by: Eric Anholt
---
drivers/dma/bcm2835
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
Reviewed-by: Eric Anholt
Signed-off-by: Eric Anholt
---
drivers/dm
From: Martin Sperl
In preparation to consolidating code we move the cyclic member
into the bcm_2835_desc structure.
Signed-off-by: Martin Sperl
Reviewed-by: Eric Anholt
Signed-off-by: Eric Anholt
---
drivers/dma/bcm2835-dma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff
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
Reviewed-by: Eric Anholt
Signed-off-by: Eric Anholt
---
drivers/dma/bcm2835-dma.c | 113
: Martin Sperl
Reviewed-by: Eric Anholt
Signed-off-by: Eric Anholt
---
drivers/dma/bcm2835-dma.c | 294 +++---
1 file changed, 198 insertions(+), 96 deletions(-)
diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c
index b3bc382..4db0e23
This is late, so feel free to drop it, but I figured I'd send it to
you in case you were still open to merges. I've pounded on it a bit
today (modesets to all sorts of resolutions on HDMI, used it for
testing the DPI panel support that I'm hoping to have for 4.7, and did
a whole lot of browsing of
It's currently marked disabled, as it's not useful without a panel
associated with it and the GPIO pins routed to ALT2.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm283x.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arc
ain 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 con
Stefan Wahren writes:
> Hi Eric,
> hi Martin,
>
>> John Youn hat am 16. März 2016 um 19:28 geschrieben:
>>
>>
>> On 3/10/2016 11:14 AM, John Youn wrote:
>> > On 3/9/2016 11:06 AM, Doug Anderson wrote:
>> >> Stefan,
>> >>
>> >> On Wed, Mar 9, 2016 at 11:01 AM, Stefan Wahren
>> >> wrote:
>> >>>
>
The DPI interface involves taking a ton of our GPIOs to be used as
outputs, and routing display signals over them in parallel.
Signed-off-by: Eric Anholt
---
.../devicetree/bindings/display/brcm,bcm-vc4.txt | 67 +++
drivers/gpu/drm/vc4/Kconfig| 1 +
drivers/gpu/drm
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.
Signed-off-by: Eric Anholt
---
.../bindings/display/panel/ontat,yx700wv03.txt | 7 +
drivers/gpu/drm/panel/panel-sim
In preparation for working on DSI panel support, I wrote the much
simpler support for DPI panels. I've tested it on the 7" DPI panel
from Adafruit, with panel-simple support included here.
Eric Anholt (5):
of: Add vendor prefix for On Tat Industrial Company.
panel-simple: Add
This is the vendor for a 7" DPI panel sold by Adafruit which I'd like
to describe in DT.
Signed-off-by: Eric Anholt
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefi
g
detection for the Pi2/3.
Dan Carpenter (1):
drm/vc4: Return -EFAULT on copy_from_user() failure
Eric Anholt (4):
drm/vc4: Let gpiolib know that we're OK with sleeping for HPD.
drm/vc4: Respect GPIO_ACTIVE_LO
Dan Carpenter writes:
> The copy_from_user() function returns the number of bytes not copied but
> we want to return a negative error code.
>
> Fixes: 463873d57014 ('drm/vc4: Add an API for creating GPU shaders in GEM
> BOs.')
> Signed-off-by: Dan Carpenter
Pulled. Thanks!
signature.asc
Des
Stephen Warren writes:
> On 03/04/2016 01:32 PM, Eric Anholt wrote:
>> VC4 is the GPU (display and 3D) present on the 283x.
>
>> diff --git a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
>> b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
>
>> +&hdmi {
>>
This has been floating around out of tree, and the Pi Foundation is
including a variant of it in the device tree overlay in its firmware
update system.
Eric Anholt (3):
dt-bindings: Add binding docs for V3D.
drm/vc4: Recognize a more specific compatible string for V3D.
ARM: bcm2835: Add VC4
This was missed in the upstreaming process.
Signed-off-by: Eric Anholt
---
Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt | 12
1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt
b/Documentation/devicetree/bindings
the future.
Signed-off-by: Eric Anholt
---
drivers/gpu/drm/vc4/vc4_v3d.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/vc4/vc4_v3d.c b/drivers/gpu/drm/vc4/vc4_v3d.c
index 31de5d1..e6d3c60 100644
--- a/drivers/gpu/drm/vc4/vc4_v3d.c
+++ b/drivers/gpu/drm/vc4/vc4_v3d.c
@@ -26
VC4 is the GPU (display and 3D) present on the 283x.
Signed-off-by: Eric Anholt
---
v2: Sort by register address, mark HDMI as disabled by default in the
SoC file and enable it from -rpi.
v3: Add references to the pixel/HSM clocks for HDMI. Rename
compatibility strings and clean up
Mark Rutland writes:
> On Fri, Mar 04, 2016 at 10:55:03AM -0800, Eric Anholt wrote:
>> Mark Rutland writes:
>>
>> > On Fri, Mar 04, 2016 at 10:39:29AM -0800, Eric Anholt wrote:
>> >> For now this doesn't support the new hardware present on the Pi 3 (B
Mark Rutland writes:
> On Fri, Mar 04, 2016 at 10:39:29AM -0800, Eric Anholt wrote:
>> For now this doesn't support the new hardware present on the Pi 3 (BT,
>> wifi, GPIO expander). Since the GPIO expander isn't supported, we
>> also don't have th
Signed-off-by: Eric Anholt
---
Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt
b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt
index 11d3056..6ffe087 100644
For now this doesn't support the new hardware present on the Pi 3 (BT,
wifi, GPIO expander). Since the GPIO expander isn't supported, we
also don't have the LEDs like the other board files do.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/Makefile| 3 +-
ar
2:48 -0800)
This pull request fixes the major VC4 HDMI modesetting bugs found when
the first wave of users showed up in Raspbian.
----
Eric Anholt (6):
drm/vc4: Fix a framebuffer reference leak on
Stephen Warren writes:
> On 02/26/2016 11:19 AM, Eric Anholt wrote:
>> Since all of these pins were documented, we can use their names to
>> explain what's going on.
>
>> diff --git a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
>> b/arch/arm/boot/dts/
Stephen Warren writes:
> On 02/26/2016 11:19 AM, Eric Anholt wrote:
>> The BCM2835-ARM-Peripherals.pdf documentation specifies what the
>> function selects do for the pins, and there are a bunch of obvious
>> groupings to be made. With these created, we'll be
Stephen Boyd writes:
> This flag is a no-op now. Remove usage of the flag.
I like that this flag is going away. It's a nice cleanup.
Reviewed-by: Eric Anholt
signature.asc
Description: PGP signature
These are for fixing the vc4 driver on the Pi 3. Note that patch 2
will also be necessary for fixing HPD on the Pi2, which we've been
carrying downstream patches to work around until now.
Eric Anholt (2):
drm/vc4: Let gpiolib know that we're OK with sleeping for HPD.
drm/vc
The original Raspberry Pi had the GPIO active high, but the later
models are active low. The DT GPIO bindings allow specifying the
active flag, except that it doesn't get propagated to the gpiodesc, so
you have to handle it yourself.
Signed-off-by: Eric Anholt
---
drivers/gpu/dr
Fixes an error thrown every few seconds when we poll HPD when it's on
a I2C to GPIO expander.
Signed-off-by: Eric Anholt
---
drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c
From: Phil Elwell
The DT bindings for pinctrl-bcm2835 allow both the function and pull
to contain either one entry or one per pin. However, an error in the
DT parsing can cause failures if the number of pulls differs from the
number of functions.
Signed-off-by: Eric Anholt
Cc: sta
This improves read speed on my SD card (as reported by hdparm -t) from
10.15MB/sec to 16.70MB/sec. Once we add slave DMA, we can get to
18.45MB/sec.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm2835-rpi.dtsi | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a
equest/config process.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm283x.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 597a78f..7b2721b 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/b
les, speed tests), but I'm not sure what a good
testing regimen for storage drivers would be.
Eric Anholt (4):
dt-bindings: Add binding for brcm,bcm2835-sdhost.
mmc: bcm2835-sdhost: Add new driver for the internal SD controller.
ARM: bcm2835: Include SDHOST in the device tree.
ARM:
written by Phil Elwell in the downstream
Rasbperry Pi tree, and I did a major cleanup on it (+319, -721 lines
out of the original 2055) for inclusion.
Signed-off-by: Eric Anholt
---
drivers/mmc/host/Kconfig |9 +
drivers/mmc/host/Makefile |1 +
drivers/mmc/host/bcm2835-sdhost.c
This is the other SD controller on the platform, which can be swapped
to the role of SD card host using pin muxing.
Signed-off-by: Eric Anholt
---
.../bindings/mmc/brcm,bcm2835-sdhost.txt | 25 ++
1 file changed, 25 insertions(+)
create mode 100644
Documentation
f my mails this week. I've
now swapped systems.
Eric Anholt (5):
ARM: bcm2835: Define standard pinctrl groups in the gpio node.
ARM: bcm2835: Replace alt0/i2s_alt[02] with standard groups.
ARM: bcm2835: Move the emmc pin group to bcm283x.dtsi.
ARM: bcm2835: Add a group for mapping pins
This pin group definition comes from downstream. We don't have a
driver for sdhost integrated yet, but they've been experimenting with
it and it sounds useful to bring over.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm283x.dtsi | 4
1 file changed, 4 insertions(+)
di
While it's not documented in the public PDF, it is internally. This
is a standard pin group for the 283x, not rpi-specific.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 4 ++--
arch/arm/boot/dts/bcm2835-rpi-a.dts | 4 ++--
arch/arm/boot/dts/bcm2835-
This way we can get the duplicated pin group definitions out of each
RPi board file, and just leave the i2s variations in them.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 14 +++---
arch/arm/boot/dts/bcm2835-rpi-a.dts | 14 +++---
arch/arm
Since all of these pins were documented, we can use their names to
explain what's going on.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 17 ++---
arch/arm/boot/dts/bcm2835-rpi-a.dts | 17 ++---
arch/arm/boot/dts/bcm2835-rpi-b-plu
cific groups we want enabled.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm283x.dtsi | 170 +
1 file changed, 170 insertions(+)
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 8aaf193..e91198e 100644
---
Eric Anholt writes:
> The BCM2835-ARM-Peripherals.pdf documentation specifies what the
> function selects do for the pins, and there are a bunch of obvious
> groupings to be made. With these created, we'll be able to replace
> bcm2835-rpi.dtsi's main "set all
This pin group definition comes from downstream. We don't have a
driver for sdhost integrated yet, but they've been experimenting with
it and it sounds useful to bring over.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm283x.dtsi | 4
1 file changed, 4 insertions(+)
di
cific groups we want enabled.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm283x.dtsi | 170 +
1 file changed, 170 insertions(+)
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 8aaf193..e91198e 100644
---
This way we can get the duplicated pin group definitions out of each
RPi board file, and just leave the i2s variations in them.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 14 +++---
arch/arm/boot/dts/bcm2835-rpi-a.dts | 14 +++---
arch/arm
Since all of these pins were documented, we can use their names to
explain what's going on.
Signed-off-by: Eric Anholt
---
arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 17 ++---
arch/arm/boot/dts/bcm2835-rpi-a.dts | 17 ++---
arch/arm/boot/dts/bcm2835-rpi-b-plu
901 - 1000 of 1368 matches
Mail list logo