All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
To: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Jason Cooper <jason@lakedaemon.net>, Andrew Lunn <andrew@lunn.ch>,
	Gregory Clement <gregory.clement@free-electrons.com>,
	Gabriel Dobato <dobatog@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 6/8] ARM: dts: dove: Add some more common pinctrl settings
Date: Tue, 17 Feb 2015 19:52:07 +0100	[thread overview]
Message-ID: <1424199129-22099-7-git-send-email-sebastian.hesselbarth@gmail.com> (raw)
In-Reply-To: <1424199129-22099-1-git-send-email-sebastian.hesselbarth@gmail.com>

This add common pinctrl settings for pcie[01]_clkreq, spi1, i2c[23],
and internal i2c mux. These settings have either one or two options
only, so put them into the SoC dtsi instead of repeating them on
board level.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Gabriel Dobato <dobatog@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
 arch/arm/boot/dts/dove.dtsi | 52 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index 81209bd9525a..9ad829523a13 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -451,6 +451,11 @@
 					marvell,function = "gpio";
 				};
 
+				pmx_pcie1_clkreq: pmx-pcie1-clkreq {
+					marvell,pins = "mpp9";
+					marvell,function = "pex1";
+				};
+
 				pmx_gpio_10: pmx-gpio-10 {
 					marvell,pins = "mpp10";
 					marvell,function = "gpio";
@@ -461,6 +466,11 @@
 					marvell,function = "gpio";
 				};
 
+				pmx_pcie0_clkreq: pmx-pcie0-clkreq {
+					marvell,pins = "mpp11";
+					marvell,function = "pex0";
+				};
+
 				pmx_gpio_12: pmx-gpio-12 {
 					marvell,pins = "mpp12";
 					marvell,function = "gpio";
@@ -566,6 +576,18 @@
 					marvell,function = "gpio";
 				};
 
+				pmx_spi1_4_7: pmx-spi1-4-7 {
+					marvell,pins = "mpp4", "mpp5",
+						"mpp6", "mpp7";
+					marvell,function = "spi1";
+				};
+
+				pmx_spi1_20_23: pmx-spi1-20-23 {
+					marvell,pins = "mpp20", "mpp21",
+						"mpp22", "mpp23";
+					marvell,function = "spi1";
+				};
+
 				pmx_uart1: pmx-uart1 {
 					marvell,pins = "mpp_uart1";
 					marvell,function = "uart1";
@@ -585,6 +607,36 @@
 					marvell,pins = "mpp_nand";
 					marvell,function = "gpo";
 				};
+
+				pmx_i2c1: pmx-i2c1 {
+					marvell,pins = "mpp17", "mpp19";
+					marvell,function = "twsi";
+				};
+
+				pmx_i2c2: pmx-i2c2 {
+					marvell,pins = "mpp_audio1";
+					marvell,function = "twsi";
+				};
+
+				pmx_ssp_i2c2: pmx-ssp-i2c2 {
+					marvell,pins = "mpp_audio1";
+					marvell,function = "ssp/twsi";
+				};
+
+				pmx_i2cmux_0: pmx-i2cmux-0 {
+					marvell,pins = "twsi";
+					marvell,function = "twsi-opt1";
+				};
+
+				pmx_i2cmux_1: pmx-i2cmux-1 {
+					marvell,pins = "twsi";
+					marvell,function = "twsi-opt2";
+				};
+
+				pmx_i2cmux_2: pmx-i2cmux-2 {
+					marvell,pins = "twsi";
+					marvell,function = "twsi-opt3";
+				};
 			};
 
 			core_clk: core-clocks@d0214 {
-- 
2.1.0


WARNING: multiple messages have this Message-ID (diff)
From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/8] ARM: dts: dove: Add some more common pinctrl settings
Date: Tue, 17 Feb 2015 19:52:07 +0100	[thread overview]
Message-ID: <1424199129-22099-7-git-send-email-sebastian.hesselbarth@gmail.com> (raw)
In-Reply-To: <1424199129-22099-1-git-send-email-sebastian.hesselbarth@gmail.com>

This add common pinctrl settings for pcie[01]_clkreq, spi1, i2c[23],
and internal i2c mux. These settings have either one or two options
only, so put them into the SoC dtsi instead of repeating them on
board level.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Gabriel Dobato <dobatog@gmail.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
---
 arch/arm/boot/dts/dove.dtsi | 52 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index 81209bd9525a..9ad829523a13 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -451,6 +451,11 @@
 					marvell,function = "gpio";
 				};
 
+				pmx_pcie1_clkreq: pmx-pcie1-clkreq {
+					marvell,pins = "mpp9";
+					marvell,function = "pex1";
+				};
+
 				pmx_gpio_10: pmx-gpio-10 {
 					marvell,pins = "mpp10";
 					marvell,function = "gpio";
@@ -461,6 +466,11 @@
 					marvell,function = "gpio";
 				};
 
+				pmx_pcie0_clkreq: pmx-pcie0-clkreq {
+					marvell,pins = "mpp11";
+					marvell,function = "pex0";
+				};
+
 				pmx_gpio_12: pmx-gpio-12 {
 					marvell,pins = "mpp12";
 					marvell,function = "gpio";
@@ -566,6 +576,18 @@
 					marvell,function = "gpio";
 				};
 
+				pmx_spi1_4_7: pmx-spi1-4-7 {
+					marvell,pins = "mpp4", "mpp5",
+						"mpp6", "mpp7";
+					marvell,function = "spi1";
+				};
+
+				pmx_spi1_20_23: pmx-spi1-20-23 {
+					marvell,pins = "mpp20", "mpp21",
+						"mpp22", "mpp23";
+					marvell,function = "spi1";
+				};
+
 				pmx_uart1: pmx-uart1 {
 					marvell,pins = "mpp_uart1";
 					marvell,function = "uart1";
@@ -585,6 +607,36 @@
 					marvell,pins = "mpp_nand";
 					marvell,function = "gpo";
 				};
+
+				pmx_i2c1: pmx-i2c1 {
+					marvell,pins = "mpp17", "mpp19";
+					marvell,function = "twsi";
+				};
+
+				pmx_i2c2: pmx-i2c2 {
+					marvell,pins = "mpp_audio1";
+					marvell,function = "twsi";
+				};
+
+				pmx_ssp_i2c2: pmx-ssp-i2c2 {
+					marvell,pins = "mpp_audio1";
+					marvell,function = "ssp/twsi";
+				};
+
+				pmx_i2cmux_0: pmx-i2cmux-0 {
+					marvell,pins = "twsi";
+					marvell,function = "twsi-opt1";
+				};
+
+				pmx_i2cmux_1: pmx-i2cmux-1 {
+					marvell,pins = "twsi";
+					marvell,function = "twsi-opt2";
+				};
+
+				pmx_i2cmux_2: pmx-i2cmux-2 {
+					marvell,pins = "twsi";
+					marvell,function = "twsi-opt3";
+				};
 			};
 
 			core_clk: core-clocks at d0214 {
-- 
2.1.0

  parent reply	other threads:[~2015-02-17 18:54 UTC|newest]

Thread overview: 123+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-17 18:52 [PATCH 0/8] Add proper support for Compulab CM-A510/SBC-A510 Sebastian Hesselbarth
2015-02-17 18:52 ` Sebastian Hesselbarth
2015-02-17 18:52 ` Sebastian Hesselbarth
2015-02-17 18:52 ` [PATCH 1/8] i2c: mux-pinctrl: Rework to honor disabled child nodes Sebastian Hesselbarth
2015-02-17 18:52   ` Sebastian Hesselbarth
2015-02-17 18:52   ` Sebastian Hesselbarth
2015-02-17 20:46   ` Stephen Warren
2015-02-17 20:46     ` Stephen Warren
2015-02-17 20:46     ` Stephen Warren
2015-02-17 21:08     ` Sebastian Hesselbarth
2015-02-17 21:08       ` Sebastian Hesselbarth
2015-02-17 21:08       ` Sebastian Hesselbarth
2015-02-17 21:15       ` Stephen Warren
2015-02-17 21:15         ` Stephen Warren
2015-02-17 21:19         ` Sebastian Hesselbarth
2015-02-17 21:19           ` Sebastian Hesselbarth
2015-02-26 21:46   ` Stephen Warren
2015-02-26 21:46     ` Stephen Warren
2015-02-17 18:52 ` [PATCH 2/8] devicetree: vendor-prefixes: Add CompuLab to known vendors Sebastian Hesselbarth
2015-02-17 18:52   ` Sebastian Hesselbarth
2015-02-17 19:37   ` Rob Herring
2015-02-17 19:37     ` Rob Herring
2015-02-17 19:37     ` Rob Herring
2015-02-17 18:52 ` [PATCH 3/8] ARM: dts: dove: Fix uart[23] reg property Sebastian Hesselbarth
2015-02-17 18:52   ` Sebastian Hesselbarth
2015-02-23 14:54   ` Gregory CLEMENT
2015-02-23 14:54     ` Gregory CLEMENT
2015-02-17 18:52 ` [PATCH 4/8] ARM: dts: dove: Always include gpio and interrupt-controller headers Sebastian Hesselbarth
2015-02-17 18:52   ` Sebastian Hesselbarth
2015-02-23 14:54   ` Gregory CLEMENT
2015-02-23 14:54     ` Gregory CLEMENT
2015-02-17 18:52 ` [PATCH 5/8] ARM: dts: dove: Add node labels for PCIe ports 0 and 1 Sebastian Hesselbarth
2015-02-17 18:52   ` Sebastian Hesselbarth
2015-02-23 14:55   ` Gregory CLEMENT
2015-02-23 14:55     ` Gregory CLEMENT
2015-02-17 18:52 ` Sebastian Hesselbarth [this message]
2015-02-17 18:52   ` [PATCH 6/8] ARM: dts: dove: Add some more common pinctrl settings Sebastian Hesselbarth
2015-02-23 14:56   ` Gregory CLEMENT
2015-02-23 14:56     ` Gregory CLEMENT
2015-02-17 18:52 ` [PATCH 7/8] ARM: dts: dove: Add internal i2c multiplexer node Sebastian Hesselbarth
2015-02-17 18:52   ` Sebastian Hesselbarth
2015-02-23 15:07   ` Gregory CLEMENT
2015-02-23 15:07     ` Gregory CLEMENT
2015-02-23 15:07     ` Gregory CLEMENT
2015-02-17 18:52 ` [PATCH 8/8] ARM: dts: dove: Add proper support for Compulab CM-A510/SBC-A510 Sebastian Hesselbarth
2015-02-17 18:52   ` Sebastian Hesselbarth
2015-02-26 17:55 ` [PATCH 0/8] " Gregory CLEMENT
2015-02-26 17:55   ` Gregory CLEMENT
2015-02-26 17:55   ` Gregory CLEMENT
2015-02-26 19:39   ` Sebastian Hesselbarth
2015-02-26 19:39     ` Sebastian Hesselbarth
2015-02-26 20:01     ` Stephen Warren
2015-02-26 20:01       ` Stephen Warren
2015-02-26 20:35       ` Sebastian Hesselbarth
2015-02-26 20:35         ` Sebastian Hesselbarth
2015-02-27 12:24 ` [PATCH v2 0/4] " Sebastian Hesselbarth
2015-02-27 12:24   ` Sebastian Hesselbarth
2015-02-27 12:24   ` Sebastian Hesselbarth
2015-02-27 12:24   ` [PATCH v2 1/4] i2c: mux-pinctrl: Rework to honor disabled child nodes Sebastian Hesselbarth
2015-02-27 12:24     ` Sebastian Hesselbarth
2015-02-27 12:24     ` Sebastian Hesselbarth
2015-03-02 20:01     ` Stephen Warren
2015-03-02 20:01       ` Stephen Warren
2015-03-02 20:01       ` Stephen Warren
2015-03-04  9:10       ` Sebastian Hesselbarth
2015-03-04  9:10         ` Sebastian Hesselbarth
2015-03-04  9:10         ` Sebastian Hesselbarth
2015-03-09 12:21     ` [PATCH v3 " Sebastian Hesselbarth
2015-03-09 12:21       ` Sebastian Hesselbarth
2015-03-09 12:21       ` Sebastian Hesselbarth
2015-03-10 16:28       ` Stephen Warren
2015-03-10 16:28         ` Stephen Warren
2015-03-10 16:28         ` Stephen Warren
2015-03-16 20:15         ` Sebastian Hesselbarth
2015-03-16 20:15           ` Sebastian Hesselbarth
2015-03-16 20:15           ` Sebastian Hesselbarth
2015-03-18 12:30       ` Wolfram Sang
2015-03-18 12:30         ` Wolfram Sang
2015-03-18 13:23         ` Sebastian Hesselbarth
2015-03-18 13:23           ` Sebastian Hesselbarth
2015-03-18 13:23           ` Sebastian Hesselbarth
2015-03-18 14:00           ` Wolfram Sang
2015-03-18 14:00             ` Wolfram Sang
2015-03-18 23:10             ` Sebastian Hesselbarth
2015-03-18 23:10               ` Sebastian Hesselbarth
2015-03-19 10:09               ` Wolfram Sang
2015-03-19 10:09                 ` Wolfram Sang
2015-03-19 10:09                 ` Wolfram Sang
2015-03-19 10:48                 ` Wolfram Sang
2015-03-19 10:48                   ` Wolfram Sang
2015-03-19 10:48                   ` Wolfram Sang
2015-03-19 15:47                 ` Stephen Warren
2015-03-19 15:47                   ` Stephen Warren
2015-03-19 15:47                   ` Stephen Warren
2015-03-19 16:02                   ` Wolfram Sang
2015-03-19 16:02                     ` Wolfram Sang
2015-03-19 16:02                     ` Wolfram Sang
2015-03-19 16:49                     ` Stephen Warren
2015-03-19 16:49                       ` Stephen Warren
2015-03-19 20:52                     ` Sebastian Hesselbarth
2015-03-19 20:52                       ` Sebastian Hesselbarth
2015-03-20 10:19                       ` Wolfram Sang
2015-03-20 10:19                         ` Wolfram Sang
2015-03-21 21:00                         ` Wolfram Sang
2015-03-21 21:00                           ` Wolfram Sang
2015-03-21 21:00                           ` Wolfram Sang
2015-03-22 13:03                           ` Sebastian Hesselbarth
2015-03-22 13:03                             ` Sebastian Hesselbarth
2015-03-22 13:03                             ` Sebastian Hesselbarth
2015-03-23 18:32                             ` Wolfram Sang
2015-03-23 18:32                               ` Wolfram Sang
2015-03-23 18:32                               ` Wolfram Sang
2015-03-27 21:08                               ` Sebastian Hesselbarth
2015-03-27 21:08                                 ` Sebastian Hesselbarth
2015-04-03 18:17                                 ` Wolfram Sang
2015-04-03 18:17                                   ` Wolfram Sang
2015-04-03 18:17                                   ` Wolfram Sang
2015-02-27 12:24   ` [PATCH v2 2/4] devicetree: vendor-prefixes: Add CompuLab to known vendors Sebastian Hesselbarth
2015-02-27 12:24     ` Sebastian Hesselbarth
2015-02-27 12:24   ` [PATCH v2 3/4] ARM: dts: dove: Add internal i2c multiplexer node Sebastian Hesselbarth
2015-02-27 12:24     ` Sebastian Hesselbarth
2015-02-27 12:24   ` [PATCH v2 4/4] ARM: dts: dove: Add proper support for Compulab CM-A510/SBC-A510 Sebastian Hesselbarth
2015-02-27 12:24     ` Sebastian Hesselbarth

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=1424199129-22099-7-git-send-email-sebastian.hesselbarth@gmail.com \
    --to=sebastian.hesselbarth@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=dobatog@gmail.com \
    --cc=gregory.clement@free-electrons.com \
    --cc=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.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.