From: tim.kryger@linaro.org (Tim Kryger)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 0/5] Add Broadcom Kona PWM Support
Date: Wed, 26 Mar 2014 17:48:58 -0700 [thread overview]
Message-ID: <1395881343-13985-1-git-send-email-tim.kryger@linaro.org> (raw)
This series introduces the driver for the Kona PWM controller found in
Broadcom mobile SoCs like bcm281xx and updates the device tree and the
defconfig to enable use of this hardware on the bcm28155 AP board.
Changes since v4:
- Added in real polarity support
- Labeled trigger bits as such rather than use the name from hw docs
- Listed unsual hardware characteristics at the top of the file
- Removed default from Kconfig and update defconfig accordingly
- Always use unsigned int for temporary register values
Changes since v3:
- Removed polarity support for now
- Cleaned up whitespace issues, shortened some variable names
- Use container_of instead of dev_get_drvdata to get private data
- Removed workaround for PWM framework bug
- Reworded some binding documentation
Changes since v2:
- SoC DTS file updated to use real clock's phandle + specifier
- Toggle smooth mode off during apply so new settings take immediately
Changes since v1:
- Fixed up macros to be clearer and more complete
- Corrected spelling and punctuation mistakes
- Added support for polarity
- Made peripheral clock use more efficient
- Made prescale and duty computation clearer
- Moved Makefile addition to keep alphabetical
- Split complex lines into multiple steps
Dependencies:
The "ARM: dts: Declare the PWM for bcm11351 (bcm281xx)" patch depends
upon "ARM: dts: bcm281xx: define real clocks" which is queued up in
for-next of arm-soc. See https://lkml.org/lkml/2014/2/14/451
Tim Kryger (5):
Documentation: dt: Add Kona PWM binding
pwm: kona: Introduce Kona PWM controller support
ARM: dts: Declare the PWM for bcm11351 (bcm281xx)
ARM: dts: Enable the PWM for bcm28155 AP board
ARM: bcm_defconfig: Enable PWM and Backlight
.../devicetree/bindings/pwm/bcm-kona-pwm.txt | 21 ++
arch/arm/boot/dts/bcm11351.dtsi | 8 +
arch/arm/boot/dts/bcm28155-ap.dts | 4 +
arch/arm/configs/bcm_defconfig | 3 +
drivers/pwm/Kconfig | 9 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-bcm-kona.c | 319 ++++++++++++++++++++
7 files changed, 365 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt
create mode 100644 drivers/pwm/pwm-bcm-kona.c
--
1.7.9.5
next reply other threads:[~2014-03-27 0:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 0:48 Tim Kryger [this message]
2014-03-27 0:48 ` [PATCH v5 1/5] Documentation: dt: Add Kona PWM binding Tim Kryger
2014-03-27 0:49 ` [PATCH v5 2/5] pwm: kona: Introduce Kona PWM controller support Tim Kryger
2014-03-27 0:49 ` [PATCH v5 3/5] ARM: dts: Declare the PWM for bcm11351 (bcm281xx) Tim Kryger
2014-03-27 0:49 ` [PATCH v5 4/5] ARM: dts: Enable the PWM for bcm28155 AP board Tim Kryger
2014-03-27 0:49 ` [PATCH v5 5/5] ARM: bcm_defconfig: Enable PWM and Backlight Tim Kryger
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=1395881343-13985-1-git-send-email-tim.kryger@linaro.org \
--to=tim.kryger@linaro.org \
--cc=linux-arm-kernel@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;
as well as URLs for NNTP newsgroup(s).