[PATCH] ARM: dts: sun8i-v3s: Add CSI0 MCLK pin definition

Jernej Škrabec jernej.skrabec at siol.net
Tue Dec 22 03:17:30 EST 2020


Hi!

Dne petek, 18. december 2020 ob 20:50:33 CET je Paul Kocialkowski napisal(a):
> This adds a device-tree definition for the CSI0 MCLK pin,
> which can be used for feeding MIPI CSI-2 sensors.
> 
> Signed-off-by: Paul Kocialkowski <contact at paulk.fr>

Is this used anywhere? Current policy is to add pin definitions only if any 
user exists.

Best regards,
Jernej

> ---
>  arch/arm/boot/dts/sun8i-v3s.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi
> b/arch/arm/boot/dts/sun8i-v3s.dtsi index a9f5795d4e57..bff822b9fa01 100644
> --- a/arch/arm/boot/dts/sun8i-v3s.dtsi
> +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
> @@ -337,6 +337,12 @@ pio: pinctrl at 1c20800 {
>  			interrupt-controller;
>  			#interrupt-cells = <3>;
> 
> +			/omit-if-no-ref/
> +			csi0_mclk_pin: csi0-mclk-pin {
> +				pins = "PE20";
> +				function = "csi_mipi";
> +			};
> +
>  			/omit-if-no-ref/
>  			csi1_8bit_pins: csi1-8bit-pins {
>  				pins = "PE0", "PE2", "PE3", 
"PE8", "PE9",







More information about the linux-arm-kernel mailing list