[lkml]   [2016]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCHv1 0/6] leds: pca9653x: support inverted outputs and cleanups
Hi Olliver,

Thanks for the patches.
Adding driver authors on cc.

On 04/19/2016 09:40 AM, Olliver Schinagl wrote:
> Using the pca963x for a while, I noticed something that may look like some
> i2c accessing issues where sometimes data was incorrectly written to the bus,
> possibly because we where not properly locking the i2c reads. Though I'm not
> familiar enough with the i2c framework to be certain reads need to be locked
> at all. A patch was added to properly lock i2c access more tightly.
> Furthermore there was no method to support inverted outputs. This series
> adds a property to the device tree to inform the driver that the output
> is inverted (active-high vs active-low).
> Additionally, this patch set does some cleanups to please checkpatch, and
> removes a few magic values.
> Olliver Schinagl (6):
> leds: pca963x: Alphabetize headers
> leds: pca963x: Lock i2c r/w access
> leds: pca963x: Add defines and remove some magic values
> leds: pca963x: Reduce magic values
> leds: pca963x: Inform the output that it is inverted
> leds: pca963x: Remove whitespace and checkpatch problems
> Documentation/devicetree/bindings/leds/pca963x.txt | 1 +
> drivers/leds/leds-pca963x.c | 243 ++++++++++++++-------
> include/linux/platform_data/leds-pca963x.h | 1 +
> 3 files changed, 171 insertions(+), 74 deletions(-)

Best regards,
Jacek Anaszewski

 \ /
  Last update: 2016-04-19 11:41    [W:0.121 / U:5.420 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site