* [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig
@ 2015-12-29 1:47 Timo Sigurdsson
2015-12-29 1:47 ` [PATCH 1/1 " Timo Sigurdsson
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Timo Sigurdsson @ 2015-12-29 1:47 UTC (permalink / raw)
To: arm, linux, maxime.ripard, wens, tyler.baker, info, net147,
carlo, linux-arm-kernel, linux-kernel
Cc: david, hdegoede, Timo Sigurdsson
Here is a late patch aimed for 4.4-rc8 (or 4.4). It would be nice if this
could make it into 4.4 in order to avoid unpleasent surprises (and
subsequent questions) with builds based on sunxi_defconfig. At the moment,
some boards (e.g. LeMaker BananaPi) are left with non-functional USB ports
as a newly added driver is required to power them.
Timo Sigurdsson (1):
ARM: Fix broken USB support in sunxi_defconfig
arch/arm/configs/sunxi_defconfig | 1 +
1 file changed, 1 insertion(+)
--
2.1.4
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig
2015-12-29 1:47 [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig Timo Sigurdsson
@ 2015-12-29 1:47 ` Timo Sigurdsson
2015-12-31 15:46 ` [PATCH 0/1 " Arnd Bergmann
2016-01-01 13:38 ` [PATCH for 4.4-rc8] ARM: Fix broken USB support in multi_v7_defconfig for sunxi devices Timo Sigurdsson
2 siblings, 0 replies; 11+ messages in thread
From: Timo Sigurdsson @ 2015-12-29 1:47 UTC (permalink / raw)
To: arm, linux, maxime.ripard, wens, tyler.baker, info, net147,
carlo, linux-arm-kernel, linux-kernel
Cc: david, hdegoede, Timo Sigurdsson
Commit 69fb4dcada77 ("power: Add an axp20x-usb-power driver") introduced a new
driver for the USB power supply used on various Allwinner based SBCs. However,
the driver was not added to sunxi_defconfig which breaks USB support for some
boards (e.g. LeMaker BananaPi) as the kernel will now turn off the USB power
supply during boot by default if the driver isn't present. (This was not the
case in linux 4.3 or lower where the USB power was always left on.)
Hence, add the driver to sunxi_defconfig in order to keep USB support working
on those boards that require it.
Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
Reported-by: David Tulloh <david@tulloh.id.au>
Tested-by: David Tulloh <david@tulloh.id.au>
Tested-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
---
arch/arm/configs/sunxi_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig
index 3c36e16..b503a89 100644
--- a/arch/arm/configs/sunxi_defconfig
+++ b/arch/arm/configs/sunxi_defconfig
@@ -84,6 +84,7 @@ CONFIG_SPI_SUN4I=y
CONFIG_SPI_SUN6I=y
CONFIG_GPIO_SYSFS=y
CONFIG_POWER_SUPPLY=y
+CONFIG_AXP20X_POWER=y
CONFIG_THERMAL=y
CONFIG_CPU_THERMAL=y
CONFIG_WATCHDOG=y
--
2.1.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig
2015-12-29 1:47 [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig Timo Sigurdsson
2015-12-29 1:47 ` [PATCH 1/1 " Timo Sigurdsson
@ 2015-12-31 15:46 ` Arnd Bergmann
2015-12-31 16:00 ` Maxime Ripard
2016-01-01 13:25 ` Timo Sigurdsson
2016-01-01 13:38 ` [PATCH for 4.4-rc8] ARM: Fix broken USB support in multi_v7_defconfig for sunxi devices Timo Sigurdsson
2 siblings, 2 replies; 11+ messages in thread
From: Arnd Bergmann @ 2015-12-31 15:46 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Timo Sigurdsson, arm, linux, maxime.ripard, wens, tyler.baker,
info, net147, carlo, linux-kernel, hdegoede, david
On Tuesday 29 December 2015 02:47:32 Timo Sigurdsson wrote:
> Here is a late patch aimed for 4.4-rc8 (or 4.4). It would be nice if this
> could make it into 4.4 in order to avoid unpleasent surprises (and
> subsequent questions) with builds based on sunxi_defconfig. At the moment,
> some boards (e.g. LeMaker BananaPi) are left with non-functional USB ports
> as a newly added driver is required to power them.
It's a bit confusing to send a patch to so many recipients, that usually
leads to nobody applying it. I can put it into the fixes branch in arm-soc
but need an Ack from the sunxi maintainer(s).
Arnd
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig
2015-12-31 15:46 ` [PATCH 0/1 " Arnd Bergmann
@ 2015-12-31 16:00 ` Maxime Ripard
2015-12-31 16:03 ` Arnd Bergmann
2016-01-01 13:16 ` Timo Sigurdsson
2016-01-01 13:25 ` Timo Sigurdsson
1 sibling, 2 replies; 11+ messages in thread
From: Maxime Ripard @ 2015-12-31 16:00 UTC (permalink / raw)
To: Timo Sigurdsson, Arnd Bergmann
Cc: linux-arm-kernel, arm, linux, wens, tyler.baker, info, net147,
carlo, linux-kernel, hdegoede, david
[-- Attachment #1: Type: text/plain, Size: 979 bytes --]
Hi Arnd,
On Thu, Dec 31, 2015 at 04:46:01PM +0100, Arnd Bergmann wrote:
> On Tuesday 29 December 2015 02:47:32 Timo Sigurdsson wrote:
> > Here is a late patch aimed for 4.4-rc8 (or 4.4). It would be nice if this
> > could make it into 4.4 in order to avoid unpleasent surprises (and
> > subsequent questions) with builds based on sunxi_defconfig. At the moment,
> > some boards (e.g. LeMaker BananaPi) are left with non-functional USB ports
> > as a newly added driver is required to power them.
>
> It's a bit confusing to send a patch to so many recipients, that usually
> leads to nobody applying it. I can put it into the fixes branch in arm-soc
> but need an Ack from the sunxi maintainer(s).
You have mine
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Timo, don't we need the same thing for multi_v7?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig
2015-12-31 16:00 ` Maxime Ripard
@ 2015-12-31 16:03 ` Arnd Bergmann
2015-12-31 16:15 ` Arnd Bergmann
2016-01-01 13:16 ` Timo Sigurdsson
1 sibling, 1 reply; 11+ messages in thread
From: Arnd Bergmann @ 2015-12-31 16:03 UTC (permalink / raw)
To: Maxime Ripard
Cc: Timo Sigurdsson, linux-arm-kernel, arm, linux, wens, tyler.baker,
info, net147, carlo, linux-kernel, hdegoede, david
On Thursday 31 December 2015 17:00:49 Maxime Ripard wrote:
> Hi Arnd,
>
> On Thu, Dec 31, 2015 at 04:46:01PM +0100, Arnd Bergmann wrote:
> > On Tuesday 29 December 2015 02:47:32 Timo Sigurdsson wrote:
> > > Here is a late patch aimed for 4.4-rc8 (or 4.4). It would be nice if this
> > > could make it into 4.4 in order to avoid unpleasent surprises (and
> > > subsequent questions) with builds based on sunxi_defconfig. At the moment,
> > > some boards (e.g. LeMaker BananaPi) are left with non-functional USB ports
> > > as a newly added driver is required to power them.
> >
> > It's a bit confusing to send a patch to so many recipients, that usually
> > leads to nobody applying it. I can put it into the fixes branch in arm-soc
> > but need an Ack from the sunxi maintainer(s).
>
> You have mine
>
> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Thanks!
> Timo, don't we need the same thing for multi_v7?
Good point.
Timo, please create a patch for that one as well and test it, I can
also apply that on the fixes branch.
Arnd
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig
2015-12-31 16:03 ` Arnd Bergmann
@ 2015-12-31 16:15 ` Arnd Bergmann
0 siblings, 0 replies; 11+ messages in thread
From: Arnd Bergmann @ 2015-12-31 16:15 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Maxime Ripard, net147, info, linux, david, tyler.baker,
linux-kernel, hdegoede, wens, arm, carlo, Timo Sigurdsson
On Thursday 31 December 2015 17:03:25 Arnd Bergmann wrote:
> >
> > You have mine
> >
> > Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
>
> Thanks!
>
> > Timo, don't we need the same thing for multi_v7?
>
> Good point.
>
> Timo, please create a patch for that one as well and test it, I can
> also apply that on the fixes branch.
>
Forgot to mention, I have applied the original patch it on the fixes branch.
Arnd
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig
2015-12-31 16:00 ` Maxime Ripard
2015-12-31 16:03 ` Arnd Bergmann
@ 2016-01-01 13:16 ` Timo Sigurdsson
1 sibling, 0 replies; 11+ messages in thread
From: Timo Sigurdsson @ 2016-01-01 13:16 UTC (permalink / raw)
To: arnd, maxime.ripard
Cc: linux-arm-kernel, arm, linux, wens, tyler.baker, info, net147,
carlo, linux-kernel, hdegoede, david
Hi Maxime,
Maxime Ripard schrieb am 31.12.2015 17:00:
> Hi Arnd,
>
> On Thu, Dec 31, 2015 at 04:46:01PM +0100, Arnd Bergmann wrote:
>> On Tuesday 29 December 2015 02:47:32 Timo Sigurdsson wrote:
>> > Here is a late patch aimed for 4.4-rc8 (or 4.4). It would be nice if this
>> > could make it into 4.4 in order to avoid unpleasent surprises (and
>> > subsequent questions) with builds based on sunxi_defconfig. At the moment,
>> > some boards (e.g. LeMaker BananaPi) are left with non-functional USB ports
>> > as a newly added driver is required to power them.
>>
>> It's a bit confusing to send a patch to so many recipients, that usually
>> leads to nobody applying it. I can put it into the fixes branch in arm-soc
>> but need an Ack from the sunxi maintainer(s).
>
> You have mine
>
> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
>
> Timo, don't we need the same thing for multi_v7?
Yes, we do. I thought I saw it already in there as a module, but that must
have been on linux-next... Anyway, patch will come right away. I take it
your question implies an ack for the multi_v7 patch, too.
Thanks and Happy New Year,
Timo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig
2015-12-31 15:46 ` [PATCH 0/1 " Arnd Bergmann
2015-12-31 16:00 ` Maxime Ripard
@ 2016-01-01 13:25 ` Timo Sigurdsson
2016-01-01 13:59 ` Arnd Bergmann
1 sibling, 1 reply; 11+ messages in thread
From: Timo Sigurdsson @ 2016-01-01 13:25 UTC (permalink / raw)
To: linux-arm-kernel, arnd
Cc: arm, linux, maxime.ripard, wens, tyler.baker, info, net147,
carlo, linux-kernel, hdegoede, david
Hi Arnd,
Arnd Bergmann schrieb am 31.12.2015 16:46:
> On Tuesday 29 December 2015 02:47:32 Timo Sigurdsson wrote:
>> Here is a late patch aimed for 4.4-rc8 (or 4.4). It would be nice if this
>> could make it into 4.4 in order to avoid unpleasent surprises (and
>> subsequent questions) with builds based on sunxi_defconfig. At the moment,
>> some boards (e.g. LeMaker BananaPi) are left with non-functional USB ports
>> as a newly added driver is required to power them.
>
> It's a bit confusing to send a patch to so many recipients, that usually
> leads to nobody applying it. I can put it into the fixes branch in arm-soc
> but need an Ack from the sunxi maintainer(s).
Sorry, I didn't know any better. Almost all recipients came from the
get-maintainers script (which I thought were mandatory to include). What's
the recommended way in such cases?
I already prepared and tested a patch for multi_v7_defconfig which I'll
send to the same recipients as before just for the sake of not shutting
out people that were previously addressed in this conversation.
Thanks and Happy New Year,
Timo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig
2016-01-01 13:25 ` Timo Sigurdsson
@ 2016-01-01 13:59 ` Arnd Bergmann
0 siblings, 0 replies; 11+ messages in thread
From: Arnd Bergmann @ 2016-01-01 13:59 UTC (permalink / raw)
To: Timo Sigurdsson
Cc: linux-arm-kernel, arm, linux, maxime.ripard, wens, tyler.baker,
info, net147, carlo, linux-kernel, hdegoede, david
On Friday 01 January 2016 14:25:01 Timo Sigurdsson wrote:
> Hi Arnd,
>
> Arnd Bergmann schrieb am 31.12.2015 16:46:
>
> > On Tuesday 29 December 2015 02:47:32 Timo Sigurdsson wrote:
> >> Here is a late patch aimed for 4.4-rc8 (or 4.4). It would be nice if this
> >> could make it into 4.4 in order to avoid unpleasent surprises (and
> >> subsequent questions) with builds based on sunxi_defconfig. At the moment,
> >> some boards (e.g. LeMaker BananaPi) are left with non-functional USB ports
> >> as a newly added driver is required to power them.
> >
> > It's a bit confusing to send a patch to so many recipients, that usually
> > leads to nobody applying it. I can put it into the fixes branch in arm-soc
> > but need an Ack from the sunxi maintainer(s).
>
> Sorry, I didn't know any better. Almost all recipients came from the
> get-maintainers script (which I thought were mandatory to include). What's
> the recommended way in such cases?
Just put everyone on Cc, and have the most appropriate recipient (which you
expect to act on the path) as 'To'. Also, address that person in the
cover letter so they know they should act on it, e.g. "Hi Maxime,
can you pick up this patch and forward it to arm-soc?".
> I already prepared and tested a patch for multi_v7_defconfig which I'll
> send to the same recipients as before just for the sake of not shutting
> out people that were previously addressed in this conversation.
Ok, thanks.
Arnd
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH for 4.4-rc8] ARM: Fix broken USB support in multi_v7_defconfig for sunxi devices
2015-12-29 1:47 [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig Timo Sigurdsson
2015-12-29 1:47 ` [PATCH 1/1 " Timo Sigurdsson
2015-12-31 15:46 ` [PATCH 0/1 " Arnd Bergmann
@ 2016-01-01 13:38 ` Timo Sigurdsson
2016-01-01 14:03 ` Arnd Bergmann
2 siblings, 1 reply; 11+ messages in thread
From: Timo Sigurdsson @ 2016-01-01 13:38 UTC (permalink / raw)
To: arm, linux, maxime.ripard, wens, tyler.baker, info, net147,
carlo, linux-arm-kernel, linux-kernel
Cc: david, hdegoede, Timo Sigurdsson
Commit 69fb4dcada77 ("power: Add an axp20x-usb-power driver") introduced a
new driver for the USB power supply used on various Allwinner based SBCs.
However, the driver was not added to multi_v7_defconfig which breaks USB
support for some boards (e.g. LeMaker BananaPi) as the kernel will now
turn off the USB power supply during boot by default if the driver isn't
present. (This was not the case in linux 4.3 or lower where the USB power
was always left on.)
Hence, add the driver to multi_v7_defconfig in order to keep USB support
working on those boards that require it.
Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
Tested-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
Notes:
I chose to add AXP20X_POWER as a module here, since linux-next already
has it this way, see commit 83e9e1f84074 ("ARM: multi_v7_defconfig:
Enable RSB and AXP20X related drivers as modules").
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 69a22fd..cd7b198 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -366,6 +366,7 @@ CONFIG_BATTERY_MAX17042=m
CONFIG_CHARGER_MAX14577=m
CONFIG_CHARGER_MAX77693=m
CONFIG_CHARGER_TPS65090=y
+CONFIG_AXP20X_POWER=m
CONFIG_POWER_RESET_AS3722=y
CONFIG_POWER_RESET_GPIO=y
CONFIG_POWER_RESET_GPIO_RESTART=y
--
2.1.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH for 4.4-rc8] ARM: Fix broken USB support in multi_v7_defconfig for sunxi devices
2016-01-01 13:38 ` [PATCH for 4.4-rc8] ARM: Fix broken USB support in multi_v7_defconfig for sunxi devices Timo Sigurdsson
@ 2016-01-01 14:03 ` Arnd Bergmann
0 siblings, 0 replies; 11+ messages in thread
From: Arnd Bergmann @ 2016-01-01 14:03 UTC (permalink / raw)
To: Timo Sigurdsson
Cc: arm, linux, maxime.ripard, wens, tyler.baker, info, net147,
carlo, linux-arm-kernel, linux-kernel, david, hdegoede
On Friday 01 January 2016 14:38:22 Timo Sigurdsson wrote:
> Commit 69fb4dcada77 ("power: Add an axp20x-usb-power driver") introduced a
> new driver for the USB power supply used on various Allwinner based SBCs.
> However, the driver was not added to multi_v7_defconfig which breaks USB
> support for some boards (e.g. LeMaker BananaPi) as the kernel will now
> turn off the USB power supply during boot by default if the driver isn't
> present. (This was not the case in linux 4.3 or lower where the USB power
> was always left on.)
>
> Hence, add the driver to multi_v7_defconfig in order to keep USB support
> working on those boards that require it.
>
> Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
> Tested-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
> Notes:
>
> I chose to add AXP20X_POWER as a module here, since linux-next already
> has it this way, see commit 83e9e1f84074 ("ARM: multi_v7_defconfig:
> Enable RSB and AXP20X related drivers as modules").
>
Applied to fixes, thanks!
Arnd
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-01-01 14:05 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-29 1:47 [PATCH 0/1 for 4.4-rc8] ARM: Fix broken USB support in sunxi_defconfig Timo Sigurdsson
2015-12-29 1:47 ` [PATCH 1/1 " Timo Sigurdsson
2015-12-31 15:46 ` [PATCH 0/1 " Arnd Bergmann
2015-12-31 16:00 ` Maxime Ripard
2015-12-31 16:03 ` Arnd Bergmann
2015-12-31 16:15 ` Arnd Bergmann
2016-01-01 13:16 ` Timo Sigurdsson
2016-01-01 13:25 ` Timo Sigurdsson
2016-01-01 13:59 ` Arnd Bergmann
2016-01-01 13:38 ` [PATCH for 4.4-rc8] ARM: Fix broken USB support in multi_v7_defconfig for sunxi devices Timo Sigurdsson
2016-01-01 14:03 ` Arnd Bergmann
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).