All of lore.kernel.org
 help / color / mirror / Atom feed
From: eric@anholt.net (Eric Anholt)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/8] ARM: dts: bcm283x: Define standard pinctrl groups in the gpio node.
Date: Fri, 09 Sep 2016 14:20:57 -0700	[thread overview]
Message-ID: <8737l893d2.fsf@eliezer.anholt.net> (raw)
In-Reply-To: <1473411924.6698.85.camel@redhat.com>

e<#secure method=pgpmime mode=sign>
Gerd Hoffmann <kraxel@redhat.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.

WARNING: multiple messages have this Message-ID (diff)
From: Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
To: Gerd Hoffmann <kraxel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
Cc: linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Scott Branden <sbranden-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>,
	Ray Jui <rjui-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>,
	Russell King <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>,
	open list <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w@public.gmane.org,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Florian Fainelli
	<f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH 1/8] ARM: dts: bcm283x: Define standard pinctrl groups in the gpio node.
Date: Fri, 09 Sep 2016 14:20:57 -0700	[thread overview]
Message-ID: <8737l893d2.fsf@eliezer.anholt.net> (raw)
In-Reply-To: <1473411924.6698.85.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

e<#secure method=pgpmime mode=sign>
Gerd Hoffmann <kraxel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 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.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Eric Anholt <eric@anholt.net>
To: Gerd Hoffmann <kraxel@redhat.com>,
	Stefan Wahren <stefan.wahren@i2se.com>
Cc: linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	Scott Branden <sbranden@broadcom.com>,
	Ray Jui <rjui@broadcom.com>, Russell King <linux@armlinux.org.uk>,
	open list <linux-kernel@vger.kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	bcm-kernel-feedback-list@broadcom.com,
	Mark Rutland <mark.rutland@arm.com>,
	Florian Fainelli <f.fainelli@gmail.com>
Subject: Re: [PATCH 1/8] ARM: dts: bcm283x: Define standard pinctrl groups in the gpio node.
Date: Fri, 09 Sep 2016 14:20:57 -0700	[thread overview]
Message-ID: <8737l893d2.fsf@eliezer.anholt.net> (raw)
In-Reply-To: <1473411924.6698.85.camel@redhat.com>

e<#secure method=pgpmime mode=sign>
Gerd Hoffmann <kraxel@redhat.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.

  parent reply	other threads:[~2016-09-09 21:20 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-07 10:31 [PATCH 0/8] ARM: dts: bcm283x: add and use pinctrl groups Gerd Hoffmann
2016-09-07 10:31 ` Gerd Hoffmann
2016-09-07 10:31 ` [PATCH 1/8] ARM: dts: bcm283x: Define standard pinctrl groups in the gpio node Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 18:09   ` Stefan Wahren
2016-09-07 18:09     ` Stefan Wahren
2016-09-07 18:09     ` Stefan Wahren
2016-09-07 18:50     ` Eric Anholt
2016-09-07 18:50       ` Eric Anholt
2016-09-08  7:48       ` Gerd Hoffmann
2016-09-08  7:48         ` Gerd Hoffmann
2016-09-08  7:48         ` Gerd Hoffmann
2016-09-08 17:55   ` Stefan Wahren
2016-09-08 17:55     ` Stefan Wahren
2016-09-08 17:55     ` Stefan Wahren
2016-09-09  9:05     ` Gerd Hoffmann
2016-09-09  9:05       ` Gerd Hoffmann
2016-09-09  9:05       ` Gerd Hoffmann
2016-09-09 14:12       ` Stefan Wahren
2016-09-09 14:12         ` Stefan Wahren
2016-09-09 14:12         ` Stefan Wahren
2016-09-09 21:20       ` Eric Anholt [this message]
2016-09-09 21:20         ` Eric Anholt
2016-09-09 21:20         ` Eric Anholt
2016-09-11 21:22         ` Dave Stevenson
2016-09-11 21:22           ` Dave Stevenson
2016-09-13  6:09           ` Eric Anholt
2016-09-13  6:09             ` Eric Anholt
2016-09-07 10:31 ` [PATCH 2/8] ARM: dts: bcm283x: Add the emmc pin group to bcm283x.dtsi Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31 ` [PATCH 3/8] ARM: dts: bcm283x: Add a group for mapping pins 48-53 to sdhost Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31 ` [PATCH 4/8] ARM: dts: bcm283x: Add a new EMMC pin group from the downstream tree Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 18:13   ` Stefan Wahren
2016-09-07 18:13     ` Stefan Wahren
2016-09-08  7:44     ` Gerd Hoffmann
2016-09-08  7:44       ` Gerd Hoffmann
2016-09-08 12:06       ` Stefan Wahren
2016-09-08 12:06         ` Stefan Wahren
2016-09-09  8:26         ` Gerd Hoffmann
2016-09-09  8:26           ` Gerd Hoffmann
2016-09-09  8:47           ` Gerd Hoffmann
2016-09-09  8:47             ` Gerd Hoffmann
2016-09-09  8:47             ` Gerd Hoffmann
2016-09-08 19:50       ` Scott Branden
2016-09-08 19:50         ` Scott Branden
2016-09-08 19:50         ` Scott Branden
2016-09-09  6:58         ` Stefan Wahren
2016-09-09  6:58           ` Stefan Wahren
2016-09-09  6:58           ` Stefan Wahren
2016-09-09 16:37           ` Scott Branden
2016-09-09 16:37             ` Scott Branden
2016-09-09 16:37             ` Scott Branden
2016-09-09 21:22     ` Eric Anholt
2016-09-09 21:22       ` Eric Anholt
2016-09-07 10:31 ` [PATCH 5/8] ARM: dts: bcm283x: add pinctrl group to &pwm, drop pins from &gpio Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31 ` [PATCH 6/8] ARM: dts: bcm283x: add pinctrl group to &i2c0, " Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31 ` [PATCH 7/8] ARM: dts: bcm283x: add pinctrl group to &i2c1, " Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31 ` [PATCH 8/8] ARM: dts: bcm283x: add pinctrl group to &sdhci, " Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann
2016-09-07 10:31   ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737l893d2.fsf@eliezer.anholt.net \
    --to=eric@anholt.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.