devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] arm: sunxi: IR support for A83T
@ 2017-12-17 22:45 Philipp Rossak
       [not found] ` <20171217224547.21481-1-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Philipp Rossak @ 2017-12-17 22:45 UTC (permalink / raw)
  To: mchehab-DgEjT+Ai2ygdnm+yROfE0A, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	mark.rutland-5wv7dgnIgG8,
	maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, wens-jdAy2FN1RRM,
	linux-I+IVW8TIWO2tmTQ+vhA3Yw, sean-hENCXIMQXOg,
	p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ, andi.shyti-Sze3O3UU22JBDgjK7y7TUQ
  Cc: linux-media-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-12-18 12:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-17 22:45 [PATCH 0/5] arm: sunxi: IR support for A83T Philipp Rossak
     [not found] ` <20171217224547.21481-1-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-12-17 22:45   ` [PATCH 1/5] media: rc: update sunxi-ir driver to get base clock frequency from devicetree Philipp Rossak
     [not found]     ` <20171217224547.21481-2-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-12-17 23:13       ` Sean Young
2017-12-18  2:44       ` Andi Shyti
     [not found]         ` <20171218024444.GA9140-8vUhnHFVuGn35fTxX1Dczw@public.gmane.org>
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
     [not found]     ` <20171217224547.21481-3-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
     [not found]     ` <20171217224547.21481-4-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
     [not found]     ` <20171217224547.21481-5-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
     [not found]     ` <20171217224547.21481-6-embed3d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-12-18  3:30       ` Chen-Yu Tsai

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).