diff options
author | Jungo Lin <jungo.lin@mediatek.com> | 2019-04-03 17:21:47 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-26 15:37:47 +0000 |
commit | 82ac51f46213eb1853db970a3e530e9a8db4d9af (patch) | |
tree | 0568ed36120a9bce0687de54a09e95c0f0c63547 /board/kukui_scp/isp_p1_srv.h | |
parent | 2348dd0c629d0ee789a71ac55dc0b98d16896b0a (diff) | |
download | chrome-ec-82ac51f46213eb1853db970a3e530e9a8db4d9af.tar.gz |
mtk_isp: Add the service for isp P1 driver
BRANCH=none
BUG=b:139269434
TEST=build kukui_scp pass & camera test pass
Change-Id: I0d3927b0ee6cc9fa738a063939bcf3d03170493e
Signed-off-by: Jungo Lin <Jungo.Lin@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1549814
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Commit-Queue: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/kukui_scp/isp_p1_srv.h')
-rw-r--r-- | board/kukui_scp/isp_p1_srv.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/board/kukui_scp/isp_p1_srv.h b/board/kukui_scp/isp_p1_srv.h new file mode 100644 index 0000000000..6e262b55e4 --- /dev/null +++ b/board/kukui_scp/isp_p1_srv.h @@ -0,0 +1,21 @@ +/* Copyright 2018 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef __CROS_EC_ISP_P1_SRV_H +#define __CROS_EC_ISP_P1_SRV_H + +#include "chip/mt_scp/ipi_chip.h" + +struct isp_msg { + unsigned char id; + unsigned char msg[140]; +}; + +BUILD_ASSERT(member_size(struct isp_msg, msg) <= CONFIG_IPC_SHARED_OBJ_BUF_SIZE); + +/* Functions provided by private overlay. */ +void isp_msg_handler(void *data); + +#endif /* __CROS_EC_ISP_P1_SRV_H */ |