linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the net-next tree with the rockchip tree
@ 2017-08-22  1:24 Stephen Rothwell
  2017-09-04  5:26 ` Stephen Rothwell
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2017-08-22  1:24 UTC (permalink / raw)
  To: David Miller, Networking, Heiko Stuebner
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, David Wu,
	Rocky Hao, Joseph Chen

Hi all,

Today's linux-next merge of the net-next tree got a conflict in:

  arch/arm64/boot/dts/rockchip/rk3328-evb.dts

between commits:

  ab78718bda79 ("arm64: dts: rockchip: Enable tsadc module on RK3328 eavluation board")
  1e28037ec88e ("arm64: dts: rockchip: add rk805 node for rk3328-evb")

from the rockchip tree and commit:

  4b05bc6157eb ("ARM64: dts: rockchip: Enable gmac2phy for rk3328-evb")

from the net-next tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc arch/arm64/boot/dts/rockchip/rk3328-evb.dts
index 86605ae7b6f5,b9f36dad17e6..000000000000
--- a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
@@@ -51,147 -51,24 +51,164 @@@
  		stdout-path = "serial2:1500000n8";
  	};
  
 +	dc_12v: dc-12v {
 +		compatible = "regulator-fixed";
 +		regulator-name = "dc_12v";
 +		regulator-always-on;
 +		regulator-boot-on;
 +		regulator-min-microvolt = <12000000>;
 +		regulator-max-microvolt = <12000000>;
 +	};
 +
+ 	vcc_phy: vcc-phy-regulator {
+ 		compatible = "regulator-fixed";
+ 		regulator-name = "vcc_phy";
+ 		regulator-always-on;
+ 		regulator-boot-on;
+ 	};
++
 +	vcc_sys: vcc-sys {
 +		compatible = "regulator-fixed";
 +		regulator-name = "vcc_sys";
 +		regulator-always-on;
 +		regulator-boot-on;
 +		regulator-min-microvolt = <5000000>;
 +		regulator-max-microvolt = <5000000>;
 +		vin-supply = <&dc_12v>;
 +	};
  };
  
+ &gmac2phy {
+ 	phy-supply = <&vcc_phy>;
+ 	clock_in_out = "output";
+ 	assigned-clocks = <&cru SCLK_MAC2PHY_SRC>;
+ 	assigned-clock-rate = <50000000>;
+ 	assigned-clocks = <&cru SCLK_MAC2PHY>;
+ 	assigned-clock-parents = <&cru SCLK_MAC2PHY_SRC>;
+ 	status = "okay";
+ };
+ 
 +&i2c1 {
 +	status = "okay";
 +
 +	rk805: rk805@18 {
 +		compatible = "rockchip,rk805";
 +		reg = <0x18>;
 +		interrupt-parent = <&gpio2>;
 +		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
 +		#clock-cells = <1>;
 +		clock-output-names = "xin32k", "rk805-clkout2";
 +		gpio-controller;
 +		#gpio-cells = <2>;
 +		pinctrl-names = "default";
 +		pinctrl-0 = <&pmic_int_l>;
 +		rockchip,system-power-controller;
 +		wakeup-source;
 +
 +		vcc1-supply = <&vcc_sys>;
 +		vcc2-supply = <&vcc_sys>;
 +		vcc3-supply = <&vcc_sys>;
 +		vcc4-supply = <&vcc_sys>;
 +		vcc5-supply = <&vcc_io>;
 +		vcc6-supply = <&vcc_io>;
 +
 +		regulators {
 +			vdd_logic: DCDC_REG1 {
 +				regulator-name = "vdd_logic";
 +				regulator-min-microvolt = <712500>;
 +				regulator-max-microvolt = <1450000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <1000000>;
 +				};
 +			};
 +
 +			vdd_arm: DCDC_REG2 {
 +				regulator-name = "vdd_arm";
 +				regulator-min-microvolt = <712500>;
 +				regulator-max-microvolt = <1450000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <950000>;
 +				};
 +			};
 +
 +			vcc_ddr: DCDC_REG3 {
 +				regulator-name = "vcc_ddr";
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +				};
 +			};
 +
 +			vcc_io: DCDC_REG4 {
 +				regulator-name = "vcc_io";
 +				regulator-min-microvolt = <3300000>;
 +				regulator-max-microvolt = <3300000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <3300000>;
 +				};
 +			};
 +
 +			vcc_18: LDO_REG1 {
 +				regulator-name = "vcc_18";
 +				regulator-min-microvolt = <1800000>;
 +				regulator-max-microvolt = <1800000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <1800000>;
 +				};
 +			};
 +
 +			vcc18_emmc: LDO_REG2 {
 +				regulator-name = "vcc18_emmc";
 +				regulator-min-microvolt = <1800000>;
 +				regulator-max-microvolt = <1800000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <1800000>;
 +				};
 +			};
 +
 +			vdd_10: LDO_REG3 {
 +				regulator-name = "vdd_10";
 +				regulator-min-microvolt = <1000000>;
 +				regulator-max-microvolt = <1000000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <1000000>;
 +				};
 +			};
 +		};
 +	};
 +};
 +
 +&pinctrl {
 +	pmic {
 +		pmic_int_l: pmic-int-l {
 +			rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
 +		};
 +	};
 +};
 +
 +&tsadc {
 +	status = "okay";
 +};
 +
  &uart2 {
  	status = "okay";
  };

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-next: manual merge of the net-next tree with the rockchip tree
  2017-08-22  1:24 linux-next: manual merge of the net-next tree with the rockchip tree Stephen Rothwell
@ 2017-09-04  5:26 ` Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2017-09-04  5:26 UTC (permalink / raw)
  To: David Miller, Networking, Heiko Stuebner, Olof Johansson,
	Arnd Bergmann, ARM
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, David Wu,
	Rocky Hao, Joseph Chen

Hi all,

On Tue, 22 Aug 2017 11:24:14 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the net-next tree got a conflict in:
> 
>   arch/arm64/boot/dts/rockchip/rk3328-evb.dts
> 
> between commits:
> 
>   ab78718bda79 ("arm64: dts: rockchip: Enable tsadc module on RK3328 eavluation board")
>   1e28037ec88e ("arm64: dts: rockchip: add rk805 node for rk3328-evb")
> 
> from the rockchip tree and commit:
> 
>   4b05bc6157eb ("ARM64: dts: rockchip: Enable gmac2phy for rk3328-evb")
> 
> from the net-next tree.
> 
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging.  You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
> 
> -- 
> Cheers,
> Stephen Rothwell
> 
> diff --cc arch/arm64/boot/dts/rockchip/rk3328-evb.dts
> index 86605ae7b6f5,b9f36dad17e6..000000000000
> --- a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
> @@@ -51,147 -51,24 +51,164 @@@
>   		stdout-path = "serial2:1500000n8";
>   	};
>   
>  +	dc_12v: dc-12v {
>  +		compatible = "regulator-fixed";
>  +		regulator-name = "dc_12v";
>  +		regulator-always-on;
>  +		regulator-boot-on;
>  +		regulator-min-microvolt = <12000000>;
>  +		regulator-max-microvolt = <12000000>;
>  +	};
>  +
> + 	vcc_phy: vcc-phy-regulator {
> + 		compatible = "regulator-fixed";
> + 		regulator-name = "vcc_phy";
> + 		regulator-always-on;
> + 		regulator-boot-on;
> + 	};
> ++
>  +	vcc_sys: vcc-sys {
>  +		compatible = "regulator-fixed";
>  +		regulator-name = "vcc_sys";
>  +		regulator-always-on;
>  +		regulator-boot-on;
>  +		regulator-min-microvolt = <5000000>;
>  +		regulator-max-microvolt = <5000000>;
>  +		vin-supply = <&dc_12v>;
>  +	};
>   };
>   
> + &gmac2phy {
> + 	phy-supply = <&vcc_phy>;
> + 	clock_in_out = "output";
> + 	assigned-clocks = <&cru SCLK_MAC2PHY_SRC>;
> + 	assigned-clock-rate = <50000000>;
> + 	assigned-clocks = <&cru SCLK_MAC2PHY>;
> + 	assigned-clock-parents = <&cru SCLK_MAC2PHY_SRC>;
> + 	status = "okay";
> + };
> + 
>  +&i2c1 {
>  +	status = "okay";
>  +
>  +	rk805: rk805@18 {
>  +		compatible = "rockchip,rk805";
>  +		reg = <0x18>;
>  +		interrupt-parent = <&gpio2>;
>  +		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
>  +		#clock-cells = <1>;
>  +		clock-output-names = "xin32k", "rk805-clkout2";
>  +		gpio-controller;
>  +		#gpio-cells = <2>;
>  +		pinctrl-names = "default";
>  +		pinctrl-0 = <&pmic_int_l>;
>  +		rockchip,system-power-controller;
>  +		wakeup-source;
>  +
>  +		vcc1-supply = <&vcc_sys>;
>  +		vcc2-supply = <&vcc_sys>;
>  +		vcc3-supply = <&vcc_sys>;
>  +		vcc4-supply = <&vcc_sys>;
>  +		vcc5-supply = <&vcc_io>;
>  +		vcc6-supply = <&vcc_io>;
>  +
>  +		regulators {
>  +			vdd_logic: DCDC_REG1 {
>  +				regulator-name = "vdd_logic";
>  +				regulator-min-microvolt = <712500>;
>  +				regulator-max-microvolt = <1450000>;
>  +				regulator-always-on;
>  +				regulator-boot-on;
>  +				regulator-state-mem {
>  +					regulator-on-in-suspend;
>  +					regulator-suspend-microvolt = <1000000>;
>  +				};
>  +			};
>  +
>  +			vdd_arm: DCDC_REG2 {
>  +				regulator-name = "vdd_arm";
>  +				regulator-min-microvolt = <712500>;
>  +				regulator-max-microvolt = <1450000>;
>  +				regulator-always-on;
>  +				regulator-boot-on;
>  +				regulator-state-mem {
>  +					regulator-on-in-suspend;
>  +					regulator-suspend-microvolt = <950000>;
>  +				};
>  +			};
>  +
>  +			vcc_ddr: DCDC_REG3 {
>  +				regulator-name = "vcc_ddr";
>  +				regulator-always-on;
>  +				regulator-boot-on;
>  +				regulator-state-mem {
>  +					regulator-on-in-suspend;
>  +				};
>  +			};
>  +
>  +			vcc_io: DCDC_REG4 {
>  +				regulator-name = "vcc_io";
>  +				regulator-min-microvolt = <3300000>;
>  +				regulator-max-microvolt = <3300000>;
>  +				regulator-always-on;
>  +				regulator-boot-on;
>  +				regulator-state-mem {
>  +					regulator-on-in-suspend;
>  +					regulator-suspend-microvolt = <3300000>;
>  +				};
>  +			};
>  +
>  +			vcc_18: LDO_REG1 {
>  +				regulator-name = "vcc_18";
>  +				regulator-min-microvolt = <1800000>;
>  +				regulator-max-microvolt = <1800000>;
>  +				regulator-always-on;
>  +				regulator-boot-on;
>  +				regulator-state-mem {
>  +					regulator-on-in-suspend;
>  +					regulator-suspend-microvolt = <1800000>;
>  +				};
>  +			};
>  +
>  +			vcc18_emmc: LDO_REG2 {
>  +				regulator-name = "vcc18_emmc";
>  +				regulator-min-microvolt = <1800000>;
>  +				regulator-max-microvolt = <1800000>;
>  +				regulator-always-on;
>  +				regulator-boot-on;
>  +				regulator-state-mem {
>  +					regulator-on-in-suspend;
>  +					regulator-suspend-microvolt = <1800000>;
>  +				};
>  +			};
>  +
>  +			vdd_10: LDO_REG3 {
>  +				regulator-name = "vdd_10";
>  +				regulator-min-microvolt = <1000000>;
>  +				regulator-max-microvolt = <1000000>;
>  +				regulator-always-on;
>  +				regulator-boot-on;
>  +				regulator-state-mem {
>  +					regulator-on-in-suspend;
>  +					regulator-suspend-microvolt = <1000000>;
>  +				};
>  +			};
>  +		};
>  +	};
>  +};
>  +
>  +&pinctrl {
>  +	pmic {
>  +		pmic_int_l: pmic-int-l {
>  +			rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
>  +		};
>  +	};
>  +};
>  +
>  +&tsadc {
>  +	status = "okay";
>  +};
>  +
>   &uart2 {
>   	status = "okay";
>   };

Just a reminder that these conflicts still exist.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 5+ messages in thread

* linux-next: manual merge of the net-next tree with the rockchip tree
@ 2022-06-16  1:16 Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2022-06-16  1:16 UTC (permalink / raw)
  To: David Miller, Networking, Heiko Stuebner
  Cc: Frank Wunderlich, Jakub Kicinski, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1964 bytes --]

Hi all,

Today's linux-next merge of the net-next tree got a conflict in:

  arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts

between commit:

  f48387c005fa ("arm64: dts: rockchip: Enable HDMI audio on BPI R2 Pro")

from the rockchip tree and commit:

  c1804463e5c6 ("arm64: dts: rockchip: Add mt7531 dsa node to BPI-R2-Pro board")

from the net-next tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
index 1d3ffbf3cde8,7df8cfb1d3b9..000000000000
--- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
@@@ -453,11 -394,54 +453,59 @@@
  	status = "disabled";
  };
  
 +&i2s0_8ch {
 +	/* hdmi sound */
 +	status = "okay";
 +};
 +
+ &mdio0 {
+ 	#address-cells = <1>;
+ 	#size-cells = <0>;
+ 
+ 	switch@0 {
+ 		compatible = "mediatek,mt7531";
+ 		reg = <0>;
+ 
+ 		ports {
+ 			#address-cells = <1>;
+ 			#size-cells = <0>;
+ 
+ 			port@1 {
+ 				reg = <1>;
+ 				label = "lan0";
+ 			};
+ 
+ 			port@2 {
+ 				reg = <2>;
+ 				label = "lan1";
+ 			};
+ 
+ 			port@3 {
+ 				reg = <3>;
+ 				label = "lan2";
+ 			};
+ 
+ 			port@4 {
+ 				reg = <4>;
+ 				label = "lan3";
+ 			};
+ 
+ 			port@5 {
+ 				reg = <5>;
+ 				label = "cpu";
+ 				ethernet = <&gmac0>;
+ 				phy-mode = "rgmii";
+ 
+ 				fixed-link {
+ 					speed = <1000>;
+ 					full-duplex;
+ 					pause;
+ 				};
+ 			};
+ 		};
+ 	};
+ };
+ 
  &mdio1 {
  	rgmii_phy1: ethernet-phy@0 {
  		compatible = "ethernet-phy-ieee802.3-c22";

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* linux-next: manual merge of the net-next tree with the rockchip tree
@ 2017-08-28  1:33 Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2017-08-28  1:33 UTC (permalink / raw)
  To: David Miller, Networking, Heiko Stuebner
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, David Wu, Liang Chen

Hi all,

Today's linux-next merge of the net-next tree got a conflict in:

  arch/arm64/boot/dts/rockchip/rk3328-evb.dts

between commit:

  0e54e062692a ("arm64: dts: rockchip: add mmc nodes for rk3328 evaluation board")
  57fca160b2be ("arm64: dts: rockchip: add cpu regulator for rk3328 evaluation board")

from the rockchip tree and commit:

  4b05bc6157eb ("ARM64: dts: rockchip: Enable gmac2phy for rk3328-evb")

from the net-next tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc arch/arm64/boot/dts/rockchip/rk3328-evb.dts
index f82b2d0d9e86,b9f36dad17e6..000000000000
--- a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
@@@ -51,217 -51,24 +51,234 @@@
  		stdout-path = "serial2:1500000n8";
  	};
  
 +	dc_12v: dc-12v {
 +		compatible = "regulator-fixed";
 +		regulator-name = "dc_12v";
 +		regulator-always-on;
 +		regulator-boot-on;
 +		regulator-min-microvolt = <12000000>;
 +		regulator-max-microvolt = <12000000>;
 +	};
 +
 +	sdio_pwrseq: sdio-pwrseq {
 +		compatible = "mmc-pwrseq-simple";
 +		pinctrl-names = "default";
 +		pinctrl-0 = <&wifi_enable_h>;
 +
 +		/*
 +		 * On the module itself this is one of these (depending
 +		 * on the actual card populated):
 +		 * - SDIO_RESET_L_WL_REG_ON
 +		 * - PDN (power down when low)
 +		 */
 +		reset-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
 +	};
 +
+ 	vcc_phy: vcc-phy-regulator {
+ 		compatible = "regulator-fixed";
+ 		regulator-name = "vcc_phy";
+ 		regulator-always-on;
+ 		regulator-boot-on;
+ 	};
++
 +	vcc_sys: vcc-sys {
 +		compatible = "regulator-fixed";
 +		regulator-name = "vcc_sys";
 +		regulator-always-on;
 +		regulator-boot-on;
 +		regulator-min-microvolt = <5000000>;
 +		regulator-max-microvolt = <5000000>;
 +		vin-supply = <&dc_12v>;
 +	};
 +
 +	vcc_sd: sdmmc-regulator {
 +		compatible = "regulator-fixed";
 +		gpio = <&gpio0 30 GPIO_ACTIVE_LOW>;
 +		pinctrl-names = "default";
 +		pinctrl-0 = <&sdmmc0m1_gpio>;
 +		regulator-name = "vcc_sd";
 +		regulator-min-microvolt = <3300000>;
 +		regulator-max-microvolt = <3300000>;
 +		vin-supply = <&vcc_io>;
 +	};
 +};
 +
 +&cpu0 {
 +	cpu-supply = <&vdd_arm>;
 +};
 +
 +&emmc {
 +	bus-width = <8>;
 +	cap-mmc-highspeed;
 +	non-removable;
 +	pinctrl-names = "default";
 +	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
 +	status = "okay";
  };
  
+ &gmac2phy {
+ 	phy-supply = <&vcc_phy>;
+ 	clock_in_out = "output";
+ 	assigned-clocks = <&cru SCLK_MAC2PHY_SRC>;
+ 	assigned-clock-rate = <50000000>;
+ 	assigned-clocks = <&cru SCLK_MAC2PHY>;
+ 	assigned-clock-parents = <&cru SCLK_MAC2PHY_SRC>;
+ 	status = "okay";
+ };
+ 
 +&i2c1 {
 +	status = "okay";
 +
 +	rk805: rk805@18 {
 +		compatible = "rockchip,rk805";
 +		reg = <0x18>;
 +		interrupt-parent = <&gpio2>;
 +		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
 +		#clock-cells = <1>;
 +		clock-output-names = "xin32k", "rk805-clkout2";
 +		gpio-controller;
 +		#gpio-cells = <2>;
 +		pinctrl-names = "default";
 +		pinctrl-0 = <&pmic_int_l>;
 +		rockchip,system-power-controller;
 +		wakeup-source;
 +
 +		vcc1-supply = <&vcc_sys>;
 +		vcc2-supply = <&vcc_sys>;
 +		vcc3-supply = <&vcc_sys>;
 +		vcc4-supply = <&vcc_sys>;
 +		vcc5-supply = <&vcc_io>;
 +		vcc6-supply = <&vcc_io>;
 +
 +		regulators {
 +			vdd_logic: DCDC_REG1 {
 +				regulator-name = "vdd_logic";
 +				regulator-min-microvolt = <712500>;
 +				regulator-max-microvolt = <1450000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <1000000>;
 +				};
 +			};
 +
 +			vdd_arm: DCDC_REG2 {
 +				regulator-name = "vdd_arm";
 +				regulator-min-microvolt = <712500>;
 +				regulator-max-microvolt = <1450000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <950000>;
 +				};
 +			};
 +
 +			vcc_ddr: DCDC_REG3 {
 +				regulator-name = "vcc_ddr";
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +				};
 +			};
 +
 +			vcc_io: DCDC_REG4 {
 +				regulator-name = "vcc_io";
 +				regulator-min-microvolt = <3300000>;
 +				regulator-max-microvolt = <3300000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <3300000>;
 +				};
 +			};
 +
 +			vcc_18: LDO_REG1 {
 +				regulator-name = "vcc_18";
 +				regulator-min-microvolt = <1800000>;
 +				regulator-max-microvolt = <1800000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <1800000>;
 +				};
 +			};
 +
 +			vcc18_emmc: LDO_REG2 {
 +				regulator-name = "vcc18_emmc";
 +				regulator-min-microvolt = <1800000>;
 +				regulator-max-microvolt = <1800000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <1800000>;
 +				};
 +			};
 +
 +			vdd_10: LDO_REG3 {
 +				regulator-name = "vdd_10";
 +				regulator-min-microvolt = <1000000>;
 +				regulator-max-microvolt = <1000000>;
 +				regulator-always-on;
 +				regulator-boot-on;
 +				regulator-state-mem {
 +					regulator-on-in-suspend;
 +					regulator-suspend-microvolt = <1000000>;
 +				};
 +			};
 +		};
 +	};
 +};
 +
 +&pinctrl {
 +	pmic {
 +		pmic_int_l: pmic-int-l {
 +			rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
 +		};
 +	};
 +
 +	sdio-pwrseq {
 +		wifi_enable_h: wifi-enable-h {
 +		rockchip,pins =
 +			<1 18 RK_FUNC_GPIO &pcfg_pull_none>;
 +		};
 +	};
 +};
 +
 +&sdio {
 +	bus-width = <4>;
 +	cap-sd-highspeed;
 +	cap-sdio-irq;
 +	keep-power-in-suspend;
 +	max-frequency = <150000000>;
 +	mmc-pwrseq = <&sdio_pwrseq>;
 +	non-removable;
 +	pinctrl-names = "default";
 +	pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
 +	status = "okay";
 +};
 +
 +&sdmmc {
 +	bus-width = <4>;
 +	cap-mmc-highspeed;
 +	cap-sd-highspeed;
 +	disable-wp;
 +	max-frequency = <150000000>;
 +	pinctrl-names = "default";
 +	pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
 +	vmmc-supply = <&vcc_sd>;
 +	status = "okay";
 +};
 +
 +&tsadc {
 +	status = "okay";
 +};
 +
  &uart2 {
  	status = "okay";
  };

^ permalink raw reply	[flat|nested] 5+ messages in thread

* linux-next: manual merge of the net-next tree with the rockchip tree
@ 2017-08-15  1:52 Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2017-08-15  1:52 UTC (permalink / raw)
  To: David Miller, Networking, Heiko Stuebner
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, William Wu, David Wu

Hi all,

Today's linux-next merge of the net-next tree got a conflict in:

  arch/arm64/boot/dts/rockchip/rk3328.dtsi

between commit:

  c60c0373a5e8 ("arm64: dts: rockchip: add usb2 nodes for RK3328 SoCs")

from the rockchip tree and commit:

  9c4cc910fe28 ("ARM64: dts: rockchip: Add gmac2phy node support for rk3328")

from the net-next tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc arch/arm64/boot/dts/rockchip/rk3328.dtsi
index e6da0cee1241,d48bf5d9f8bd..000000000000
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@@ -616,45 -426,43 +618,82 @@@
  		status = "disabled";
  	};
  
+ 	gmac2phy: ethernet@ff550000 {
+ 		compatible = "rockchip,rk3328-gmac";
+ 		reg = <0x0 0xff550000 0x0 0x10000>;
+ 		rockchip,grf = <&grf>;
+ 		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+ 		interrupt-names = "macirq";
+ 		clocks = <&cru SCLK_MAC2PHY_SRC>, <&cru SCLK_MAC2PHY_RXTX>,
+ 			 <&cru SCLK_MAC2PHY_RXTX>, <&cru SCLK_MAC2PHY_REF>,
+ 			 <&cru ACLK_MAC2PHY>, <&cru PCLK_MAC2PHY>,
+ 			 <&cru SCLK_MAC2PHY_OUT>;
+ 		clock-names = "stmmaceth", "mac_clk_rx",
+ 			      "mac_clk_tx", "clk_mac_ref",
+ 			      "aclk_mac", "pclk_mac",
+ 			      "clk_macphy";
+ 		resets = <&cru SRST_GMAC2PHY_A>, <&cru SRST_MACPHY>;
+ 		reset-names = "stmmaceth", "mac-phy";
+ 		phy-mode = "rmii";
+ 		phy-handle = <&phy>;
+ 		status = "disabled";
+ 
+ 		mdio {
+ 			compatible = "snps,dwmac-mdio";
+ 			#address-cells = <1>;
+ 			#size-cells = <0>;
+ 
+ 			phy: phy@0 {
+ 				compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22";
+ 				reg = <0>;
+ 				clocks = <&cru SCLK_MAC2PHY_OUT>;
+ 				resets = <&cru SRST_MACPHY>;
+ 				pinctrl-names = "default";
+ 				pinctrl-0 = <&fephyled_rxm1 &fephyled_linkm1>;
+ 				phy-is-integrated;
+ 			};
+ 		};
+ 	};
+ 
 +	usb20_otg: usb@ff580000 {
 +		compatible = "rockchip,rk3328-usb", "rockchip,rk3066-usb",
 +			     "snps,dwc2";
 +		reg = <0x0 0xff580000 0x0 0x40000>;
 +		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
 +		clocks = <&cru HCLK_OTG>;
 +		clock-names = "otg";
 +		dr_mode = "otg";
 +		g-np-tx-fifo-size = <16>;
 +		g-rx-fifo-size = <280>;
 +		g-tx-fifo-size = <256 128 128 64 32 16>;
 +		g-use-dma;
 +		phys = <&u2phy_otg>;
 +		phy-names = "usb2-phy";
 +		status = "disabled";
 +	};
 +
 +	usb_host0_ehci: usb@ff5c0000 {
 +		compatible = "generic-ehci";
 +		reg = <0x0 0xff5c0000 0x0 0x10000>;
 +		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
 +		clocks = <&cru HCLK_HOST0>, <&u2phy>;
 +		clock-names = "usbhost", "utmi";
 +		phys = <&u2phy_host>;
 +		phy-names = "usb";
 +		status = "disabled";
 +	};
 +
 +	usb_host0_ohci: usb@ff5d0000 {
 +		compatible = "generic-ohci";
 +		reg = <0x0 0xff5d0000 0x0 0x10000>;
 +		interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
 +		clocks = <&cru HCLK_HOST0>, <&u2phy>;
 +		clock-names = "usbhost", "utmi";
 +		phys = <&u2phy_host>;
 +		phy-names = "usb";
 +		status = "disabled";
 +	};
 +
  	gic: interrupt-controller@ff811000 {
  		compatible = "arm,gic-400";
  		#interrupt-cells = <3>;

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-16  1:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-22  1:24 linux-next: manual merge of the net-next tree with the rockchip tree Stephen Rothwell
2017-09-04  5:26 ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2022-06-16  1:16 Stephen Rothwell
2017-08-28  1:33 Stephen Rothwell
2017-08-15  1:52 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).