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

[media] Documentation: dt: Add binding documentation for S5K6A3 image sensor

This patch adds binding documentation for the Samsung S5K6A3(YX)
raw image sensor.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

authored by

Sylwester Nawrocki and committed by
Mauro Carvalho Chehab
41f13ed4 ba35ca07

+33
+33
Documentation/devicetree/bindings/media/samsung-s5k6a3.txt
··· 1 + Samsung S5K6A3(YX) raw image sensor 2 + --------------------------------- 3 + 4 + S5K6A3(YX) is a raw image sensor with MIPI CSI-2 and CCP2 image data interfaces 5 + and CCI (I2C compatible) control bus. 6 + 7 + Required properties: 8 + 9 + - compatible : "samsung,s5k6a3"; 10 + - reg : I2C slave address of the sensor; 11 + - svdda-supply : core voltage supply; 12 + - svddio-supply : I/O voltage supply; 13 + - afvdd-supply : AF (actuator) voltage supply; 14 + - gpios : specifier of a GPIO connected to the RESET pin; 15 + - clocks : should contain list of phandle and clock specifier pairs 16 + according to common clock bindings for the clocks described 17 + in the clock-names property; 18 + - clock-names : should contain "extclk" entry for the sensor's EXTCLK clock; 19 + 20 + Optional properties: 21 + 22 + - clock-frequency : the frequency at which the "extclk" clock should be 23 + configured to operate, in Hz; if this property is not 24 + specified default 24 MHz value will be used. 25 + 26 + The common video interfaces bindings (see video-interfaces.txt) should be 27 + used to specify link to the image data receiver. The S5K6A3(YX) device 28 + node should contain one 'port' child node with an 'endpoint' subnode. 29 + 30 + Following properties are valid for the endpoint node: 31 + 32 + - data-lanes : (optional) specifies MIPI CSI-2 data lanes as covered in 33 + video-interfaces.txt. The sensor supports only one data lane.