From: naidu.tellapati@gmail.com
To: thierry.reding@gmail.com, abrestic@chromium.org,
gregkh@linuxfoundation.org, arnd@arndb.de,
James.Hartley@imgtec.com, Ezequiel.Garcia@imgtec.com
Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org,
Arul.Ramasamy@imgtec.com, Sai.Masarapu@imgtec.com,
Naidu Tellapati <Naidu.Tellapati@imgtec.com>
Subject: [PATCH RESEND v4 0/4] Initial support for ImgTec PWM DAC and PDM DAC
Date: Sat, 22 Nov 2014 07:23:28 +0530 [thread overview]
Message-ID: <1416621212-11701-1-git-send-email-Naidu.Tellapati@gmail.com> (raw)
From: Naidu Tellapati <Naidu.Tellapati@imgtec.com>
The Pistachio SOC from Imagination Technologies includes â 4x PDM blocks
and 1x âbasic PWMâ block with four output channels. These share 4 MFIO pins,
each PWM channel being muxed with each PDM block output (0-3 muxed with 0-3)
using the CR_PERIP_PWM_PDM_CONTROL register in the peripheral wrapper
register bank (offset 0x140). The PDM and PWM outputs are used to control
targets such as LCD backlight.
The PWM driver uses Linux PWM framework. Since the PDM does not fit into PWM
framework we have implemented it as a MISC driver.
The series is based on v3.18-rc5.
I am re-sending the series with gmail SMTP as we had some problems with
the mail server we used in the previous rounds.
Please review and provide your comments.
Changes from v3:
* Addressed couple of comments given in v3.
Changes from v2:
* Added depends on MIPS || COMPILE_TEST.
* Corrected the logic while calculating time base steps.
* Addressed few other minor comments given in v2.
Changes from v1:
* Used regmap_update_bits at some places in the driver.
* Placed some #defines next to their register.
* Added depends on HAS_IOMEM in Kconfig.
* Removed unnecessary paragraph from file header.
* Defined register masks in a readable way.
* Renamed clk-names with clock-names.
* Added system interface clock in DT binding document.
* Addressed few other minor review comments given in v1.
Naidu Tellapati (4):
pwm: Imagination Technologies PWM DAC driver
DT: pwm: Add binding document for IMG PWM DAC
pdm: Imagination Technologies PDM DAC driver
DT: pdm: Add binding document for IMG PDM DAC
Documentation/devicetree/bindings/misc/img-pdm.txt | 54 ++
Documentation/devicetree/bindings/pwm/img-pwm.txt | 23 +
drivers/misc/Kconfig | 12 +
drivers/misc/Makefile | 1 +
drivers/misc/img-pdm.c | 676 ++++++++++++++++++++
drivers/pwm/Kconfig | 12 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-img.c | 270 ++++++++
include/linux/img_pdm.h | 35 +
9 files changed, 1084 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/misc/img-pdm.txt
create mode 100644 Documentation/devicetree/bindings/pwm/img-pwm.txt
create mode 100644 drivers/misc/img-pdm.c
create mode 100644 drivers/pwm/pwm-img.c
create mode 100644 include/linux/img_pdm.h
next reply other threads:[~2014-11-22 1:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-22 1:53 naidu.tellapati [this message]
2014-11-22 1:53 ` [PATCH RESEND v4 1/4] pwm: Imagination Technologies PWM DAC driver naidu.tellapati
2014-11-24 10:13 ` Thierry Reding
2014-11-24 11:22 ` Naidu Tellapati
2014-11-24 12:28 ` Thierry Reding
2014-11-24 14:19 ` Naidu Tellapati
2014-11-24 18:19 ` Andrew Bresticker
2014-11-24 19:09 ` James Hartley
2014-11-27 16:03 ` Naidu Tellapati
2014-11-24 17:47 ` Andrew Bresticker
2014-11-22 1:53 ` [PATCH RESEND v4 2/4] DT: pwm: Add binding document for IMG PWM DAC naidu.tellapati
2014-11-24 10:14 ` Thierry Reding
2014-11-24 11:26 ` Naidu Tellapati
2014-11-22 1:53 ` [PATCH RESEND v4 3/4] pdm: Imagination Technologies PDM DAC driver naidu.tellapati
2014-11-22 1:53 ` [PATCH RESEND v4 4/4] DT: pdm: Add binding document for IMG PDM DAC naidu.tellapati
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=1416621212-11701-1-git-send-email-Naidu.Tellapati@gmail.com \
--to=naidu.tellapati@gmail.com \
--cc=Arul.Ramasamy@imgtec.com \
--cc=Ezequiel.Garcia@imgtec.com \
--cc=James.Hartley@imgtec.com \
--cc=Naidu.Tellapati@imgtec.com \
--cc=Sai.Masarapu@imgtec.com \
--cc=abrestic@chromium.org \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-pwm@vger.kernel.org \
--cc=thierry.reding@gmail.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 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).