From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCR0LXRgNGB0LXQvdC10LI=?= Subject: Re: [PATCH v4 01/03] ARM: sunxi: Add documentation for sunxi consumer infrared devices Date: Wed, 30 Apr 2014 03:54:35 -0700 (PDT) Message-ID: <6a8ffca8-d586-46f6-96e5-4e132ba0f368@googlegroups.com> References: Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3080_22425817.1398855275430" Return-path: In-Reply-To: List-Post: , List-Help: , List-Archive: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, rdunlap-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org, maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org ------=_Part_3080_22425817.1398855275430 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [PATCH v4 01/03] ARM: sunxi: Add documentation for sunxi consumer infrared= =20 devices This patch adds documentation for Device-Tree bindings for sunxi IR=20 controller.=20 Signed-off-by: Alexander Bersenev Signed-off-by: Alexsey Shestacov diff --git a/Documentation/devicetree/bindings/media/sunxi-ir.txt=20 b/Documentation/devicetree/bindings/media/sunxi-ir.txt new file mode 100644 index 0000000..d502cf4 --- /dev/null +++ b/Documentation/devicetree/bindings/media/sunxi-ir.txt @@ -0,0 +1,23 @@ +Device-Tree bindings for SUNXI IR controller found in sunXi SoC family + +Required properties: +- compatible : should be "allwinner,sun7i-a20-ir"; +- clocks : list of clock specifiers, corresponding to + entries in clock-names property; +- clock-names : should contain "apb0_ir0" and "ir0" entries; +- interrupts : should contain IR IRQ number; +- reg : should contain IO map address for IR. + +Optional properties: +- linux,rc-map-name : Remote control map name. + +Example: + +ir0: ir@01c21800 { + compatible =3D "allwinner,sun7i-a20-ir"; + clocks =3D <&apb0_gates 6>, <&ir0_clk>; + clock-names =3D "apb0_ir0", "ir0"; + interrupts =3D <0 5 1>; + reg =3D <0x01C21800 0x40>; + linux,rc-map-name =3D "rc-rc6-mce"; +}; =D1=81=D1=80=D0=B5=D0=B4=D0=B0, 30 =D0=B0=D0=BF=D1=80=D0=B5=D0=BB=D1=8F 201= 4 =D0=B3., 16:51:12 UTC+6 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0= =D1=82=D0=B5=D0=BB=D1=8C =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4= =D1=80 =D0=91=D0=B5=D1=80=D1=81=D0=B5=D0=BD=D0=B5=D0=B2=20 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > This patch introduces Consumer IR(CIR) support for sunxi boards. > > This is based on Alexsey Shestacov's work based on the original driver=20 > supplied by Allwinner. > --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. ------=_Part_3080_22425817.1398855275430 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
[PATCH v4 01/03] ARM: sunxi: Add documentation for su= nxi consumer infrared devices

This patch adds docu= mentation for Device-Tree bindings for sunxi IR 
controller.=  

Signed-off-by: Alexander Bersenev <bay@h= ackerdom.ru>
Signed-off-by: Alexsey Shestacov <wingrime@lin= ux-sunxi.org>

diff --git a/Documentation/device= tree/bindings/media/sunxi-ir.txt b/Documentation/devicetree/bindings/media/= sunxi-ir.txt
new file mode 100644
index 0000000..d502cf= 4
--- /dev/null
+++ b/Documentation/devicetree/bindings= /media/sunxi-ir.txt
@@ -0,0 +1,23 @@
+Device-Tree bindi= ngs for SUNXI IR controller found in sunXi SoC family
+
+Required properties:
+- compatible    : should be "allwinner,su= n7i-a20-ir";
+- clocks    : list of clock specifiers, correspondi= ng to
+ =      entries in clock-names property;
+- = clock-names    : should contain "apb0_ir0" and "ir0" entries;
+- = interrupts =    : should contain IR IRQ number;
+- reg    : shou= ld contain IO map address for IR.
+
+Optional propertie= s:
+- linux,rc-map-name : Remote control map name.
+
+Example:
+
+ir0: ir@01c21800 {
+ &nb= sp;     = compatible =3D "allwinner,sun7i-a20-ir";
+     =   clo= cks =3D <&apb0_gates 6>, <&ir0_clk>;
+  =     clock-names =3D "apb0_ir0", "ir0";
+       interrupts = =3D <0 5 1>;
+       reg =3D <0x01C21800 0x40>;<= /div>
+       linux,rc-map-name =3D "rc-rc6-mce";
+};


=D1=81=D1=80=D0=B5=D0=B4=D0=B0, 30 =D0=B0=D0=BF=D1=80= =D0=B5=D0=BB=D1=8F 2014 =D0=B3., 16:51:12 UTC+6 =D0=BF=D0=BE=D0=BB=D1= =8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C =D0=90=D0=BB=D0=B5=D0= =BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80 =D0=91=D0=B5=D1=80=D1=81=D0=B5=D0=BD=D0= =B5=D0=B2 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:
This patch introduces Consumer= IR(CIR) support for sunxi boards.

This is based o= n Alexsey Shestacov's work based on the original driver 
sup= plied by Allwinner.

--
You received this message because you are subscribed to the Google Groups &= quot;linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-s= unxi+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_3080_22425817.1398855275430--