aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@indt.org.br>2008-07-03 05:24:40 -0400
committerTony Lindgren <tony@atomide.com>2008-07-03 05:24:40 -0400
commit44ec9a3371d5cab323b81c95a4c01d7b5a89cdda (patch)
tree4bcb9efd93d2d5fa489fc8446ddd4c3708c463dc /arch/arm/mach-omap2
parentbc5d0c89c88df67f92d5d5882c27437379e9e8af (diff)
ARM: OMAP: McBSP: Add support for mcbsp on mach-omap1
This patch adds support for mach-omap1 based on current mcbsp platform driver. Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/clock24xx.h30
1 files changed, 20 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/clock24xx.h b/arch/arm/mach-omap2/clock24xx.h
index 88081ed13f96..06e1118ddba2 100644
--- a/arch/arm/mach-omap2/clock24xx.h
+++ b/arch/arm/mach-omap2/clock24xx.h
@@ -1747,7 +1747,8 @@ static struct clk gpt12_fck = {
1747}; 1747};
1748 1748
1749static struct clk mcbsp1_ick = { 1749static struct clk mcbsp1_ick = {
1750 .name = "mcbsp1_ick", 1750 .name = "mcbsp_ick",
1751 .id = 1,
1751 .parent = &l4_ck, 1752 .parent = &l4_ck,
1752 .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X, 1753 .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
1753 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), 1754 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
@@ -1756,7 +1757,8 @@ static struct clk mcbsp1_ick = {
1756}; 1757};
1757 1758
1758static struct clk mcbsp1_fck = { 1759static struct clk mcbsp1_fck = {
1759 .name = "mcbsp1_fck", 1760 .name = "mcbsp_fck",
1761 .id = 1,
1760 .parent = &func_96m_ck, 1762 .parent = &func_96m_ck,
1761 .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X, 1763 .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
1762 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), 1764 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
@@ -1765,7 +1767,8 @@ static struct clk mcbsp1_fck = {
1765}; 1767};
1766 1768
1767static struct clk mcbsp2_ick = { 1769static struct clk mcbsp2_ick = {
1768 .name = "mcbsp2_ick", 1770 .name = "mcbsp_ick",
1771 .id = 2,
1769 .parent = &l4_ck, 1772 .parent = &l4_ck,
1770 .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X, 1773 .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
1771 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), 1774 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
@@ -1774,7 +1777,8 @@ static struct clk mcbsp2_ick = {
1774}; 1777};
1775 1778
1776static struct clk mcbsp2_fck = { 1779static struct clk mcbsp2_fck = {
1777 .name = "mcbsp2_fck", 1780 .name = "mcbsp_fck",
1781 .id = 2,
1778 .parent = &func_96m_ck, 1782 .parent = &func_96m_ck,
1779 .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X, 1783 .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
1780 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), 1784 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
@@ -1783,7 +1787,8 @@ static struct clk mcbsp2_fck = {
1783}; 1787};
1784 1788
1785static struct clk mcbsp3_ick = { 1789static struct clk mcbsp3_ick = {
1786 .name = "mcbsp3_ick", 1790 .name = "mcbsp_ick",
1791 .id = 3,
1787 .parent = &l4_ck, 1792 .parent = &l4_ck,
1788 .flags = CLOCK_IN_OMAP243X, 1793 .flags = CLOCK_IN_OMAP243X,
1789 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), 1794 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2),
@@ -1792,7 +1797,8 @@ static struct clk mcbsp3_ick = {
1792}; 1797};
1793 1798
1794static struct clk mcbsp3_fck = { 1799static struct clk mcbsp3_fck = {
1795 .name = "mcbsp3_fck", 1800 .name = "mcbsp_fck",
1801 .id = 3,
1796 .parent = &func_96m_ck, 1802 .parent = &func_96m_ck,
1797 .flags = CLOCK_IN_OMAP243X, 1803 .flags = CLOCK_IN_OMAP243X,
1798 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP24XX_CM_FCLKEN2), 1804 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP24XX_CM_FCLKEN2),
@@ -1801,7 +1807,8 @@ static struct clk mcbsp3_fck = {
1801}; 1807};
1802 1808
1803static struct clk mcbsp4_ick = { 1809static struct clk mcbsp4_ick = {
1804 .name = "mcbsp4_ick", 1810 .name = "mcbsp_ick",
1811 .id = 4,
1805 .parent = &l4_ck, 1812 .parent = &l4_ck,
1806 .flags = CLOCK_IN_OMAP243X, 1813 .flags = CLOCK_IN_OMAP243X,
1807 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), 1814 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2),
@@ -1810,7 +1817,8 @@ static struct clk mcbsp4_ick = {
1810}; 1817};
1811 1818
1812static struct clk mcbsp4_fck = { 1819static struct clk mcbsp4_fck = {
1813 .name = "mcbsp4_fck", 1820 .name = "mcbsp_fck",
1821 .id = 4,
1814 .parent = &func_96m_ck, 1822 .parent = &func_96m_ck,
1815 .flags = CLOCK_IN_OMAP243X, 1823 .flags = CLOCK_IN_OMAP243X,
1816 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP24XX_CM_FCLKEN2), 1824 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP24XX_CM_FCLKEN2),
@@ -1819,7 +1827,8 @@ static struct clk mcbsp4_fck = {
1819}; 1827};
1820 1828
1821static struct clk mcbsp5_ick = { 1829static struct clk mcbsp5_ick = {
1822 .name = "mcbsp5_ick", 1830 .name = "mcbsp_ick",
1831 .id = 5,
1823 .parent = &l4_ck, 1832 .parent = &l4_ck,
1824 .flags = CLOCK_IN_OMAP243X, 1833 .flags = CLOCK_IN_OMAP243X,
1825 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), 1834 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2),
@@ -1828,7 +1837,8 @@ static struct clk mcbsp5_ick = {
1828}; 1837};
1829 1838
1830static struct clk mcbsp5_fck = { 1839static struct clk mcbsp5_fck = {
1831 .name = "mcbsp5_fck", 1840 .name = "mcbsp_fck",
1841 .id = 5,
1832 .parent = &func_96m_ck, 1842 .parent = &func_96m_ck,
1833 .flags = CLOCK_IN_OMAP243X, 1843 .flags = CLOCK_IN_OMAP243X,
1834 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP24XX_CM_FCLKEN2), 1844 .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP24XX_CM_FCLKEN2),