| /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ |
| /* |
| * Copyright (c) 2019 Amlogic, Inc. All rights reserved. |
| */ |
| |
| #ifndef _BL_EXTERN_H_ |
| #define _BL_EXTERN_H_ |
| #include <amlogic/media/vout/lcd/bl_extern.h> |
| |
| #define BLEX(fmt, args...) printf("bl extern: "fmt"", ## args) |
| #define BLEXERR(fmt, args...) printf("bl extern: error: "fmt"", ## args) |
| #define BL_EXTERN_DRIVER "bl_extern" |
| |
| #ifdef CONFIG_SYS_I2C_AML |
| extern struct i2c_platform g_aml_i2c_plat; |
| #endif |
| |
| #ifdef CONFIG_AML_BL_EXTERN_I2C_LP8556 |
| extern int i2c_lp8556_probe(void); |
| #endif |
| |
| #ifdef CONFIG_AML_BL_EXTERN_MIPI_IT070ME05 |
| extern int mipi_lt070me05_probe(void); |
| #endif |
| |
| |
| #endif |
| |