mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
dt-bindings: media: i2c: Add Samsung S5K3M5 image sensor
Add device tree bindings documentation for Samsung S5K3M5 image sensor. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
e38fd0933c
commit
d855e1279b
103
Documentation/devicetree/bindings/media/i2c/samsung,s5k3m5.yaml
Normal file
103
Documentation/devicetree/bindings/media/i2c/samsung,s5k3m5.yaml
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/media/i2c/samsung,s5k3m5.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Samsung S5K3M5 Image Sensor
|
||||
|
||||
description:
|
||||
Samsung S5K3M5 (ISOCELL 3M5) image sensor is a 13MP image sensor.
|
||||
The sensor is controlled over a serial camera control bus protocol,
|
||||
the widest supported output image frame size is 4208x3120 at 30 frames
|
||||
per second, data output format is RAW10 transferred over 4-lane
|
||||
MIPI D-PHY interface.
|
||||
|
||||
maintainers:
|
||||
- Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
|
||||
|
||||
allOf:
|
||||
- $ref: /schemas/media/video-interface-devices.yaml#
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: samsung,s5k3m5
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
clocks:
|
||||
description: MCLK supply clock.
|
||||
maxItems: 1
|
||||
|
||||
reset-gpios:
|
||||
description: Active low GPIO connected to RESET pad of the sensor.
|
||||
maxItems: 1
|
||||
|
||||
afvdd-supply:
|
||||
description: Autofocus actuator voltage supply, 2.8-3.0 volts.
|
||||
|
||||
vdda-supply:
|
||||
description: Analogue voltage supply, 2.8 volts.
|
||||
|
||||
vddd-supply:
|
||||
description: Digital core voltage supply, 1.05 volts.
|
||||
|
||||
vddio-supply:
|
||||
description: Digital I/O voltage supply, 2.8 or 1.8 volts.
|
||||
|
||||
port:
|
||||
$ref: /schemas/graph.yaml#/$defs/port-base
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
endpoint:
|
||||
$ref: /schemas/media/video-interfaces.yaml#
|
||||
unevaluatedProperties: false
|
||||
|
||||
properties:
|
||||
data-lanes:
|
||||
items:
|
||||
- const: 1
|
||||
- const: 2
|
||||
- const: 3
|
||||
- const: 4
|
||||
|
||||
required:
|
||||
- link-frequencies
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- port
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
camera@10 {
|
||||
compatible = "samsung,s5k3m5";
|
||||
reg = <0x10>;
|
||||
clocks = <&camera_mclk 0>;
|
||||
assigned-clocks = <&camera_mclk 0>;
|
||||
assigned-clock-rates = <24000000>;
|
||||
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
|
||||
vdda-supply = <&vreg_2p8>;
|
||||
vddd-supply = <&vreg_1p05>;
|
||||
vddio-supply = <&vreg_1p8>;
|
||||
|
||||
port {
|
||||
endpoint {
|
||||
link-frequencies = /bits/ 64 <602500000>;
|
||||
remote-endpoint = <&mipi_csi2_ep>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
...
|
||||
Loading…
Reference in New Issue
Block a user