[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87bmzse3fp.fsf@eliezer.anholt.net>
Date: Mon, 12 Sep 2016 23:09:30 -0700
From: Eric Anholt <eric@...olt.net>
To: Dave Stevenson <linux-rpi-kernel@...tevenson.freeserve.co.uk>,
Gerd Hoffmann <kraxel@...hat.com>,
Stefan Wahren <stefan.wahren@...e.com>
Cc: Mark Rutland <mark.rutland@....com>, devicetree@...r.kernel.org,
Florian Fainelli <f.fainelli@...il.com>,
Scott Branden <sbranden@...adcom.com>,
Ray Jui <rjui@...adcom.com>,
Russell King <linux@...linux.org.uk>,
open list <linux-kernel@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>,
bcm-kernel-feedback-list@...adcom.com,
linux-rpi-kernel@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/8] ARM: dts: bcm283x: Define standard pinctrl groups in the gpio node.
Dave Stevenson <linux-rpi-kernel@...tevenson.freeserve.co.uk> writes:
> On 09/09/16 22:20, Eric Anholt wrote:
>> e<#secure method=pgpmime mode=sign>
>> Gerd Hoffmann <kraxel@...hat.com> 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."
I was confused because my pinctrl was set up for 18, but the panel
driver for it is set up for 24. It looks like 18 is right, so I should
probably correct the panel driver.
Download attachment "signature.asc" of type "application/pgp-signature" (801 bytes)
Powered by blists - more mailing lists