From: Otto Meier <gf435@gmx.net>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
linux-amlogic@lists.infradead.org, u-boot-amlogic@groups.io,
Neil Armstrong <narmstrong@baylibre.com>
Subject: Re: [BUG]odroid-c2 does not hotplug usb-devices
Date: Mon, 14 Dec 2020 20:33:56 +0100 [thread overview]
Message-ID: <531138bc-d343-1081-d208-ab6c98c1ddd8@gmx.net> (raw)
In-Reply-To: <CAFBinCDv+TgEgf1g7xBTknr-aJMhC3K1wOW87-06YG4sQ9wUAg@mail.gmail.com>
Hi Martin,
Am 13.12.20 um 19:46 schrieb Martin Blumenstingl:
> Hi Otto,
>
> On Mon, Dec 7, 2020 at 1:43 PM Otto Meier <gf435@gmx.net> wrote:
> [...]
>>>> So with the latest u-boot and the kernel from https://github.com/chewitt/linux/tree/amlogic-5.10.y
>>>> commit 725fc8df7898102f9031ba2075f763884ffa3ee8 everything is working again.
>>>> USB does hotplugging as expected.
>>> So, this fixes USB under Linux ?? It's not clear
> if you have time it would be great if you could figure out which of
> the patches from Christian's tree fixes USB hotplugging for you.
> Or is it fixed in Linux 5.10-rcX even without any patches?
>
The new mainline kernel 5.10.0 from Linus, without any other patches
does detect USB hotpluging,
when using u-boot DMI: Hardkernel Co., Ltd. ODROID-C2/ODROID-C2, BIOS
2021.01-rc3-00039-gec79f5ce22-dirty 12/08/2020
and the following u-boot patch:
--- u-boot.git/arch/arm/dts/meson-gxbb.dtsi.orig 2020-11-27
17:20:04.624193561 +0100
+++ u-boot.git/arch/arm/dts/meson-gxbb.dtsi 2020-11-27
17:23:18.472088934 +0100
@@ -403,36 +403,33 @@
gpio-ranges = <&pinctrl_periphs 0 0 119>;
};
- emmc_pins: emmc {
- mux-0 {
- groups = "emmc_nand_d07",
- "emmc_cmd";
- function = "emmc";
- bias-pull-up;
- };
- mux-1 {
- groups = "emmc_clk";
- function = "emmc";
- bias-disable;
- };
- };
+ emmc_pins: emmc {
+ mux {
+ groups = "emmc_nand_d07",
+ "emmc_cmd",
+ "emmc_clk";
+ function = "emmc";
+ };
+ };
- emmc_ds_pins: emmc-ds {
- mux {
- groups = "emmc_ds";
- function = "emmc";
- bias-pull-down;
- };
- };
+ emmc_ds_pins: emmc-ds {
+ mux {
+ groups = "emmc_ds";
+ function = "emmc";
+ };
+ };
- emmc_clk_gate_pins: emmc_clk_gate {
- mux {
- groups = "BOOT_8";
- function = "gpio_periphs";
- bias-pull-down;
- };
- };
+ emmc_clk_gate_pins: emmc_clk_gate {
+ mux {
+ groups = "BOOT_8";
+ function = "gpio_periphs";
+ };
+ cfg-pull-down {
+ pins = "BOOT_8";
+ bias-pull-down;
+ };
+ };
nor_pins: nor {
mux {
When i use the last unpatched emmc bootable u-boot 2020.04 the kernel
boots, but usb hotplugging
does not work.
Hope this describes my findings. If i can help further, please give me a
note.
> Best regards,
> Martin
>
Best regards
Otto
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2020-12-14 19:34 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-28 17:09 Otto Meier
2020-12-05 11:54 ` Martin Blumenstingl
2020-12-05 17:40 ` Otto Meier
2020-12-05 19:55 ` Martin Blumenstingl
2020-12-07 12:19 ` Otto Meier
2020-12-07 12:29 ` Neil Armstrong
2020-12-07 12:43 ` Otto Meier
2020-12-13 18:46 ` Martin Blumenstingl
2020-12-14 19:33 ` Otto Meier [this message]
2020-12-19 13:58 ` Martin Blumenstingl
2020-12-19 18:41 ` Otto Meier
2020-12-19 19:53 ` Anand Moon
2020-12-19 22:31 ` Martin Blumenstingl
2020-12-20 10:28 ` Otto Meier
2020-12-20 13:46 ` Anand Moon
2020-12-20 14:33 ` Martin Blumenstingl
2020-12-21 14:15 ` Anand Moon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=531138bc-d343-1081-d208-ab6c98c1ddd8@gmx.net \
--to=gf435@gmx.net \
--cc=linux-amlogic@lists.infradead.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=narmstrong@baylibre.com \
--cc=u-boot-amlogic@groups.io \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®