All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
To: linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org,
	linus.walleij@linaro.org, khilman@baylibre.com, carlo@caione.org
Cc: devicetree@vger.kernel.org, will.deacon@arm.com,
	catalin.marinas@arm.com, mark.rutland@arm.com,
	robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org,
	jbrunet@baylibre.com, narmstrong@baylibre.com,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Subject: [PATCH v2 0/2] meson-gxl pinctrl - add the missing PWM pins
Date: Sat, 18 Mar 2017 13:27:34 +0100	[thread overview]
Message-ID: <20170318122736.11592-1-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20170304212318.27076-1-martin.blumenstingl@googlemail.com>

Due to the lack of a public GXL or GXM datasheet most of the PWM pin
definitions are currently missing.
However, the people behind the Khadas VIM boards were kind enough to
share the PWM pins and their corresponding register offsets and bits
with me.

This patch adds all missing PWM pins to the GXL pinctrl driver. The
upcoming Khadas VIM board support patch only needs PWM_F and PWM_AO_A.
I still decided to add all PWM pins just in case there's no public GXL
datasheet release soon.


Changes since v1:
- combined previously separate functions for example: there were
  separate functions pwm_ao_a_3 and pwm_ao_a_8) into one function
  (in the previous example: pwm_ao_a). this affects both, the dtsi
  and driver patches and was done for pwm_ao_a and pwm_f.
  this is the result of a discussion [0] based on v1 of these patches
  along with re-reading Linus Walleij's pinctrl documentation [1]
- added Neil Armstrong's Reviewed-By and Tested-By


[0] http://lists.infradead.org/pipermail/linux-amlogic/2017-March/002864.html
[1] http://lists.infradead.org/pipermail/linux-amlogic/2017-March/002816.html

Martin Blumenstingl (2):
  pinctrl: meson: gxl: add the missing PWM pin definitions
  ARM64: dts: amlogic: meson-gxl: add the missing PWM pins

 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 56 ++++++++++++++++++++++++++++++
 drivers/pinctrl/meson/pinctrl-meson-gxl.c  | 54 ++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

-- 
2.12.0


WARNING: multiple messages have this Message-ID (diff)
From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/2] meson-gxl pinctrl - add the missing PWM pins
Date: Sat, 18 Mar 2017 13:27:34 +0100	[thread overview]
Message-ID: <20170318122736.11592-1-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20170304212318.27076-1-martin.blumenstingl@googlemail.com>

Due to the lack of a public GXL or GXM datasheet most of the PWM pin
definitions are currently missing.
However, the people behind the Khadas VIM boards were kind enough to
share the PWM pins and their corresponding register offsets and bits
with me.

This patch adds all missing PWM pins to the GXL pinctrl driver. The
upcoming Khadas VIM board support patch only needs PWM_F and PWM_AO_A.
I still decided to add all PWM pins just in case there's no public GXL
datasheet release soon.


Changes since v1:
- combined previously separate functions for example: there were
  separate functions pwm_ao_a_3 and pwm_ao_a_8) into one function
  (in the previous example: pwm_ao_a). this affects both, the dtsi
  and driver patches and was done for pwm_ao_a and pwm_f.
  this is the result of a discussion [0] based on v1 of these patches
  along with re-reading Linus Walleij's pinctrl documentation [1]
- added Neil Armstrong's Reviewed-By and Tested-By


[0] http://lists.infradead.org/pipermail/linux-amlogic/2017-March/002864.html
[1] http://lists.infradead.org/pipermail/linux-amlogic/2017-March/002816.html

Martin Blumenstingl (2):
  pinctrl: meson: gxl: add the missing PWM pin definitions
  ARM64: dts: amlogic: meson-gxl: add the missing PWM pins

 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 56 ++++++++++++++++++++++++++++++
 drivers/pinctrl/meson/pinctrl-meson-gxl.c  | 54 ++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

-- 
2.12.0

WARNING: multiple messages have this Message-ID (diff)
From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v2 0/2] meson-gxl pinctrl - add the missing PWM pins
Date: Sat, 18 Mar 2017 13:27:34 +0100	[thread overview]
Message-ID: <20170318122736.11592-1-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20170304212318.27076-1-martin.blumenstingl@googlemail.com>

Due to the lack of a public GXL or GXM datasheet most of the PWM pin
definitions are currently missing.
However, the people behind the Khadas VIM boards were kind enough to
share the PWM pins and their corresponding register offsets and bits
with me.

This patch adds all missing PWM pins to the GXL pinctrl driver. The
upcoming Khadas VIM board support patch only needs PWM_F and PWM_AO_A.
I still decided to add all PWM pins just in case there's no public GXL
datasheet release soon.


Changes since v1:
- combined previously separate functions for example: there were
  separate functions pwm_ao_a_3 and pwm_ao_a_8) into one function
  (in the previous example: pwm_ao_a). this affects both, the dtsi
  and driver patches and was done for pwm_ao_a and pwm_f.
  this is the result of a discussion [0] based on v1 of these patches
  along with re-reading Linus Walleij's pinctrl documentation [1]
- added Neil Armstrong's Reviewed-By and Tested-By


[0] http://lists.infradead.org/pipermail/linux-amlogic/2017-March/002864.html
[1] http://lists.infradead.org/pipermail/linux-amlogic/2017-March/002816.html

Martin Blumenstingl (2):
  pinctrl: meson: gxl: add the missing PWM pin definitions
  ARM64: dts: amlogic: meson-gxl: add the missing PWM pins

 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 56 ++++++++++++++++++++++++++++++
 drivers/pinctrl/meson/pinctrl-meson-gxl.c  | 54 ++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

-- 
2.12.0

  parent reply	other threads:[~2017-03-18 12:28 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-04 21:23 [PATCH 0/2] meson-gxl pinctrl - add the missing PWM pins Martin Blumenstingl
2017-03-04 21:23 ` Martin Blumenstingl
2017-03-04 21:23 ` Martin Blumenstingl
2017-03-04 21:23 ` [PATCH 1/2] pinctrl: meson: gxl: add the missing PWM pin definitions Martin Blumenstingl
2017-03-04 21:23   ` Martin Blumenstingl
2017-03-04 21:23   ` Martin Blumenstingl
     [not found]   ` <20170304212318.27076-2-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2017-03-06 14:42     ` Jerome Brunet
2017-03-06 14:42       ` Jerome Brunet
2017-03-06 14:42       ` Jerome Brunet
2017-03-09 19:47       ` Martin Blumenstingl
2017-03-09 19:47         ` Martin Blumenstingl
2017-03-09 19:47         ` Martin Blumenstingl
     [not found]         ` <CAFBinCDty8v80tLxHJPR+SHv32LX834dPJUruRNqr6angx3OOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-11  0:16           ` Kevin Hilman
2017-03-11  0:16             ` Kevin Hilman
2017-03-11  0:16             ` Kevin Hilman
2017-03-14 15:42           ` Linus Walleij
2017-03-14 15:42             ` Linus Walleij
2017-03-14 15:42             ` Linus Walleij
2017-03-15  9:59             ` Neil Armstrong
2017-03-15  9:59               ` Neil Armstrong
2017-03-15  9:59               ` Neil Armstrong
2017-03-15 19:12               ` Kevin Hilman
2017-03-15 19:12                 ` Kevin Hilman
2017-03-15 19:12                 ` Kevin Hilman
2017-03-15 20:11                 ` Martin Blumenstingl
2017-03-15 20:11                   ` Martin Blumenstingl
2017-03-15 20:11                   ` Martin Blumenstingl
     [not found]                   ` <CAFBinCCCgbSvh8B81nXP6D11d5WZZ+71jDgvsjYDsWTb=V78Xg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-16 13:54                     ` Neil Armstrong
2017-03-16 13:54                       ` Neil Armstrong
2017-03-16 13:54                       ` Neil Armstrong
2017-03-16 18:52                       ` Kevin Hilman
2017-03-16 18:52                         ` Kevin Hilman
2017-03-16 18:52                         ` Kevin Hilman
     [not found] ` <20170304212318.27076-1-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2017-03-04 21:23   ` [PATCH 2/2] ARM64: dts: amlogic: meson-gxl: add the missing PWM pins Martin Blumenstingl
2017-03-04 21:23     ` Martin Blumenstingl
2017-03-04 21:23     ` Martin Blumenstingl
2017-03-06 16:14 ` [PATCH 0/2] meson-gxl pinctrl - " Neil Armstrong
2017-03-06 16:14   ` Neil Armstrong
2017-03-06 16:14   ` Neil Armstrong
2017-03-18 12:27 ` Martin Blumenstingl [this message]
2017-03-18 12:27   ` [PATCH v2 " Martin Blumenstingl
2017-03-18 12:27   ` Martin Blumenstingl
2017-03-18 12:27   ` [PATCH v2 1/2] pinctrl: meson: gxl: add the missing PWM pin definitions Martin Blumenstingl
2017-03-18 12:27     ` Martin Blumenstingl
2017-03-18 12:27     ` Martin Blumenstingl
2017-03-23  8:46     ` Linus Walleij
2017-03-23  8:46       ` Linus Walleij
2017-03-23  8:46       ` Linus Walleij
2017-03-18 12:27   ` [PATCH v2 2/2] ARM64: dts: amlogic: meson-gxl: add the missing PWM pins Martin Blumenstingl
2017-03-18 12:27     ` Martin Blumenstingl
2017-03-18 12:27     ` Martin Blumenstingl
2017-03-23  8:47     ` Linus Walleij
2017-03-23  8:47       ` Linus Walleij
2017-03-23  8:47       ` Linus Walleij
2017-03-23 19:09       ` Kevin Hilman
2017-03-23 19:09         ` Kevin Hilman
2017-03-23 19:09         ` Kevin Hilman

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=20170318122736.11592-1-martin.blumenstingl@googlemail.com \
    --to=martin.blumenstingl@googlemail.com \
    --cc=carlo@caione.org \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@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=mark.rutland@arm.com \
    --cc=narmstrong@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=will.deacon@arm.com \
    /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.