mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v2 4/4] pinctrl: meson: meson8: add the AO HDMI CEC pin
Date: Sat,  6 May 2017 18:57:51 +0200	[thread overview]
Message-ID: <20170506165751.12442-5-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20170506165751.12442-1-martin.blumenstingl@googlemail.com>

This adds another missing pin found in the Meson8 SoCs. Currently
there's no driver which would use this pin yet.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 drivers/pinctrl/meson/pinctrl-meson8.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/pinctrl/meson/pinctrl-meson8.c b/drivers/pinctrl/meson/pinctrl-meson8.c
index 2716d991af8c..e1bdf1f3b75c 100644
--- a/drivers/pinctrl/meson/pinctrl-meson8.c
+++ b/drivers/pinctrl/meson/pinctrl-meson8.c
@@ -416,6 +416,8 @@ static const unsigned int i2s_ao_clk_out_ao_pins[] = { PIN(GPIOAO_9, AO_OFF) };
 static const unsigned int i2s_lr_clk_out_ao_pins[] = { PIN(GPIOAO_10, AO_OFF) };
 static const unsigned int i2s_out_ch01_ao_pins[] = { PIN(GPIOAO_11, AO_OFF) };
 
+static const unsigned int hdmi_cec_ao_pins[] = { PIN(GPIOAO_12, AO_OFF) };
+
 static struct meson_pmx_group meson8_cbus_groups[] = {
 	GPIO_GROUP(GPIOX_0, 0),
 	GPIO_GROUP(GPIOX_1, 0),
@@ -769,6 +771,8 @@ static struct meson_pmx_group meson8_aobus_groups[] = {
 	GROUP(i2s_ao_clk_out_ao,	0,	29),
 	GROUP(i2s_lr_clk_out_ao,	0,	28),
 	GROUP(i2s_out_ch01_ao,		0,	27),
+
+	GROUP(hdmi_cec_ao,		0,	17),
 };
 
 static const char * const gpio_groups[] = {
@@ -985,6 +989,10 @@ static const char * const i2s_ao_groups[] = {
 	"i2s_out_ch01_ao"
 };
 
+static const char * const hdmi_cec_ao_groups[] = {
+	"hdmi_cec_ao"
+};
+
 static struct meson_pmx_func meson8_cbus_functions[] = {
 	FUNCTION(gpio),
 	FUNCTION(sd_a),
@@ -1029,6 +1037,7 @@ static struct meson_pmx_func meson8_aobus_functions[] = {
 	FUNCTION(i2c_mst_ao),
 	FUNCTION(pwm_f_ao),
 	FUNCTION(i2s_ao),
+	FUNCTION(hdmi_cec_ao),
 };
 
 static struct meson_bank meson8_cbus_banks[] = {
-- 
2.12.2

  parent reply	other threads:[~2017-05-06 16:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-04 18:49 [PATCH 0/4] Meson8 pinctrl updates (PWM, I2S, SPDIF, AO pins) Martin Blumenstingl
2017-05-04 18:49 ` [PATCH 1/4] pinctrl: meson: meson8b: add the PWM pins Martin Blumenstingl
2017-05-11 13:46   ` Linus Walleij
2017-05-04 18:49 ` [PATCH 2/4] pinctrl: meson: meson8: add support for the I2S and SPDIF pins Martin Blumenstingl
2017-05-04 18:49 ` [PATCH 3/4] pinctrl: meson: meson8: add support for the AO remote output pin Martin Blumenstingl
2017-05-04 18:49 ` [PATCH 4/4] pinctrl: meson: meson8: add the AO HDMI CEC pin Martin Blumenstingl
2017-05-06 16:57 ` [PATCH v2 0/4] Meson8 pinctrl updates (PWM, I2S, SPDIF, AO pins) Martin Blumenstingl
2017-05-06 16:57   ` [PATCH v2 1/4] pinctrl: meson: meson8: add the PWM pins Martin Blumenstingl
2017-05-11 14:03     ` Linus Walleij
2017-05-06 16:57   ` [PATCH v2 2/4] pinctrl: meson: meson8: add support for the I2S and SPDIF pins Martin Blumenstingl
2017-05-11 14:06     ` Linus Walleij
2017-05-06 16:57   ` [PATCH v2 3/4] pinctrl: meson: meson8: add support for the AO remote output pin Martin Blumenstingl
2017-05-11 14:06     ` Linus Walleij
2017-05-06 16:57   ` Martin Blumenstingl [this message]
2017-05-11 14:07     ` [PATCH v2 4/4] pinctrl: meson: meson8: add the AO HDMI CEC pin Linus Walleij

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=20170506165751.12442-5-martin.blumenstingl@googlemail.com \
    --to=martin.blumenstingl@googlemail.com \
    --cc=linus-amlogic@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

all inboxes | Powered by JetHome®