Commit c40e7e0d authored by Tomasz Stanislawski's avatar Tomasz Stanislawski Committed by Kukjin Kim
Browse files

ARM: SAMSUNG: add i2c hdmiphy controller definitions



This patch adds hdmiphy dedicated i2c controller definitions.

Signed-off-by: default avatarTomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
[m.szyprowski: renamed to i2c-hdmiphy and squashed Exynos4 and S5PV210 patches]
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 22be71ea
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -585,6 +585,12 @@ static struct clk init_clocks_off[] = {
		.parent		= &clk_aclk_100.clk,
		.enable		= exynos4_clk_ip_peril_ctrl,
		.ctrlbit	= (1 << 13),
	}, {
		.name		= "i2c",
		.devname	= "s3c2440-hdmiphy-i2c",
		.parent		= &clk_aclk_100.clk,
		.enable		= exynos4_clk_ip_peril_ctrl,
		.ctrlbit	= (1 << 14),
	}, {
		.name		= "SYSMMU_MDMA",
		.enable		= exynos4_clk_ip_image_ctrl,
+16 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2011 Samsung Electronics Co., Ltd.
 *
 * S5P series i2c hdmiphy helper definitions
 *
 * 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
 * published by the Free Software Foundation.
 */

#ifndef PLAT_S5P_I2C_HDMIPHY_H_
#define PLAT_S5P_I2C_HDMIPHY_H_

#define S5P_I2C_HDMIPHY_BUS_NUM		(8)

#endif
+2 −0
Original line number Diff line number Diff line
@@ -93,6 +93,8 @@
#define IRQ_2D			IRQ_SPI(89)
#define IRQ_PCIE		IRQ_SPI(90)

#define IRQ_IIC_HDMIPHY		IRQ_SPI(93)

#define IRQ_MFC			IRQ_SPI(94)

#define IRQ_AUDIO_SS		IRQ_SPI(96)
+4 −0
Original line number Diff line number Diff line
@@ -112,6 +112,8 @@

#define EXYNOS4_PA_UART			0x13800000

#define EXYNOS4_PA_IIC_HDMIPHY		0x138E0000

#define EXYNOS4_PA_IIC(x)		(0x13860000 + ((x) * 0x10000))

#define EXYNOS4_PA_ADC			0x13910000
@@ -161,6 +163,8 @@
#define S5P_PA_TIMER			EXYNOS4_PA_TIMER
#define S5P_PA_EHCI			EXYNOS4_PA_EHCI

#define S5P_PA_IIC_HDMIPHY		EXYNOS4_PA_IIC_HDMIPHY

#define SAMSUNG_PA_KEYPAD		EXYNOS4_PA_KEYPAD

/* UART */
+6 −0
Original line number Diff line number Diff line
@@ -411,6 +411,12 @@ static struct clk init_clocks_off[] = {
		.parent		= &clk_pclk_psys.clk,
		.enable		= s5pv210_clk_ip3_ctrl,
		.ctrlbit	= (1<<9),
	}, {
		.name		= "i2c",
		.devname	= "s3c2440-hdmiphy-i2c",
		.parent		= &clk_pclk_psys.clk,
		.enable		= s5pv210_clk_ip3_ctrl,
		.ctrlbit	= (1 << 11),
	}, {
		.name		= "spi",
		.devname	= "s3c64xx-spi.0",
Loading