[PATCH v2 09/19] ARM: dts: sunxi: h3/h5: Add CSI controller port for parallel input

Maxime Ripard maxime at cerno.tech
Tue Dec 1 07:14:05 EST 2020


On Sat, Nov 28, 2020 at 03:28:29PM +0100, Paul Kocialkowski wrote:
> Since the CSI controller binding is getting a bit more complex due
> to the addition of MIPI CSI-2 bridge support, make the ports node
> explicit with the parallel port.
> 
> This way, it's clear that the controller only supports parallel
> interface input and there's no confusion about the port number.
> 
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski at bootlin.com>
> ---
>  arch/arm/boot/dts/sunxi-h3-h5.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> index 9be13378d4df..02b698cace6a 100644
> --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> @@ -803,6 +803,15 @@ csi: camera at 1cb0000 {
>  			pinctrl-names = "default";
>  			pinctrl-0 = <&csi_pins>;
>  			status = "disabled";
> +
> +			ports {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +
> +				csi_in_parallel: port at 0 {
> +					reg = <0>;
> +				};
> +			};
>  		};

This will create a DTC warning, since port at 0 is the only node, and is
equivalent to port

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201201/92f12171/attachment.sig>


More information about the linux-arm-kernel mailing list