86xx: mpc8610_hpcd: add support for IrDA
Subsystems (2)
PATCH 2/2 86xx: mpc8610_hpcd: add support for IrDA
This patch adds support for IrDA on MPC8610HPCD. IrDA platfrom hook is used to setup IR clocks and to manage the on-board transceiver.
(The original BSP patch comes with lots of Sign offs, providing them here.)
Signed-off-by Xianghua Xiao <[email protected]>
Signed-off-by Jason Jin <[email protected]>
Signed-off-by Timur Tabi <[email protected]>
Signed-off-by York Sun <[email protected]>
Signed-off-by Zhang Wei <[email protected]>
Signed-off-by Anton Vorontsov <[email protected]>
--- arch/powerpc/boot/dts/mpc8610_hpcd.dts | 20 ++++ arch/powerpc/platforms/86xx/Kconfig | 1 + arch/powerpc/platforms/86xx/mpc8610_hpcd.c | 164 ++++++++++++++++++++++++++-- 3 files changed, 174 insertions(+), 11 deletions(-)
arch/powerpc/boot/dts/mpc8610_hpcd.dts +20 -0
@@ -171,6 +171,18 @@ interrupt-parent = <&mpic>; }; + irda@2d000 { + compatible = "fsl,mpc8610-irda"; + interrupt-parent = <&mpic>; + interrupts = <73 2>; + reg = <0x2d000 0x1000>; + + irda-transceiver { + compatible = "vishay,tfdu6102"; + gpios = <&soc_gpio2 18 0>; + }; + }; + mpic: interrupt-controller@40000 { clock-frequency = <0>; interrupt-controller;
@@ -204,6 +216,14 @@ fsl,has-rstcr; }; + soc_gpio2: gpio-controller@f100 { + #gpio-cells = <2>; + compatible = "fsl,mpc8610-gpio-bank", + "fsl,mpc8349-gpio-bank"; + reg = <0xf100 0x100>; + gpio-controller; + }; + i2s@16000 { compatible = "fsl,mpc8610-ssi"; cell-index = <0>;
arch/powerpc/platforms/86xx/Kconfig +1 -0
@@ -21,6 +21,7 @@ config SBC8641D config MPC8610_HPCD bool "Freescale MPC8610 HPCD" select DEFAULT_UIMAGE + select FSL_MPC8349_GPIO help This option enables support for the MPC8610 HPCD board.
arch/powerpc/platforms/86xx/mpc8610_hpcd.c +153 -11
220 lines not on this page · raw message
Signature · 1 line
1.5.5.1