mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
6c96dbbc2a
JPEG IP found in Exynos5433 is similar to what is in Exynos4, but there are some subtle differences which this patch takes into account. The most important difference is in what is processed by the JPEG IP and what has to be provided to it. In case of 5433 the IP does not parse Huffman and quantisation tables, so this has to be performed with the CPU and the majority of the code in this patch does that. A small but important difference is in what address is passed to the JPEG IP. In case of 5433 it is the SOS (start of scan) position, which is natural, because the headers must be parsed elsewhere. There is also a difference in how the hardware is put to work in device_run. Data structures are extended as appropriate to accommodate the above changes. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Reviewed-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
17 lines
629 B
Plaintext
17 lines
629 B
Plaintext
Samsung S5P/EXYNOS SoC series JPEG codec
|
|
|
|
Required properties:
|
|
|
|
- compatible : should be one of:
|
|
"samsung,s5pv210-jpeg", "samsung,exynos4210-jpeg",
|
|
"samsung,exynos3250-jpeg", "samsung,exynos5420-jpeg",
|
|
"samsung,exynos5433-jpeg";
|
|
- reg : address and length of the JPEG codec IP register set;
|
|
- interrupts : specifies the JPEG codec IP interrupt;
|
|
- clock-names : should contain:
|
|
- "jpeg" for the core gate clock,
|
|
- "sclk" for the special clock (optional).
|
|
- clocks : should contain the clock specifier and clock ID list
|
|
matching entries in the clock-names property; from
|
|
the common clock bindings.
|