![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * ADV7343 header file 0004 * 0005 * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ 0006 */ 0007 0008 #ifndef ADV7343_H 0009 #define ADV7343_H 0010 0011 #define ADV7343_COMPOSITE_ID (0) 0012 #define ADV7343_COMPONENT_ID (1) 0013 #define ADV7343_SVIDEO_ID (2) 0014 0015 /** 0016 * struct adv7343_power_mode - power mode configuration. 0017 * @sleep_mode: on enable the current consumption is reduced to micro ampere 0018 * level. All DACs and the internal PLL circuit are disabled. 0019 * Registers can be read from and written in sleep mode. 0020 * @pll_control: PLL and oversampling control. This control allows internal 0021 * PLL 1 circuit to be powered down and the oversampling to be 0022 * switched off. 0023 * @dac: array to configure power on/off DAC's 1..6 0024 * 0025 * Power mode register (Register 0x0), for more info refer REGISTER MAP ACCESS 0026 * section of datasheet[1], table 17 page no 30. 0027 * 0028 * [1] http://www.analog.com/static/imported-files/data_sheets/ADV7342_7343.pdf 0029 */ 0030 struct adv7343_power_mode { 0031 bool sleep_mode; 0032 bool pll_control; 0033 u32 dac[6]; 0034 }; 0035 0036 /** 0037 * struct adv7343_sd_config - SD Only Output Configuration. 0038 * @sd_dac_out: array configuring SD DAC Outputs 1 and 2 0039 */ 0040 struct adv7343_sd_config { 0041 /* SD only Output Configuration */ 0042 u32 sd_dac_out[2]; 0043 }; 0044 0045 /** 0046 * struct adv7343_platform_data - Platform data values and access functions. 0047 * @mode_config: Configuration for power mode. 0048 * @sd_config: SD Only Configuration. 0049 */ 0050 struct adv7343_platform_data { 0051 struct adv7343_power_mode mode_config; 0052 struct adv7343_sd_config sd_config; 0053 }; 0054 0055 #endif /* End of #ifndef ADV7343_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |