Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f99babab authored by James Hogan's avatar James Hogan Committed by Mauro Carvalho Chehab
Browse files

[media] dt: binding: add binding for ImgTec IR block



Add device tree binding for ImgTec Consumer Infrared block, specifically
major revision 1 of the hardware.

Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 6bea25af
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
* ImgTec Infrared (IR) decoder version 1

This binding is for Imagination Technologies' Infrared decoder block,
specifically major revision 1.

Required properties:
- compatible:		Should be "img,ir-rev1"
- reg:			Physical base address of the controller and length of
			memory mapped region.
- interrupts:		The interrupt specifier to the cpu.

Optional properties:
- clocks:		List of clock specifiers as described in standard
			clock bindings.
			Up to 3 clocks may be specified in the following order:
			1st:	Core clock (defaults to 32.768KHz if omitted).
			2nd:	System side (fast) clock.
			3rd:	Power modulation clock.
- clock-names:		List of clock names corresponding to the clocks
			specified in the clocks property.
			Accepted clock names are:
			"core":	Core clock.
			"sys":	System clock.
			"mod":	Power modulation clock.

Example:

	ir@02006200 {
		compatible = "img,ir-rev1";
		reg = <0x02006200 0x100>;
		interrupts = <29 4>;
		clocks = <&clk_32khz>;
		clock-names =  "core";
	};