mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-09-23 06:21:57 +08:00
dt-bindings: media: renesas,drif: Use graph schema
Convert the renesas,drif binding schema to use the graph schema. The binding referred to video-interfaces.txt, but it doesn't actually use any properties from it as 'sync-active' is a custom property. As 'sync-active' is custom, it needs a type definition. Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Ramesh Shanmugasundaram <rashanmu@gmail.com> Cc: linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com> Link: https://lore.kernel.org/r/20210510203514.603471-1-robh@kernel.org
This commit is contained in:
parent
0bd50826a4
commit
4710ccc52e
@ -99,32 +99,26 @@ properties:
|
|||||||
Indicates that the channel acts as primary among the bonded channels.
|
Indicates that the channel acts as primary among the bonded channels.
|
||||||
|
|
||||||
port:
|
port:
|
||||||
type: object
|
$ref: /schemas/graph.yaml#/properties/port
|
||||||
|
unevaluatedProperties: false
|
||||||
description:
|
description:
|
||||||
Child port node corresponding to the data input, in accordance with the
|
Child port node corresponding to the data input. The port node must
|
||||||
video interface bindings defined in
|
contain at least one endpoint.
|
||||||
Documentation/devicetree/bindings/media/video-interfaces.txt.
|
|
||||||
The port node must contain at least one endpoint.
|
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
endpoint:
|
endpoint:
|
||||||
type: object
|
$ref: /schemas/graph.yaml#/$defs/endpoint-base
|
||||||
|
unevaluatedProperties: false
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
remote-endpoint:
|
|
||||||
description:
|
|
||||||
A phandle to the remote tuner endpoint subnode in remote node
|
|
||||||
port.
|
|
||||||
|
|
||||||
sync-active:
|
sync-active:
|
||||||
|
$ref: /schemas/types.yaml#/definitions/uint32
|
||||||
enum: [0, 1]
|
enum: [0, 1]
|
||||||
description:
|
description:
|
||||||
Indicates sync signal polarity, 0/1 for low/high respectively.
|
Indicates sync signal polarity, 0/1 for low/high respectively.
|
||||||
This property maps to SYNCAC bit in the hardware manual. The
|
This property maps to SYNCAC bit in the hardware manual. The
|
||||||
default is 1 (active high).
|
default is 1 (active high).
|
||||||
|
|
||||||
additionalProperties: false
|
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
|
Loading…
Reference in New Issue
Block a user