Skip to content

Commit

Permalink
media: dt-bindings: media: sun4i-csi: Add compatible for CSI1 on A10/A20
Browse files Browse the repository at this point in the history
The CSI1 block has the same structure and layout as the CSI0 block.
Differences include:

  - Only one channel in BT.656 instead of four in CSI0
  - 10-bit raw data input vs 8-bit in CSI0
  - 24-bit RGB888/YUV444 input vs 16-bit RGB565/YUV422 in CSI0
  - No ISP hardware

The hardware found in the A20 is the same as in the A10.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
  • Loading branch information
Chen-Yu Tsai authored and Mauro Carvalho Chehab committed Jan 4, 2020
1 parent e878742 commit 1de243b
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ description: |-
properties:
compatible:
const: allwinner,sun7i-a20-csi0
oneOf:
- const: allwinner,sun4i-a10-csi1
- const: allwinner,sun7i-a20-csi0
- items:
- const: allwinner,sun7i-a20-csi1
- const: allwinner,sun4i-a10-csi1

reg:
maxItems: 1
Expand All @@ -25,12 +30,16 @@ properties:
maxItems: 1

clocks:
minItems: 2
maxItems: 3
items:
- description: The CSI interface clock
- description: The CSI ISP clock
- description: The CSI DRAM clock

clock-names:
minItems: 2
maxItems: 3
items:
- const: bus
- const: isp
Expand Down

0 comments on commit 1de243b

Please sign in to comment.