Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

leds: lp55xx: add DT bindings for LP55231

The TI55231 appears to be fully compatible to the 5523 model from
National Semicondutor. This patch just adds DT bindings for it.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>

authored by

Daniel Mack and committed by
Bryan Wu
9ef8c877 1175d5bc

+9 -2
+7 -1
Documentation/devicetree/bindings/leds/leds-lp55xx.txt
··· 1 1 Binding for TI/National Semiconductor LP55xx Led Drivers 2 2 3 3 Required properties: 4 - - compatible: "national,lp5521" or "national,lp5523" or "ti,lp5562" or "ti,lp8501" 4 + - compatible: one of 5 + national,lp5521 6 + national,lp5523 7 + ti,lp55231 8 + ti,lp5562 9 + ti,lp8501 10 + 5 11 - reg: I2C slave address 6 12 - clock-mode: Input clock mode, (0: automode, 1: internal, 2: external) 7 13
+2 -1
drivers/leds/leds-lp5523.c
··· 1 1 /* 2 - * lp5523.c - LP5523 LED Driver 2 + * lp5523.c - LP5523, LP55231 LED Driver 3 3 * 4 4 * Copyright (C) 2010 Nokia Corporation 5 5 * Copyright (C) 2012 Texas Instruments ··· 814 814 #ifdef CONFIG_OF 815 815 static const struct of_device_id of_lp5523_leds_match[] = { 816 816 { .compatible = "national,lp5523", }, 817 + { .compatible = "ti,lp55231", }, 817 818 {}, 818 819 }; 819 820