Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: dt-bindings: media: renesas,fcp: Document RZ/{G2L,V2L} FCPVD bindings

Document FCPVD found in RZ/G2L alike SoCs. FCPVD block is similar to
FCP for VSP found on R-Car SoC's . It has 3 clocks compared to 1
clock on fcpv. Introduce new compatibles renesas,r9a07g044-fcpvd
for RZ/G2{L,LC} and renesas,r9a07g054-fcpvd for RZ/V2L to handle this
difference.

The 3 clocks are shared between du, vspd and fcpvd. No driver changes
are required as generic compatible string "renesas,fcpv" will be used
as a fallback.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Biju Das and committed by
Mauro Carvalho Chehab
81442e3e bb02a201

+40 -5
+40 -5
Documentation/devicetree/bindings/media/renesas,fcp.yaml
··· 21 21 22 22 properties: 23 23 compatible: 24 - enum: 25 - - renesas,fcpv # FCP for VSP 26 - - renesas,fcpf # FCP for FDP 24 + oneOf: 25 + - enum: 26 + - renesas,fcpv # FCP for VSP 27 + - renesas,fcpf # FCP for FDP 28 + - items: 29 + - enum: 30 + - renesas,r9a07g044-fcpvd # RZ/G2{L,LC} 31 + - renesas,r9a07g054-fcpvd # RZ/V2L 32 + - const: renesas,fcpv # Generic FCP for VSP fallback 27 33 28 34 reg: 29 35 maxItems: 1 30 36 31 - clocks: 32 - maxItems: 1 37 + clocks: true 38 + 39 + clock-names: true 33 40 34 41 iommus: 35 42 maxItems: 1 ··· 55 48 - resets 56 49 57 50 additionalProperties: false 51 + 52 + allOf: 53 + - if: 54 + properties: 55 + compatible: 56 + contains: 57 + enum: 58 + - renesas,r9a07g044-fcpvd 59 + - renesas,r9a07g054-fcpvd 60 + then: 61 + properties: 62 + clocks: 63 + items: 64 + - description: Main clock 65 + - description: Register access clock 66 + - description: Video clock 67 + clock-names: 68 + items: 69 + - const: aclk 70 + - const: pclk 71 + - const: vclk 72 + required: 73 + - clock-names 74 + else: 75 + properties: 76 + clocks: 77 + maxItems: 1 78 + clock-names: false 58 79 59 80 examples: 60 81 # R8A7795 (R-Car H3) FCP for VSP-D1