From mboxrd@z Thu Jan 1 00:00:00 1970 From: Varka Bhadram Subject: Re: [PATCH v3 1/3] rc: Add DT bindings for hix5hd2 Date: Fri, 29 Aug 2014 09:00:37 +0530 Message-ID: <53FFF3DD.7030702@gmail.com> References: <1409238977-19444-1-git-send-email-zhangfei.gao@linaro.org> <1409238977-19444-2-git-send-email-zhangfei.gao@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1409238977-19444-2-git-send-email-zhangfei.gao@linaro.org> Sender: linux-media-owner@vger.kernel.org To: Zhangfei Gao , Mauro Carvalho Chehab , sean@mess.org, arnd@arndb.de, haifeng.yan@linaro.org, jchxue@gmail.com Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, Guoxiong Yan List-Id: devicetree@vger.kernel.org On 08/28/2014 08:46 PM, Zhangfei Gao wrote: > From: Guoxiong Yan > > Signed-off-by: Guoxiong Yan > Signed-off-by: Zhangfei Gao > --- > .../devicetree/bindings/media/hix5hd2-ir.txt | 25 ++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/hix5hd2-ir.txt > > diff --git a/Documentation/devicetree/bindings/media/hix5hd2-ir.txt b/Documentation/devicetree/bindings/media/hix5hd2-ir.txt > new file mode 100644 > index 0000000..2bd88b9 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/hix5hd2-ir.txt > @@ -0,0 +1,25 @@ > +Device-Tree bindings for hix5hd2 ir IP > + > +Required properties: > +- compatible: Should contain "hisilicon,hix5hd2-ir". > +- reg: Base physical address of the controller and length of memory > + mapped region. > +- interrupts: interrupt-specifier for the sole interrupt generated by > + the device. The interrupt specifier format depends on the interrupt > + controller parent. > +- clocks: clock phandle and specifier pair. > +- hisilicon,power-syscon: phandle of syscon used to control power. > + It would be readable if Required properties: - compatible : Should contain "hisilicon,hix5hd2-ir". - reg : Base physical address of the controller and length of memory mapped region. - interrupts : interrupt-specifier for the sole interrupt generated by the device. The interrupt specifier format depends on the interrupt controller parent. ... > +Optional properties: > +- linux,rc-map-name : Remote control map name. > + > +Example node: > + > + ir: ir@f8001000 { > + compatible = "hisilicon,hix5hd2-ir"; > + reg = <0xf8001000 0x1000>; > + interrupts = <0 47 4>; > + clocks = <&clock HIX5HD2_FIXED_24M>; > + hisilicon,power-syscon = <&sysctrl>; > + linux,rc-map-name = "rc-tivo"; > + }; -- Regards, Varka Bhadram.