| /* SPDX-License-Identifier: LGPL-2.1+ |
| * driver/amlogic/led/leds_tlc59116.h |
| * Copyright (C) 2017 Amlogic, Inc. All rights reserved. |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License as published by |
| * the Free Software Foundation; either version 2 of the License, or |
| * (at your option) any later version. |
| * This program is distributed in the hope that it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| #ifndef _LEDS_TLC59116_H_ |
| #define _LEDS_TLC59116_H_ |
| #define REGISTER_OFFSET 2 |
| struct meson_tlc59116_io { |
| struct meson_tlc59116_colors { |
| struct led_classdev cdev; |
| struct meson_tlc59116_io *io; |
| struct meson_tlc59116_colors *colors; |
| unsigned int *colors_buf; |