Re: [PATCH] usb: Make USB persist default configurable

2013-03-19 Thread Vincent Palatin
On Tue, Mar 19, 2013 at 7:56 AM, Alan Stern wrote: > > On Mon, 18 Mar 2013, Greg Kroah-Hartman wrote: > > > On Mon, Mar 18, 2013 at 05:02:19PM -0700, Julius Werner wrote: > > > > Why can't you just revert this in userspace? Isn't that easier than > > > > doing a kernel patch and providing an opti

[PATCH] hwmon: (lm90) Add device tree support

2013-02-01 Thread Vincent Palatin
Add support to instantiate LM90-compatible sensors from a device-tree configuration. When the kernel has device tree support, we avoid doing the auto-detection as probing the busses might mess-up sensitive I2C devices or trigger long timeouts on non-functional busses. Signed-off-by: Vincent

[PATCH] USB: ohci-exynos: initialize registers pointer earlier

2012-11-01 Thread Vincent Palatin
ith the former code, this triggers an early interrupt about 50% of the boots and a subsequent kernel panic in ohci_irq when trying to access the registers. Cc: Olof Johansson Cc: Doug Anderson Cc: Arjun.K.V Cc: Vikas Sajjan Cc: Abhilash Kesavan Signed-off-by: Vincent Palatin --- drivers/

[PATCH] x86, fpu: avoid FPU lazy restore after suspend

2012-11-30 Thread Vincent Palatin
xist since 3.4 (after the FPU lazy restore was actually implemented), to apply the change to 3.4, "this_cpu_write" needs to be replaced by percpu_write. Cc: Duncan Laurie Cc: Olof Johansson Cc: [v3.4+] # for 3.4 need to replace this_cpu_write by percpu_write Signed-off-by: Vincent Pa

issue with x86 FPU state after suspend to ram

2012-11-30 Thread Vincent Palatin
Hi, On a 4-core Ivybridge platform, when doing a lot of suspend-to-ram/resume cycles, we were observing processes randomly killed by a SIGFPE. When dumping the FPU registers state on the SIGFPE (usually a floating stack underflow/overflow on a floating point arithmetic operation), the FPU register

[PATCH v2] x86, fpu: avoid FPU lazy restore after suspend

2012-11-30 Thread Vincent Palatin
percpu_write Signed-off-by: Vincent Palatin --- arch/x86/include/asm/fpu-internal.h | 15 +-- arch/x86/kernel/smpboot.c |5 + 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/arch/x86/include/asm/fpu-internal.h b/arch/x86/include/asm/fpu-internal

[PATCH v3] x86, fpu: avoid FPU lazy restore after suspend

2012-11-30 Thread Vincent Palatin
les by a SIGFPE. Cc: Duncan Laurie Cc: Olof Johansson Cc: [v3.4+] # for 3.4 need to replace this_cpu_write by percpu_write Signed-off-by: Vincent Palatin --- Hi, The patch updated according the HPA and Linus comments. I'm still re-running the testing on v3. Change in v3: - remove misl

Re: [PATCH] x86, fpu: avoid FPU lazy restore after suspend

2012-11-30 Thread Vincent Palatin
On Fri, Nov 30, 2012 at 11:55 AM, H. Peter Anvin wrote: > > On 11/30/2012 11:54 AM, Vincent Palatin wrote: > >> > > I have done a patch v2 according to your suggestions. > > I will run the testing on it now. > > I probably need at least 2 to 3 hours to validat

[PATCH] regulator: read low power states configuration from device tree

2013-07-25 Thread Vincent Palatin
The regulators state during a system wide low power state can currently only be described in platform data. Add the option to configure them from the device tree. Signed-off-by: Vincent Palatin --- .../devicetree/bindings/regulator/regulator.txt| 6 + drivers/regulator/of_regulator.c

Re: [PATCH] regulator: read low power states configuration from device tree

2013-07-26 Thread Vincent Palatin
On Thu, Jul 25, 2013 at 1:03 PM, Mark Brown wrote: > On Thu, Jul 25, 2013 at 12:42:00PM -0700, Vincent Palatin wrote: > >> +- regulator-suspend-disk-microvolt: voltage applied when entering S2D >> +- regulator-suspend-disk-disabled: turn off when entering S2D >> +- regulat

[PATCH] HID: usbhid: ignore Jabra speakerphones HID interface

2013-05-22 Thread Vincent Palatin
attaching the usbhid driver has sometimes nasty effects: either confusing the device state machine or triggering a storm of volume key events making eventual sound UI blinking like crazy. Signed-off-by: Vincent Palatin --- drivers/hid/hid-ids.h | 4 drivers/hid/usbhid/hid-quirks.c | 3

Re: [PATCH] HID: usbhid: ignore Jabra speakerphones HID interface

2013-05-22 Thread Vincent Palatin
On Wed, May 22, 2013 at 2:27 PM, Jiri Kosina wrote: > > Please do this in hid_ignore_list[] in drivers/hid/hid-core.c instead. Thanks for the advice ! I will update the patch accordingly. -- Vincent -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess

[PATCH] HID: usbhid: ignore Jabra speakerphones HID interface

2013-05-22 Thread Vincent Palatin
attaching the usbhid driver has sometimes nasty effects: either confusing the device state machine or triggering a storm of volume key events making eventual sound UI blinking like crazy. Signed-off-by: Vincent Palatin --- drivers/hid/hid-core.c | 2 ++ drivers/hid/hid-ids.h | 4 2 files

[PATCH] rtc: recycle id when unloading a rtc driver

2012-08-02 Thread Vincent Palatin
c (as it only exists for the first driver). Signed-off-by: Vincent Palatin --- drivers/rtc/class.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index dc4c274..37b1d82 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c @

Re: [PATCHv6 1/3] usb: USB Type-C connector class

2016-08-24 Thread Vincent Palatin
Sorry if I'm making redundant comments with previous discussions, I might have missed a few threads. On Mon, Aug 22, 2016 at 2:05 PM, Heikki Krogerus wrote: > The purpose of USB Type-C connector class is to provide > unified interface for the user space to get the status and > basic information

Re: [PATCHv6 1/3] usb: USB Type-C connector class

2016-08-26 Thread Vincent Palatin
On Thu, Aug 25, 2016 at 1:59 PM, Heikki Krogerus wrote: > Hi, > > On Wed, Aug 24, 2016 at 04:08:23PM +0200, Vincent Palatin wrote: >> Sorry if I'm making redundant comments with previous discussions, I >> might have missed a few threads. >> >> >> On M

[PATCH] usb: Add device quirk for Logitech PTZ cameras

2015-10-01 Thread Vincent Palatin
, the enumeration has been correct on every reboot. Signed-off-by: Vincent Palatin --- drivers/usb/core/quirks.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index d85abfe..0a56de7 100644 --- a/drivers/usb/core/quirks.c +++ b

[PATCH] USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem

2021-03-19 Thread Vincent Palatin
This LTE modem (M.2 card) has a bug in its power managment: there is some kind of race condition for U3 wake-up between the host and the device. The modem firmware sometimes crashes/locks when both events happen at the same time and the modem fully drops off the USB bus (and sometimes re-enumerates

Re: [PATCH] USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem

2021-03-19 Thread Vincent Palatin
On Fri, Mar 19, 2021 at 1:41 PM Vincent Palatin wrote: > > This LTE modem (M.2 card) has a bug in its power managment: > there is some kind of race condition for U3 wake-up between the host and > the device. The modem firmware sometimes crashes/locks when both events > happen at th

[PATCHi v2] USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem

2021-03-19 Thread Vincent Palatin
7; counter incremented as excepted. Signed-off-by: Vincent Palatin --- drivers/usb/core/quirks.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index 6ade3daf7858..76ac5d6555ae 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/cor

Re: [PATCH] usb: serial: option: add Fibocom NL668 variants

2020-11-20 Thread Vincent Palatin
On Fri, Nov 20, 2020 at 10:01 AM wrote: > > From: Vincent Palatin > > Update the USB serial option driver support for the Fibocom NL668 Cat.4 > LTE modules as there are actually several different variants. > Got clarifications from Fibocom, there are distinct products: >

Re: [PATCH v4 4/4] ARM: dts: Add exynos5250-spring device tree

2014-07-31 Thread Vincent Palatin
Always a bit late to the game. One small comment inline. Reviewed-by: Vincent Palatin On Thu, Jul 31, 2014 at 9:08 AM, Andreas Färber wrote: > Adds initial support for the HP Chromebook 11. > > Cc: Vincent Palatin > Cc: Doug Anderson > Cc: Stephan van Schaik > Signed-off-

Re: [PATCH 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-07-31 Thread Vincent Palatin
ping ... Any opinion on adding those new controls ? since re-using the existing relative ones was seen as too twisted. Thanks, -- Vincent On Tue, Jul 8, 2014 at 4:49 PM, Vincent Palatin wrote: > The V4L2_CID_PAN_SPEED and V4L2_CID_TILT_SPEED controls allow to move the > camera by setti

Re: [PATCH v4 4/4] ARM: dts: Add exynos5250-spring device tree

2014-07-31 Thread Vincent Palatin
On Thu, Jul 31, 2014 at 10:14 AM, Andreas Färber wrote: > Hi, > > Am 31.07.2014 19:00, schrieb Vincent Palatin: >> Always a bit late to the game. >> One small comment inline. >> >> Reviewed-by: Vincent Palatin > > Thanks, > >> >>

Re: [PATCH v2] V4L: uvcvideo: Add support for relative pan/tilt controls

2014-07-08 Thread Vincent Palatin
On Wed, Jun 25, 2014 at 2:54 AM, Laurent Pinchart wrote: > Hi Pawel, > > On Wednesday 25 June 2014 11:46:24 Pawel Osciak wrote: >> On Tue, Jun 17, 2014 at 11:45 PM, Vincent Palatin wrote: >> > Map V4L2_CID_TILT_RELATIVE and V4L2_CID_PAN_RELA

[PATCH 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-07-08 Thread Vincent Palatin
the same time in both directions. Signed-off-by: Vincent Palatin Change-Id: I7b70b228e5c0126683f5f0be34ffd2807f5783dc --- drivers/media/usb/uvc/uvc_ctrl.c | 58 +--- 1 file changed, 55 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/uvc/uvc_ctrl.c

[PATCH 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-07-08 Thread Vincent Palatin
The V4L2_CID_PAN_SPEED and V4L2_CID_TILT_SPEED controls allow to move the camera by setting its rotation speed around its axis. Signed-off-by: Vincent Palatin --- Documentation/DocBook/media/v4l/compat.xml | 10 ++ Documentation/DocBook/media/v4l/controls.xml | 21

[PATCH] V4L: uvcvideo: Add support for relative pan/tilt controls

2014-06-16 Thread Vincent Palatin
at the same time in both directions. Signed-off-by: Vincent Palatin Change-Id: I7b70b228e5c0126683f5f0be34ffd2807f5783dc --- drivers/media/usb/uvc/uvc_ctrl.c | 58 +--- 1 file changed, 55 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/uvc

[PATCH v2] V4L: uvcvideo: Add support for relative pan/tilt controls

2014-06-17 Thread Vincent Palatin
at the same time in both directions. Signed-off-by: Vincent Palatin Change-Id: I7b70b228e5c0126683f5f0be34ffd2807f5783dc --- Changes v2: fix control request name in description. drivers/media/usb/uvc/uvc_ctrl.c | 58 +--- 1 file changed, 55 insertions(+), 3

Re: [RFC 4/4] ARM: dts: exynos5250: Add Spring device tree

2014-06-24 Thread Vincent Palatin
Re-sending ... the text-only encoding was not properly turned on on the previous one and irritated the mailing lists. On Mon, Jun 23, 2014 at 9:05 PM, Doug Anderson wrote: > > Andreas, > > On Mon, Jun 23, 2014 at 3:46 PM, Andreas Färber wrote: > > Hi Doug, > > > > Am 23.06.2014 21:47, schrieb D

Re: [PATCH v2 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-09-03 Thread Vincent Palatin
On Tue, Sep 2, 2014 at 9:54 PM, Pawel Osciak wrote: > On Sat, Aug 16, 2014 at 4:08 AM, Vincent Palatin > wrote: >> >> The V4L2_CID_PAN_SPEED and V4L2_CID_TILT_SPEED controls allow to move the >> camera by setting its rotation speed around its axis. >> >

[PATCH v3 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-09-03 Thread Vincent Palatin
The V4L2_CID_PAN_SPEED and V4L2_CID_TILT_SPEED controls allow to move the camera by setting its rotation speed around its axis. Signed-off-by: Vincent Palatin --- Changes from v1: - update the documentation wording according to Pawel suggestion. Changes from v2: - bump Linux kernel version for

[PATCH v3 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-09-03 Thread Vincent Palatin
the same time in both directions. Signed-off-by: Vincent Palatin Change-Id: I7b70b228e5c0126683f5f0be34ffd2807f5783dc --- Changes from v1/v2: - rebased drivers/media/usb/uvc/uvc_ctrl.c | 58 +--- 1 file changed, 55 insertions(+), 3 deletions(-) diff --git a

[PATCH v4 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-09-03 Thread Vincent Palatin
the same time in both directions. Signed-off-by: Vincent Palatin --- Changes from v1/v2: - rebased Changes from v3: - removed gerrit-id drivers/media/usb/uvc/uvc_ctrl.c | 58 +--- 1 file changed, 55 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb

Re: [PATCH 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-08-06 Thread Vincent Palatin
which only let us set speed and direction... > > On Wed, Jul 9, 2014 at 8:49 AM, Vincent Palatin > wrote: >> >> The V4L2_CID_PAN_SPEED and V4L2_CID_TILT_SPEED controls allow to move the >> camera by setting its rotation speed around its axis. >> >> Signed-off-

Re: [PATCH 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-08-08 Thread Vincent Palatin
On Wed, Aug 6, 2014 at 7:18 PM, Pawel Osciak wrote: > > On Thu, Aug 7, 2014 at 12:10 AM, Vincent Palatin > wrote: > > > > On Sun, Aug 3, 2014 at 10:52 PM, Pawel Osciak wrote: > > > This looks good to me in general (with one comment below). I don't think

[PATCH v2 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-08-15 Thread Vincent Palatin
The V4L2_CID_PAN_SPEED and V4L2_CID_TILT_SPEED controls allow to move the camera by setting its rotation speed around its axis. Signed-off-by: Vincent Palatin --- Changes from v1: - update the documentation wording according to Pawel suggestion. Documentation/DocBook/media/v4l/compat.xml

Re: [PATCH v4 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-10-06 Thread Vincent Palatin
On Thu, Sep 4, 2014 at 1:29 PM, Laurent Pinchart wrote: > > Hi Vincent, > > Thank you for the patch. > > On Wednesday 03 September 2014 17:47:48 Vincent Palatin wrote: > > Map V4L2_CID_TILT_SPEED and V4L2_CID_PAN_SPEED to the standard UVC > > CT_PANTILT_RELATIVE_CO

Re: [PATCH v4 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-10-06 Thread Vincent Palatin
On Thu, Sep 4, 2014 at 1:35 PM, Laurent Pinchart wrote: > > Hi Vincent, > > On Wednesday 03 September 2014 17:47:48 Vincent Palatin wrote: > > Map V4L2_CID_TILT_SPEED and V4L2_CID_PAN_SPEED to the standard UVC > > CT_PANTILT_RELATIVE_CONTROL terminal control request. >

[PATCH v5 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-10-06 Thread Vincent Palatin
The V4L2_CID_PAN_SPEED and V4L2_CID_TILT_SPEED controls allow to move the camera by setting its rotation speed around its axis. Signed-off-by: Vincent Palatin Reviewed-by: Pawel Osciak --- Changes from v1: - update the documentation wording according to Pawel suggestion. Changes from v2: - bump

[PATCH v5 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-10-06 Thread Vincent Palatin
the same time in both directions. Signed-off-by: Vincent Palatin Reviewed-by: Pawel Osciak --- Changes from v1/v2: - rebased Changes from v3: - removed gerrit-id Chnages from v4: - switched "offset" to unsigned int drivers/media/usb/uvc/uvc_ctrl.c | 58 +

Re: [PATCH v5 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-10-07 Thread Vincent Palatin
On Tue, Oct 7, 2014 at 9:36 AM, Laurent Pinchart wrote: > > Hi Vincent, > > Thank you for the patch. Mauro has already merged this in his tree, it should > appear in v3.18-rc1. > Great ! I missed the merge. Thanks, -- Vincent > > On Monday 06 October 2014 14:05:

Re: [PATCH] DocBook: fix media build error

2014-10-20 Thread Vincent Palatin
and section > DOC1/Documentation/DocBook/compat.xml:2726: parser error : Premature end of > data in tag section line 884 > DOC1/Documentation/DocBook/compat.xml:2726: parser error : chunk is not well > balanced > > Signed-off-by: Randy Dunlap > Cc: Vincent Palatin > --- > Docu

Re: [PATCH] DocBook: fix media build error

2014-10-20 Thread Vincent Palatin
On Mon, Oct 20, 2014 at 10:08 AM, Randy Dunlap wrote: > On 10/20/14 09:06, Vincent Palatin wrote: >> On Sun, Oct 19, 2014 at 7:39 PM, Randy Dunlap wrote: >>> From: Randy Dunlap >>> >>> Fix media DocBook build errors by making the orderedlist balanced

[PATCH] [media] v4l: DocBook: fix media build error

2014-10-20 Thread Vincent Palatin
Fix media DocBook build errors by re-adding the orderedlist tag and putting back the section tags lost during merge. Signed-off-by: Vincent Palatin --- Documentation/DocBook/media/v4l/compat.xml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/DocBook/media/v4l/compat.xml

[PATCH RESEND] usb: dwc2: avoid leaking DMA channels on disconnection

2015-03-16 Thread Vincent Palatin
devices are still enumerating to get more URBs in-flight. After the patch, the devices are still enumerating after thousands of cycles, while the port was totally dead before. Signed-off-by: Vincent Palatin --- I'm re-sending it, it seems the previous email did not show up. drivers/usb

[PATCH] usb: dwc2: avoid leaking DMA channels on disconnection

2015-03-16 Thread Vincent Palatin
devices are still enumerating to get more URBs in-flight. After the patch, the devices are still enumerating after thousands of cycles, while the port was totally dead before. Signed-off-by: Vincent Palatin --- drivers/usb/dwc2/hcd.c | 8 1 file changed, 8 insertions(+) diff --git a

Re: [PATCH] net: stmmac: dwmac-rk: keep PHY up for WoL

2016-06-08 Thread Vincent Palatin
On Tue, Jun 7, 2016 at 12:23 AM, Giuseppe CAVALLARO wrote: > Hello > > On 6/3/2016 7:29 PM, Vincent Palatin wrote: >> >> Do not shutdown the PHY if Wake-on-Lan is enabled, else it cannot wake >> us up. >> > > I do not understand why you need that. > T

Re: [PATCH] net: stmmac: dwmac-rk: keep PHY up for WoL

2016-06-09 Thread Vincent Palatin
On Wed, Jun 8, 2016 at 5:17 PM, Andrew Lunn wrote: > On Wed, Jun 08, 2016 at 03:25:38PM -0700, Vincent Palatin wrote: >> On Tue, Jun 7, 2016 at 12:23 AM, Giuseppe CAVALLARO >> wrote: >> > Hello >> > >> > On 6/3/2016 7:29 PM, Vincent Palatin wrote: >

Re: [PATCH 2/3] net: stmmac: dwmac-rk: keep the PHY up for WoL

2016-06-15 Thread Vincent Palatin
On Fri, Jun 10, 2016 at 6:57 PM, Heiko Stuebner wrote: > Am Freitag, 10. Juni 2016, 18:00:38 schrieb Vincent Palatin: >> When suspending the machine, do not shutdown the external PHY by cutting >> its regulator in the mac platform driver suspend code if Wake-on-Lan is >> en

Re: net: stmmac: dwmac-rk: fixes for Wake-on-Lan on RK3288

2016-06-15 Thread Vincent Palatin
On Sun, Jun 12, 2016 at 11:46 PM, Giuseppe CAVALLARO wrote: > On 6/11/2016 3:00 AM, Vincent Palatin wrote: >> >> In order to support Wake-On-Lan when using the RK3288 integrated MAC >> (with an external RGMII PHY), we need to avoid shutting down the regulator >> of th

[PATCH v2 0/3] net: stmmac: dwmac-rk: fixes for Wake-on-Lan on RK3288

2016-06-15 Thread Vincent Palatin
nally add the PMT interrupt to the MAC device tree configuration, so we can wake up the core from it when the PHY has received the magic packet. Changes since v1: * rename 'powered_down' variable into 'suspended'. * fix the logic recording the PHY suspended state according to

[PATCH v2 2/3] net: stmmac: dwmac-rk: keep the PHY up for WoL

2016-06-15 Thread Vincent Palatin
-down on the lack of need to wake-up from the LAN but do it unconditionally when unloading the module. Signed-off-by: Vincent Palatin --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 48 +++--- 1 file changed, 43 insertions(+), 5 deletions(-) diff --git a/drivers/net

[PATCH v2 1/3] net: stmmac: allow to split suspend/resume from init/exit callbacks

2016-06-15 Thread Vincent Palatin
perform only a partial power-down on suspend if Wake-on-Lan is enabled but always perform the full shutdown sequence if the module is unloaded. Signed-off-by: Vincent Palatin --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 8 ++-- include/linux/stmmac.h

[PATCH v2 3/3] ARM: dts: rockchip: add interrupt for Wake-on-Lan on RK3288

2016-06-15 Thread Vincent Palatin
In order to use Wake-on-Lan on RK3288 integrated MAC, we need to wake-up the CPU on the PMT interrupt when the MAC and the PHY are in low power mode. Adding the interrupt declaration. Signed-off-by: Vincent Palatin --- arch/arm/boot/dts/rk3288.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH] stmmac: do not sleep in atomic context for mdio_reset

2016-06-01 Thread Vincent Palatin
t it seems to protect the access to the MAC registers / DMA structures rather than the MDIO bus or the PHY (which have separate locking), so we can push the spin_lock after the stmmac_mdio_reset call. Signed-off-by: Vincent Palatin --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 6

Re: net: stmmac: dwmac-rk: fixes for Wake-on-Lan on RK3288

2016-06-16 Thread Vincent Palatin
Hi Giuseppe, On Thu, Jun 16, 2016 at 6:37 AM, Giuseppe CAVALLARO wrote: > > Hi Vincent > > > On 6/15/2016 7:04 PM, Vincent Palatin wrote: >> >> On Sun, Jun 12, 2016 at 11:46 PM, Giuseppe CAVALLARO >> wrote: >>> >>> On 6/11/2016 3:00 AM, Vincen

Re: [PATCHv7 1/3] usb: USB Type-C connector class

2016-08-29 Thread Vincent Palatin
On Mon, Aug 29, 2016 at 12:23 PM, Heikki Krogerus wrote: > > The purpose of USB Type-C connector class is to provide > unified interface for the user space to get the status and > basic information about USB Type-C connectors on a system, > control over data role swapping, and when the port suppor

Re: [PATCHv6 1/3] usb: USB Type-C connector class

2016-08-29 Thread Vincent Palatin
ort supports > USB Power Delivery, also control over power role swapping > and Alternate Modes. > > Signed-off-by: Heikki Krogerus Acked-by: Vincent Palatin > --- > Documentation/ABI/testing/sysfs-class-typec | 205 + > Documentation/usb/typec.txt

Re: [PATCH] net: stmmac: dwmac-rk: keep PHY up for WoL

2016-06-06 Thread Vincent Palatin
On Mon, Jun 6, 2016 at 1:45 PM, Heiko Stübner wrote: > Hi, > > Am Freitag, 3. Juni 2016, 10:29:20 schrieb Vincent Palatin: >> Do not shutdown the PHY if Wake-on-Lan is enabled, else it cannot wake >> us up. >> >> Signed-off-by: Vincent Palatin >> --- >&g

net: stmmac: dwmac-rk: fixes for Wake-on-Lan on RK3288

2016-06-10 Thread Vincent Palatin
In order to support Wake-On-Lan when using the RK3288 integrated MAC (with an external RGMII PHY), we need to avoid shutting down the regulator of the external PHY when the MAC is suspended as it's currently done in the MAC platform code. As a first step, create independant callbacks for suspend/r

[PATCH 1/3] net: stmmac: allow to split suspend/resume from init/exit callbacks

2016-06-10 Thread Vincent Palatin
perform only a partial power-down on suspend if Wake-on-Lan is enabled but always perform the full shutdown sequence if the module is unloaded. Signed-off-by: Vincent Palatin --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 8 ++-- include/linux/stmmac.h

[PATCH 3/3] ARM: dts: rockchip: add interrupt for Wake-on-Lan on RK3288

2016-06-10 Thread Vincent Palatin
In order to use Wake-on-Lan on RK3288 integrated MAC, we need to wake-up the CPU on the PMT interrupt when the MAC and the PHY are in low power mode. Adding the interrupt declaration. Signed-off-by: Vincent Palatin --- arch/arm/boot/dts/rk3288.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH 2/3] net: stmmac: dwmac-rk: keep the PHY up for WoL

2016-06-10 Thread Vincent Palatin
-down on the lack of need to wake-up from the LAN but do it unconditionally when unloading the module. Signed-off-by: Vincent Palatin --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 49 +++--- 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/drivers/net

[PATCH] net: stmmac: dwmac-rk: keep PHY up for WoL

2016-06-03 Thread Vincent Palatin
Do not shutdown the PHY if Wake-on-Lan is enabled, else it cannot wake us up. Signed-off-by: Vincent Palatin --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet

Re: [PATCH v2 2/8] mfd: cros_ec: free IRQ automatically

2018-02-23 Thread Vincent Palatin
On Fri, Feb 23, 2018 at 4:05 PM, Enric Balletbo i Serra wrote: > > From: Vincent Palatin > > Free the IRQ we might have requested when removing the cros_ec device, > so we can unload and reload the driver properly. > > Signed-off-by: Vincent Palatin > Signed-off-by

Re: [PATCH 2/6] mfd: cros_ec: free IRQ automatically

2018-02-20 Thread Vincent Palatin
On Mon, Feb 19, 2018 at 11:40 PM, Enric Balletbo i Serra wrote: > From: Vincent Palatin > > Free the IRQ we might have requested when removing the cros_ec device, > so we can unload and reload the driver properly. > > Signed-off-by: Vincent Palatin > Signed-off-by: E

[tip:x86/urgent] x86, fpu: Avoid FPU lazy restore after suspend

2012-11-30 Thread tip-bot for Vincent Palatin
Commit-ID: 644c154186386bb1fa6446bc5e037b9ed098db46 Gitweb: http://git.kernel.org/tip/644c154186386bb1fa6446bc5e037b9ed098db46 Author: Vincent Palatin AuthorDate: Fri, 30 Nov 2012 12:15:32 -0800 Committer: H. Peter Anvin CommitDate: Fri, 30 Nov 2012 13:48:05 -0800 x86, fpu: Avoid FPU