From: "Andreas Färber" <afaerber@suse.de>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v4 6/7] ARM: zynq: DT: Add pinctrl information
Date: Mon, 26 Jan 2015 23:57:00 +0000 [thread overview]
Message-ID: <54C6D44C.4060106@suse.de> (raw)
In-Reply-To: <1420818231-13451-7-git-send-email-soren.brinkmann@xilinx.com>
[-- Attachment #1: Type: text/plain, Size: 3072 bytes --]
Am 09.01.2015 um 16:43 schrieb Soren Brinkmann:
> Add pinctrl descriptions to the zc702 and zc706 device trees.
>
> Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
> Tested-by: Andreas Färber <afaerber@suse.de>
> ---
> Changes since v1:
> - remove 'pinctrl-' prefix for pinctrl sub-nodes
> - separate config and mux nodes
>
> Changes since RFC v2:
> - add pinconf properties to zc702 mdio node
> - remove arguments from bias-related props
>
> Changes since RFC v1:
> - separate DT changes into their own patch
> ---
> arch/arm/boot/dts/zynq-7000.dtsi | 8 +-
> arch/arm/boot/dts/zynq-zc702.dts | 181 +++++++++++++++++++++++++++++++++++++++
> arch/arm/boot/dts/zynq-zc706.dts | 152 ++++++++++++++++++++++++++++++++
> 3 files changed, 340 insertions(+), 1 deletion(-)
[...]
> diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts
> index 280f02dd4ddc..4995412f116f 100644
> --- a/arch/arm/boot/dts/zynq-zc702.dts
> +++ b/arch/arm/boot/dts/zynq-zc702.dts
[...]
> @@ -50,15 +52,24 @@
> status = "okay";
> phy-mode = "rgmii-id";
> phy-handle = <ðernet_phy>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_gem0_default>;
>
> ethernet_phy: ethernet-phy@7 {
> reg = <7>;
> };
> };
>
> +&gpio0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_gpio0_default>;
On linux-next the equivalent no longer works for the Parallella, with
gpio failing to probe.
If I move these two properties to the leds node (for which I am
configuring gpio 7) then I get a heartbeat as before.
Regards,
Andreas
> +};
> +
> &i2c0 {
> status = "okay";
> clock-frequency = <400000>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_i2c0_default>;
>
> i2cswitch@74 {
> compatible = "nxp,pca9548";
> @@ -132,10 +143,180 @@
> };
> };
>
> +&pinctrl0 {
[...]
> + pinctrl_gpio0_default: gpio0-default {
> + mux {
> + function = "gpio0";
> + groups = "gpio0_7_grp", "gpio0_8_grp", "gpio0_9_grp",
> + "gpio0_10_grp", "gpio0_11_grp", "gpio0_12_grp",
> + "gpio0_13_grp", "gpio0_14_grp";
> + };
> +
> + conf {
> + groups = "gpio0_7_grp", "gpio0_8_grp", "gpio0_9_grp",
> + "gpio0_10_grp", "gpio0_11_grp", "gpio0_12_grp",
> + "gpio0_13_grp", "gpio0_14_grp";
> + slew-rate = <0>;
> + io-standard = <1>;
> + };
> +
> + conf-pull-up {
> + pins = "MIO9", "MIO10", "MIO11", "MIO12", "MIO13", "MIO14";
> + bias-pull-up;
> + };
> +
> + conf-pull-none {
> + pins = "MIO7", "MIO8";
> + bias-disable;
> + };
> + };
[...]
> +};
> +
> &sdhci0 {
> status = "okay";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_sdhci0_default>;
> };
>
> &uart1 {
> status = "okay";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_uart1_default>;
> };
[dito for zc706]
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-01-26 23:57 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-09 15:43 [PATCH v4 0/7] pinctrl support for Zynq Soren Brinkmann
2015-01-09 15:43 ` [PATCH v4 1/7] pinctrl: pinconf-generic: Infer map type from DT property Soren Brinkmann
2015-01-09 15:43 ` [PATCH v4 2/7] pinctrl: pinconf-generic: Allow driver to specify DT params Soren Brinkmann
2015-01-09 15:43 ` [PATCH v4 3/7] pinctrl: zynq: Document DT binding Soren Brinkmann
2015-01-09 15:43 ` [PATCH v4 4/7] pinctrl: Add driver for Zynq Soren Brinkmann
2015-01-09 15:43 ` [PATCH v4 5/7] ARM: zynq: Enable pinctrl Soren Brinkmann
2015-01-11 21:36 ` Linus Walleij
2015-01-12 7:35 ` Michal Simek
2015-01-09 15:43 ` [PATCH v4 6/7] ARM: zynq: DT: Add pinctrl information Soren Brinkmann
2015-01-11 21:38 ` Linus Walleij
2015-01-12 7:27 ` Michal Simek
2015-01-27 0:00 ` Andreas Färber
2015-01-28 14:22 ` Michal Simek
2015-01-26 23:57 ` Andreas Färber [this message]
2015-01-27 0:32 ` Sören Brinkmann
2015-01-27 2:05 ` Sören Brinkmann
2015-01-09 15:43 ` [PATCH v4 7/7] pinctrl: qcom-spmi-gpio: Migrate to pinconf-generic Soren Brinkmann
2015-01-11 21:40 ` Linus Walleij
2015-01-12 9:09 ` Ivan T. Ivanov
2015-01-09 16:53 ` [PATCH v4 0/7] pinctrl support for Zynq Sören Brinkmann
2015-01-11 21:41 ` Linus Walleij
2015-01-11 23:01 ` Sören Brinkmann
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=54C6D44C.4060106@suse.de \
--to=afaerber@suse.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).