Re: [U-Boot] [PATCH] misc: led: Add PCA9551 LED driver

2015-03-11 Thread Fabio Estevam
Hi Stefan, On Wed, Mar 11, 2015 at 5:51 AM, Stefan Roese wrote: > + > +config PCA9551_LED > + bool "Enable PCA9551 LED driver" > + depends on TARGET_TQMA6 Is this 'depends' correct? We should be able to use this driver with other boards. > +static int pca9551_led_get_state(int led,

Re: [U-Boot] [PATCH] misc: led: Add PCA9551 LED driver

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 09:51:40AM +0100, Stefan Roese wrote: > This patch adds a driver for the PCA9551 LED controller. > > Originated-by: Timo Herbrecher > Signed-off-by: Stefan Roese Reviewed-by: Tom Rini But: > +struct pca9551_blink_rate { > + u8 psc; /* Frequency preescaler, see PC

[U-Boot] [PATCH] misc: led: Add PCA9551 LED driver

2015-03-11 Thread Stefan Roese
This patch adds a driver for the PCA9551 LED controller. Originated-by: Timo Herbrecher Signed-off-by: Stefan Roese --- drivers/misc/Kconfig | 14 + drivers/misc/Makefile | 1 + drivers/misc/pca9551_led.c | 147 + 3 files changed, 16