/* * S5K6AAFX camera sensor driver header * * Copyright (C) 2011 Samsung Electronics Co., Ltd. * * 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 S5K6AA_H #define S5K6AA_H #include /** * struct s5k6aa_gpio - data structure describing a GPIO * @gpio: GPIO number * @level: indicates active state of the @gpio */ struct s5k6aa_gpio { int gpio; int level; }; /** * struct s5k6aa_platform_data - s5k6aa driver platform data * @set_power: an additional callback to the board code, called * after enabling the regulators and before switching * the sensor off * @mclk_frequency: sensor's master clock frequency in Hz * @gpio_reset: GPIO driving RESET pin * @gpio_stby: GPIO driving STBY pin * @nlanes: maximum number of MIPI-CSI lanes used * @horiz_flip: default horizontal image flip value, non zero to enable * @vert_flip: default vertical image flip value, non zero to enable */ struct s5k6aa_platform_data { int (*set_power)(int enable); unsigned long mclk_frequency; struct s5k6aa_gpio gpio_reset; struct s5k6aa_gpio gpio_stby; enum v4l2_mbus_type bus_type; u8 nlanes; u8 horiz_flip; u8 vert_flip; }; #endif /* S5K6AA_H */ ue='switch'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/trace/events/mdio.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:45:47 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:45:47 -0800
commit24b86839fab8e8059d2b16e0067dc86a1a0d3514 (patch)
treed764e86e2bae3ef57779912ed062be725b1ca431 /include/trace/events/mdio.h
parent585457fc8383e373ab923e46cd1f70bbfe46763f (diff)
parent0fec9557fd0c5349e3bd1a2141612a60bc20bb71 (diff)
Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull smp/hotplug fix from Thomas Gleixner: "Remove an unused variable which is a leftover from the notifier removal" * 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: cpu/hotplug: Remove unused but set variable in _cpu_down()
Diffstat (limited to 'include/trace/events/mdio.h')