Hi Kishon,
I noticed that you've merged a phy-sun4i-usb fix into your linux-phy/fixes
branch, this caused a conflict in the 3th patch of this set, so I'm
posting a new rebased version here.
Since these patches depend on each other and now also depend on changes
in your fixes branch, can you pleas
Use the new of_usb_get_dr_mode_by_phy() function to get the dr_mode
from the musb controller node instead of assuming that having an id_det
gpio means otg mode, and not having one means host mode.
Implement peripheral-only mode by adding a sun4i_usb_phy0_get_id_det
helper which looks at the dr_mod
The A31 companion pmic (axp221) does not generate vbus change interrupts
when the board is driving vbus, so we must poll when using the pmic for
vbus-det _and_ we're driving vbus.
Signed-off-by: Hans de Goede
Acked-by: Kishon Vijay Abraham I
---
Changes in v2:
-No changes
Changes in v3:
-No chan
Some SoCs have a single phy-hw-block with multiple phys, this is
modelled by a single phy dts node, so we end up with multiple
controller nodes with a phys property pointing to the phy-node
of the otg-phy.
Only one of these controllers typically is an otg controller, yet we
were checking the first
phy-sun4i-usb now has proper dr_mode handling, it always registers an
extcon, and sends a notify with the mode (even when in peripheral- /
host-only mode) at least once.
So we can simply the sunxi musb glue by always registering its extcon
notifier and relying on sunxi_musb_work() to enable vbus w
commit 5cf700ac9d50("phy: phy-sun4i-usb: Fix optional gpios failing probe")
changed the condition under which irqs are requested, but omitted matching
changes to sun4i_usb_phy_remove(). This commit fixes this.
Fixes: commit 5cf700ac9d50("phy: phy-sun4i-usb: Fix optional gpios failing
probe")
Sign
On 6/18/2016 12:31 PM, Hans de Goede wrote:
commit 5cf700ac9d50("phy: phy-sun4i-usb: Fix optional gpios failing probe")
changed the condition under which irqs are requested, but omitted matching
changes to sun4i_usb_phy_remove(). This commit fixes this.
Fixes: commit 5cf700ac9d50("phy: phy-sun4
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git
for-4.8/alps
head: 41f61ecc501ca970ae8d9955c57405dc4abfab5a
commit: 2562756dde550901c224e3805102bdfc17e7d13a [1/2] HID: add Alps I2C HID
Touchpad-Stick support
coccinelle warnings: (new ones prefixed by >>)
>> drivers/hid/
drivers/hid/hid-alps.c:139:3-9: ERROR: application of sizeof to pointer
drivers/hid/hid-alps.c:148:4-10: ERROR: application of sizeof to pointer
sizeof when applied to a pointer typed expression gives the size of
the pointer
Generated by: scripts/coccinelle/misc/noderef.cocci
CC: Masaki Ota
S
The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.7-rc4
for you to fetch changes up to 083d5ad1a924e79ecf92be
10 matches
Mail list logo