ARM: S5PV210: Update I2C-1 Clock Register Property.
Subsystems (3)
PATCH 1/1 ARM: S5PV210: Update I2C-1 Clock Register Property.
CLK_GATE_IP3[8] is RESERVED. The port "I2C_HDMI_DDY" of CLK_GATE_IP3[10] is used as another I2C port (but not dedicated to HDMI as if it is a general I2C port)
Therefore, we define the unused I2C-1 (IP3[8] is not used) as another I2C there was left undefined but used.
--- arch/arm/mach-s5pv210/clock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-s5pv210/clock.c +1 -1
@@ -357,7 +357,7 @@ static struct clk init_clocks_disable[] = { .id = 1, .parent = &clk_pclk_psys.clk, .enable = s5pv210_clk_ip3_ctrl, - .ctrlbit = (1<<8), + .ctrlbit = (1 << 10), }, { .name = "i2c", .id = 2,
Signature · 1 line
1.6.3.3
PATCH 1/1 ARM: S5PV210: Update I2C-1 Clock Register Property.
Quoted 8 lines · MyungJoo Ham
CLK_GATE_IP3[8] is RESERVED. The port "
I2C_HDMI_DDY" of CLK_GATE_IP3[10] is used as another I2C port (but not dedicated to HDMI as if it is a general I2C port)Therefore, we define the unused I2C-1 (IP3[8] is not used) as another I2C there was left undefined but used.
Your patch file is right, but your comment is not. Because actually, I2C1 is dedicated to I2C_HDMI_DDC...
Anyway, will apply.
Quoted 11 lines
Signed-off-by MyungJoo Ham <[email protected]>Signed-off-by Kyungmin Park <[email protected]>--- arch/arm/mach-s5pv210/clock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)arch/arm/mach-s5pv210/clock.c +0
-0
arch/arm/mach-s5pv210/clock.c static struct clk init_clocks_disable[] = {
Quoted 9 lines
arch/arm/mach-s5pv210/clock.c +1
-2@@ -357,7 +357,7 @@ static struct clk init_clocks_disable[] = { .id = 1, .parent = &clk_pclk_psys.clk, .enable = s5pv210_clk_ip3_ctrl, - .ctrlbit = (1<<8), + .ctrlbit = (1 << 10), }, { .name = "i2c", .id = 2, --
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.