blob: bba2bf0cd3a756a530b632175985bc2d009e622d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* Copyright (C) 2013 Samsung Electronics
*
* 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 more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _ICE5LP_LEDMATRIX_PLATFORM_DATA_H_
#define _ICE5LP_LEDMATRIX_PLATFORM_DATA_H_
struct ice5lp_ledmatrix_platform_data {
int creset_0;
int creset_1;
int fpga_reset;
int spi_si_sda;
int spi_clk_scl;
int ledmatrix_en;
#if defined(CONFIG_OF)
u32 creset_b_flag;
u32 cdone_flag;
u32 irda_irq_flag;
u32 spi_si_sda_flag;
u32 spi_clk_scl_flag;
u32 spi_en_rstn_flag;
u32 ir_en_flag;
#endif /* CONFIG_OF */
};
#endif /* _ICE5LP_LEDMATRIX_PLATFORM_DATA_H_ */
|