m5mols.h 719 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Driver header for M-5MOLS 8M Pixel camera sensor with ISP
  4. *
  5. * Copyright (C) 2011 Samsung Electronics Co., Ltd.
  6. * Author: HeungJun Kim <[email protected]>
  7. *
  8. * Copyright (C) 2009 Samsung Electronics Co., Ltd.
  9. * Author: Dongsoo Nathaniel Kim <[email protected]>
  10. */
  11. #ifndef MEDIA_M5MOLS_H
  12. #define MEDIA_M5MOLS_H
  13. /**
  14. * struct m5mols_platform_data - platform data for M-5MOLS driver
  15. * @set_power: an additional callback to the board setup code
  16. * to be called after enabling and before disabling
  17. * the sensor's supply regulators
  18. */
  19. struct m5mols_platform_data {
  20. int (*set_power)(struct device *dev, int on);
  21. };
  22. #endif /* MEDIA_M5MOLS_H */