/* SPDX-License-Identifier: GPL-2.0-only */ /* * This file is part of the ROHM BH1770GLC / OSRAM SFH7770 sensor driver. * Chip is combined proximity and ambient light sensor. * * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * * Contact: Samu Onkalo <[email protected]> */ #ifndef __BH1770_H__ #define __BH1770_H__ /** * struct bh1770_platform_data - platform data for bh1770glc driver * @led_def_curr: IR led driving current. * @glass_attenuation: Attenuation factor for covering window. * @setup_resources: Call back for interrupt line setup function * @release_resources: Call back for interrupte line release function * * Example of glass attenuation: 16384 * 385 / 100 means attenuation factor * of 3.85. i.e. light_above_sensor = light_above_cover_window / 3.85 */ struct bh1770_platform_data { … }; #endif