b70f5cd874
The noon010pc30 sensor driver is using legacy gpio numbers passed through platform data and open coding reverse polarity on the GPIOs used for reset and standby. Nothing in the kernel defines any platform data for this driver so we can just convert the driver to use GPIO descriptors and requires that these specify the correct polarity instead. Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
22 lines
457 B
C
22 lines
457 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Driver header for NOON010PC30L camera sensor chip.
|
|
*
|
|
* Copyright (c) 2010 Samsung Electronics, Co. Ltd
|
|
* Contact: Sylwester Nawrocki <s.nawrocki@samsung.com>
|
|
*/
|
|
|
|
#ifndef NOON010PC30_H
|
|
#define NOON010PC30_H
|
|
|
|
/**
|
|
* struct noon010pc30_platform_data - platform data
|
|
* @clk_rate: the clock frequency in Hz
|
|
*/
|
|
|
|
struct noon010pc30_platform_data {
|
|
unsigned long clk_rate;
|
|
};
|
|
|
|
#endif /* NOON010PC30_H */
|