mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
dt-bindings: media: imx274: Make clocks property required
The sensor requires an external clock, and drivers need to access the clock to retrieve its frequency in order to configure the sensor. This makes usage of the clocks property mandatory for a system to work properly. Mark the clocks and clock-names properties as required, and update the example accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
ea501438dc
commit
4e181beb68
@@ -46,6 +46,8 @@ properties:
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- clocks
|
||||
- clock-names
|
||||
- port
|
||||
|
||||
additionalProperties: false
|
||||
@@ -59,6 +61,8 @@ examples:
|
||||
imx274: camera-sensor@1a {
|
||||
compatible = "sony,imx274";
|
||||
reg = <0x1a>;
|
||||
clocks = <&imx274_clk>;
|
||||
clock-names = "inck";
|
||||
reset-gpios = <&gpio_sensor 0 0>;
|
||||
|
||||
port {
|
||||
|
||||
@@ -361,6 +361,9 @@ examples:
|
||||
compatible = "sony,imx274";
|
||||
reg = <0x1a>;
|
||||
|
||||
clocks = <&serializer>;
|
||||
clock-names = "inck";
|
||||
|
||||
reset-gpios = <&serializer1 0 GPIO_ACTIVE_LOW>;
|
||||
|
||||
port {
|
||||
|
||||
Reference in New Issue
Block a user