diff options
| -rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 4 | ||||
| -rw-r--r-- | arch/arm/boot/dts/am335x-evmsk.dts | 4 | ||||
| -rw-r--r-- | arch/arm/boot/dts/am335x-igep0033.dtsi | 6 | ||||
| -rw-r--r-- | arch/arm/boot/dts/dra7-evm.dts | 1 | ||||
| -rw-r--r-- | arch/arm/boot/dts/dra7xx-clocks.dtsi | 10 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/clkt_dpll.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/cm-regbits-34xx.h | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/common.h | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/devices.c | 28 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/dsp.c | 10 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 18 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/prm-regbits-34xx.h | 6 |
13 files changed, 53 insertions, 44 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index ecb267767cf5..e2156a583de7 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
| @@ -529,8 +529,8 @@ | |||
| 529 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ | 529 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ |
| 530 | 0 0 1 2 | 530 | 0 0 1 2 |
| 531 | >; | 531 | >; |
| 532 | tx-num-evt = <1>; | 532 | tx-num-evt = <32>; |
| 533 | rx-num-evt = <1>; | 533 | rx-num-evt = <32>; |
| 534 | }; | 534 | }; |
| 535 | 535 | ||
| 536 | &tps { | 536 | &tps { |
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index ab9a34ce524c..80a3b215e7d6 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts | |||
| @@ -560,8 +560,8 @@ | |||
| 560 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ | 560 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ |
| 561 | 0 0 1 2 | 561 | 0 0 1 2 |
| 562 | >; | 562 | >; |
| 563 | tx-num-evt = <1>; | 563 | tx-num-evt = <32>; |
| 564 | rx-num-evt = <1>; | 564 | rx-num-evt = <32>; |
| 565 | }; | 565 | }; |
| 566 | 566 | ||
| 567 | &tscadc { | 567 | &tscadc { |
diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi index 8a0a72dc7dd7..a1a0cc5eb35c 100644 --- a/arch/arm/boot/dts/am335x-igep0033.dtsi +++ b/arch/arm/boot/dts/am335x-igep0033.dtsi | |||
| @@ -105,10 +105,16 @@ | |||
| 105 | 105 | ||
| 106 | &cpsw_emac0 { | 106 | &cpsw_emac0 { |
| 107 | phy_id = <&davinci_mdio>, <0>; | 107 | phy_id = <&davinci_mdio>, <0>; |
| 108 | phy-mode = "rmii"; | ||
| 108 | }; | 109 | }; |
| 109 | 110 | ||
| 110 | &cpsw_emac1 { | 111 | &cpsw_emac1 { |
| 111 | phy_id = <&davinci_mdio>, <1>; | 112 | phy_id = <&davinci_mdio>, <1>; |
| 113 | phy-mode = "rmii"; | ||
| 114 | }; | ||
| 115 | |||
| 116 | &phy_sel { | ||
| 117 | rmii-clock-ext; | ||
| 112 | }; | 118 | }; |
| 113 | 119 | ||
| 114 | &elm { | 120 | &elm { |
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 4adc28039c30..83089540e324 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts | |||
| @@ -240,6 +240,7 @@ | |||
| 240 | regulator-name = "ldo3"; | 240 | regulator-name = "ldo3"; |
| 241 | regulator-min-microvolt = <1800000>; | 241 | regulator-min-microvolt = <1800000>; |
| 242 | regulator-max-microvolt = <1800000>; | 242 | regulator-max-microvolt = <1800000>; |
| 243 | regulator-always-on; | ||
| 243 | regulator-boot-on; | 244 | regulator-boot-on; |
| 244 | }; | 245 | }; |
| 245 | 246 | ||
diff --git a/arch/arm/boot/dts/dra7xx-clocks.dtsi b/arch/arm/boot/dts/dra7xx-clocks.dtsi index c90c76de84d6..dc7a292fe939 100644 --- a/arch/arm/boot/dts/dra7xx-clocks.dtsi +++ b/arch/arm/boot/dts/dra7xx-clocks.dtsi | |||
| @@ -673,10 +673,12 @@ | |||
| 673 | 673 | ||
| 674 | l3_iclk_div: l3_iclk_div { | 674 | l3_iclk_div: l3_iclk_div { |
| 675 | #clock-cells = <0>; | 675 | #clock-cells = <0>; |
| 676 | compatible = "fixed-factor-clock"; | 676 | compatible = "ti,divider-clock"; |
| 677 | ti,max-div = <2>; | ||
| 678 | ti,bit-shift = <4>; | ||
| 679 | reg = <0x0100>; | ||
| 677 | clocks = <&dpll_core_h12x2_ck>; | 680 | clocks = <&dpll_core_h12x2_ck>; |
| 678 | clock-mult = <1>; | 681 | ti,index-power-of-two; |
| 679 | clock-div = <1>; | ||
| 680 | }; | 682 | }; |
| 681 | 683 | ||
| 682 | l4_root_clk_div: l4_root_clk_div { | 684 | l4_root_clk_div: l4_root_clk_div { |
| @@ -684,7 +686,7 @@ | |||
| 684 | compatible = "fixed-factor-clock"; | 686 | compatible = "fixed-factor-clock"; |
| 685 | clocks = <&l3_iclk_div>; | 687 | clocks = <&l3_iclk_div>; |
| 686 | clock-mult = <1>; | 688 | clock-mult = <1>; |
| 687 | clock-div = <1>; | 689 | clock-div = <2>; |
| 688 | }; | 690 | }; |
| 689 | 691 | ||
| 690 | video1_clk2_div: video1_clk2_div { | 692 | video1_clk2_div: video1_clk2_div { |
diff --git a/arch/arm/mach-omap2/clkt_dpll.c b/arch/arm/mach-omap2/clkt_dpll.c index 332af927f4d3..67fd26a18441 100644 --- a/arch/arm/mach-omap2/clkt_dpll.c +++ b/arch/arm/mach-omap2/clkt_dpll.c | |||
| @@ -76,7 +76,7 @@ | |||
| 76 | * (assuming that it is counting N upwards), or -2 if the enclosing loop | 76 | * (assuming that it is counting N upwards), or -2 if the enclosing loop |
| 77 | * should skip to the next iteration (again assuming N is increasing). | 77 | * should skip to the next iteration (again assuming N is increasing). |
| 78 | */ | 78 | */ |
| 79 | static int _dpll_test_fint(struct clk_hw_omap *clk, u8 n) | 79 | static int _dpll_test_fint(struct clk_hw_omap *clk, unsigned int n) |
| 80 | { | 80 | { |
| 81 | struct dpll_data *dd; | 81 | struct dpll_data *dd; |
| 82 | long fint, fint_min, fint_max; | 82 | long fint, fint_min, fint_max; |
diff --git a/arch/arm/mach-omap2/cm-regbits-34xx.h b/arch/arm/mach-omap2/cm-regbits-34xx.h index 04dab2fcf862..ee6c784cd6b7 100644 --- a/arch/arm/mach-omap2/cm-regbits-34xx.h +++ b/arch/arm/mach-omap2/cm-regbits-34xx.h | |||
| @@ -26,11 +26,14 @@ | |||
| 26 | #define OMAP3430_EN_WDT3_SHIFT 12 | 26 | #define OMAP3430_EN_WDT3_SHIFT 12 |
| 27 | #define OMAP3430_CM_FCLKEN_IVA2_EN_IVA2_MASK (1 << 0) | 27 | #define OMAP3430_CM_FCLKEN_IVA2_EN_IVA2_MASK (1 << 0) |
| 28 | #define OMAP3430_CM_FCLKEN_IVA2_EN_IVA2_SHIFT 0 | 28 | #define OMAP3430_CM_FCLKEN_IVA2_EN_IVA2_SHIFT 0 |
| 29 | #define OMAP3430_IVA2_DPLL_FREQSEL_SHIFT 4 | ||
| 29 | #define OMAP3430_IVA2_DPLL_FREQSEL_MASK (0xf << 4) | 30 | #define OMAP3430_IVA2_DPLL_FREQSEL_MASK (0xf << 4) |
| 30 | #define OMAP3430_EN_IVA2_DPLL_DRIFTGUARD_SHIFT 3 | 31 | #define OMAP3430_EN_IVA2_DPLL_DRIFTGUARD_SHIFT 3 |
| 32 | #define OMAP3430_EN_IVA2_DPLL_SHIFT 0 | ||
| 31 | #define OMAP3430_EN_IVA2_DPLL_MASK (0x7 << 0) | 33 | #define OMAP3430_EN_IVA2_DPLL_MASK (0x7 << 0) |
| 32 | #define OMAP3430_ST_IVA2_SHIFT 0 | 34 | #define OMAP3430_ST_IVA2_SHIFT 0 |
| 33 | #define OMAP3430_ST_IVA2_CLK_MASK (1 << 0) | 35 | #define OMAP3430_ST_IVA2_CLK_MASK (1 << 0) |
| 36 | #define OMAP3430_AUTO_IVA2_DPLL_SHIFT 0 | ||
| 34 | #define OMAP3430_AUTO_IVA2_DPLL_MASK (0x7 << 0) | 37 | #define OMAP3430_AUTO_IVA2_DPLL_MASK (0x7 << 0) |
| 35 | #define OMAP3430_IVA2_CLK_SRC_SHIFT 19 | 38 | #define OMAP3430_IVA2_CLK_SRC_SHIFT 19 |
| 36 | #define OMAP3430_IVA2_CLK_SRC_WIDTH 3 | 39 | #define OMAP3430_IVA2_CLK_SRC_WIDTH 3 |
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index b2d252bf4a53..dc571f1d3b8a 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h | |||
| @@ -162,7 +162,8 @@ static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd) | |||
| 162 | } | 162 | } |
| 163 | #endif | 163 | #endif |
| 164 | 164 | ||
| 165 | #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) | 165 | #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) || \ |
| 166 | defined(CONFIG_SOC_DRA7XX) || defined(CONFIG_SOC_AM43XX) | ||
| 166 | void omap44xx_restart(enum reboot_mode mode, const char *cmd); | 167 | void omap44xx_restart(enum reboot_mode mode, const char *cmd); |
| 167 | #else | 168 | #else |
| 168 | static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd) | 169 | static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd) |
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 592ba0a0ecf3..b6f8f348296e 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
| @@ -297,33 +297,6 @@ static void omap_init_audio(void) | |||
| 297 | static inline void omap_init_audio(void) {} | 297 | static inline void omap_init_audio(void) {} |
| 298 | #endif | 298 | #endif |
| 299 | 299 | ||
| 300 | #if defined(CONFIG_SND_OMAP_SOC_OMAP_HDMI) || \ | ||
| 301 | defined(CONFIG_SND_OMAP_SOC_OMAP_HDMI_MODULE) | ||
| 302 | |||
| 303 | static struct platform_device omap_hdmi_audio = { | ||
| 304 | .name = "omap-hdmi-audio", | ||
| 305 | .id = -1, | ||
| 306 | }; | ||
| 307 | |||
| 308 | static void __init omap_init_hdmi_audio(void) | ||
| 309 | { | ||
| 310 | struct omap_hwmod *oh; | ||
| 311 | struct platform_device *pdev; | ||
| 312 | |||
| 313 | oh = omap_hwmod_lookup("dss_hdmi"); | ||
| 314 | if (!oh) | ||
| 315 | return; | ||
| 316 | |||
| 317 | pdev = omap_device_build("omap-hdmi-audio-dai", -1, oh, NULL, 0); | ||
