From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH v9 RESEND 3/4] media: coda: use genalloc API Date: Thu, 28 Mar 2013 09:15:13 +0800 Message-ID: <20130328011511.GA5429@S2101-09.ap.freescale.net> References: <1363776767-2635-1-git-send-email-p.zabel@pengutronix.de> <1363776767-2635-4-git-send-email-p.zabel@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <1363776767-2635-4-git-send-email-p.zabel@pengutronix.de> Sender: linux-kernel-owner@vger.kernel.org To: Philipp Zabel Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman , Grant Likely , Rob Herring , Paul Gortmaker , Huang Shijie , Dong Aisheng , Matt Porter , Fabio Estevam , Javier Martin , kernel@pengutronix.de, devicetree-discuss@lists.ozlabs.org List-Id: devicetree@vger.kernel.org On Wed, Mar 20, 2013 at 11:52:46AM +0100, Philipp Zabel wrote: > This patch depends on "genalloc: add devres support, allow to find > a managed pool by device", which provides the of_get_named_gen_pool > and dev_get_gen_pool functions. > > Signed-off-by: Philipp Zabel > Acked-By: Javier Martin > Acked-by: Grant Likely > --- > Documentation/devicetree/bindings/media/coda.txt | 30 +++++++++++++++ > drivers/media/platform/Kconfig | 1 - > drivers/media/platform/coda.c | 45 +++++++++++++++------- > include/linux/platform_data/coda.h | 18 +++++++++ > 4 files changed, 79 insertions(+), 15 deletions(-) > create mode 100644 Documentation/devicetree/bindings/media/coda.txt > create mode 100644 include/linux/platform_data/coda.h > > diff --git a/Documentation/devicetree/bindings/media/coda.txt b/Documentation/devicetree/bindings/media/coda.txt > new file mode 100644 > index 0000000..2865d04 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/coda.txt > @@ -0,0 +1,30 @@ > +Chips&Media Coda multi-standard codec IP > +======================================== > + > +Coda codec IPs are present in i.MX SoCs in various versions, > +called VPU (Video Processing Unit). > + > +Required properties: > +- compatible : should be "fsl,-src" for i.MX SoCs: fsl,-vpu Shawn > + (a) "fsl,imx27-vpu" for CodaDx6 present in i.MX27 > + (b) "fsl,imx53-vpu" for CODA7541 present in i.MX53 > + (c) "fsl,imx6q-vpu" for CODA960 present in i.MX6q