From: Peter Meerwald
Subject: Re: [PATCH v2 1/3] leds-pca9633: Add support for PCA9634
Date: Fri, 9 Aug 2013 00:36:22 +0200 (CEST)
Message-ID:
References: <1375980335-19943-1-git-send-email-ricardo.ribalda@gmail.com> <1375980335-19943-2-git-send-email-ricardo.ribalda@gmail.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Return-path:
Received: from ns.pmeerw.net ([87.118.82.44]:43302 "EHLO pmeerw.net"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
id S966767Ab3HHWgY (ORCPT );
Thu, 8 Aug 2013 18:36:24 -0400
In-Reply-To:
Sender: linux-leds-owner@vger.kernel.org
List-Id: linux-leds@vger.kernel.org
To: Bryan Wu
Cc: Ricardo Ribalda Delgado , Richard Purdie , Linux LED Subsystem , LKML
Hello,
> > Add support for PCA9634 chip, which belongs to the same family as the
> > 9633 but with support for 8 outputs instead of 4.
> Basically I like this method to add a new chip supporting. Please find
> my comments below.
me too :)
> What about just rename the whole file to leds-pca963x.c. And rename
> some pca9633 to pca963x in the driver.
there are other, similar I2C LED driver chips which might be
handled with the current pca9633 driver, e.g. the pca9685 (which is
supported under pwm/ by the way)
people have argued that the numbering scheme of chips is hard to
predict; hence, the driver name should be determined by the first
device supported to avoid subsequent renaming -- but I have no strong
feelings about this
regards, p.
--
Peter Meerwald
+43-664-2444418 (mobile)