Donghwa Lee | 283591f | 2012-04-05 19:36:10 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2012 Samsung Electronics |
| 3 | * Donghwa Lee <dh09.lee@samsung.com> |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Donghwa Lee | 283591f | 2012-04-05 19:36:10 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __ASM_ARM_ARCH_SYSTEM_H_ |
| 9 | #define __ASM_ARM_ARCH_SYSTEM_H_ |
| 10 | |
| 11 | #ifndef __ASSEMBLY__ |
| 12 | struct exynos4_sysreg { |
| 13 | unsigned char res1[0x210]; |
| 14 | unsigned int display_ctrl; |
| 15 | unsigned int display_ctrl2; |
| 16 | unsigned int camera_control; |
| 17 | unsigned int audio_endian; |
| 18 | unsigned int jtag_con; |
| 19 | }; |
| 20 | |
| 21 | struct exynos5_sysreg { |
| 22 | unsigned char res1[0x214]; |
| 23 | unsigned int disp1blk_cfg; |
| 24 | unsigned int disp2blk_cfg; |
| 25 | unsigned int hdcp_e_fuse; |
| 26 | unsigned int gsclblk_cfg0; |
| 27 | unsigned int gsclblk_cfg1; |
| 28 | unsigned int reserved; |
| 29 | unsigned int ispblk_cfg; |
| 30 | unsigned int usb20phy_cfg; |
Rajeshwari Shinde | 775b6f7 | 2012-05-14 05:52:00 +0000 | [diff] [blame] | 31 | unsigned char res2[0x29c]; |
Donghwa Lee | 283591f | 2012-04-05 19:36:10 +0000 | [diff] [blame] | 32 | unsigned int mipi_dphy; |
| 33 | unsigned int dptx_dphy; |
| 34 | unsigned int phyclk_sel; |
| 35 | }; |
| 36 | #endif |
| 37 | |
Rajeshwari Shinde | 71045da | 2012-05-14 05:52:02 +0000 | [diff] [blame] | 38 | #define USB20_PHY_CFG_HOST_LINK_EN (1 << 0) |
| 39 | |
| 40 | void set_usbhost_mode(unsigned int mode); |
Donghwa Lee | 283591f | 2012-04-05 19:36:10 +0000 | [diff] [blame] | 41 | void set_system_display_ctrl(void); |
| 42 | |
| 43 | #endif /* _EXYNOS4_SYSTEM_H */ |