RE: [PATCH 4/5] rpmsg: Driver for user space endpoint interface

2016-10-10 Thread Marek Novak
-Original Message- From: Bjorn Andersson [mailto:bjorn.anders...@linaro.org] Sent: Saturday, October 08, 2016 6:23 AM To: Ohad Ben-Cohen ; Bjorn Andersson Cc: Jonathan Corbet ; Linus Walleij ; Marek Novak ; Matteo Sartori ; Michal Simek ; linux-doc@vger.kernel.org; linux-ker...@vger.k

Re: [PATCHv4] hwmon: Add tc654 driver

2016-10-10 Thread Rob Herring
On Tue, Oct 11, 2016 at 10:26:31AM +1300, Chris Packham wrote: > Add support for the tc654 and tc655 fan controllers from Microchip. > > http://ww1.microchip.com/downloads/en/DeviceDoc/20001734C.pdf > > Signed-off-by: Chris Packham > --- > Changes in v4: > - tab-align values in #defines > - ensu

Re: [PATCH v4 8/8] Input: elan_i2c - add Host Notify support

2016-10-10 Thread Dmitry Torokhov
Hi Benjamin, On Mon, Oct 10, 2016 at 9:42 AM, Benjamin Tissoires wrote: > The Thinkpad series 13 uses Host Notify to report the interrupt. > Add elan_smb_alert() to handle those interrupts and disable the irq > handling on this case. > > Signed-off-by: Benjamin Tissoires > Why do we have to do

[PATCHv4] hwmon: Add tc654 driver

2016-10-10 Thread Chris Packham
Add support for the tc654 and tc655 fan controllers from Microchip. http://ww1.microchip.com/downloads/en/DeviceDoc/20001734C.pdf Signed-off-by: Chris Packham --- Changes in v4: - tab-align values in #defines - ensure locking in set_pwm covers updating cached values - populate the cached value f

Re: [PATCHv3] hwmon: Add tc654 driver

2016-10-10 Thread Guenter Roeck
On Mon, Oct 10, 2016 at 08:08:14PM +, Chris Packham wrote: > On 10/11/2016 02:22 AM, Guenter Roeck wrote: > >> + if (val) > >> > +data->config |= TC654_REG_CONFIG_DUTYC; > >> > +else > >> > +data->config &= ~TC654_REG_CONFIG_DUTYC; > > I just realized th

Re: [PATCHv3] hwmon: Add tc654 driver

2016-10-10 Thread Chris Packham
On 10/11/2016 02:22 AM, Guenter Roeck wrote: >> +if (val) >> > + data->config |= TC654_REG_CONFIG_DUTYC; >> > + else >> > + data->config &= ~TC654_REG_CONFIG_DUTYC; > I just realized that this won't work as intended. Problem is that you > only fill data->config when reading a

[PATCH v4 5/8] i2c: i801: remove SMBNTFDDAT reads as they always seem to return 0

2016-10-10 Thread Benjamin Tissoires
On the platform tested, reading SMBNTFDDAT always returns 0 (using 1 read of a word or 2 of 2 bytes). Given that we are not sure why and that we don't need to rely on the data parameter in the current users of Host Notify, remove this part of the code. If someone wants to re-enable it, just revert

[PATCH v4 6/8] i2c: use an IRQ to report Host Notify events, not alert

2016-10-10 Thread Benjamin Tissoires
The current SMBus Host Notify implementation relies on .alert() to relay its notifications. However, the use cases where SMBus Host Notify is needed currently is to signal data ready on touchpads. This is closer to an IRQ than a custom API through .alert(). Given that the 2 touchpad manufacturers

[PATCH v4 2/8] i2c: i801: minor formatting issues

2016-10-10 Thread Benjamin Tissoires
No functional changes, just typos and remove unused #define. Reviewed-by: Jean Delvare Signed-off-by: Benjamin Tissoires --- no changes in v4 no changes in v3 no changes in v2 --- drivers/i2c/busses/i2c-i801.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH v4 3/8] i2c: i801: use BIT() macro for bits definition

2016-10-10 Thread Benjamin Tissoires
i801 mixes hexadecimal and decimal values for defining bits. However, we have a nice BIT() macro for this exact purpose. No functional changes, cleanup only. Reviewed-by: Jean Delvare Signed-off-by: Benjamin Tissoires --- no changes in v4 no changes in v3 no changes in v2 --- drivers/i2c/b

[PATCH v4 1/8] i2c: i801: store and restore the SLVCMD register at load and unload

2016-10-10 Thread Benjamin Tissoires
Also do not override any other configuration in this register. Signed-off-by: Benjamin Tissoires --- changes in v4: - add the i801_disable_host_notify function here as this gets the first in the series no changes in v3 new in v2 --- drivers/i2c/busses/i2c-i801.c | 17 - 1 f

[PATCH v4 8/8] Input: elan_i2c - add Host Notify support

2016-10-10 Thread Benjamin Tissoires
The Thinkpad series 13 uses Host Notify to report the interrupt. Add elan_smb_alert() to handle those interrupts and disable the irq handling on this case. Signed-off-by: Benjamin Tissoires --- new in v4 (was submitted on linux-input with the .alert callback) --- drivers/input/mouse/elan_i2c_c

[PATCH v4 4/8] i2c: i801: use the BIT() macro for FEATURES_* also

2016-10-10 Thread Benjamin Tissoires
no functional changes Signed-off-by: Benjamin Tissoires --- no changes in v4 no changes in v3 new in v2 --- drivers/i2c/busses/i2c-i801.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 5

[PATCH v4 7/8] Input: elan_i2c - store the irq in struct elan_tp_data

2016-10-10 Thread Benjamin Tissoires
And make sure we have one available. Signed-off-by: Benjamin Tissoires --- new in v4 --- drivers/input/mouse/elan_i2c_core.c | 34 ++ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_

[PATCH v4 0/8] i2c: Host Notify / i801 fixes

2016-10-10 Thread Benjamin Tissoires
Hi Wolfram, Dmitry, this is a respin of the series "i2c: Host Notify / i801 fixes". The changes have been driven by Dmitry who made me realise that using .alert() was not good, while using an irqchip was a much better choice. I have dropped in the series the fixes for i2c-smbus given that the cod

[PATCH v3 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA memory policy documentation

2016-10-10 Thread Piotr Kwapulinski
The MPOL_LOCAL mode has been implemented by Peter Zijlstra (commit: 479e2802d09f1e18a97262c4c6f8f17ae5884bd8). Add the documentation for this mode. Signed-off-by: Piotr Kwapulinski --- This version fixes grammar --- man2/mbind.2 | 28 man2/set_mempolicy.2 |

Re: [PATCH V4] leds: trigger: Introduce an USB port trigger

2016-10-10 Thread Pavel Machek
Hi! > This commit adds a new trigger responsible for turning on LED when USB > device gets connected to the specified USB port. This can can useful for > various home routers that have USB port(s) and a proper LED telling user > a device is connected. > > The trigger gets its documentation file b

Re: [PATCH V4] leds: trigger: Introduce an USB port trigger

2016-10-10 Thread Pavel Machek
On Wed 2016-08-31 14:23:13, Alan Stern wrote: > On Tue, 30 Aug 2016, Rafał Miłecki wrote: > > > >> As you quite often need more complex LED management, there are > > >> triggers that were introduced in 2006 by c3bc9956ec52f ("[PATCH] LED: > > >> add LED trigger tupport"). Some triggers are trivial

Re: [PATCH v2 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA memory policy documentation

2016-10-10 Thread Christoph Lameter
On Sun, 9 Oct 2016, Piotr Kwapulinski wrote: > +arguments must specify the empty set. If the "local node" is low > +on free memory the kernel will try to allocate memory from other > +nodes. The kernel will allocate memory from the "local node" > +whenever the memory for this node will be released

Re: [PATCH v11 2/4] drm: Add API for capturing frame CRCs

2016-10-10 Thread Emil Velikov
On 6 October 2016 at 16:21, Tomeu Vizoso wrote: > Adds files and directories to debugfs for controlling and reading frame > CRCs, per CRTC: > > dri/0/crtc-0/crc > dri/0/crtc-0/crc/control > dri/0/crtc-0/crc/data > > Drivers can implement the set_crc_source callback() in drm_crtc_funcs to > start a

Re: [PATCHv3] hwmon: Add tc654 driver

2016-10-10 Thread Guenter Roeck
On 10/09/2016 03:12 PM, Chris Packham wrote: Add support for the tc654 and tc655 fan controllers from Microchip. http://ww1.microchip.com/downloads/en/DeviceDoc/20001734C.pdf Signed-off-by: Chris Packham --- Changes in v3: - typofix in documentation - add missing value to tc654_pwm_map, re-gen

Re: [PATCH v11 2/4] drm: Add API for capturing frame CRCs

2016-10-10 Thread Tomeu Vizoso
Adding Benjamin Gaignard to CC in case he wants to comment on the usage of the registration functions, as suggested by Daniel Vetter. Regards, Tomeu On 6 October 2016 at 17:21, Tomeu Vizoso wrote: > Adds files and directories to debugfs for controlling and reading frame > CRCs, per CRTC: > > dr

Re: [RFC PATCH-tip v4 02/10] locking/rwsem: Stop active read lock ASAP

2016-10-10 Thread Christoph Hellwig
On Mon, Oct 10, 2016 at 05:07:45PM +1100, Dave Chinner wrote: > > > *However*, the DAX IO path locking in XFS has changed in 4.9-rc1 to > > > match the buffered IO single writer POSIX semantics - the test is a > > > bad test based on the fact it exercised a path that is under heavy > > > developme

Re: [PATCH] regulator/overview.txt: Use ".." for ranges, instead of "->"

2016-10-10 Thread Linus Walleij
On Mon, Oct 3, 2016 at 10:45 AM, Pavel Machek wrote: > Using "->" to indicate range is not too common, switch to ".." > > Signed-off-by: Pavel Machek You sent this patch to me... resend it to the regulator maintainer. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubs

Re: [PATCH] gpio/board.txt: point to gpiod_set_value

2016-10-10 Thread Linus Walleij
On Mon, Oct 3, 2016 at 10:43 AM, Pavel Machek wrote: > gpiod_set_value() is preffered interface these days, so add a > pointer. Also fix a missing ). > > Signed-off-by: Pavel Machek Patch applied with some tweaking. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscr