Re: [PATCH 1/3] arm64: dts: qcom: sm8550: replace 0x0 to 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 8.03.2023 09:32, Neil Armstrong wrote:
> Unify the sm8550.dtsi style by replacing the 0x0 to 0 as it was
> required in the initial file submission.
> 
> Fixes: 377972ac743f ("arm64: dts: qcom: sm8550: add I2C Master Hub nodes")
> Fixes: 433477c3bf0b ("arm64: dts: qcom: sm8550: add QCrypto nodes")
> Fixes: 35cf1aaab169 ("arm64: dts: qcom: sm8550: Add UFS host controller and phy nodes")
> Fixes: d0c061e366ed ("arm64: dts: qcom: sm8550: add adsp, cdsp & mdss nodes")
> Fixes: 7d1158c984d3 ("arm64: dts: qcom: sm8550: Add PCIe PHYs and controllers nodes")
> Fixes: 7f7e5c1b037f ("arm64: dts: qcom: sm8550: Add USB PHYs and controller nodes")
> Fixes: 6de7f9c34358 ("arm64: dts: qcom: sm8550: add GPR and LPASS pin controller")
> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> ---
I think the sentiment is towards 0x0, as these are register addreses/
sizes, but nobody wants to send a big giant commit changing it everywhere
as - frankly - it's just a lot of work and noise..

Konrad
>  arch/arm64/boot/dts/qcom/sm8550.dtsi | 60 ++++++++++++++++++------------------
>  1 file changed, 30 insertions(+), 30 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> index ff4d342c0725..fe8b92954550 100644
> --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> @@ -547,7 +547,7 @@ adspslpi_mem: adspslpi-region@9ea00000 {
>  
>  		rmtfs_mem: rmtfs-region@d4a80000 {
>  			compatible = "qcom,rmtfs-mem";
> -			reg = <0x0 0xd4a80000 0x0 0x280000>;
> +			reg = <0 0xd4a80000 0 0x280000>;
>  			no-map;
>  
>  			qcom,client-id = <1>;
> @@ -1078,7 +1078,7 @@ spi15: spi@89c000 {
>  
>  		i2c_master_hub_0: geniqup@9c0000 {
>  			compatible = "qcom,geni-se-i2c-master-hub";
> -			reg = <0x0 0x009c0000 0x0 0x2000>;
> +			reg = <0 0x009c0000 0 0x2000>;
>  			clock-names = "s-ahb";
>  			clocks = <&gcc GCC_QUPV3_I2C_S_AHB_CLK>;
>  			#address-cells = <2>;
> @@ -1088,7 +1088,7 @@ i2c_master_hub_0: geniqup@9c0000 {
>  
>  			i2c_hub_0: i2c@980000 {
>  				compatible = "qcom,geni-i2c-master-hub";
> -				reg = <0x0 0x00980000 0x0 0x4000>;
> +				reg = <0 0x00980000 0 0x4000>;
>  				clock-names = "se", "core";
>  				clocks = <&gcc GCC_QUPV3_I2C_S0_CLK>,
>  					 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
> @@ -1105,7 +1105,7 @@ i2c_hub_0: i2c@980000 {
>  
>  			i2c_hub_1: i2c@984000 {
>  				compatible = "qcom,geni-i2c-master-hub";
> -				reg = <0x0 0x00984000 0x0 0x4000>;
> +				reg = <0 0x00984000 0 0x4000>;
>  				clock-names = "se", "core";
>  				clocks = <&gcc GCC_QUPV3_I2C_S1_CLK>,
>  					 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
> @@ -1122,7 +1122,7 @@ i2c_hub_1: i2c@984000 {
>  
>  			i2c_hub_2: i2c@988000 {
>  				compatible = "qcom,geni-i2c-master-hub";
> -				reg = <0x0 0x00988000 0x0 0x4000>;
> +				reg = <0 0x00988000 0 0x4000>;
>  				clock-names = "se", "core";
>  				clocks = <&gcc GCC_QUPV3_I2C_S2_CLK>,
>  					 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
> @@ -1139,7 +1139,7 @@ i2c_hub_2: i2c@988000 {
>  
>  			i2c_hub_3: i2c@98c000 {
>  				compatible = "qcom,geni-i2c-master-hub";
> -				reg = <0x0 0x0098c000 0x0 0x4000>;
> +				reg = <0 0x0098c000 0 0x4000>;
>  				clock-names = "se", "core";
>  				clocks = <&gcc GCC_QUPV3_I2C_S3_CLK>,
>  					 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
> @@ -1156,7 +1156,7 @@ i2c_hub_3: i2c@98c000 {
>  
>  			i2c_hub_4: i2c@990000 {
>  				compatible = "qcom,geni-i2c-master-hub";
> -				reg = <0x0 0x00990000 0x0 0x4000>;
> +				reg = <0 0x00990000 0 0x4000>;
>  				clock-names = "se", "core";
>  				clocks = <&gcc GCC_QUPV3_I2C_S4_CLK>,
>  					 <&gcc GCC_QUPV3_I2C_CORE_CLK>;
> @@ -1653,8 +1653,8 @@ pcie0: pci@1c00000 {
>  			reg-names = "parf", "dbi", "elbi", "atu", "config";
>  			#address-cells = <3>;
>  			#size-cells = <2>;
> -			ranges = <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>,
> -				 <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0x3d00000>;
> +			ranges = <0x01000000 0 0x60200000 0 0x60200000 0 0x100000>,
> +				 <0x02000000 0 0x60300000 0 0x60300000 0 0x3d00000>;
>  			bus-range = <0x00 0xff>;
>  
>  			dma-coherent;
> @@ -1693,7 +1693,7 @@ pcie0: pci@1c00000 {
>  			interconnects = <&pcie_noc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>;
>  
>  			iommus = <&apps_smmu 0x1400 0x7f>;
> -			iommu-map = <0x0   &apps_smmu 0x1400 0x1>,
> +			iommu-map = <0     &apps_smmu 0x1400 0x1>,
>  				    <0x100 &apps_smmu 0x1401 0x1>;
>  
>  			resets = <&gcc GCC_PCIE_0_BCR>;
> @@ -1744,16 +1744,16 @@ pcie0_phy: phy@1c06000 {
>  		pcie1: pci@1c08000 {
>  			device_type = "pci";
>  			compatible = "qcom,pcie-sm8550";
> -			reg = <0x0 0x01c08000 0x0 0x3000>,
> -			      <0x0 0x40000000 0x0 0xf1d>,
> -			      <0x0 0x40000f20 0x0 0xa8>,
> -			      <0x0 0x40001000 0x0 0x1000>,
> -			      <0x0 0x40100000 0x0 0x100000>;
> +			reg = <0 0x01c08000 0 0x3000>,
> +			      <0 0x40000000 0 0xf1d>,
> +			      <0 0x40000f20 0 0xa8>,
> +			      <0 0x40001000 0 0x1000>,
> +			      <0 0x40100000 0 0x100000>;
>  			reg-names = "parf", "dbi", "elbi", "atu", "config";
>  			#address-cells = <3>;
>  			#size-cells = <2>;
> -			ranges = <0x01000000 0x0 0x40200000 0 0x40200000 0x0 0x100000>,
> -				 <0x02000000 0x0 0x40300000 0 0x40300000 0x0 0x1fd00000>;
> +			ranges = <0x01000000 0 0x40200000 0 0x40200000 0 0x100000>,
> +				 <0x02000000 0 0x40300000 0 0x40300000 0 0x1fd00000>;
>  			bus-range = <0x00 0xff>;
>  
>  			dma-coherent;
> @@ -1797,7 +1797,7 @@ pcie1: pci@1c08000 {
>  			interconnects = <&pcie_noc MASTER_PCIE_1 0 &mc_virt SLAVE_EBI1 0>;
>  
>  			iommus = <&apps_smmu 0x1480 0x7f>;
> -			iommu-map = <0x0   &apps_smmu 0x1480 0x1>,
> +			iommu-map = <0     &apps_smmu 0x1480 0x1>,
>  				    <0x100 &apps_smmu 0x1481 0x1>;
>  
>  			resets = <&gcc GCC_PCIE_1_BCR>,
> @@ -1821,7 +1821,7 @@ pcie1: pci@1c08000 {
>  
>  		pcie1_phy: phy@1c0e000 {
>  			compatible = "qcom,sm8550-qmp-gen4x2-pcie-phy";
> -			reg = <0x0 0x01c0e000 0x0 0x2000>;
> +			reg = <0 0x01c0e000 0 0x2000>;
>  
>  			clocks = <&gcc GCC_PCIE_1_AUX_CLK>,
>  				 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
> @@ -1851,7 +1851,7 @@ pcie1_phy: phy@1c0e000 {
>  
>  		cryptobam: dma-controller@1dc4000 {
>  			compatible = "qcom,bam-v1.7.0";
> -			reg = <0x0 0x01dc4000 0x0 0x28000>;
> +			reg = <0 0x01dc4000 0 0x28000>;
>  			interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
>  			#dma-cells = <1>;
>  			qcom,ee = <0>;
> @@ -1862,7 +1862,7 @@ cryptobam: dma-controller@1dc4000 {
>  
>  		crypto: crypto@1de0000 {
>  			compatible = "qcom,sm8550-qce";
> -			reg = <0x0 0x01dfa000 0x0 0x6000>;
> +			reg = <0 0x01dfa000 0 0x6000>;
>  			dmas = <&cryptobam 4>, <&cryptobam 5>;
>  			dma-names = "rx", "tx";
>  			iommus = <&apps_smmu 0x480 0x0>,
> @@ -1873,7 +1873,7 @@ crypto: crypto@1de0000 {
>  
>  		ufs_mem_phy: phy@1d80000 {
>  			compatible = "qcom,sm8550-qmp-ufs-phy";
> -			reg = <0x0 0x01d80000 0x0 0x2000>;
> +			reg = <0 0x01d80000 0 0x2000>;
>  			clocks = <&tcsr TCSR_UFS_CLKREF_EN>,
>  				 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
>  			clock-names = "ref", "ref_aux";
> @@ -1892,7 +1892,7 @@ ufs_mem_phy: phy@1d80000 {
>  		ufs_mem_hc: ufs@1d84000 {
>  			compatible = "qcom,sm8550-ufshc", "qcom,ufshc",
>  				     "jedec,ufs-2.0";
> -			reg = <0x0 0x01d84000 0x0 0x3000>;
> +			reg = <0 0x01d84000 0 0x3000>;
>  			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
>  			phys = <&ufs_mem_phy>;
>  			phy-names = "ufsphy";
> @@ -1954,7 +1954,7 @@ tcsr: clock-controller@1fc0000 {
>  
>  		remoteproc_mpss: remoteproc@4080000 {
>  			compatible = "qcom,sm8550-mpss-pas";
> -			reg = <0x0 0x04080000 0x0 0x4040>;
> +			reg = <0 0x04080000 0 0x4040>;
>  
>  			interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>,
>  					      <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>,
> @@ -2383,7 +2383,7 @@ dispcc: clock-controller@af00000 {
>  
>  		usb_1_hsphy: phy@88e3000 {
>  			compatible = "qcom,sm8550-snps-eusb2-phy";
> -			reg = <0x0 0x088e3000 0x0 0x154>;
> +			reg = <0 0x088e3000 0 0x154>;
>  			#phy-cells = <0>;
>  
>  			clocks = <&tcsr TCSR_USB2_CLKREF_EN>;
> @@ -2396,7 +2396,7 @@ usb_1_hsphy: phy@88e3000 {
>  
>  		usb_dp_qmpphy: phy@88e8000 {
>  			compatible = "qcom,sm8550-qmp-usb3-dp-phy";
> -			reg = <0x0 0x088e8000 0x0 0x3000>;
> +			reg = <0 0x088e8000 0 0x3000>;
>  
>  			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
>  				 <&rpmhcc RPMH_CXO_CLK>,
> @@ -2418,7 +2418,7 @@ usb_dp_qmpphy: phy@88e8000 {
>  
>  		usb_1: usb@a6f8800 {
>  			compatible = "qcom,sm8550-dwc3", "qcom,dwc3";
> -			reg = <0x0 0x0a6f8800 0x0 0x400>;
> +			reg = <0 0x0a6f8800 0 0x400>;
>  			#address-cells = <2>;
>  			#size-cells = <2>;
>  			ranges;
> @@ -2458,7 +2458,7 @@ usb_1: usb@a6f8800 {
>  
>  			usb_1_dwc3: usb@a600000 {
>  				compatible = "snps,dwc3";
> -				reg = <0x0 0x0a600000 0x0 0xcd00>;
> +				reg = <0 0x0a600000 0 0xcd00>;
>  				interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
>  				iommus = <&apps_smmu 0x40 0x0>;
>  				snps,dis_u2_susphy_quirk;
> @@ -3444,7 +3444,7 @@ system-cache-controller@25000000 {
>  
>  		remoteproc_adsp: remoteproc@30000000 {
>  			compatible = "qcom,sm8550-adsp-pas";
> -			reg = <0x0 0x30000000 0x0 0x100>;
> +			reg = <0 0x30000000 0 0x100>;
>  
>  			interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
>  					      <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
> @@ -3576,7 +3576,7 @@ nsp_noc: interconnect@320c0000 {
>  
>  		remoteproc_cdsp: remoteproc@32300000 {
>  			compatible = "qcom,sm8550-cdsp-pas";
> -			reg = <0x0 0x32300000 0x0 0x1400000>;
> +			reg = <0 0x32300000 0 0x1400000>;
>  
>  			interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
>  					      <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,
> 



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux