All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Armstrong <narmstrong@baylibre.com>
To: linus.walleij@linaro.org
Cc: Neil Armstrong <narmstrong@baylibre.com>,
	linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH 4/5] pinctrl: meson-gxl: Add CEC pins
Date: Wed, 24 May 2017 10:20:41 +0200	[thread overview]
Message-ID: <1495614042-2676-5-git-send-email-narmstrong@baylibre.com> (raw)
In-Reply-To: <1495614042-2676-1-git-send-email-narmstrong@baylibre.com>

Add the AO and EE domain CEC pins for the Amlogic Meson GXL SoCs.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/pinctrl/meson/pinctrl-meson-gxl.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxl.c b/drivers/pinctrl/meson/pinctrl-meson-gxl.c
index 454d73f..7d81287 100644
--- a/drivers/pinctrl/meson/pinctrl-meson-gxl.c
+++ b/drivers/pinctrl/meson/pinctrl-meson-gxl.c
@@ -282,6 +282,9 @@
 static const unsigned int spdif_out_ao_6_pins[]	= { PIN(GPIOAO_6, 0) };
 static const unsigned int spdif_out_ao_9_pins[]	= { PIN(GPIOAO_9, 0) };
 
+static const unsigned int ao_cec_pins[]		= { PIN(GPIOAO_8, 0) };
+static const unsigned int ee_cec_pins[]		= { PIN(GPIOAO_8, 0) };
+
 static struct meson_pmx_group meson_gxl_periphs_groups[] = {
 	GPIO_GROUP(GPIOZ_0, EE_OFF),
 	GPIO_GROUP(GPIOZ_1, EE_OFF),
@@ -527,6 +530,8 @@
 	GROUP(i2s_out_ch45_ao,	1,	1),
 	GROUP(spdif_out_ao_6,	0,	16),
 	GROUP(spdif_out_ao_9,	0,	4),
+	GROUP(ao_cec,		0,	15),
+	GROUP(ee_cec,		0,	14),
 };
 
 static const char * const gpio_periphs_groups[] = {
@@ -702,6 +707,10 @@
 	"spdif_out_ao_6", "spdif_out_ao_9",
 };
 
+static const char * const cec_ao_groups[] = {
+	"ao_cec", "ee_cec",
+};
+
 static struct meson_pmx_func meson_gxl_periphs_functions[] = {
 	FUNCTION(gpio_periphs),
 	FUNCTION(emmc),
@@ -740,6 +749,7 @@
 	FUNCTION(pwm_ao_b),
 	FUNCTION(i2s_out_ao),
 	FUNCTION(spdif_out_ao),
+	FUNCTION(cec_ao),
 };
 
 static struct meson_bank meson_gxl_periphs_banks[] = {
-- 
1.9.1


WARNING: multiple messages have this Message-ID (diff)
From: narmstrong@baylibre.com (Neil Armstrong)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/5] pinctrl: meson-gxl: Add CEC pins
Date: Wed, 24 May 2017 10:20:41 +0200	[thread overview]
Message-ID: <1495614042-2676-5-git-send-email-narmstrong@baylibre.com> (raw)
In-Reply-To: <1495614042-2676-1-git-send-email-narmstrong@baylibre.com>

Add the AO and EE domain CEC pins for the Amlogic Meson GXL SoCs.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/pinctrl/meson/pinctrl-meson-gxl.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxl.c b/drivers/pinctrl/meson/pinctrl-meson-gxl.c
index 454d73f..7d81287 100644
--- a/drivers/pinctrl/meson/pinctrl-meson-gxl.c
+++ b/drivers/pinctrl/meson/pinctrl-meson-gxl.c
@@ -282,6 +282,9 @@
 static const unsigned int spdif_out_ao_6_pins[]	= { PIN(GPIOAO_6, 0) };
 static const unsigned int spdif_out_ao_9_pins[]	= { PIN(GPIOAO_9, 0) };
 
+static const unsigned int ao_cec_pins[]		= { PIN(GPIOAO_8, 0) };
+static const unsigned int ee_cec_pins[]		= { PIN(GPIOAO_8, 0) };
+
 static struct meson_pmx_group meson_gxl_periphs_groups[] = {
 	GPIO_GROUP(GPIOZ_0, EE_OFF),
 	GPIO_GROUP(GPIOZ_1, EE_OFF),
@@ -527,6 +530,8 @@
 	GROUP(i2s_out_ch45_ao,	1,	1),
 	GROUP(spdif_out_ao_6,	0,	16),
 	GROUP(spdif_out_ao_9,	0,	4),
+	GROUP(ao_cec,		0,	15),
+	GROUP(ee_cec,		0,	14),
 };
 
 static const char * const gpio_periphs_groups[] = {
@@ -702,6 +707,10 @@
 	"spdif_out_ao_6", "spdif_out_ao_9",
 };
 
+static const char * const cec_ao_groups[] = {
+	"ao_cec", "ee_cec",
+};
+
 static struct meson_pmx_func meson_gxl_periphs_functions[] = {
 	FUNCTION(gpio_periphs),
 	FUNCTION(emmc),
@@ -740,6 +749,7 @@
 	FUNCTION(pwm_ao_b),
 	FUNCTION(i2s_out_ao),
 	FUNCTION(spdif_out_ao),
+	FUNCTION(cec_ao),
 };
 
 static struct meson_bank meson_gxl_periphs_banks[] = {
-- 
1.9.1

WARNING: multiple messages have this Message-ID (diff)
From: narmstrong@baylibre.com (Neil Armstrong)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 4/5] pinctrl: meson-gxl: Add CEC pins
Date: Wed, 24 May 2017 10:20:41 +0200	[thread overview]
Message-ID: <1495614042-2676-5-git-send-email-narmstrong@baylibre.com> (raw)
In-Reply-To: <1495614042-2676-1-git-send-email-narmstrong@baylibre.com>

Add the AO and EE domain CEC pins for the Amlogic Meson GXL SoCs.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/pinctrl/meson/pinctrl-meson-gxl.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxl.c b/drivers/pinctrl/meson/pinctrl-meson-gxl.c
index 454d73f..7d81287 100644
--- a/drivers/pinctrl/meson/pinctrl-meson-gxl.c
+++ b/drivers/pinctrl/meson/pinctrl-meson-gxl.c
@@ -282,6 +282,9 @@
 static const unsigned int spdif_out_ao_6_pins[]	= { PIN(GPIOAO_6, 0) };
 static const unsigned int spdif_out_ao_9_pins[]	= { PIN(GPIOAO_9, 0) };
 
+static const unsigned int ao_cec_pins[]		= { PIN(GPIOAO_8, 0) };
+static const unsigned int ee_cec_pins[]		= { PIN(GPIOAO_8, 0) };
+
 static struct meson_pmx_group meson_gxl_periphs_groups[] = {
 	GPIO_GROUP(GPIOZ_0, EE_OFF),
 	GPIO_GROUP(GPIOZ_1, EE_OFF),
@@ -527,6 +530,8 @@
 	GROUP(i2s_out_ch45_ao,	1,	1),
 	GROUP(spdif_out_ao_6,	0,	16),
 	GROUP(spdif_out_ao_9,	0,	4),
+	GROUP(ao_cec,		0,	15),
+	GROUP(ee_cec,		0,	14),
 };
 
 static const char * const gpio_periphs_groups[] = {
@@ -702,6 +707,10 @@
 	"spdif_out_ao_6", "spdif_out_ao_9",
 };
 
+static const char * const cec_ao_groups[] = {
+	"ao_cec", "ee_cec",
+};
+
 static struct meson_pmx_func meson_gxl_periphs_functions[] = {
 	FUNCTION(gpio_periphs),
 	FUNCTION(emmc),
@@ -740,6 +749,7 @@
 	FUNCTION(pwm_ao_b),
 	FUNCTION(i2s_out_ao),
 	FUNCTION(spdif_out_ao),
+	FUNCTION(cec_ao),
 };
 
 static struct meson_bank meson_gxl_periphs_banks[] = {
-- 
1.9.1

  parent reply	other threads:[~2017-05-24  8:20 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-24  8:20 [PATCH 0/5] pinctrl: meson: new pins and fixes round 2 Neil Armstrong
2017-05-24  8:20 ` Neil Armstrong
2017-05-24  8:20 ` Neil Armstrong
2017-05-24  8:20 ` [PATCH 1/5] pinctrl: meson-gxl: Fix typo in AO I2S pins Neil Armstrong
2017-05-24  8:20   ` Neil Armstrong
2017-05-24  8:20   ` Neil Armstrong
2017-05-24  8:41   ` Jerome Brunet
2017-05-24  8:41     ` Jerome Brunet
2017-05-24  8:41     ` Jerome Brunet
2017-05-29  8:57   ` Linus Walleij
2017-05-29  8:57     ` Linus Walleij
2017-05-29  8:57     ` Linus Walleij
2017-05-29  8:57     ` Linus Walleij
2017-05-24  8:20 ` [PATCH 2/5] pinctrl: meson-gxl: Fix typo in AO SPDIF pins Neil Armstrong
2017-05-24  8:20   ` Neil Armstrong
2017-05-24  8:20   ` Neil Armstrong
2017-05-24  8:42   ` Jerome Brunet
2017-05-24  8:42     ` Jerome Brunet
2017-05-24  8:42     ` Jerome Brunet
2017-05-29  8:58   ` Linus Walleij
2017-05-29  8:58     ` Linus Walleij
2017-05-29  8:58     ` Linus Walleij
2017-05-29  8:58     ` Linus Walleij
2017-05-24  8:20 ` [PATCH 3/5] pinctrl: meson-gxbb: Add CEC pins Neil Armstrong
2017-05-24  8:20   ` Neil Armstrong
2017-05-24  8:20   ` Neil Armstrong
2017-05-24  8:53   ` Jerome Brunet
2017-05-24  8:53     ` Jerome Brunet
2017-05-24  8:53     ` Jerome Brunet
2017-05-29  8:59   ` Linus Walleij
2017-05-29  8:59     ` Linus Walleij
2017-05-29  8:59     ` Linus Walleij
2017-05-29  8:59     ` Linus Walleij
2017-05-24  8:20 ` Neil Armstrong [this message]
2017-05-24  8:20   ` [PATCH 4/5] pinctrl: meson-gxl: " Neil Armstrong
2017-05-24  8:20   ` Neil Armstrong
2017-05-24  8:54   ` Jerome Brunet
2017-05-24  8:54     ` Jerome Brunet
2017-05-24  8:54     ` Jerome Brunet
2017-05-29  9:00   ` Linus Walleij
2017-05-29  9:00     ` Linus Walleij
2017-05-29  9:00     ` Linus Walleij
2017-05-29  9:00     ` Linus Walleij
2017-05-24  8:20 ` [PATCH 5/5] pinctrl: meson-gxl: Add Ethernet PHY LEDS pins Neil Armstrong
2017-05-24  8:20   ` Neil Armstrong
2017-05-24  8:20   ` Neil Armstrong
2017-05-24  8:57   ` Jerome Brunet
2017-05-24  8:57     ` Jerome Brunet
2017-05-24  8:57     ` Jerome Brunet
2017-05-29  9:01   ` Linus Walleij
2017-05-29  9:01     ` Linus Walleij
2017-05-29  9:01     ` Linus Walleij
2017-05-29  9:01     ` Linus Walleij
2017-05-29  9:17     ` Neil Armstrong
2017-05-29  9:17       ` Neil Armstrong
2017-05-29  9:17       ` Neil Armstrong
2017-05-29  9:17       ` Neil Armstrong

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=1495614042-2676-5-git-send-email-narmstrong@baylibre.com \
    --to=narmstrong@baylibre.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.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.