* [PATCH v2] arm: dts: mt7623: add otg nodes for bpi-r2
@ 2021-08-30 14:59 ` Frank Wunderlich
0 siblings, 0 replies; 7+ messages in thread
From: Frank Wunderlich @ 2021-08-30 14:59 UTC (permalink / raw)
To: linux-mediatek
Cc: Frank Wunderlich, Rob Herring, Matthias Brugger, devicetree,
linux-arm-kernel, linux-kernel
From: Frank Wunderlich <frank-w@public-files.de>
Add OTG-Nodes for BananaPi-R2
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
patch is based on
"arm: dts: mt7623: add musb device nodes"
https://patchwork.kernel.org/project/linux-mediatek/patch/20210822041333.5264-2-mans0n@gorani.run/
---
v2:
rebase on plain 5.14, v1 was based on some not upstreamed work
---
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
index e96aa0ed1ebd..027c1b0c6a98 100644
--- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
+++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
@@ -366,6 +366,14 @@ &pcie1_phy {
status = "okay";
};
+&pio {
+ musb_pins: musb {
+ pins-musb {
+ pinmux = <MT7623_PIN_237_EXT_SDIO2_FUNC_DRV_VBUS>;
+ };
+ };
+};
+
&pwm {
pinctrl-names = "default";
pinctrl-0 = <&pwm_pins_a>;
@@ -396,6 +404,19 @@ &uart2 {
status = "okay";
};
+&usb0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&musb_pins>;
+ status = "okay";
+ usb-role-switch;
+
+ connector {
+ compatible = "gpio-usb-b-connector", "usb-b-connector";
+ type = "micro";
+ id-gpios = <&pio 44 GPIO_ACTIVE_HIGH>;
+ };
+};
+
&usb1 {
vusb33-supply = <®_3p3v>;
vbus-supply = <®_5v>;
@@ -408,6 +429,10 @@ &usb2 {
status = "okay";
};
+&u2phy1 {
+ status = "okay";
+};
+
&u3phy1 {
status = "okay";
};
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v2] arm: dts: mt7623: add otg nodes for bpi-r2
@ 2021-08-30 14:59 ` Frank Wunderlich
0 siblings, 0 replies; 7+ messages in thread
From: Frank Wunderlich @ 2021-08-30 14:59 UTC (permalink / raw)
To: linux-mediatek
Cc: Frank Wunderlich, Rob Herring, Matthias Brugger, devicetree,
linux-arm-kernel, linux-kernel
From: Frank Wunderlich <frank-w@public-files.de>
Add OTG-Nodes for BananaPi-R2
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
patch is based on
"arm: dts: mt7623: add musb device nodes"
https://patchwork.kernel.org/project/linux-mediatek/patch/20210822041333.5264-2-mans0n@gorani.run/
---
v2:
rebase on plain 5.14, v1 was based on some not upstreamed work
---
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
index e96aa0ed1ebd..027c1b0c6a98 100644
--- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
+++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
@@ -366,6 +366,14 @@ &pcie1_phy {
status = "okay";
};
+&pio {
+ musb_pins: musb {
+ pins-musb {
+ pinmux = <MT7623_PIN_237_EXT_SDIO2_FUNC_DRV_VBUS>;
+ };
+ };
+};
+
&pwm {
pinctrl-names = "default";
pinctrl-0 = <&pwm_pins_a>;
@@ -396,6 +404,19 @@ &uart2 {
status = "okay";
};
+&usb0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&musb_pins>;
+ status = "okay";
+ usb-role-switch;
+
+ connector {
+ compatible = "gpio-usb-b-connector", "usb-b-connector";
+ type = "micro";
+ id-gpios = <&pio 44 GPIO_ACTIVE_HIGH>;
+ };
+};
+
&usb1 {
vusb33-supply = <®_3p3v>;
vbus-supply = <®_5v>;
@@ -408,6 +429,10 @@ &usb2 {
status = "okay";
};
+&u2phy1 {
+ status = "okay";
+};
+
&u3phy1 {
status = "okay";
};
--
2.25.1
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v2] arm: dts: mt7623: add otg nodes for bpi-r2
@ 2021-08-30 14:59 ` Frank Wunderlich
0 siblings, 0 replies; 7+ messages in thread
From: Frank Wunderlich @ 2021-08-30 14:59 UTC (permalink / raw)
To: linux-mediatek
Cc: Frank Wunderlich, Rob Herring, Matthias Brugger, devicetree,
linux-arm-kernel, linux-kernel
From: Frank Wunderlich <frank-w@public-files.de>
Add OTG-Nodes for BananaPi-R2
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
patch is based on
"arm: dts: mt7623: add musb device nodes"
https://patchwork.kernel.org/project/linux-mediatek/patch/20210822041333.5264-2-mans0n@gorani.run/
---
v2:
rebase on plain 5.14, v1 was based on some not upstreamed work
---
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
index e96aa0ed1ebd..027c1b0c6a98 100644
--- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
+++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
@@ -366,6 +366,14 @@ &pcie1_phy {
status = "okay";
};
+&pio {
+ musb_pins: musb {
+ pins-musb {
+ pinmux = <MT7623_PIN_237_EXT_SDIO2_FUNC_DRV_VBUS>;
+ };
+ };
+};
+
&pwm {
pinctrl-names = "default";
pinctrl-0 = <&pwm_pins_a>;
@@ -396,6 +404,19 @@ &uart2 {
status = "okay";
};
+&usb0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&musb_pins>;
+ status = "okay";
+ usb-role-switch;
+
+ connector {
+ compatible = "gpio-usb-b-connector", "usb-b-connector";
+ type = "micro";
+ id-gpios = <&pio 44 GPIO_ACTIVE_HIGH>;
+ };
+};
+
&usb1 {
vusb33-supply = <®_3p3v>;
vbus-supply = <®_5v>;
@@ -408,6 +429,10 @@ &usb2 {
status = "okay";
};
+&u2phy1 {
+ status = "okay";
+};
+
&u3phy1 {
status = "okay";
};
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2] arm: dts: mt7623: add otg nodes for bpi-r2
2021-08-30 14:59 ` Frank Wunderlich
(?)
(?)
@ 2021-08-30 23:14 ` kernel test robot
-1 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2021-08-30 23:14 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]
Hi Frank,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on v5.14 next-20210830]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Frank-Wunderlich/arm-dts-mt7623-add-otg-nodes-for-bpi-r2/20210830-230249
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/7373041f92320da2519f521acf7ee47c22d822e4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Frank-Wunderlich/arm-dts-mt7623-add-otg-nodes-for-bpi-r2/20210830-230249
git checkout 7373041f92320da2519f521acf7ee47c22d822e4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> Error: arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts:407.1-6 Label or path usb0 not found
>> Error: arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts:432.1-8 Label or path u2phy1 not found
FATAL ERROR: Syntax error parsing input tree
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 54071 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] arm: dts: mt7623: add otg nodes for bpi-r2
2021-08-30 14:59 ` Frank Wunderlich
(?)
@ 2021-09-20 12:01 ` Matthias Brugger
-1 siblings, 0 replies; 7+ messages in thread
From: Matthias Brugger @ 2021-09-20 12:01 UTC (permalink / raw)
To: Frank Wunderlich, linux-mediatek
Cc: Frank Wunderlich, Rob Herring, devicetree, linux-arm-kernel,
linux-kernel
On 30/08/2021 16:59, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@public-files.de>
>
> Add OTG-Nodes for BananaPi-R2
>
> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Applied to v5.15-next/dts32
Thanks
> ---
> patch is based on
>
> "arm: dts: mt7623: add musb device nodes"
>
> https://patchwork.kernel.org/project/linux-mediatek/patch/20210822041333.5264-2-mans0n@gorani.run/
> ---
> v2:
> rebase on plain 5.14, v1 was based on some not upstreamed work
> ---
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 25 +++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> index e96aa0ed1ebd..027c1b0c6a98 100644
> --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> @@ -366,6 +366,14 @@ &pcie1_phy {
> status = "okay";
> };
>
> +&pio {
> + musb_pins: musb {
> + pins-musb {
> + pinmux = <MT7623_PIN_237_EXT_SDIO2_FUNC_DRV_VBUS>;
> + };
> + };
> +};
> +
> &pwm {
> pinctrl-names = "default";
> pinctrl-0 = <&pwm_pins_a>;
> @@ -396,6 +404,19 @@ &uart2 {
> status = "okay";
> };
>
> +&usb0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&musb_pins>;
> + status = "okay";
> + usb-role-switch;
> +
> + connector {
> + compatible = "gpio-usb-b-connector", "usb-b-connector";
> + type = "micro";
> + id-gpios = <&pio 44 GPIO_ACTIVE_HIGH>;
> + };
> +};
> +
> &usb1 {
> vusb33-supply = <®_3p3v>;
> vbus-supply = <®_5v>;
> @@ -408,6 +429,10 @@ &usb2 {
> status = "okay";
> };
>
> +&u2phy1 {
> + status = "okay";
> +};
> +
> &u3phy1 {
> status = "okay";
> };
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] arm: dts: mt7623: add otg nodes for bpi-r2
@ 2021-09-20 12:01 ` Matthias Brugger
0 siblings, 0 replies; 7+ messages in thread
From: Matthias Brugger @ 2021-09-20 12:01 UTC (permalink / raw)
To: Frank Wunderlich, linux-mediatek
Cc: Frank Wunderlich, Rob Herring, devicetree, linux-arm-kernel,
linux-kernel
On 30/08/2021 16:59, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@public-files.de>
>
> Add OTG-Nodes for BananaPi-R2
>
> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Applied to v5.15-next/dts32
Thanks
> ---
> patch is based on
>
> "arm: dts: mt7623: add musb device nodes"
>
> https://patchwork.kernel.org/project/linux-mediatek/patch/20210822041333.5264-2-mans0n@gorani.run/
> ---
> v2:
> rebase on plain 5.14, v1 was based on some not upstreamed work
> ---
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 25 +++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> index e96aa0ed1ebd..027c1b0c6a98 100644
> --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> @@ -366,6 +366,14 @@ &pcie1_phy {
> status = "okay";
> };
>
> +&pio {
> + musb_pins: musb {
> + pins-musb {
> + pinmux = <MT7623_PIN_237_EXT_SDIO2_FUNC_DRV_VBUS>;
> + };
> + };
> +};
> +
> &pwm {
> pinctrl-names = "default";
> pinctrl-0 = <&pwm_pins_a>;
> @@ -396,6 +404,19 @@ &uart2 {
> status = "okay";
> };
>
> +&usb0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&musb_pins>;
> + status = "okay";
> + usb-role-switch;
> +
> + connector {
> + compatible = "gpio-usb-b-connector", "usb-b-connector";
> + type = "micro";
> + id-gpios = <&pio 44 GPIO_ACTIVE_HIGH>;
> + };
> +};
> +
> &usb1 {
> vusb33-supply = <®_3p3v>;
> vbus-supply = <®_5v>;
> @@ -408,6 +429,10 @@ &usb2 {
> status = "okay";
> };
>
> +&u2phy1 {
> + status = "okay";
> +};
> +
> &u3phy1 {
> status = "okay";
> };
>
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] arm: dts: mt7623: add otg nodes for bpi-r2
@ 2021-09-20 12:01 ` Matthias Brugger
0 siblings, 0 replies; 7+ messages in thread
From: Matthias Brugger @ 2021-09-20 12:01 UTC (permalink / raw)
To: Frank Wunderlich, linux-mediatek
Cc: Frank Wunderlich, Rob Herring, devicetree, linux-arm-kernel,
linux-kernel
On 30/08/2021 16:59, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@public-files.de>
>
> Add OTG-Nodes for BananaPi-R2
>
> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Applied to v5.15-next/dts32
Thanks
> ---
> patch is based on
>
> "arm: dts: mt7623: add musb device nodes"
>
> https://patchwork.kernel.org/project/linux-mediatek/patch/20210822041333.5264-2-mans0n@gorani.run/
> ---
> v2:
> rebase on plain 5.14, v1 was based on some not upstreamed work
> ---
> arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 25 +++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> index e96aa0ed1ebd..027c1b0c6a98 100644
> --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
> @@ -366,6 +366,14 @@ &pcie1_phy {
> status = "okay";
> };
>
> +&pio {
> + musb_pins: musb {
> + pins-musb {
> + pinmux = <MT7623_PIN_237_EXT_SDIO2_FUNC_DRV_VBUS>;
> + };
> + };
> +};
> +
> &pwm {
> pinctrl-names = "default";
> pinctrl-0 = <&pwm_pins_a>;
> @@ -396,6 +404,19 @@ &uart2 {
> status = "okay";
> };
>
> +&usb0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&musb_pins>;
> + status = "okay";
> + usb-role-switch;
> +
> + connector {
> + compatible = "gpio-usb-b-connector", "usb-b-connector";
> + type = "micro";
> + id-gpios = <&pio 44 GPIO_ACTIVE_HIGH>;
> + };
> +};
> +
> &usb1 {
> vusb33-supply = <®_3p3v>;
> vbus-supply = <®_5v>;
> @@ -408,6 +429,10 @@ &usb2 {
> status = "okay";
> };
>
> +&u2phy1 {
> + status = "okay";
> +};
> +
> &u3phy1 {
> status = "okay";
> };
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-09-20 12:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30 14:59 [PATCH v2] arm: dts: mt7623: add otg nodes for bpi-r2 Frank Wunderlich
2021-08-30 14:59 ` Frank Wunderlich
2021-08-30 14:59 ` Frank Wunderlich
2021-08-30 23:14 ` kernel test robot
2021-09-20 12:01 ` Matthias Brugger
2021-09-20 12:01 ` Matthias Brugger
2021-09-20 12:01 ` Matthias Brugger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.