Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753438AbcDSJX5 (ORCPT ); Tue, 19 Apr 2016 05:23:57 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:29736 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752241AbcDSJXz (ORCPT ); Tue, 19 Apr 2016 05:23:55 -0400 X-AuditID: cbfec7f4-f796c6d000001486-9a-5715f92878f2 Message-id: <5715F927.3030102@samsung.com> Date: Tue, 19 Apr 2016 11:23:51 +0200 From: Jacek Anaszewski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 MIME-version: 1.0 To: Olliver Schinagl Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Richard Purdie , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, Peter Meerwald , Ricardo Ribalda Delgado Subject: Re: [PATCHv1 0/6] leds: pca9653x: support inverted outputs and cleanups References: <1461051650-18824-1-git-send-email-oliver@schinagl.nl> In-reply-to: <1461051650-18824-1-git-send-email-oliver@schinagl.nl> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e/4NV2Nn6LhBt27DS3mHznHatH/ZiGr xblXKxktLu+aw2ax9c06Roul1y8yWbyc9JDVYsL0tSwWv3cdY7fo6p7HZNG69wi7xe5dT1kd eDzWzFvD6HG5r5fJY+esu+weK5d/YfPYtKqTzeN88xFGjz3zf7B6tLYsZ/X4vEkugDOKyyYl NSezLLVI3y6BK2N62zHGggPcFavWPWJrYPzF0cXIySEhYCLRfmEuO4QtJnHh3nq2LkYuDiGB pYwSr/8tYIRwnjFKfJ27ihGkildAS+LlkS0sIDaLgKrE+sd32UBsNgFDiZ8vXjOB2KICERJ/ Tu9jhagXlPgx+R5YvYiApsSJGzPANjALzGKW6H53FWy1sECAxJuFh8EahAScJK7+n8QMYnMK OEtsOboTbAGzgLXEyknbGCFseYnNa94yT2AUmIVkxywkZbOQlC1gZF7FKJpamlxQnJSea6hX nJhbXJqXrpecn7uJERJDX3YwLj5mdYhRgINRiYc3oEA0XIg1say4MvcQowQHs5IIb8ZHoBBv SmJlVWpRfnxRaU5q8SFGaQ4WJXHeubvehwgJpCeWpGanphakFsFkmTg4pRoYXU7EWfl8bfl7 ZZ0V/z7TV0y+bxyYeYo+C2u8mNBmd56FsU9tloCjfX0fxw3husIfsTMkJUILn7kmhXsUzzub Uvln9cXu6wVW0RI/y8L3njy59tNe6+2di/a9jJ7wZoZuvNqMrUflrnNHTOi5wVZx5RHPedPL 80p81uhNjfgVxsd7a2l6fftmJZbijERDLeai4kQAjeOkAp0CAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1435 Lines: 37 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