<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/host/ehci-platform.c, branch v4.0</title>
<subtitle>Linux Kernel (branches are rebased on master from time to time)</subtitle>
<id>https://sre.ring0.de/linux/atom?h=v4.0</id>
<link rel='self' href='https://sre.ring0.de/linux/atom?h=v4.0'/>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/'/>
<updated>2015-01-25T13:05:10Z</updated>
<entry>
<title>usb: ehci-platform: add support for multiple phys per controller</title>
<updated>2015-01-25T13:05:10Z</updated>
<author>
<name>Arun Ramamurthy</name>
<email>arunrama@broadcom.com</email>
</author>
<published>2015-01-20T00:05:29Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=7e7a0e67f2c2104fb7515008fb2ba72ffb10b493'/>
<id>urn:sha1:7e7a0e67f2c2104fb7515008fb2ba72ffb10b493</id>
<content type='text'>
Added support for cases where one controller is connected
to multiple phys.

Signed-off-by: Arun Ramamurthy &lt;arunrama@broadcom.com&gt;
Reviewed-by: Ray Jui &lt;rjui@broadcom.com&gt;
Reviewed-by: Scott Branden &lt;sbranden@broadcom.com&gt;
Tested-by: Scott Branden &lt;sbranden@broadcom.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: host: Introduce flag to enable use of 64-bit dma_mask for ehci-platform</title>
<updated>2015-01-25T12:48:28Z</updated>
<author>
<name>Andreas Herrmann</name>
<email>andreas.herrmann@caviumnetworks.com</email>
</author>
<published>2015-01-12T15:05:52Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=c99e76c55f68eaa0c307ba25803c4e59c2fca1ca'/>
<id>urn:sha1:c99e76c55f68eaa0c307ba25803c4e59c2fca1ca</id>
<content type='text'>
ehci-octeon driver used a 64-bit dma_mask. With removal of ehci-octeon
and usage of ehci-platform ehci dma_mask is now limited to 32 bits
(coerced in ehci_platform_probe).

Provide a flag in ehci platform data to allow use of 64 bits for
dma_mask.

Cc: David Daney &lt;david.daney@cavium.com&gt;
Cc: Alex Smith &lt;alex.smith@imgtec.com&gt;
Signed-off-by: Andreas Herrmann &lt;andreas.herrmann@caviumnetworks.com&gt;
Tested-by: Aaro Koskinen &lt;aaro.koskinen@iki.fi&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: host: Remove hard-coded octeon platform information for ehci/ohci</title>
<updated>2015-01-09T20:29:57Z</updated>
<author>
<name>Andreas Herrmann</name>
<email>andreas.herrmann@caviumnetworks.com</email>
</author>
<published>2015-01-06T12:48:56Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=a95cfa6b86a19a822877e75d5a73b2a95d249e70'/>
<id>urn:sha1:a95cfa6b86a19a822877e75d5a73b2a95d249e70</id>
<content type='text'>
Instead rely on device tree information for ehci and ohci.

This was suggested with
http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&amp;i=1401358203-60225-4-git-send-email-alex.smith%40imgtec.com

  "The device tree will *always* have correct ehci/ohci clock
  configuration, so use it.  This allows us to remove a big chunk of
  platform configuration code from octeon-platform.c."

More or less I rebased that patch on Alan's work to remove ehci-octeon
and ohci-octeon drivers.

Cc: David Daney &lt;david.daney@cavium.com&gt;
Cc: Alex Smith &lt;alex.smith@imgtec.com&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Andreas Herrmann &lt;andreas.herrmann@caviumnetworks.com&gt;
Acked-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Tested-by: Aaro Koskinen &lt;aaro.koskinen@iki.fi&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: ehci-platform: Support ehci reset after resume quirk</title>
<updated>2015-01-09T20:25:54Z</updated>
<author>
<name>Wu Liang feng</name>
<email>wulf@rock-chips.com</email>
</author>
<published>2014-12-24T10:22:19Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=314b41b16a71ee824f55e2791fcb92997672da37'/>
<id>urn:sha1:314b41b16a71ee824f55e2791fcb92997672da37</id>
<content type='text'>
The Rockchip rk3288 EHCI controller doesn't properly detect
the case when a device is removed during suspend. Specifically,
when usb resume from suspend, the EHCI controller maintaining
the USB state (FLAG_CF is 1, Current Connect Status is 1),
but a USB device (like a USB camera on rk3288) may have been
disconnected actually.

Let's add a quirk to force ehci to go into the
usb_root_hub_lost_power() path and reset after resume.
This should generally reset the whole controller and all
ports and initialize everything cleanly again, and bring
the devices back up.

As part of this, rename the "hibernation" paramter of
ehci_resume() to force_reset since hibernation is simply
another case where we can't trust the autodetected status
and need to force a reset of devices.

Signed-off-by: Wu Liang feng &lt;wulf@rock-chips.com&gt;
Reviewed-by: Julius Werner &lt;jwerner@google.com&gt;
Reviewed-by: Doug Anderson &lt;dianders@google.com&gt;
Reviewed-by: Tomasz Figa &lt;tfiga@google.com&gt;
Reviewed-by: Pawel Osciak &lt;posciak@google.com&gt;
Reviewed-by: Sonny Rao &lt;sonnyrao@google.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Tested-by: Doug Anderson &lt;dianders@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core</title>
<updated>2014-12-15T00:10:09Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-12-15T00:10:09Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=e6b5be2be4e30037eb551e0ed09dd97bd00d85d3'/>
<id>urn:sha1:e6b5be2be4e30037eb551e0ed09dd97bd00d85d3</id>
<content type='text'>
Pull driver core update from Greg KH:
 "Here's the set of driver core patches for 3.19-rc1.

  They are dominated by the removal of the .owner field in platform
  drivers.  They touch a lot of files, but they are "simple" changes,
  just removing a line in a structure.

  Other than that, a few minor driver core and debugfs changes.  There
  are some ath9k patches coming in through this tree that have been
  acked by the wireless maintainers as they relied on the debugfs
  changes.

  Everything has been in linux-next for a while"

* tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (324 commits)
  Revert "ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries"
  fs: debugfs: add forward declaration for struct device type
  firmware class: Deletion of an unnecessary check before the function call "vunmap"
  firmware loader: fix hung task warning dump
  devcoredump: provide a one-way disable function
  device: Add dev_&lt;level&gt;_once variants
  ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
  ath: use seq_file api for ath9k debugfs files
  debugfs: add helper function to create device related seq_file
  drivers/base: cacheinfo: remove noisy error boot message
  Revert "core: platform: add warning if driver has no owner"
  drivers: base: support cpu cache information interface to userspace via sysfs
  drivers: base: add cpu_device_create to support per-cpu devices
  topology: replace custom attribute macros with standard DEVICE_ATTR*
  cpumask: factor out show_cpumap into separate helper function
  driver core: Fix unbalanced device reference in drivers_probe
  driver core: fix race with userland in device_add()
  sysfs/kernfs: make read requests on pre-alloc files use the buffer.
  sysfs/kernfs: allow attributes to request write buffer be pre-allocated.
  fs: sysfs: return EGBIG on write if offset is larger than file size
  ...
</content>
</entry>
<entry>
<title>host: ehci-platform: remove duplicate check on resource</title>
<updated>2014-11-07T17:01:51Z</updated>
<author>
<name>Varka Bhadram</name>
<email>varkabhadram@gmail.com</email>
</author>
<published>2014-11-04T02:21:25Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=2062ff489ca9d97b4bfee56e944727d9b02b0d63'/>
<id>urn:sha1:2062ff489ca9d97b4bfee56e944727d9b02b0d63</id>
<content type='text'>
Sanity check on resource happening with devm_ioremap_resource().

Signed-off-by: Varka Bhadram &lt;varkab@cdac.in&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: ehci/ohci-platform: use SIMPLE_DEV_PM_OPS to support hibernation</title>
<updated>2014-11-03T23:38:17Z</updated>
<author>
<name>Wonhong Kwon</name>
<email>wonhongkwon@gmail.com</email>
</author>
<published>2014-10-24T04:45:47Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=5e4ccd9ee2508d04a39fa27de9eb7bf65bad7594'/>
<id>urn:sha1:5e4ccd9ee2508d04a39fa27de9eb7bf65bad7594</id>
<content type='text'>
ehci/ohci-platform just define .suspend/.resume functions for dev_pm_ops,
but in order to support both STR(suspend-to-ram) and hibernation, other
callbacks such as .freeze/.thaw are also required.

Registering all required callbacks for both STR and hibernation can
be done by SIMPLE_DEV_PM_OPS macro function.

Signed-off-by: Wonhong Kwon &lt;wonhong.kwon@lge.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: host: drop owner assignment from platform_drivers</title>
<updated>2014-10-20T14:21:49Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2014-10-20T14:21:49Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=566e0269e58cb95aa759c3f11c831536ae3858d2'/>
<id>urn:sha1:566e0269e58cb95aa759c3f11c831536ae3858d2</id>
<content type='text'>
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>usb: ehci-platform: add optional reset controller retrieval</title>
<updated>2014-05-27T22:53:01Z</updated>
<author>
<name>Boris BREZILLON</name>
<email>boris.brezillon@free-electrons.com</email>
</author>
<published>2014-05-13T15:44:19Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=2d87bbd634b0fe5aa2285fd2a095867158fb2cc3'/>
<id>urn:sha1:2d87bbd634b0fe5aa2285fd2a095867158fb2cc3</id>
<content type='text'>
On the Allwinner's A31 SoC the reset line connected to the EHCI IP has to
be deasserted for the EHCI block to be usable.

Add support for an optional reset controller that will be deasserted on
power off and asserted on power on.

Signed-off-by: Boris BREZILLON &lt;boris.brezillon@free-electrons.com&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: ehci-platform: Return immediately from suspend if ehci_suspend fails</title>
<updated>2014-04-16T20:59:13Z</updated>
<author>
<name>Vivek Gautam</name>
<email>gautam.vivek@samsung.com</email>
</author>
<published>2014-04-10T10:28:02Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=e155b5b8d2d42455d3a94c2460c287e97184ec61'/>
<id>urn:sha1:e155b5b8d2d42455d3a94c2460c287e97184ec61</id>
<content type='text'>
Patch 'b8efdaf USB: EHCI: add check for wakeup/suspend race'
adds a check for possible race between suspend and wakeup interrupt,
and thereby it returns -EBUSY as error code if there's a wakeup
interrupt.
So the platform host controller should not proceed further with
its suspend callback, rather should return immediately to avoid
powering down the essential things, like phy.

Signed-off-by: Vivek Gautam &lt;gautam.vivek@samsung.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
Cc: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
