[PATCH v2 1/2] arm64: dts: imx8mp: Sort AIPS4 nodes

Alexander Stein alexander.stein at ew.tq-group.com
Tue May 16 01:40:00 PDT 2023


Am Dienstag, 16. Mai 2023, 10:13:53 CEST schrieb Marek Vasut:
> Sort AIPS4 nodes by node unit-address . No functional change .
> 
> Suggested-by: Alexander Stein <alexander.stein at ew.tq-group.com>
> Signed-off-by: Marek Vasut <marex at denx.de>

Reviewed-by: Alexander Stein <alexander.stein at ew.tq-group.com>
Also verified by using dtx_diff.

Thanks,
Alexander

> ---
> Cc: Conor Dooley <conor+dt at kernel.org>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt at linaro.org>
> Cc: NXP Linux Team <linux-imx at nxp.com>
> Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
> Cc: Richard Cochran <richardcochran at gmail.com>
> Cc: Rob Herring <robh+dt at kernel.org>
> Cc: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: devicetree at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> ---
> V2: New patch
> ---
>  arch/arm64/boot/dts/freescale/imx8mp.dtsi | 204 +++++++++++-----------
>  1 file changed, 102 insertions(+), 102 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index
> aabcf447e8931..a3ffd53a95357 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> @@ -1332,6 +1332,108 @@ aips4: bus at 32c00000 {
>  			#size-cells = <1>;
>  			ranges;
> 
> +			isi_0: isi at 32e00000 {
> +				compatible = "fsl,imx8mp-isi";
> +				reg = <0x32e00000 0x4000>;
> +				interrupts = <GIC_SPI 16 
IRQ_TYPE_LEVEL_HIGH>,
> +					     <GIC_SPI 42 
IRQ_TYPE_LEVEL_HIGH>;
> +				clocks = <&clk 
IMX8MP_CLK_MEDIA_AXI_ROOT>,
> +					 <&clk 
IMX8MP_CLK_MEDIA_APB_ROOT>;
> +				clock-names = "axi", "apb";
> +				fsl,blk-ctrl = <&media_blk_ctrl>;
> +				power-domains = <&media_blk_ctrl 
IMX8MP_MEDIABLK_PD_ISI>;
> +				status = "disabled";
> +
> +				ports {
> +					#address-cells = <1>;
> +					#size-cells = <0>;
> +
> +					port at 0 {
> +						reg = <0>;
> +
> +						isi_in_0: endpoint 
{
> +							remote-
endpoint = <&mipi_csi_0_out>;
> +						};
> +					};
> +
> +					port at 1 {
> +						reg = <1>;
> +
> +						isi_in_1: endpoint 
{
> +							remote-
endpoint = <&mipi_csi_1_out>;
> +						};
> +					};
> +				};
> +			};
> +
> +			mipi_csi_0: csi at 32e40000 {
> +				compatible = "fsl,imx8mp-mipi-csi2", 
"fsl,imx8mm-mipi-csi2";
> +				reg = <0x32e40000 0x10000>;
> +				interrupts = <GIC_SPI 17 
IRQ_TYPE_LEVEL_HIGH>;
> +				clock-frequency = <500000000>;
> +				clocks = <&clk 
IMX8MP_CLK_MEDIA_APB_ROOT>,
> +					 <&clk 
IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT>,
> +					 <&clk 
IMX8MP_CLK_MEDIA_MIPI_PHY1_REF_ROOT>,
> +					 <&clk 
IMX8MP_CLK_MEDIA_AXI_ROOT>;
> +				clock-names = "pclk", "wrap", "phy", 
"axi";
> +				assigned-clocks = <&clk 
IMX8MP_CLK_MEDIA_CAM1_PIX>;
> +				assigned-clock-parents = <&clk 
IMX8MP_SYS_PLL2_1000M>;
> +				assigned-clock-rates = <500000000>;
> +				power-domains = <&media_blk_ctrl 
IMX8MP_MEDIABLK_PD_MIPI_CSI2_1>;
> +				status = "disabled";
> +
> +				ports {
> +					#address-cells = <1>;
> +					#size-cells = <0>;
> +
> +					port at 0 {
> +						reg = <0>;
> +					};
> +
> +					port at 1 {
> +						reg = <1>;
> +
> +						mipi_csi_0_out: 
endpoint {
> +							remote-
endpoint = <&isi_in_0>;
> +						};
> +					};
> +				};
> +			};
> +
> +			mipi_csi_1: csi at 32e50000 {
> +				compatible = "fsl,imx8mp-mipi-csi2", 
"fsl,imx8mm-mipi-csi2";
> +				reg = <0x32e50000 0x10000>;
> +				interrupts = <GIC_SPI 80 
IRQ_TYPE_LEVEL_HIGH>;
> +				clock-frequency = <266000000>;
> +				clocks = <&clk 
IMX8MP_CLK_MEDIA_APB_ROOT>,
> +					 <&clk 
IMX8MP_CLK_MEDIA_CAM2_PIX_ROOT>,
> +					 <&clk 
IMX8MP_CLK_MEDIA_MIPI_PHY1_REF_ROOT>,
> +					 <&clk 
IMX8MP_CLK_MEDIA_AXI_ROOT>;
> +				clock-names = "pclk", "wrap", "phy", 
"axi";
> +				assigned-clocks = <&clk 
IMX8MP_CLK_MEDIA_CAM2_PIX>;
> +				assigned-clock-parents = <&clk 
IMX8MP_SYS_PLL2_1000M>;
> +				assigned-clock-rates = <266000000>;
> +				power-domains = <&media_blk_ctrl 
IMX8MP_MEDIABLK_PD_MIPI_CSI2_2>;
> +				status = "disabled";
> +
> +				ports {
> +					#address-cells = <1>;
> +					#size-cells = <0>;
> +
> +					port at 0 {
> +						reg = <0>;
> +					};
> +
> +					port at 1 {
> +						reg = <1>;
> +
> +						mipi_csi_1_out: 
endpoint {
> +							remote-
endpoint = <&isi_in_1>;
> +						};
> +					};
> +				};
> +			};
> +
>  			mipi_dsi: dsi at 32e60000 {
>  				compatible = "fsl,imx8mp-mipi-dsim";
>  				reg = <0x32e60000 0x400>;
> @@ -1493,108 +1595,6 @@ ldb_lvds_ch1: endpoint {
>  				};
>  			};
> 
> -			isi_0: isi at 32e00000 {
> -				compatible = "fsl,imx8mp-isi";
> -				reg = <0x32e00000 0x4000>;
> -				interrupts = <GIC_SPI 16 
IRQ_TYPE_LEVEL_HIGH>,
> -					     <GIC_SPI 42 
IRQ_TYPE_LEVEL_HIGH>;
> -				clocks = <&clk 
IMX8MP_CLK_MEDIA_AXI_ROOT>,
> -					 <&clk 
IMX8MP_CLK_MEDIA_APB_ROOT>;
> -				clock-names = "axi", "apb";
> -				fsl,blk-ctrl = <&media_blk_ctrl>;
> -				power-domains = <&media_blk_ctrl 
IMX8MP_MEDIABLK_PD_ISI>;
> -				status = "disabled";
> -
> -				ports {
> -					#address-cells = <1>;
> -					#size-cells = <0>;
> -
> -					port at 0 {
> -						reg = <0>;
> -
> -						isi_in_0: endpoint 
{
> -							remote-
endpoint = <&mipi_csi_0_out>;
> -						};
> -					};
> -
> -					port at 1 {
> -						reg = <1>;
> -
> -						isi_in_1: endpoint 
{
> -							remote-
endpoint = <&mipi_csi_1_out>;
> -						};
> -					};
> -				};
> -			};
> -
> -			mipi_csi_0: csi at 32e40000 {
> -				compatible = "fsl,imx8mp-mipi-csi2", 
"fsl,imx8mm-mipi-csi2";
> -				reg = <0x32e40000 0x10000>;
> -				interrupts = <GIC_SPI 17 
IRQ_TYPE_LEVEL_HIGH>;
> -				clock-frequency = <500000000>;
> -				clocks = <&clk 
IMX8MP_CLK_MEDIA_APB_ROOT>,
> -					 <&clk 
IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT>,
> -					 <&clk 
IMX8MP_CLK_MEDIA_MIPI_PHY1_REF_ROOT>,
> -					 <&clk 
IMX8MP_CLK_MEDIA_AXI_ROOT>;
> -				clock-names = "pclk", "wrap", "phy", 
"axi";
> -				assigned-clocks = <&clk 
IMX8MP_CLK_MEDIA_CAM1_PIX>;
> -				assigned-clock-parents = <&clk 
IMX8MP_SYS_PLL2_1000M>;
> -				assigned-clock-rates = <500000000>;
> -				power-domains = <&media_blk_ctrl 
IMX8MP_MEDIABLK_PD_MIPI_CSI2_1>;
> -				status = "disabled";
> -
> -				ports {
> -					#address-cells = <1>;
> -					#size-cells = <0>;
> -
> -					port at 0 {
> -						reg = <0>;
> -					};
> -
> -					port at 1 {
> -						reg = <1>;
> -
> -						mipi_csi_0_out: 
endpoint {
> -							remote-
endpoint = <&isi_in_0>;
> -						};
> -					};
> -				};
> -			};
> -
> -			mipi_csi_1: csi at 32e50000 {
> -				compatible = "fsl,imx8mp-mipi-csi2", 
"fsl,imx8mm-mipi-csi2";
> -				reg = <0x32e50000 0x10000>;
> -				interrupts = <GIC_SPI 80 
IRQ_TYPE_LEVEL_HIGH>;
> -				clock-frequency = <266000000>;
> -				clocks = <&clk 
IMX8MP_CLK_MEDIA_APB_ROOT>,
> -					 <&clk 
IMX8MP_CLK_MEDIA_CAM2_PIX_ROOT>,
> -					 <&clk 
IMX8MP_CLK_MEDIA_MIPI_PHY1_REF_ROOT>,
> -					 <&clk 
IMX8MP_CLK_MEDIA_AXI_ROOT>;
> -				clock-names = "pclk", "wrap", "phy", 
"axi";
> -				assigned-clocks = <&clk 
IMX8MP_CLK_MEDIA_CAM2_PIX>;
> -				assigned-clock-parents = <&clk 
IMX8MP_SYS_PLL2_1000M>;
> -				assigned-clock-rates = <266000000>;
> -				power-domains = <&media_blk_ctrl 
IMX8MP_MEDIABLK_PD_MIPI_CSI2_2>;
> -				status = "disabled";
> -
> -				ports {
> -					#address-cells = <1>;
> -					#size-cells = <0>;
> -
> -					port at 0 {
> -						reg = <0>;
> -					};
> -
> -					port at 1 {
> -						reg = <1>;
> -
> -						mipi_csi_1_out: 
endpoint {
> -							remote-
endpoint = <&isi_in_1>;
> -						};
> -					};
> -				};
> -			};
> -
>  			pcie_phy: pcie-phy at 32f00000 {
>  				compatible = "fsl,imx8mp-pcie-phy";
>  				reg = <0x32f00000 0x10000>;


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/





More information about the linux-arm-kernel mailing list