[PATCH v3 4/8] leds: leds-mt6323: Specify registers and specs in platform data

Lee Jones lee at kernel.org
Thu Jun 8 23:42:52 PDT 2023


On Thu, 01 Jun 2023, AngeloGioacchino Del Regno wrote:

> In order to enhance the flexibility of this driver and let it support
> more than just one MediaTek LEDs IP for more than just one PMIC,
> add platform data structure specifying the register offsets and
> data that commonly varies between different IPs.
> 
> This commit brings no functional changes.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>
> Acked-by: Pavel Machek <pavel at ucw.cz>
> ---
>  drivers/leds/leds-mt6323.c | 153 ++++++++++++++++++++++++++++---------
>  1 file changed, 115 insertions(+), 38 deletions(-)

Applied, thanks

-- 
Lee Jones [李琼斯]



More information about the Linux-mediatek mailing list