Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 0 additions & 119 deletions Documentation/devicetree/bindings/media/i2c/imx708.yaml

This file was deleted.

128 changes: 128 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/sony,imx708.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/sony,imx708.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sony 1/2.3-Inch 12Mpixel CMOS Digital Image Sensor

maintainers:
- Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>

description: |-
The Sony IMX708 is a 1/2.3-inch CMOS active pixel digital image sensor
with an active array size of 4608H x 2592V. It is programmable through
I2C interface. The I2C address is fixed to 0x1A as per sensor data sheet.
Image data is sent through MIPI CSI-2, which is configured as either 2 or
4 data lanes.

properties:
compatible:
const: sony,imx708

reg:
maxItems: 1

clocks:
maxItems: 1

clock-names:
description: Input clock (6 to 27 MHz)
items:
- const: inck

vdig-supply:
description:
Digital I/O voltage supply, 1.1 volts

vana1-supply:
description:
Analog1 voltage supply, 2.8 volts

vana2-supply:
description:
Analog2 voltage supply, 1.8 volts

vddl-supply:
description:
Digital core voltage supply, 1.8 volts

reset-gpios:
description: Sensor reset (XCLR) GPIO
maxItems: 1

port:
$ref: /schemas/graph.yaml#/$defs/port-base
description: |
Video output port

properties:
endpoint:
$ref: /schemas/media/video-interfaces.yaml#
unevaluatedProperties: false

properties:
data-lanes:
anyOf:
- items:
- const: 1
- const: 2
- items:
- const: 1
- const: 2
- const: 3
- const: 4

link-frequencies: true

required:
- data-lanes
- link-frequencies

additionalProperties: false

required:
- compatible
- reg
- clocks
- clock-names
- vdig-supply
- vana1-supply
- vana2-supply
- vddl-supply
- port

additionalProperties: false

examples:
- |
#include <dt-bindings/gpio/gpio.h>

i2c {
#address-cells = <1>;
#size-cells = <0>;

imx708: camera-sensor@1a {
compatible = "sony,imx708";
reg = <0x1a>;

clocks = <&clk 90>;
clock-names = "inck";

vdig-supply = <&camera_vdig>;
vana1-supply = <&camera_vana1>;
vana2-supply = <&camera_vana2>;
vddl-supply = <&camera_vddl>;

reset-gpios = <&gpio 35 GPIO_ACTIVE_LOW>;

port {
imx708_ep: endpoint {
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <450000000>;
remote-endpoint = <&csi_ep>;
};
};
};
};
...
2 changes: 1 addition & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -19330,7 +19330,7 @@ M: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
L: linux-media@vger.kernel.org
S: Maintained
T: git git://linuxtv.org/media_tree.git
F: Documentation/devicetree/bindings/media/i2c/imx708.yaml
F: Documentation/devicetree/bindings/media/i2c/sony,imx708.yaml
F: drivers/media/i2c/imx708.c

SONY MEMORYSTICK SUBSYSTEM
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -2417,6 +2417,8 @@ Params: rotation Mounting rotation of the camera sensor (0 or
configuring the sensor (default on)
cam0 Adopt the default configuration for CAM0 on a
Compute Module (CSI0, i2c_vc, and cam0_reg).
link-frequency Allowable link frequency values to use in Hz:
450000000 (default), 447000000, 453000000.


Name: iqaudio-codec
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/overlays/imx708-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<&vcm_node>, "VDD-supply:0=",<&cam0_reg>;
vcm = <&vcm_node>, "status",
<0>, "=4";
link-frequency = <&cam_endpoint>,"link-frequencies#0";
};
};

Expand Down
10 changes: 5 additions & 5 deletions arch/arm/boot/dts/overlays/imx708.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ cam_node: imx708@1a {
status = "disabled";

clocks = <&cam1_clk>;
clock-names = "xclk";
clock-names = "inclk";

VANA1-supply = <&cam1_reg>; /* 2.8v */
VANA2-supply = <&cam_dummy_reg>;/* 1.8v */
VDIG-supply = <&cam_dummy_reg>; /* 1.1v */
VDDL-supply = <&cam_dummy_reg>; /* 1.8v */
vana1-supply = <&cam1_reg>; /* 2.8v */
vana2-supply = <&cam_dummy_reg>;/* 1.8v */
vdig-supply = <&cam_dummy_reg>; /* 1.1v */
vddl-supply = <&cam_dummy_reg>; /* 1.8v */

rotation = <180>;
orientation = <2>;
Expand Down
Loading