-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <p.zabel@pengutronix.de> Acked-by: Javier Martin <javier.martin@vista-silicon.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Cc: Michal Simek <monstr@monstr.eu> Cc: Dong Aisheng <dong.aisheng@linaro.org> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Huang Shijie <shijie8@gmail.com> Cc: Matt Porter <mporter@ti.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
- Loading branch information
Philipp Zabel
authored and
Linus Torvalds
committed
Apr 30, 2013
1 parent
4984c6f
commit 657eee7
Showing
4 changed files
with
79 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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,<chip>-src" for i.MX SoCs: | ||
(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 | ||
- reg: should be register base and length as documented in the | ||
SoC reference manual | ||
- interrupts : Should contain the VPU interrupt. For CODA960, | ||
a second interrupt is needed for the MJPEG unit. | ||
- clocks : Should contain the ahb and per clocks, in the order | ||
determined by the clock-names property. | ||
- clock-names : Should be "ahb", "per" | ||
- iram : phandle pointing to the SRAM device node | ||
|
||
Example: | ||
|
||
vpu: vpu@63ff4000 { | ||
compatible = "fsl,imx53-vpu"; | ||
reg = <0x63ff4000 0x1000>; | ||
interrupts = <9>; | ||
clocks = <&clks 63>, <&clks 63>; | ||
clock-names = "ahb", "per"; | ||
iram = <&ocram>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright (C) 2013 Philipp Zabel, Pengutronix | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
#ifndef PLATFORM_CODA_H | ||
#define PLATFORM_CODA_H | ||
|
||
struct device; | ||
|
||
struct coda_platform_data { | ||
struct device *iram_dev; | ||
}; | ||
|
||
#endif |