/* * 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 */ k net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/drm/drm_legacy.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-01-27 11:56:06 -0700
committerJens Axboe <axboe@fb.com>2017-01-27 11:56:06 -0700
commitc14024dbb156c8392908aaa822097d27c6af8ec8 (patch)
tree02f6ffa664b16bd76750c05f62708a518de2acdc /include/drm/drm_legacy.h
parent08965c2eba135bdfb6e86cf25308e01421c7e0ce (diff)
parent3b4f18843e511193e7eb616710e838f5852e661d (diff)
Merge branch 'stable/for-jens-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen into for-linus
Konrad writes: Please pull in your 'for-linus' branch two little fixes for Xen block front: One fix is for handling the XEN_PAGE_SIZE != PAGE_SIZE (4KB vs 64KB on ARM for example) mishandling while the other is fixing the accounting for the configuration changes.
Diffstat (limited to 'include/drm/drm_legacy.h')