All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 6/7] pinctrl: uniphier: add ethernet TX pin data for LD20
Date: Sat,  5 May 2018 19:53:56 +0900	[thread overview]
Message-ID: <1525517637-17603-7-git-send-email-yamada.masahiro@socionext.com> (raw)
In-Reply-To: <1525517637-17603-1-git-send-email-yamada.masahiro@socionext.com>

These are necessary to optimize the drive-strength of the pins.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
index 11d5d98..116d1da 100644
--- a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
+++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
@@ -11,6 +11,15 @@
 
 #include "pinctrl-uniphier.h"
 
+static const struct uniphier_pinctrl_pin uniphier_ld20_pins[] = {
+	UNIPHIER_PINCTRL_PIN(40, "RGMII_TXCLK", 28, UNIPHIER_PIN_DRV_3BIT),
+	UNIPHIER_PINCTRL_PIN(41, "RGMII_TXD0", 29, UNIPHIER_PIN_DRV_3BIT),
+	UNIPHIER_PINCTRL_PIN(42, "RGMII_TXD1", 30, UNIPHIER_PIN_DRV_3BIT),
+	UNIPHIER_PINCTRL_PIN(43, "RGMII_TXD2", 31, UNIPHIER_PIN_DRV_3BIT),
+	UNIPHIER_PINCTRL_PIN(44, "RGMII_TXD3", 32, UNIPHIER_PIN_DRV_3BIT),
+	UNIPHIER_PINCTRL_PIN(45, "RGMII_TXCTL", 33, UNIPHIER_PIN_DRV_3BIT),
+};
+
 static const unsigned emmc_pins[] = {18, 19, 20, 21, 22, 23, 24, 25};
 static const int emmc_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0};
 static const unsigned emmc_dat8_pins[] = {26, 27, 28, 29};
@@ -103,6 +112,8 @@ static const char * const uniphier_ld20_functions[] = {
 };
 
 static struct uniphier_pinctrl_socdata uniphier_ld20_pinctrl_socdata = {
+	.pins = uniphier_ld20_pins,
+	.pins_count = ARRAY_SIZE(uniphier_ld20_pins),
 	.groups = uniphier_ld20_groups,
 	.groups_count = ARRAY_SIZE(uniphier_ld20_groups),
 	.functions = uniphier_ld20_functions,
-- 
2.7.4

  parent reply	other threads:[~2018-05-05 10:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-05 10:53 [U-Boot] [PATCH 0/7] ARM: uniphier: support drive-strength pin configuration Masahiro Yamada
2018-05-05 10:53 ` [U-Boot] [PATCH 1/7] pinctrl: uniphier: remove unneeded pin data of LD6b Masahiro Yamada
2018-05-05 10:53 ` [U-Boot] [PATCH 2/7] pinctrl: uniphier: replace printf() with dev_err() Masahiro Yamada
2018-05-05 10:53 ` [U-Boot] [PATCH 3/7] pinctrl: uniphier: include <linux/build_bug.h> instead of <linux/bug.h> Masahiro Yamada
2018-05-05 10:53 ` [U-Boot] [PATCH 4/7] pinctrl: uniphier: support per-pin configuration via DT Masahiro Yamada
2018-05-05 10:53 ` [U-Boot] [PATCH 5/7] pinctrl: uniphier: support drive-strength configuration Masahiro Yamada
2018-05-05 10:53 ` Masahiro Yamada [this message]
2018-05-05 10:53 ` [U-Boot] [PATCH 7/7] ARM: uniphier: enable CONFIG_PINCONF Masahiro Yamada
2018-05-08  1:30 ` [U-Boot] [PATCH 0/7] ARM: uniphier: support drive-strength pin configuration Masahiro Yamada

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=1525517637-17603-7-git-send-email-yamada.masahiro@socionext.com \
    --to=yamada.masahiro@socionext.com \
    --cc=u-boot@lists.denx.de \
    /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.