mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
media: add imx185 sensor driver
Add imx185 camera sensor driver code, mode tables and makefile changes. Bug 3583587 Change-Id: I2990f7ce391c45be5caa0e7bea2ba46c35714fc9 Signed-off-by: Ankur Pawar <ankurp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2863985 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Semi Malinen <smalinen@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ae8499fa84
commit
1697a2aab4
37
include/trace/events/imx185.h
Normal file
37
include/trace/events/imx185.h
Normal file
@@ -0,0 +1,37 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* imx185.h
|
||||
*
|
||||
* Copyright (c) 2017-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
|
||||
#undef TRACE_SYSTEM
|
||||
#define TRACE_SYSTEM imx185
|
||||
|
||||
#if !defined(_TRACE_IMX185_H) || defined(TRACE_HEADER_MULTI_READ)
|
||||
#define _TRACE_IMX185_H
|
||||
|
||||
#include <linux/tracepoint.h>
|
||||
|
||||
TRACE_EVENT(imx185_s_stream,
|
||||
TP_PROTO(const char *name, int enable, int mode),
|
||||
TP_ARGS(name, enable, mode),
|
||||
TP_STRUCT__entry(
|
||||
__string(name, name)
|
||||
__field(int, enable)
|
||||
__field(int, mode)
|
||||
),
|
||||
TP_fast_assign(
|
||||
__assign_str(name, name);
|
||||
__entry->enable = enable;
|
||||
__entry->mode = mode;
|
||||
),
|
||||
TP_printk("%s: on %d mode %d", __get_str(name),
|
||||
__entry->enable, __entry->mode)
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* This part must be outside protection */
|
||||
#include <trace/define_trace.h>
|
||||
Reference in New Issue
Block a user