You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
889 B
22 lines
889 B
/* Copyright (c) 2017-2018, The Linux Foundation. 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 version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef __MDSS_SPI_CLIENT_H__
|
|
#define __MDSS_SPI_CLIENT_H__
|
|
|
|
int mdss_spi_tx_command(const void *buf);
|
|
int mdss_spi_tx_parameter(const void *buf, size_t len);
|
|
int mdss_spi_tx_pixel(const void *buf, size_t len,
|
|
void (*spi_tx_compelet)(void *), void *ctx);
|
|
int mdss_spi_read_data(u8 reg_addr, u8 *data, u8 len);
|
|
|
|
#endif /* End of __MDSS_SPI_CLIENT_H__ */
|
|
|