linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: embed3d@gmail.com (Philipp Rossak)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/5] arm: sunxi: IR support for A83T
Date: Sun, 17 Dec 2017 23:45:42 +0100	[thread overview]
Message-ID: <20171217224547.21481-1-embed3d@gmail.com> (raw)

This patch series adds support for the sunxi A83T ir module and enhances the sunxi-ir driver.
Right now the base clock frequency for the ir driver is a hard coded define and is set to 8 MHz.
This works for the most common ir receivers. On the Sinovoip Bananapi M3 the ir receiver needs,
a 3 MHz base clock frequency to work without problems with this driver.

This patch series adds support for an optinal property that makes it able to override the default
base clock frequency and enables the ir interface on the a83t and the Bananapi M3.

changes since rfc:
* The property is now optinal. If the property is not available in the dtb the driver 
  uses the default base clock frequency.
* the driver prints out the the selected base clock frequency.
* changed devicetree property from base-clk-frequency to clock-frequency

Regards,
Philipp

rfc: https://www.mail-archive.com/linux-media at vger.kernel.org/msg123359.html 

Philipp Rossak (5):
  media: rc: update sunxi-ir driver to get base clock frequency from
    devicetree
  media: dt: bindings: Update binding documentation for sunxi IR
    controller
  arm: dts: sun8i: a83t: Add the ir pin for the A83T
  arm: dts: sun8i: a83t: Add support for the ir interface
  arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller

 Documentation/devicetree/bindings/media/sunxi-ir.txt |  2 ++
 arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts         |  7 +++++++
 arch/arm/boot/dts/sun8i-a83t.dtsi                    | 15 +++++++++++++++
 drivers/media/rc/sunxi-cir.c                         | 20 ++++++++++++--------
 4 files changed, 36 insertions(+), 8 deletions(-)

-- 
2.11.0

             reply	other threads:[~2017-12-17 22:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-17 22:45 Philipp Rossak [this message]
2017-12-17 22:45 ` [PATCH 1/5] media: rc: update sunxi-ir driver to get base clock frequency from devicetree Philipp Rossak
2017-12-17 23:13   ` Sean Young
2017-12-18  2:44   ` Andi Shyti
2017-12-18 12:43     ` Philipp Rossak
2017-12-17 22:45 ` [PATCH 2/5] media: dt: bindings: Update binding documentation for sunxi IR controller Philipp Rossak
2017-12-18  7:46   ` Maxime Ripard
2017-12-17 22:45 ` [PATCH 3/5] arm: dts: sun8i: a83t: Add the ir pin for the A83T Philipp Rossak
2017-12-18  3:21   ` Chen-Yu Tsai
2017-12-17 22:45 ` [PATCH 4/5] arm: dts: sun8i: a83t: Add support for the ir interface Philipp Rossak
2017-12-18  7:47   ` Maxime Ripard
2017-12-17 22:45 ` [PATCH 5/5] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller Philipp Rossak
2017-12-18  3:30   ` Chen-Yu Tsai

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=20171217224547.21481-1-embed3d@gmail.com \
    --to=embed3d@gmail.com \
    --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).