1 /* 2 * dim2_hdm.h - MediaLB DIM2 HDM Header 3 * 4 * Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG 5 * 6 * This program is distributed in the hope that it will be useful, 7 * but WITHOUT ANY WARRANTY; without even the implied warranty of 8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9 * GNU General Public License for more details. 10 * 11 * This file is licensed under GPLv2. 12 */ 13 14 #ifndef DIM2_HDM_H 15 #define DIM2_HDM_H 16 17 struct device; 18 19 /* platform dependent data for dim2 interface */ 20 struct dim2_platform_data { 21 int (*init)(struct dim2_platform_data *pd, void *io_base, 22 int clk_speed); 23 void (*destroy)(struct dim2_platform_data *pd); 24 void *priv; 25 }; 26 27 #endif /* DIM2_HDM_H */ 28