/* * da7219.h - DA7219 ASoC Codec Driver Platform Data * * Copyright (c) 2015 Dialog Semiconductor * * Author: Adam Thomson * * 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 __DA7219_PDATA_H #define __DA7219_PDATA_H /* Mic Bias */ enum da7219_micbias_voltage { DA7219_MICBIAS_1_6V = 0, DA7219_MICBIAS_1_8V, DA7219_MICBIAS_2_0V, DA7219_MICBIAS_2_2V, DA7219_MICBIAS_2_4V, DA7219_MICBIAS_2_6V, }; /* Mic input type */ enum da7219_mic_amp_in_sel { DA7219_MIC_AMP_IN_SEL_DIFF = 0, DA7219_MIC_AMP_IN_SEL_SE_P, DA7219_MIC_AMP_IN_SEL_SE_N, }; struct da7219_aad_pdata; struct da7219_pdata { bool wakeup_source; /* Mic */ enum da7219_micbias_voltage micbias_lvl; enum da7219_mic_amp_in_sel mic_amp_in_sel; /* AAD */ struct da7219_aad_pdata *aad_pdata; }; #endif /* __DA7219_PDATA_H */ emaclite-cleanup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/netlabel
diff options
context:
space:
mode:
authorAxel Haslam <ahaslam@baylibre.com>2016-11-03 12:11:42 +0100
committerMark Brown <broonie@kernel.org>2016-11-04 12:15:25 -0600
commit1b5b42216469b05ef4b5916cb40b127dfab1da88 (patch)
tree088f4074ec93c863025c27126c400f85009ad92a /net/netlabel
parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulator: core: Add new API to poll for error conditions
Regulator consumers can receive event notifications when errors are reported to the driver, but currently, there is no way for a regulator consumer to know when the error is over. To allow a regulator consumer to poll for error conditions add a new API: regulator_get_error_flags. Signed-off-by: Axel Haslam <ahaslam@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/netlabel')