mirror of
https://github.com/torvalds/linux.git
synced 2024-09-20 15:03:04 +00:00
drm/amd/display: Add two dmmuy I2C entry for GPIO port mapping issue
[Why] When only 4 I2C is declared, two dummies are required to correctly map GPIO port. [How] Add one more I2C dummy entry to match GPIO port. Signed-off-by: Chris Park <chris.park@amd.com> Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
17e68f8913
commit
0e4b858285
|
@ -86,7 +86,13 @@ static const struct ddc_registers ddc_data_regs_dcn[] = {
|
|||
ddc_data_regs_dcn2(2),
|
||||
ddc_data_regs_dcn2(3),
|
||||
ddc_data_regs_dcn2(4),
|
||||
// ddc_data_regs_dcn2(5),
|
||||
{
|
||||
// add a dummy entry for cases no such port
|
||||
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
|
||||
.ddc_setup = 0,
|
||||
.phy_aux_cntl = 0,
|
||||
.dc_gpio_aux_ctrl_5 = 0
|
||||
},
|
||||
{
|
||||
// add a dummy entry for cases no such port
|
||||
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
|
||||
|
@ -107,7 +113,13 @@ static const struct ddc_registers ddc_clk_regs_dcn[] = {
|
|||
ddc_clk_regs_dcn2(2),
|
||||
ddc_clk_regs_dcn2(3),
|
||||
ddc_clk_regs_dcn2(4),
|
||||
// ddc_clk_regs_dcn2(5),
|
||||
{
|
||||
// add a dummy entry for cases no such port
|
||||
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
|
||||
.ddc_setup = 0,
|
||||
.phy_aux_cntl = 0,
|
||||
.dc_gpio_aux_ctrl_5 = 0
|
||||
},
|
||||
{
|
||||
// add a dummy entry for cases no such port
|
||||
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
|
||||
|
|
Loading…
Reference in New Issue
Block a user