From: narmstrong@baylibre.com (Neil Armstrong)
To: linus-amlogic@lists.infradead.org
Subject: [RESEND PATCH 1/2] pinctrl: meson-gxbb: add pins for PWM
Date: Tue, 23 Aug 2016 10:00:57 +0200 [thread overview]
Message-ID: <45c22d0c-9cfd-b0a0-4499-6b306dfdcdd5@baylibre.com> (raw)
In-Reply-To: <1471876860-5620-2-git-send-email-narmstrong@baylibre.com>
On 08/22/2016 04:40 PM, Neil Armstrong wrote:
> Add support for PWM pins, for EE and AO domains.
>
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
> drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 78 ++++++++++++++++++++++++++++++
> 1 file changed, 78 insertions(+)
>
> diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c
> index 7eeb053..1c6ffb3 100644
> --- a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c
> +++ b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c
[...]
> static const char * const gpio_aobus_groups[] = {
> "GPIOAO_0", "GPIOAO_1", "GPIOAO_2", "GPIOAO_3", "GPIOAO_4",
> "GPIOAO_5", "GPIOAO_6", "GPIOAO_7", "GPIOAO_8", "GPIOAO_9",
> @@ -526,6 +578,21 @@ static const char * const i2c_slave_ao_groups[] = {
>
> static const char * const remote_input_ao_groups[] = {
> "remote_input_ao",
> +
Linus,
Well, I missed my rebase, I'll post a v2 to fix that.
Neil
> +static const char * const pwm_ao_a_3_groups[] = {
> + "pwm_ao_a_3",
> +};
> +
> +static const char * const pwm_ao_a_6_groups[] = {
> + "pwm_ao_a_6",
> +};
> +
> +static const char * const pwm_ao_a_12_groups[] = {
> + "pwm_ao_a_12",
> +};
> +
> +static const char * const pwm_ao_b_groups[] = {
> + "pwm_ao_b",
> };
>
> static struct meson_pmx_func meson_gxbb_periphs_functions[] = {
> @@ -536,6 +603,13 @@ static struct meson_pmx_func meson_gxbb_periphs_functions[] = {
> FUNCTION(uart_b),
> FUNCTION(uart_c),
> FUNCTION(eth),
> + FUNCTION(pwm_a_x),
> + FUNCTION(pwm_a_y),
> + FUNCTION(pwm_b),
> + FUNCTION(pwm_d),
> + FUNCTION(pwm_e),
> + FUNCTION(pwm_f_x),
> + FUNCTION(pwm_f_y),
> };
>
> static struct meson_pmx_func meson_gxbb_aobus_functions[] = {
> @@ -545,6 +619,10 @@ static struct meson_pmx_func meson_gxbb_aobus_functions[] = {
> FUNCTION(i2c_ao),
> FUNCTION(i2c_slave_ao),
> FUNCTION(remote_input_ao),
> + FUNCTION(pwm_ao_a_3),
> + FUNCTION(pwm_ao_a_6),
> + FUNCTION(pwm_ao_a_12),
> + FUNCTION(pwm_ao_b),
> };
>
> static struct meson_bank meson_gxbb_periphs_banks[] = {
>
next prev parent reply other threads:[~2016-08-23 8:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-22 14:40 [RESEND PATCH 0/2] pinctrl: meson-gxbb: Export pins for PWMs Neil Armstrong
2016-08-22 14:40 ` [RESEND PATCH 1/2] pinctrl: meson-gxbb: add pins for PWM Neil Armstrong
2016-08-23 8:00 ` Neil Armstrong [this message]
2016-08-22 14:41 ` [RESEND PATCH 2/2] ARM64: dts: meson-gxbb: Add PWM pinctrl nodes 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=45c22d0c-9cfd-b0a0-4499-6b306dfdcdd5@baylibre.com \
--to=narmstrong@baylibre.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®