From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-gpio@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH 0/2] r8a7795 pinctrl: Add drive strength support
Date: Mon, 21 Mar 2016 01:33:37 +0200 [thread overview]
Message-ID: <1458516819-3928-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
Hello,
This patch series adds drive strength control support to the sh-pfc driver for
the R8A7795 (R-Car H3) SoC.
The SoC can control the drive strength of all GPIO pins, as well as of some
dedicated-purpose pins. As the R8A7795 pinctrl driver doesn't support non-GPIO
pins yet, this series is limited to controlling the drive strength on the GPIO
pins.
Patch 1/2 adds drive strength support to the sh-pfc driver. It hardcodes a few
assumptions that might be specific to the R8A7795, I'll revisit them if future
SoCs break them.
Patch 2/2 adds R8A7795-specific support by setting the drive strength
configuration flag for all GPIO pins, and defining the drive strength
registers layout.
The series has been tested on the Salvator-X board with the GPIO pins
connected to the on-board LEDs. The 4.7µF capacitor to ground provides a large
enough load on the lines to make the effect of the drive strength easily
measurable with an oscilloscope.
Laurent Pinchart (2):
pinctrl: sh-pfc: Add drive strength support
pinctrl: sh-pfc: r8a7795: Add drive strength support
.../bindings/pinctrl/renesas,pfc-pinctrl.txt | 4 +-
drivers/pinctrl/sh-pfc/core.c | 15 ++
drivers/pinctrl/sh-pfc/core.h | 3 +
drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 218 ++++++++++++++++++++-
drivers/pinctrl/sh-pfc/pinctrl.c | 112 +++++++++++
drivers/pinctrl/sh-pfc/sh_pfc.h | 17 ++
6 files changed, 359 insertions(+), 10 deletions(-)
--
Regards,
Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2016-03-20 23:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-20 23:33 Laurent Pinchart [this message]
2016-03-20 23:33 ` [PATCH 1/2] pinctrl: sh-pfc: Add drive strength support Laurent Pinchart
2016-03-23 9:54 ` Geert Uytterhoeven
2016-03-23 14:03 ` Laurent Pinchart
2016-03-20 23:33 ` [PATCH 2/2] pinctrl: sh-pfc: r8a7795: " Laurent Pinchart
2016-03-23 10:14 ` Geert Uytterhoeven
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=1458516819-3928-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com \
--to=laurent.pinchart+renesas@ideasonboard.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-renesas-soc@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.