/* * Driver header for M-5MOLS 8M Pixel camera sensor with ISP * * Copyright (C) 2011 Samsung Electronics Co., Ltd. * Author: HeungJun Kim * * Copyright (C) 2009 Samsung Electronics Co., Ltd. * Author: Dongsoo Nathaniel Kim * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #ifndef MEDIA_M5MOLS_H #define MEDIA_M5MOLS_H /** * struct m5mols_platform_data - platform data for M-5MOLS driver * @gpio_reset: GPIO driving the reset pin of M-5MOLS * @reset_polarity: active state for gpio_reset pin, 0 or 1 * @set_power: an additional callback to the board setup code * to be called after enabling and before disabling * the sensor's supply regulators */ struct m5mols_platform_data { int gpio_reset; u8 reset_polarity; int (*set_power)(struct device *dev, int on); }; #endif /* MEDIA_M5MOLS_H */ value='master' selected='selected'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
ref='/cgit.cgi/linux/net-next.git/commit/?id=73e705bf81ceb84b39ef9cf6ffb8d12ca0c58a23'>73e705bf81ceb84b39ef9cf6ffb8d12ca0c58a23 (patch)
ModeNameSize
-rw-r--r--4level-fixup.h1060logplain
-rw-r--r--Kbuild.asm44logplain
treed9b12334afd63697d21e46788c7a79c80abd0da7
parentd89564efe79419a093e966a959bf5ba2c94e693f (diff)
regulator: core: Add set_voltage_time op
The new op is analogous to set_voltage_time_sel. It can be used by regulators which don't have a table of discrete voltages. The function returns the time for the regulator output voltage to stabilize after being set to a new value, in microseconds. If the op is not set a default implementation is used to calculate the delay. This change also removes the ramp_delay calculation in the PWM regulator, since the driver now uses the core code for the calculation of the delay. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>