Re: [PATCH 1/8] ARM: dts: bcm283x: Define standard pinctrl groups in the gpio node.

From: Dave Stevenson
Date: Sun Sep 11 2016 - 17:54:34 EST


On 09/09/16 22:20, Eric Anholt wrote:
e<#secure method=pgpmime mode=sign>
Gerd Hoffmann <kraxel@xxxxxxxxxx> writes:

Hi,

According to this page [1] the pinctrl group for parallel display interface is
missing. Is it intended?

[1] - http://elinux.org/RPi_BCM2835_GPIOs
Just an oversight I guess. Eric?

Does this look correct?

+ dpi_gpio4: dpi_gpio4 {
+ brcm,pins = <4 5 6 7 8 9 10 11 12 13
+ 14 15 16 17 18 19 20 21
+ 22 23 24 25 26 27>;
+ brcm,function = <BCM2835_FSEL_ALT2>;
+ };
For DPI, you also need pins 0-3 in there for clock and syncs.

That set of data pins would be for a 24-bit mode, which is what we
should be using for the Adafruit kippah + 7" panel combo.
The Kippah is only 18bit, RGB666.
https://www.adafruit.com/products/2454
"The pins used are GPIO 2 through 21 inclusive. That means you don't get the UART RX/TX pins (no console cable) and you don't get the standard user I2C pins, the EEPROM I2C pins, or hardware SPI pins. You do get to use pins #22, #23, #24, #25, #26 and #27, and the USB ports are fine to use too."

On the forum there are some that report they have used DPI in RGB888, but they're not using the Kippah. I had mentioned this to Phil E that there should be a dpi18 overlay, but not got around to sorting that.


_______________________________________________
linux-rpi-kernel mailing list
linux-rpi-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel