[media] s5p-fimc: Remove unused platform data structure fields
alignment, fixed_phy_vdd and phy_enable fields are now unused
so removed them. The data alignment is now derived directly
from media bus pixel code, phy_enable callback has been replaced
with direct function call and fixed_phy_vdd was dropped in commit
438df3ebe5
"[media] s5p-csis: Handle all available power supplies".
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
ccbfd1d49d
commit
09ff034047
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2011 Samsung Electronics Co., Ltd.
|
||||
*
|
||||
* S5P series MIPI CSI slave device support
|
||||
* Samsung S5P/Exynos SoC series MIPI CSIS device support
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
@@ -13,21 +13,14 @@
|
||||
|
||||
/**
|
||||
* struct s5p_platform_mipi_csis - platform data for S5P MIPI-CSIS driver
|
||||
* @clk_rate: bus clock frequency
|
||||
* @lanes: number of data lanes used
|
||||
* @alignment: data alignment in bits
|
||||
* @hs_settle: HS-RX settle time
|
||||
* @fixed_phy_vdd: false to enable external D-PHY regulator management in the
|
||||
* driver or true in case this regulator has no enable function
|
||||
* @phy_enable: pointer to a callback controlling D-PHY enable/reset
|
||||
* @clk_rate: bus clock frequency
|
||||
* @lanes: number of data lanes used
|
||||
* @hs_settle: HS-RX settle time
|
||||
*/
|
||||
struct s5p_platform_mipi_csis {
|
||||
unsigned long clk_rate;
|
||||
u8 lanes;
|
||||
u8 alignment;
|
||||
u8 hs_settle;
|
||||
bool fixed_phy_vdd;
|
||||
int (*phy_enable)(struct platform_device *pdev, bool on);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user