[omap]: refresh/rename patches

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38932 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Imre Kaloz 2013-11-27 12:34:41 +00:00
parent 60b5ba0f1d
commit 94cdb9986f
49 changed files with 118 additions and 373 deletions

View File

@ -33,9 +33,6 @@ Signed-off-by: Darren Etheridge <detheridge@ti.com>
2 files changed, 105 insertions(+), 3 deletions(-) 2 files changed, 105 insertions(+), 3 deletions(-)
create mode 100644 Documentation/devicetree/bindings/video/da8xx-fb.txt create mode 100644 Documentation/devicetree/bindings/video/da8xx-fb.txt
diff --git a/Documentation/devicetree/bindings/video/da8xx-fb.txt b/Documentation/devicetree/bindings/video/da8xx-fb.txt
new file mode 100644
index 0000000..d86afe7
--- /dev/null --- /dev/null
+++ b/Documentation/devicetree/bindings/video/da8xx-fb.txt +++ b/Documentation/devicetree/bindings/video/da8xx-fb.txt
@@ -0,0 +1,42 @@ @@ -0,0 +1,42 @@
@ -81,8 +78,6 @@ index 0000000..d86afe7
+ }; + };
+ }; + };
+}; +};
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
index e030e17..74cc2dc 100644
--- a/drivers/video/da8xx-fb.c --- a/drivers/video/da8xx-fb.c
+++ b/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c
@@ -36,6 +36,7 @@ @@ -36,6 +36,7 @@
@ -148,7 +143,7 @@ index e030e17..74cc2dc 100644
for (i = 0, lcdc_info = known_lcd_panels; for (i = 0, lcdc_info = known_lcd_panels;
i < ARRAY_SIZE(known_lcd_panels); i++, lcdc_info++) { i < ARRAY_SIZE(known_lcd_panels); i++, lcdc_info++) {
if (strcmp(fb_pdata->type, lcdc_info->name) == 0) if (strcmp(fb_pdata->type, lcdc_info->name) == 0)
@@ -1346,7 +1389,7 @@ static int fb_probe(struct platform_device *device) @@ -1346,7 +1389,7 @@ static int fb_probe(struct platform_devi
int ret; int ret;
unsigned long ulcm; unsigned long ulcm;
@ -157,7 +152,7 @@ index e030e17..74cc2dc 100644
dev_err(&device->dev, "Can not get platform data\n"); dev_err(&device->dev, "Can not get platform data\n");
return -ENOENT; return -ENOENT;
} }
@@ -1386,7 +1429,10 @@ static int fb_probe(struct platform_device *device) @@ -1386,7 +1429,10 @@ static int fb_probe(struct platform_devi
break; break;
} }
@ -169,7 +164,7 @@ index e030e17..74cc2dc 100644
if (!lcd_cfg) { if (!lcd_cfg) {
ret = -EINVAL; ret = -EINVAL;
@@ -1405,7 +1451,7 @@ static int fb_probe(struct platform_device *device) @@ -1405,7 +1451,7 @@ static int fb_probe(struct platform_devi
par->dev = &device->dev; par->dev = &device->dev;
par->lcdc_clk = tmp_lcdc_clk; par->lcdc_clk = tmp_lcdc_clk;
par->lcdc_clk_rate = clk_get_rate(par->lcdc_clk); par->lcdc_clk_rate = clk_get_rate(par->lcdc_clk);
@ -178,7 +173,7 @@ index e030e17..74cc2dc 100644
par->panel_power_ctrl = fb_pdata->panel_power_ctrl; par->panel_power_ctrl = fb_pdata->panel_power_ctrl;
par->panel_power_ctrl(1); par->panel_power_ctrl(1);
} }
@@ -1653,6 +1699,19 @@ static int fb_resume(struct platform_device *dev) @@ -1653,6 +1699,19 @@ static int fb_resume(struct platform_dev
#define fb_resume NULL #define fb_resume NULL
#endif #endif
@ -198,7 +193,7 @@ index e030e17..74cc2dc 100644
static struct platform_driver da8xx_fb_driver = { static struct platform_driver da8xx_fb_driver = {
.probe = fb_probe, .probe = fb_probe,
.remove = fb_remove, .remove = fb_remove,
@@ -1661,6 +1720,7 @@ static struct platform_driver da8xx_fb_driver = { @@ -1661,6 +1720,7 @@ static struct platform_driver da8xx_fb_d
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,
@ -206,6 +201,3 @@ index e030e17..74cc2dc 100644
}, },
}; };
--
1.7.10.4

View File

@ -14,11 +14,9 @@ Signed-off-by: Prathap M S <msprathap@ti.com>
include/video/da8xx-fb.h | 4 ++++ include/video/da8xx-fb.h | 4 ++++
2 files changed, 37 insertions(+) 2 files changed, 37 insertions(+)
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
index c534d45..77dc477 100644
--- a/drivers/video/da8xx-fb.c --- a/drivers/video/da8xx-fb.c
+++ b/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c
@@ -235,6 +235,9 @@ static struct fb_fix_screeninfo da8xx_fb_fix = { @@ -198,6 +198,9 @@ static struct fb_fix_screeninfo da8xx_fb
.accel = FB_ACCEL_NONE .accel = FB_ACCEL_NONE
}; };
@ -28,7 +26,7 @@ index c534d45..77dc477 100644
static struct fb_videomode known_lcd_panels[] = { static struct fb_videomode known_lcd_panels[] = {
/* Sharp LCD035Q3DG01 */ /* Sharp LCD035Q3DG01 */
[0] = { [0] = {
@@ -916,6 +919,32 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg, @@ -826,6 +829,32 @@ static int lcd_init(struct da8xx_fb_par
return 0; return 0;
} }
@ -61,7 +59,7 @@ index c534d45..77dc477 100644
/* IRQ handler for version 2 of LCDC */ /* IRQ handler for version 2 of LCDC */
static irqreturn_t lcdc_irq_handler_rev02(int irq, void *arg) static irqreturn_t lcdc_irq_handler_rev02(int irq, void *arg)
{ {
@@ -953,6 +982,8 @@ static irqreturn_t lcdc_irq_handler_rev02(int irq, void *arg) @@ -863,6 +892,8 @@ static irqreturn_t lcdc_irq_handler_rev0
LCD_DMA_FRM_BUF_CEILING_ADDR_0_REG); LCD_DMA_FRM_BUF_CEILING_ADDR_0_REG);
par->vsync_flag = 1; par->vsync_flag = 1;
wake_up_interruptible(&par->vsync_wait); wake_up_interruptible(&par->vsync_wait);
@ -70,7 +68,7 @@ index c534d45..77dc477 100644
} }
if (stat & LCD_END_OF_FRAME1) { if (stat & LCD_END_OF_FRAME1) {
@@ -1028,6 +1059,8 @@ static irqreturn_t lcdc_irq_handler_rev01(int irq, void *arg) @@ -938,6 +969,8 @@ static irqreturn_t lcdc_irq_handler_rev0
LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG); LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG);
par->vsync_flag = 1; par->vsync_flag = 1;
wake_up_interruptible(&par->vsync_wait); wake_up_interruptible(&par->vsync_wait);
@ -79,13 +77,11 @@ index c534d45..77dc477 100644
} }
} }
diff --git a/include/video/da8xx-fb.h b/include/video/da8xx-fb.h
index 74c986a..2a0c739 100644
--- a/include/video/da8xx-fb.h --- a/include/video/da8xx-fb.h
+++ b/include/video/da8xx-fb.h +++ b/include/video/da8xx-fb.h
@@ -106,5 +106,9 @@ void da8xx_register_encoder(struct da8xx_encoder *encoder); @@ -91,5 +91,9 @@ struct lcd_sync_arg {
void da8xx_unregister_encoder(struct da8xx_encoder *encoder); /* Proprietary FB_SYNC_ flags */
#define FB_SYNC_CLK_INVERT 0x40000000
+typedef void (*vsync_callback_t)(void *arg); +typedef void (*vsync_callback_t)(void *arg);
+int register_vsync_cb(vsync_callback_t handler, void *arg, int idx); +int register_vsync_cb(vsync_callback_t handler, void *arg, int idx);
@ -93,6 +89,3 @@ index 74c986a..2a0c739 100644
+ +
#endif /* ifndef DA8XX_FB_H */ #endif /* ifndef DA8XX_FB_H */
--
1.7.10.4

View File

@ -16,11 +16,9 @@ Signed-off-by: Darren Etheridge <detheridge@ti.com>
drivers/video/da8xx-fb.c | 4 ++-- drivers/video/da8xx-fb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-) 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
index 212d2ac..d6825e4 100644
--- a/drivers/video/da8xx-fb.c --- a/drivers/video/da8xx-fb.c
+++ b/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c
@@ -993,6 +993,8 @@ static irqreturn_t lcdc_irq_handler_rev02(int irq, void *arg) @@ -904,6 +904,8 @@ static irqreturn_t lcdc_irq_handler_rev0
LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG); LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG);
par->vsync_flag = 1; par->vsync_flag = 1;
wake_up_interruptible(&par->vsync_wait); wake_up_interruptible(&par->vsync_wait);
@ -29,7 +27,7 @@ index 212d2ac..d6825e4 100644
} }
/* Set only when controller is disabled and at the end of /* Set only when controller is disabled and at the end of
@@ -1058,8 +1060,6 @@ static irqreturn_t lcdc_irq_handler_rev01(int irq, void *arg) @@ -969,8 +971,6 @@ static irqreturn_t lcdc_irq_handler_rev0
LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG); LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG);
par->vsync_flag = 1; par->vsync_flag = 1;
wake_up_interruptible(&par->vsync_wait); wake_up_interruptible(&par->vsync_wait);
@ -38,6 +36,3 @@ index 212d2ac..d6825e4 100644
} }
} }
--
1.7.10.4

View File

@ -13,8 +13,6 @@ Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++ arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+) 1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index f9c5da9..19a1c1d 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -100,6 +100,18 @@ @@ -100,6 +100,18 @@

View File

@ -7,8 +7,6 @@ Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
arch/arm/boot/dts/am33xx.dtsi | 10 ++++++++++ arch/arm/boot/dts/am33xx.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+) 1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 19a1c1d..9ce85e5 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -335,6 +335,11 @@ @@ -335,6 +335,11 @@

View File

@ -19,11 +19,9 @@ Signed-off-by: Joel Fernandes <joelf@ti.com>
arch/arm/boot/dts/am33xx.dtsi | 38 ++++++++++++++++++++++ arch/arm/boot/dts/am33xx.dtsi | 38 ++++++++++++++++++++++
5 files changed, 88 insertions(+), 1 deletion(-) 5 files changed, 88 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt
index ed271fc..8c8908a 100644
--- a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt --- a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt
+++ b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt +++ b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt
@@ -20,8 +20,29 @@ ti,dual-volt: boolean, supports dual voltage cards @@ -20,8 +20,29 @@ ti,dual-volt: boolean, supports dual vol
ti,non-removable: non-removable slot (like eMMC) ti,non-removable: non-removable slot (like eMMC)
ti,needs-special-reset: Requires a special softreset sequence ti,needs-special-reset: Requires a special softreset sequence
ti,needs-special-hs-handling: HSMMC IP needs special setting for handling High Speed ti,needs-special-hs-handling: HSMMC IP needs special setting for handling High Speed
@ -62,8 +60,6 @@ index ed271fc..8c8908a 100644
+ &edma 25>; + &edma 25>;
+ dma-names = "tx", "rx"; + dma-names = "tx", "rx";
}; };
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
index 7993c48..d5f43fe 100644
--- a/arch/arm/boot/dts/am335x-bone.dts --- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts +++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -9,3 +9,14 @@ @@ -9,3 +9,14 @@
@ -81,8 +77,6 @@ index 7993c48..d5f43fe 100644
+ status = "okay"; + status = "okay";
+ vmmc-supply = <&ldo3_reg>; + vmmc-supply = <&ldo3_reg>;
+}; +};
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index e8ec875..bc4a69d 100644
--- a/arch/arm/boot/dts/am335x-evm.dts --- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -477,6 +477,8 @@ @@ -477,6 +477,8 @@
@ -103,8 +97,6 @@ index e8ec875..bc4a69d 100644
+ status = "okay"; + status = "okay";
+ vmmc-supply = <&vmmc_reg>; + vmmc-supply = <&vmmc_reg>;
+}; +};
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 4f339fa..55fd194 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts --- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -393,6 +393,8 @@ @@ -393,6 +393,8 @@
@ -125,8 +117,6 @@ index 4f339fa..55fd194 100644
+ status = "okay"; + status = "okay";
+ vmmc-supply = <&vmmc_reg>; + vmmc-supply = <&vmmc_reg>;
+}; +};
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 9ce85e5..0a82fca 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -240,6 +240,44 @@ @@ -240,6 +240,44 @@

View File

@ -16,11 +16,9 @@ arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 18 +++++++++---------
arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 6 +++--- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 6 +++---
3 files changed, 15 insertions(+), 15 deletions(-) 3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
index 215894f..2815a91 100644
--- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
@@ -52,7 +52,7 @@ static struct omap_hwmod am33xx_emif_hwmod = { @@ -52,7 +52,7 @@ static struct omap_hwmod am33xx_emif_hwm
.name = "emif", .name = "emif",
.class = &am33xx_emif_hwmod_class, .class = &am33xx_emif_hwmod_class,
.clkdm_name = "l3_clkdm", .clkdm_name = "l3_clkdm",
@ -29,7 +27,7 @@ index 215894f..2815a91 100644
.main_clk = "dpll_ddr_m2_div2_ck", .main_clk = "dpll_ddr_m2_div2_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -74,7 +74,7 @@ static struct omap_hwmod am33xx_l3_main_hwmod = { @@ -74,7 +74,7 @@ static struct omap_hwmod am33xx_l3_main_
.name = "l3_main", .name = "l3_main",
.class = &am33xx_l3_hwmod_class, .class = &am33xx_l3_hwmod_class,
.clkdm_name = "l3_clkdm", .clkdm_name = "l3_clkdm",
@ -38,7 +36,7 @@ index 215894f..2815a91 100644
.main_clk = "l3_gclk", .main_clk = "l3_gclk",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -96,7 +96,7 @@ static struct omap_hwmod am33xx_l3_instr_hwmod = { @@ -96,7 +96,7 @@ static struct omap_hwmod am33xx_l3_instr
.name = "l3_instr", .name = "l3_instr",
.class = &am33xx_l3_hwmod_class, .class = &am33xx_l3_hwmod_class,
.clkdm_name = "l3_clkdm", .clkdm_name = "l3_clkdm",
@ -47,7 +45,7 @@ index 215894f..2815a91 100644
.main_clk = "l3_gclk", .main_clk = "l3_gclk",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -119,7 +119,7 @@ static struct omap_hwmod am33xx_l4_ls_hwmod = { @@ -119,7 +119,7 @@ static struct omap_hwmod am33xx_l4_ls_hw
.name = "l4_ls", .name = "l4_ls",
.class = &am33xx_l4_hwmod_class, .class = &am33xx_l4_hwmod_class,
.clkdm_name = "l4ls_clkdm", .clkdm_name = "l4ls_clkdm",
@ -56,7 +54,7 @@ index 215894f..2815a91 100644
.main_clk = "l4ls_gclk", .main_clk = "l4ls_gclk",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -134,7 +134,7 @@ static struct omap_hwmod am33xx_l4_hs_hwmod = { @@ -134,7 +134,7 @@ static struct omap_hwmod am33xx_l4_hs_hw
.name = "l4_hs", .name = "l4_hs",
.class = &am33xx_l4_hwmod_class, .class = &am33xx_l4_hwmod_class,
.clkdm_name = "l4hs_clkdm", .clkdm_name = "l4hs_clkdm",
@ -65,7 +63,7 @@ index 215894f..2815a91 100644
.main_clk = "l4hs_gclk", .main_clk = "l4hs_gclk",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -150,7 +150,7 @@ static struct omap_hwmod am33xx_l4_wkup_hwmod = { @@ -150,7 +150,7 @@ static struct omap_hwmod am33xx_l4_wkup_
.name = "l4_wkup", .name = "l4_wkup",
.class = &am33xx_l4_hwmod_class, .class = &am33xx_l4_hwmod_class,
.clkdm_name = "l4_wkup_clkdm", .clkdm_name = "l4_wkup_clkdm",
@ -74,7 +72,7 @@ index 215894f..2815a91 100644
.prcm = { .prcm = {
.omap4 = { .omap4 = {
.clkctrl_offs = AM33XX_CM_WKUP_L4WKUP_CLKCTRL_OFFSET, .clkctrl_offs = AM33XX_CM_WKUP_L4WKUP_CLKCTRL_OFFSET,
@@ -170,7 +170,7 @@ static struct omap_hwmod am33xx_mpu_hwmod = { @@ -170,7 +170,7 @@ static struct omap_hwmod am33xx_mpu_hwmo
.name = "mpu", .name = "mpu",
.class = &am33xx_mpu_hwmod_class, .class = &am33xx_mpu_hwmod_class,
.clkdm_name = "mpu_clkdm", .clkdm_name = "mpu_clkdm",
@ -83,7 +81,7 @@ index 215894f..2815a91 100644
.main_clk = "dpll_mpu_m2_ck", .main_clk = "dpll_mpu_m2_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -450,7 +450,7 @@ static struct omap_hwmod am33xx_ocmcram_hwmod = { @@ -450,7 +450,7 @@ static struct omap_hwmod am33xx_ocmcram_
.name = "ocmcram", .name = "ocmcram",
.class = &am33xx_ocmcram_hwmod_class, .class = &am33xx_ocmcram_hwmod_class,
.clkdm_name = "l3_clkdm", .clkdm_name = "l3_clkdm",
@ -92,7 +90,7 @@ index 215894f..2815a91 100644
.main_clk = "l3_gclk", .main_clk = "l3_gclk",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -532,7 +532,7 @@ static struct omap_hwmod am33xx_control_hwmod = { @@ -532,7 +532,7 @@ static struct omap_hwmod am33xx_control_
.name = "control", .name = "control",
.class = &am33xx_control_hwmod_class, .class = &am33xx_control_hwmod_class,
.clkdm_name = "l4_wkup_clkdm", .clkdm_name = "l4_wkup_clkdm",
@ -101,11 +99,9 @@ index 215894f..2815a91 100644
.main_clk = "dpll_core_m4_div2_ck", .main_clk = "dpll_core_m4_div2_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 9c3b504..1e5b12c 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -914,7 +914,7 @@ static struct omap_hwmod omap44xx_emif1_hwmod = { @@ -914,7 +914,7 @@ static struct omap_hwmod omap44xx_emif1_
.name = "emif1", .name = "emif1",
.class = &omap44xx_emif_hwmod_class, .class = &omap44xx_emif_hwmod_class,
.clkdm_name = "l3_emif_clkdm", .clkdm_name = "l3_emif_clkdm",
@ -114,7 +110,7 @@ index 9c3b504..1e5b12c 100644
.main_clk = "ddrphy_ck", .main_clk = "ddrphy_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -930,7 +930,7 @@ static struct omap_hwmod omap44xx_emif2_hwmod = { @@ -930,7 +930,7 @@ static struct omap_hwmod omap44xx_emif2_
.name = "emif2", .name = "emif2",
.class = &omap44xx_emif_hwmod_class, .class = &omap44xx_emif_hwmod_class,
.clkdm_name = "l3_emif_clkdm", .clkdm_name = "l3_emif_clkdm",
@ -123,7 +119,7 @@ index 9c3b504..1e5b12c 100644
.main_clk = "ddrphy_ck", .main_clk = "ddrphy_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -2193,7 +2193,7 @@ static struct omap_hwmod omap44xx_mpu_hwmod = { @@ -2193,7 +2193,7 @@ static struct omap_hwmod omap44xx_mpu_hw
.name = "mpu", .name = "mpu",
.class = &omap44xx_mpu_hwmod_class, .class = &omap44xx_mpu_hwmod_class,
.clkdm_name = "mpuss_clkdm", .clkdm_name = "mpuss_clkdm",
@ -132,11 +128,9 @@ index 9c3b504..1e5b12c 100644
.main_clk = "dpll_mpu_m2_ck", .main_clk = "dpll_mpu_m2_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
diff --git a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
index cde4155..e3caee1 100644
--- a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c --- a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
@@ -352,7 +352,7 @@ static struct omap_hwmod omap54xx_emif1_hwmod = { @@ -352,7 +352,7 @@ static struct omap_hwmod omap54xx_emif1_
.name = "emif1", .name = "emif1",
.class = &omap54xx_emif_hwmod_class, .class = &omap54xx_emif_hwmod_class,
.clkdm_name = "emif_clkdm", .clkdm_name = "emif_clkdm",
@ -145,7 +139,7 @@ index cde4155..e3caee1 100644
.main_clk = "dpll_core_h11x2_ck", .main_clk = "dpll_core_h11x2_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -368,7 +368,7 @@ static struct omap_hwmod omap54xx_emif2_hwmod = { @@ -368,7 +368,7 @@ static struct omap_hwmod omap54xx_emif2_
.name = "emif2", .name = "emif2",
.class = &omap54xx_emif_hwmod_class, .class = &omap54xx_emif_hwmod_class,
.clkdm_name = "emif_clkdm", .clkdm_name = "emif_clkdm",
@ -154,7 +148,7 @@ index cde4155..e3caee1 100644
.main_clk = "dpll_core_h11x2_ck", .main_clk = "dpll_core_h11x2_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -1135,7 +1135,7 @@ static struct omap_hwmod omap54xx_mpu_hwmod = { @@ -1135,7 +1135,7 @@ static struct omap_hwmod omap54xx_mpu_hw
.name = "mpu", .name = "mpu",
.class = &omap54xx_mpu_hwmod_class, .class = &omap54xx_mpu_hwmod_class,
.clkdm_name = "mpu_clkdm", .clkdm_name = "mpu_clkdm",

View File

@ -21,8 +21,6 @@ Signed-off-by: Rajendra Nayak <rnayak@ti.com>
arch/arm/boot/dts/omap5.dtsi | 2 ++ arch/arm/boot/dts/omap5.dtsi | 2 ++
4 files changed, 9 insertions(+), 1 deletion(-) 4 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt
index 91b7049..808c154 100644
--- a/Documentation/devicetree/bindings/arm/omap/omap.txt --- a/Documentation/devicetree/bindings/arm/omap/omap.txt
+++ b/Documentation/devicetree/bindings/arm/omap/omap.txt +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt
@@ -21,7 +21,8 @@ Required properties: @@ -21,7 +21,8 @@ Required properties:
@ -35,11 +33,9 @@ index 91b7049..808c154 100644
Example: Example:
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index f9c5da9..ec33ea0 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -607,6 +607,7 @@ @@ -667,6 +667,7 @@
reg = <0x44d00000 0x4000 /* M3 UMEM */ reg = <0x44d00000 0x4000 /* M3 UMEM */
0x44d80000 0x2000>; /* M3 DMEM */ 0x44d80000 0x2000>; /* M3 DMEM */
ti,hwmods = "wkup_m3"; ti,hwmods = "wkup_m3";
@ -47,7 +43,7 @@ index f9c5da9..ec33ea0 100644
}; };
elm: elm@48080000 { elm: elm@48080000 {
@@ -637,6 +638,7 @@ @@ -697,6 +698,7 @@
gpmc: gpmc@50000000 { gpmc: gpmc@50000000 {
compatible = "ti,am3352-gpmc"; compatible = "ti,am3352-gpmc";
ti,hwmods = "gpmc"; ti,hwmods = "gpmc";
@ -55,8 +51,6 @@ index f9c5da9..ec33ea0 100644
reg = <0x50000000 0x2000>; reg = <0x50000000 0x2000>;
interrupts = <100>; interrupts = <100>;
gpmc,num-cs = <7>; gpmc,num-cs = <7>;
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index 22d9f2b..e8fe797 100644
--- a/arch/arm/boot/dts/omap4.dtsi --- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi
@@ -214,6 +214,7 @@ @@ -214,6 +214,7 @@
@ -83,8 +77,6 @@ index 22d9f2b..e8fe797 100644
phy-type = <1>; phy-type = <1>;
hw-caps-read-idle-ctrl; hw-caps-read-idle-ctrl;
hw-caps-ll-interface; hw-caps-ll-interface;
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 7cdea1b..a9d49df 100644
--- a/arch/arm/boot/dts/omap5.dtsi --- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi
@@ -607,6 +607,7 @@ @@ -607,6 +607,7 @@

View File

@ -8,11 +8,9 @@ Signed-off-by: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/omap_hwmod.c | 23 ++++++++++++++++------- arch/arm/mach-omap2/omap_hwmod.c | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-) 1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index d9ee0ff..b55923a 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c --- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -2363,11 +2363,11 @@ static struct device_node *of_dev_hwmod_lookup(struct device_node *np, @@ -2363,11 +2363,11 @@ static struct device_node *of_dev_hwmod_
* are part of the device's address space can be ioremapped properly. * are part of the device's address space can be ioremapped properly.
* No return value. * No return value.
*/ */
@ -26,7 +24,7 @@ index d9ee0ff..b55923a 100644
if (!oh) if (!oh)
return; return;
@@ -2383,12 +2383,10 @@ static void __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data) @@ -2383,12 +2383,10 @@ static void __init _init_mpu_rt_base(str
oh->name); oh->name);
/* Extract the IO space from device tree blob */ /* Extract the IO space from device tree blob */
@ -41,7 +39,7 @@ index d9ee0ff..b55923a 100644
} else { } else {
va_start = ioremap(mem->pa_start, mem->pa_end - mem->pa_start); va_start = ioremap(mem->pa_start, mem->pa_end - mem->pa_start);
} }
@@ -2420,12 +2418,16 @@ static void __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data) @@ -2420,12 +2418,16 @@ static void __init _init_mpu_rt_base(str
static int __init _init(struct omap_hwmod *oh, void *data) static int __init _init(struct omap_hwmod *oh, void *data)
{ {
int r; int r;
@ -59,7 +57,7 @@ index d9ee0ff..b55923a 100644
r = _init_clocks(oh, NULL); r = _init_clocks(oh, NULL);
if (r < 0) { if (r < 0) {
@@ -2433,6 +2435,13 @@ static int __init _init(struct omap_hwmod *oh, void *data) @@ -2433,6 +2435,13 @@ static int __init _init(struct omap_hwmo
return -EINVAL; return -EINVAL;
} }

View File

@ -19,11 +19,9 @@ arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 4 ++--
arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 2 -- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 2 --
3 files changed, 3 insertions(+), 7 deletions(-) 3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
index 2815a91..e8dc72d 100644
--- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
@@ -198,7 +198,7 @@ static struct omap_hwmod am33xx_wkup_m3_hwmod = { @@ -198,7 +198,7 @@ static struct omap_hwmod am33xx_wkup_m3_
.class = &am33xx_wkup_m3_hwmod_class, .class = &am33xx_wkup_m3_hwmod_class,
.clkdm_name = "l4_wkup_aon_clkdm", .clkdm_name = "l4_wkup_aon_clkdm",
/* Keep hardreset asserted */ /* Keep hardreset asserted */
@ -32,7 +30,7 @@ index 2815a91..e8dc72d 100644
.main_clk = "dpll_core_m4_div2_ck", .main_clk = "dpll_core_m4_div2_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -932,7 +932,7 @@ static struct omap_hwmod am33xx_gpmc_hwmod = { @@ -932,7 +932,7 @@ static struct omap_hwmod am33xx_gpmc_hwm
.name = "gpmc", .name = "gpmc",
.class = &am33xx_gpmc_hwmod_class, .class = &am33xx_gpmc_hwmod_class,
.clkdm_name = "l3s_clkdm", .clkdm_name = "l3s_clkdm",
@ -41,11 +39,9 @@ index 2815a91..e8dc72d 100644
.main_clk = "l3s_gclk", .main_clk = "l3s_gclk",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 1e5b12c..a507a70 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -914,7 +914,6 @@ static struct omap_hwmod omap44xx_emif1_hwmod = { @@ -914,7 +914,6 @@ static struct omap_hwmod omap44xx_emif1_
.name = "emif1", .name = "emif1",
.class = &omap44xx_emif_hwmod_class, .class = &omap44xx_emif_hwmod_class,
.clkdm_name = "l3_emif_clkdm", .clkdm_name = "l3_emif_clkdm",
@ -53,7 +49,7 @@ index 1e5b12c..a507a70 100644
.main_clk = "ddrphy_ck", .main_clk = "ddrphy_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -930,7 +929,6 @@ static struct omap_hwmod omap44xx_emif2_hwmod = { @@ -930,7 +929,6 @@ static struct omap_hwmod omap44xx_emif2_
.name = "emif2", .name = "emif2",
.class = &omap44xx_emif_hwmod_class, .class = &omap44xx_emif_hwmod_class,
.clkdm_name = "l3_emif_clkdm", .clkdm_name = "l3_emif_clkdm",
@ -61,7 +57,7 @@ index 1e5b12c..a507a70 100644
.main_clk = "ddrphy_ck", .main_clk = "ddrphy_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -1184,7 +1182,7 @@ static struct omap_hwmod omap44xx_gpmc_hwmod = { @@ -1184,7 +1182,7 @@ static struct omap_hwmod omap44xx_gpmc_h
* the kernel from the board file or DT data. * the kernel from the board file or DT data.
* HWMOD_INIT_NO_RESET should be removed ASAP. * HWMOD_INIT_NO_RESET should be removed ASAP.
*/ */
@ -70,11 +66,9 @@ index 1e5b12c..a507a70 100644
.prcm = { .prcm = {
.omap4 = { .omap4 = {
.clkctrl_offs = OMAP4_CM_L3_2_GPMC_CLKCTRL_OFFSET, .clkctrl_offs = OMAP4_CM_L3_2_GPMC_CLKCTRL_OFFSET,
diff --git a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
index e3caee1..e47f24d 100644
--- a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c --- a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
@@ -352,7 +352,6 @@ static struct omap_hwmod omap54xx_emif1_hwmod = { @@ -352,7 +352,6 @@ static struct omap_hwmod omap54xx_emif1_
.name = "emif1", .name = "emif1",
.class = &omap54xx_emif_hwmod_class, .class = &omap54xx_emif_hwmod_class,
.clkdm_name = "emif_clkdm", .clkdm_name = "emif_clkdm",
@ -82,7 +76,7 @@ index e3caee1..e47f24d 100644
.main_clk = "dpll_core_h11x2_ck", .main_clk = "dpll_core_h11x2_ck",
.prcm = { .prcm = {
.omap4 = { .omap4 = {
@@ -368,7 +367,6 @@ static struct omap_hwmod omap54xx_emif2_hwmod = { @@ -368,7 +367,6 @@ static struct omap_hwmod omap54xx_emif2_
.name = "emif2", .name = "emif2",
.class = &omap54xx_emif_hwmod_class, .class = &omap54xx_emif_hwmod_class,
.clkdm_name = "emif_clkdm", .clkdm_name = "emif_clkdm",

View File

@ -10,13 +10,11 @@ Signed-off-by: Rajendra Nayak <rnayak@ti.com>
arch/arm/boot/dts/am335x-evmsk.dts | 4 ++++ arch/arm/boot/dts/am335x-evmsk.dts | 4 ++++
1 file changed, 4 insertions(+) 1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 4f339fa..0e44d29 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts --- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -419,3 +419,7 @@ @@ -426,3 +426,7 @@
phy_id = <&davinci_mdio>, <1>; status = "okay";
phy-mode = "rgmii-txid"; vmmc-supply = <&vmmc_reg>;
}; };
+ +
+&gpio0 { +&gpio0 {

View File

@ -17,9 +17,6 @@ Acked-by: Mark Rutland <mark.rutland@arm.com>
5 files changed, 49 insertions(+) 5 files changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/crypto/omap-sham.txt create mode 100644 Documentation/devicetree/bindings/crypto/omap-sham.txt
diff --git a/Documentation/devicetree/bindings/crypto/omap-sham.txt b/Documentation/devicetree/bindings/crypto/omap-sham.txt
new file mode 100644
index 0000000..f839acd
--- /dev/null --- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/omap-sham.txt +++ b/Documentation/devicetree/bindings/crypto/omap-sham.txt
@@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
@ -51,23 +48,19 @@ index 0000000..f839acd
+ dmas = <&edma 36>; + dmas = <&edma 36>;
+ dma-names = "rx"; + dma-names = "rx";
+ }; + };
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
index 0d63348..8a9802e 100644
--- a/arch/arm/boot/dts/am335x-bone.dts --- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts +++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -19,3 +19,7 @@ @@ -20,3 +20,7 @@
&mmc1 { status = "okay";
vmmc-supply = <&ldo3_reg>; vmmc-supply = <&ldo3_reg>;
}; };
+ +
+&sham { +&sham {
+ status = "okay"; + status = "okay";
+}; +};
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 23b0a3e..d59e51c 100644
--- a/arch/arm/boot/dts/am335x-evm.dts --- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -522,3 +522,7 @@ @@ -524,3 +524,7 @@
status = "okay"; status = "okay";
vmmc-supply = <&vmmc_reg>; vmmc-supply = <&vmmc_reg>;
}; };
@ -75,23 +68,19 @@ index 23b0a3e..d59e51c 100644
+&sham { +&sham {
+ status = "okay"; + status = "okay";
+}; +};
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index bc93895..d45a330 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts --- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -424,3 +424,7 @@ @@ -430,3 +430,7 @@
status = "okay"; &gpio0 {
vmmc-supply = <&vmmc_reg>; ti,no-reset-on-init;
}; };
+ +
+&sham { +&sham {
+ status = "okay"; + status = "okay";
+}; +};
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 553adc6..299710b 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -710,5 +710,14 @@ @@ -707,5 +707,14 @@
#size-cells = <1>; #size-cells = <1>;
status = "disabled"; status = "disabled";
}; };

View File

@ -17,9 +17,6 @@ Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
5 files changed, 53 insertions(+) 5 files changed, 53 insertions(+)
create mode 100644 Documentation/devicetree/bindings/crypto/omap-aes.txt create mode 100644 Documentation/devicetree/bindings/crypto/omap-aes.txt
diff --git a/Documentation/devicetree/bindings/crypto/omap-aes.txt b/Documentation/devicetree/bindings/crypto/omap-aes.txt
new file mode 100644
index 0000000..fd97176
--- /dev/null --- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/omap-aes.txt +++ b/Documentation/devicetree/bindings/crypto/omap-aes.txt
@@ -0,0 +1,31 @@ @@ -0,0 +1,31 @@
@ -54,11 +51,9 @@ index 0000000..fd97176
+ <&edma 5>; + <&edma 5>;
+ dma-names = "tx", "rx"; + dma-names = "tx", "rx";
+ }; + };
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
index 8a9802e..94ee427 100644
--- a/arch/arm/boot/dts/am335x-bone.dts --- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts +++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -23,3 +23,7 @@ @@ -24,3 +24,7 @@
&sham { &sham {
status = "okay"; status = "okay";
}; };
@ -66,11 +61,9 @@ index 8a9802e..94ee427 100644
+&aes { +&aes {
+ status = "okay"; + status = "okay";
+}; +};
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index d59e51c..86463fa 100644
--- a/arch/arm/boot/dts/am335x-evm.dts --- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -526,3 +526,7 @@ @@ -528,3 +528,7 @@
&sham { &sham {
status = "okay"; status = "okay";
}; };
@ -78,11 +71,9 @@ index d59e51c..86463fa 100644
+&aes { +&aes {
+ status = "okay"; + status = "okay";
+}; +};
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index d45a330..f577e65 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts --- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -428,3 +428,7 @@ @@ -434,3 +434,7 @@
&sham { &sham {
status = "okay"; status = "okay";
}; };
@ -90,11 +81,9 @@ index d45a330..f577e65 100644
+&aes { +&aes {
+ status = "okay"; + status = "okay";
+}; +};
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 299710b..2664da9 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -719,5 +719,15 @@ @@ -716,5 +716,15 @@
dmas = <&edma 36>; dmas = <&edma 36>;
dma-names = "rx"; dma-names = "rx";
}; };

View File

@ -8,11 +8,9 @@ Signed-off-by: Joel Fernandes <joelf@ti.com>
arch/arm/boot/dts/am33xx.dtsi | 2 +- arch/arm/boot/dts/am33xx.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 2664da9..5c2d6c1 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -724,7 +724,7 @@ @@ -721,7 +721,7 @@
compatible = "ti,omap4-aes"; compatible = "ti,omap4-aes";
ti,hwmods = "aes"; ti,hwmods = "aes";
reg = <0x53500000 0xa0>; reg = <0x53500000 0xa0>;

View File

@ -8,11 +8,9 @@ Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 36 ++++++++++++++++++++++++++++ arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 36 ++++++++++++++++++++++++++++
1 file changed, 36 insertions(+) 1 file changed, 36 insertions(+)
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
index 215894f..3e32f45 100644
--- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
@@ -2480,6 +2480,41 @@ static struct omap_hwmod_ocp_if am33xx_l3_main__aes0 = { @@ -2480,6 +2480,41 @@ static struct omap_hwmod_ocp_if am33xx_l
.user = OCP_USER_MPU | OCP_USER_SDMA, .user = OCP_USER_MPU | OCP_USER_SDMA,
}; };
@ -54,7 +52,7 @@ index 215894f..3e32f45 100644
static struct omap_hwmod_ocp_if *am33xx_hwmod_ocp_ifs[] __initdata = { static struct omap_hwmod_ocp_if *am33xx_hwmod_ocp_ifs[] __initdata = {
&am33xx_l3_main__emif, &am33xx_l3_main__emif,
&am33xx_mpu__l3_main, &am33xx_mpu__l3_main,
@@ -2559,6 +2594,7 @@ static struct omap_hwmod_ocp_if *am33xx_hwmod_ocp_ifs[] __initdata = { @@ -2559,6 +2594,7 @@ static struct omap_hwmod_ocp_if *am33xx_
&am33xx_cpgmac0__mdio, &am33xx_cpgmac0__mdio,
&am33xx_l3_main__sha0, &am33xx_l3_main__sha0,
&am33xx_l3_main__aes0, &am33xx_l3_main__aes0,

View File

@ -12,8 +12,6 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
sound/soc/davinci/davinci-evm.c | 64 +++++++++++++++++++++++++++------------ sound/soc/davinci/davinci-evm.c | 64 +++++++++++++++++++++++++++------------
1 file changed, 44 insertions(+), 20 deletions(-) 1 file changed, 44 insertions(+), 20 deletions(-)
diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c
index fd7c45b..2f8161c 100644
--- a/sound/soc/davinci/davinci-evm.c --- a/sound/soc/davinci/davinci-evm.c
+++ b/sound/soc/davinci/davinci-evm.c +++ b/sound/soc/davinci/davinci-evm.c
@@ -27,6 +27,10 @@ @@ -27,6 +27,10 @@
@ -27,7 +25,7 @@ index fd7c45b..2f8161c 100644
#define AUDIO_FORMAT (SND_SOC_DAIFMT_DSP_B | \ #define AUDIO_FORMAT (SND_SOC_DAIFMT_DSP_B | \
SND_SOC_DAIFMT_CBM_CFM | SND_SOC_DAIFMT_IB_NF) SND_SOC_DAIFMT_CBM_CFM | SND_SOC_DAIFMT_IB_NF)
static int evm_hw_params(struct snd_pcm_substream *substream, static int evm_hw_params(struct snd_pcm_substream *substream,
@@ -35,27 +39,11 @@ static int evm_hw_params(struct snd_pcm_substream *substream, @@ -35,27 +39,11 @@ static int evm_hw_params(struct snd_pcm_
struct snd_soc_pcm_runtime *rtd = substream->private_data; struct snd_soc_pcm_runtime *rtd = substream->private_data;
struct snd_soc_dai *codec_dai = rtd->codec_dai; struct snd_soc_dai *codec_dai = rtd->codec_dai;
struct snd_soc_dai *cpu_dai = rtd->cpu_dai; struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
@ -59,7 +57,7 @@ index fd7c45b..2f8161c 100644
/* set codec DAI configuration */ /* set codec DAI configuration */
ret = snd_soc_dai_set_fmt(codec_dai, AUDIO_FORMAT); ret = snd_soc_dai_set_fmt(codec_dai, AUDIO_FORMAT);
@@ -243,35 +231,65 @@ static struct snd_soc_dai_link da850_evm_dai = { @@ -243,35 +231,65 @@ static struct snd_soc_dai_link da850_evm
}; };
/* davinci dm6446 evm audio machine driver */ /* davinci dm6446 evm audio machine driver */
@ -125,7 +123,7 @@ index fd7c45b..2f8161c 100644
}; };
static struct snd_soc_card da830_snd_soc_card = { static struct snd_soc_card da830_snd_soc_card = {
@@ -279,6 +297,11 @@ static struct snd_soc_card da830_snd_soc_card = { @@ -279,6 +297,11 @@ static struct snd_soc_card da830_snd_soc
.owner = THIS_MODULE, .owner = THIS_MODULE,
.dai_link = &da830_evm_dai, .dai_link = &da830_evm_dai,
.num_links = 1, .num_links = 1,
@ -137,7 +135,7 @@ index fd7c45b..2f8161c 100644
}; };
static struct snd_soc_card da850_snd_soc_card = { static struct snd_soc_card da850_snd_soc_card = {
@@ -286,6 +309,7 @@ static struct snd_soc_card da850_snd_soc_card = { @@ -286,6 +309,7 @@ static struct snd_soc_card da850_snd_soc
.owner = THIS_MODULE, .owner = THIS_MODULE,
.dai_link = &da850_evm_dai, .dai_link = &da850_evm_dai,
.num_links = 1, .num_links = 1,
@ -145,6 +143,3 @@ index fd7c45b..2f8161c 100644
}; };
static struct platform_device *evm_snd_device; static struct platform_device *evm_snd_device;
--
1.7.10.4

View File

@ -21,9 +21,6 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
2 files changed, 176 insertions(+), 2 deletions(-) 2 files changed, 176 insertions(+), 2 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/davinci-evm-audio.txt create mode 100644 Documentation/devicetree/bindings/sound/davinci-evm-audio.txt
diff --git a/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt b/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt
new file mode 100644
index 0000000..e6b61ff
--- /dev/null --- /dev/null
+++ b/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt +++ b/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt
@@ -0,0 +1,58 @@ @@ -0,0 +1,58 @@
@ -85,8 +82,6 @@ index 0000000..e6b61ff
+ "LINE1R", "Line In", + "LINE1R", "Line In",
+ "LINE2R", "Line In"; + "LINE2R", "Line In";
+}; +};
diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c
index 2f8161c..340a68d 100644
--- a/sound/soc/davinci/davinci-evm.c --- a/sound/soc/davinci/davinci-evm.c
+++ b/sound/soc/davinci/davinci-evm.c +++ b/sound/soc/davinci/davinci-evm.c
@@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
@ -106,7 +101,7 @@ index 2f8161c..340a68d 100644
#include "davinci-pcm.h" #include "davinci-pcm.h"
#include "davinci-i2s.h" #include "davinci-i2s.h"
#include "davinci-mcasp.h" #include "davinci-mcasp.h"
@@ -121,13 +124,22 @@ static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd) @@ -121,13 +124,22 @@ static int evm_aic3x_init(struct snd_soc
{ {
struct snd_soc_codec *codec = rtd->codec; struct snd_soc_codec *codec = rtd->codec;
struct snd_soc_dapm_context *dapm = &codec->dapm; struct snd_soc_dapm_context *dapm = &codec->dapm;
@ -131,7 +126,7 @@ index 2f8161c..340a68d 100644
/* not connected */ /* not connected */
snd_soc_dapm_disable_pin(dapm, "MONO_LOUT"); snd_soc_dapm_disable_pin(dapm, "MONO_LOUT");
@@ -312,6 +324,98 @@ static struct snd_soc_card da850_snd_soc_card = { @@ -312,6 +324,98 @@ static struct snd_soc_card da850_snd_soc
.drvdata = &da850_snd_soc_card_drvdata, .drvdata = &da850_snd_soc_card_drvdata,
}; };
@ -256,6 +251,3 @@ index 2f8161c..340a68d 100644
platform_device_unregister(evm_snd_device); platform_device_unregister(evm_snd_device);
} }
--
1.7.10.4

View File

@ -17,8 +17,6 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
sound/soc/davinci/davinci-mcasp.c | 59 +++++++++++++------- sound/soc/davinci/davinci-mcasp.c | 59 +++++++++++++-------
2 files changed, 46 insertions(+), 21 deletions(-) 2 files changed, 46 insertions(+), 21 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
index 374e145..63b67ae 100644
--- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt --- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
+++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt +++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
@@ -6,7 +6,11 @@ Required properties: @@ -6,7 +6,11 @@ Required properties:
@ -50,11 +48,9 @@ index 374e145..63b67ae 100644
interrupts = <82 83>; interrupts = <82 83>;
op-mode = <0>; /* MCASP_IIS_MODE */ op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>; tdm-slots = <2>;
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index 32ddb7f..a056fc5 100644
--- a/sound/soc/davinci/davinci-mcasp.c --- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c +++ b/sound/soc/davinci/davinci-mcasp.c
@@ -1001,18 +1001,40 @@ static const struct snd_soc_component_driver davinci_mcasp_component = { @@ -1001,18 +1001,40 @@ static const struct snd_soc_component_dr
.name = "davinci-mcasp", .name = "davinci-mcasp",
}; };
@ -98,7 +94,7 @@ index 32ddb7f..a056fc5 100644
}, },
{ /* sentinel */ } { /* sentinel */ }
}; };
@@ -1035,20 +1057,13 @@ static struct snd_platform_data *davinci_mcasp_set_pdata_from_of( @@ -1035,20 +1057,13 @@ static struct snd_platform_data *davinci
pdata = pdev->dev.platform_data; pdata = pdev->dev.platform_data;
return pdata; return pdata;
} else if (match) { } else if (match) {
@ -120,7 +116,7 @@ index 32ddb7f..a056fc5 100644
ret = of_property_read_u32(np, "op-mode", &val); ret = of_property_read_u32(np, "op-mode", &val);
if (ret >= 0) if (ret >= 0)
pdata->op_mode = val; pdata->op_mode = val;
@@ -1145,10 +1160,15 @@ static int davinci_mcasp_probe(struct platform_device *pdev) @@ -1145,10 +1160,15 @@ static int davinci_mcasp_probe(struct pl
return -EINVAL; return -EINVAL;
} }
@ -139,7 +135,7 @@ index 32ddb7f..a056fc5 100644
} }
ioarea = devm_request_mem_region(&pdev->dev, mem->start, ioarea = devm_request_mem_region(&pdev->dev, mem->start,
@@ -1182,13 +1202,16 @@ static int davinci_mcasp_probe(struct platform_device *pdev) @@ -1182,13 +1202,16 @@ static int davinci_mcasp_probe(struct pl
dev->rxnumevt = pdata->rxnumevt; dev->rxnumevt = pdata->rxnumevt;
dev->dev = &pdev->dev; dev->dev = &pdev->dev;
@ -158,7 +154,7 @@ index 32ddb7f..a056fc5 100644
/* first TX, then RX */ /* first TX, then RX */
res = platform_get_resource(pdev, IORESOURCE_DMA, 0); res = platform_get_resource(pdev, IORESOURCE_DMA, 0);
@@ -1205,8 +1228,7 @@ static int davinci_mcasp_probe(struct platform_device *pdev) @@ -1205,8 +1228,7 @@ static int davinci_mcasp_probe(struct pl
dma_data->ram_chan_q = pdata->ram_chan_q; dma_data->ram_chan_q = pdata->ram_chan_q;
dma_data->sram_pool = pdata->sram_pool; dma_data->sram_pool = pdata->sram_pool;
dma_data->sram_size = pdata->sram_size_capture; dma_data->sram_size = pdata->sram_size_capture;
@ -168,11 +164,8 @@ index 32ddb7f..a056fc5 100644
res = platform_get_resource(pdev, IORESOURCE_DMA, 1); res = platform_get_resource(pdev, IORESOURCE_DMA, 1);
if (!res) { if (!res) {
@@ -1266,4 +1288,3 @@ module_platform_driver(davinci_mcasp_driver); @@ -1266,4 +1288,3 @@ module_platform_driver(davinci_mcasp_dri
MODULE_AUTHOR("Steve Chen"); MODULE_AUTHOR("Steve Chen");
MODULE_DESCRIPTION("TI DAVINCI McASP SoC Interface"); MODULE_DESCRIPTION("TI DAVINCI McASP SoC Interface");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
- -
--
1.7.10.4

View File

@ -15,8 +15,6 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
sound/soc/davinci/davinci-mcasp.c | 47 +++++++++++++------- sound/soc/davinci/davinci-mcasp.c | 47 +++++++++++++-------
3 files changed, 39 insertions(+), 15 deletions(-) 3 files changed, 39 insertions(+), 15 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
index 63b67ae..68e0f47 100644
--- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt --- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
+++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt +++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
@@ -18,6 +18,11 @@ Required properties: @@ -18,6 +18,11 @@ Required properties:
@ -31,8 +29,6 @@ index 63b67ae..68e0f47 100644
Optional properties: Optional properties:
diff --git a/include/linux/platform_data/davinci_asp.h b/include/linux/platform_data/davinci_asp.h
index 8db5ae0..689a856 100644
--- a/include/linux/platform_data/davinci_asp.h --- a/include/linux/platform_data/davinci_asp.h
+++ b/include/linux/platform_data/davinci_asp.h +++ b/include/linux/platform_data/davinci_asp.h
@@ -84,6 +84,8 @@ struct snd_platform_data { @@ -84,6 +84,8 @@ struct snd_platform_data {
@ -44,11 +40,9 @@ index 8db5ae0..689a856 100644
}; };
enum { enum {
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index a056fc5..acbf5f8 100644
--- a/sound/soc/davinci/davinci-mcasp.c --- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c +++ b/sound/soc/davinci/davinci-mcasp.c
@@ -1047,6 +1047,7 @@ static struct snd_platform_data *davinci_mcasp_set_pdata_from_of( @@ -1047,6 +1047,7 @@ static struct snd_platform_data *davinci
struct snd_platform_data *pdata = NULL; struct snd_platform_data *pdata = NULL;
const struct of_device_id *match = const struct of_device_id *match =
of_match_device(mcasp_dt_ids, &pdev->dev); of_match_device(mcasp_dt_ids, &pdev->dev);
@ -56,7 +50,7 @@ index a056fc5..acbf5f8 100644
const u32 *of_serial_dir32; const u32 *of_serial_dir32;
u8 *of_serial_dir; u8 *of_serial_dir;
@@ -1109,6 +1110,28 @@ static struct snd_platform_data *davinci_mcasp_set_pdata_from_of( @@ -1109,6 +1110,28 @@ static struct snd_platform_data *davinci
pdata->serial_dir = of_serial_dir; pdata->serial_dir = of_serial_dir;
} }
@ -94,7 +88,7 @@ index a056fc5..acbf5f8 100644
struct snd_platform_data *pdata; struct snd_platform_data *pdata;
struct davinci_audio_dev *dev; struct davinci_audio_dev *dev;
int ret; int ret;
@@ -1213,15 +1236,11 @@ static int davinci_mcasp_probe(struct platform_device *pdev) @@ -1213,15 +1236,11 @@ static int davinci_mcasp_probe(struct pl
dma_data->sram_size = pdata->sram_size_playback; dma_data->sram_size = pdata->sram_size_playback;
dma_data->dma_addr = dma->start + pdata->tx_dma_offset; dma_data->dma_addr = dma->start + pdata->tx_dma_offset;
@ -114,7 +108,7 @@ index a056fc5..acbf5f8 100644
dma_data = &dev->dma_params[SNDRV_PCM_STREAM_CAPTURE]; dma_data = &dev->dma_params[SNDRV_PCM_STREAM_CAPTURE];
dma_data->asp_chan_q = pdata->asp_chan_q; dma_data->asp_chan_q = pdata->asp_chan_q;
@@ -1231,13 +1250,11 @@ static int davinci_mcasp_probe(struct platform_device *pdev) @@ -1231,13 +1250,11 @@ static int davinci_mcasp_probe(struct pl
dma_data->dma_addr = dma->start + pdata->rx_dma_offset; dma_data->dma_addr = dma->start + pdata->rx_dma_offset;
res = platform_get_resource(pdev, IORESOURCE_DMA, 1); res = platform_get_resource(pdev, IORESOURCE_DMA, 1);
@ -132,6 +126,3 @@ index a056fc5..acbf5f8 100644
dev_set_drvdata(&pdev->dev, dev); dev_set_drvdata(&pdev->dev, dev);
ret = snd_soc_register_component(&pdev->dev, &davinci_mcasp_component, ret = snd_soc_register_component(&pdev->dev, &davinci_mcasp_component,
&davinci_mcasp_dai[pdata->op_mode], 1); &davinci_mcasp_dai[pdata->op_mode], 1);
--
1.7.10.4

View File

@ -13,8 +13,6 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt | 4 +++- Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-) 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
index 68e0f47..2fd0bf2 100644
--- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt --- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
+++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt +++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
@@ -11,7 +11,6 @@ Required properties: @@ -11,7 +11,6 @@ Required properties:
@ -42,6 +40,3 @@ index 68e0f47..2fd0bf2 100644
op-mode = <0>; /* MCASP_IIS_MODE */ op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>; tdm-slots = <2>;
num-serializer = <16>; num-serializer = <16>;
--
1.7.10.4

View File

@ -14,8 +14,6 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
sound/soc/davinci/Makefile | 1 + sound/soc/davinci/Makefile | 1 +
2 files changed, 16 insertions(+), 3 deletions(-) 2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/sound/soc/davinci/Kconfig b/sound/soc/davinci/Kconfig
index c82f89c..95970f5 100644
--- a/sound/soc/davinci/Kconfig --- a/sound/soc/davinci/Kconfig
+++ b/sound/soc/davinci/Kconfig +++ b/sound/soc/davinci/Kconfig
@@ -1,9 +1,10 @@ @@ -1,9 +1,10 @@
@ -50,11 +48,9 @@ index c82f89c..95970f5 100644
config SND_DAVINCI_SOC_EVM config SND_DAVINCI_SOC_EVM
tristate "SoC Audio support for DaVinci DM6446, DM355 or DM365 EVM" tristate "SoC Audio support for DaVinci DM6446, DM355 or DM365 EVM"
depends on SND_DAVINCI_SOC depends on SND_DAVINCI_SOC
diff --git a/sound/soc/davinci/Makefile b/sound/soc/davinci/Makefile
index a396ab6..bc81e79 100644
--- a/sound/soc/davinci/Makefile --- a/sound/soc/davinci/Makefile
+++ b/sound/soc/davinci/Makefile +++ b/sound/soc/davinci/Makefile
@@ -13,6 +13,7 @@ obj-$(CONFIG_SND_DAVINCI_SOC_VCIF) += snd-soc-davinci-vcif.o @@ -13,6 +13,7 @@ obj-$(CONFIG_SND_DAVINCI_SOC_VCIF) += sn
snd-soc-evm-objs := davinci-evm.o snd-soc-evm-objs := davinci-evm.o
obj-$(CONFIG_SND_DAVINCI_SOC_EVM) += snd-soc-evm.o obj-$(CONFIG_SND_DAVINCI_SOC_EVM) += snd-soc-evm.o
@ -62,6 +58,3 @@ index a396ab6..bc81e79 100644
obj-$(CONFIG_SND_DM6467_SOC_EVM) += snd-soc-evm.o obj-$(CONFIG_SND_DM6467_SOC_EVM) += snd-soc-evm.o
obj-$(CONFIG_SND_DA830_SOC_EVM) += snd-soc-evm.o obj-$(CONFIG_SND_DA830_SOC_EVM) += snd-soc-evm.o
obj-$(CONFIG_SND_DA850_SOC_EVM) += snd-soc-evm.o obj-$(CONFIG_SND_DA850_SOC_EVM) += snd-soc-evm.o
--
1.7.10.4

View File

@ -11,8 +11,6 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
Documentation/devicetree/bindings/sound/tlv320aic3x.txt | 7 +++++++ Documentation/devicetree/bindings/sound/tlv320aic3x.txt | 7 +++++++
1 file changed, 7 insertions(+) 1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/tlv320aic3x.txt b/Documentation/devicetree/bindings/sound/tlv320aic3x.txt
index 705a6b1..ba26477 100644
--- a/Documentation/devicetree/bindings/sound/tlv320aic3x.txt --- a/Documentation/devicetree/bindings/sound/tlv320aic3x.txt
+++ b/Documentation/devicetree/bindings/sound/tlv320aic3x.txt +++ b/Documentation/devicetree/bindings/sound/tlv320aic3x.txt
@@ -24,10 +24,17 @@ Optional properties: @@ -24,10 +24,17 @@ Optional properties:
@ -33,6 +31,3 @@ index 705a6b1..ba26477 100644
+ DRVDD-supply = <&regulator>; + DRVDD-supply = <&regulator>;
+ DVDD-supply = <&regulator>; + DVDD-supply = <&regulator>;
}; };
--
1.7.10.4

View File

@ -11,8 +11,6 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
.../devicetree/bindings/sound/tlv320aic3x.txt | 19 +++++++++++++++++++ .../devicetree/bindings/sound/tlv320aic3x.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+) 1 file changed, 19 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/tlv320aic3x.txt b/Documentation/devicetree/bindings/sound/tlv320aic3x.txt
index ba26477..5e6040c 100644
--- a/Documentation/devicetree/bindings/sound/tlv320aic3x.txt --- a/Documentation/devicetree/bindings/sound/tlv320aic3x.txt
+++ b/Documentation/devicetree/bindings/sound/tlv320aic3x.txt +++ b/Documentation/devicetree/bindings/sound/tlv320aic3x.txt
@@ -27,6 +27,25 @@ Optional properties: @@ -27,6 +27,25 @@ Optional properties:
@ -41,6 +39,3 @@ index ba26477..5e6040c 100644
Example: Example:
tlv320aic3x: tlv320aic3x@1b { tlv320aic3x: tlv320aic3x@1b {
--
1.7.10.4

View File

@ -13,13 +13,11 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
arch/arm/boot/dts/am33xx.dtsi | 19 +++++++++++++++++++ arch/arm/boot/dts/am33xx.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+) 1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 6eb809c..4fb3521 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -839,6 +839,25 @@ @@ -726,5 +726,24 @@
clocks = <&rng_fck>; <&edma 5>;
clock-names = "fck"; dma-names = "tx", "rx";
}; };
+ +
+ mcasp0: mcasp@48038000 { + mcasp0: mcasp@48038000 {
@ -41,8 +39,4 @@ index 6eb809c..4fb3521 100644
+ }; + };
+ +
}; };
};
clocks {
--
1.7.10.4

View File

@ -15,11 +15,9 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
arch/arm/boot/dts/am33xx.dtsi | 14 ++++++++++++-- arch/arm/boot/dts/am33xx.dtsi | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-) 1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 4fb3521..b9e2ff3 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -843,19 +843,29 @@ @@ -730,19 +730,29 @@
mcasp0: mcasp@48038000 { mcasp0: mcasp@48038000 {
compatible = "ti,omap2-mcasp-audio"; compatible = "ti,omap2-mcasp-audio";
ti,hwmods = "mcasp0"; ti,hwmods = "mcasp0";
@ -51,6 +49,3 @@ index 4fb3521..b9e2ff3 100644
}; };
}; };
--
1.7.10.4

View File

@ -13,8 +13,6 @@ Signed-off-by: Jyri Sarha <jsarha@ti.com>
arch/arm/boot/dts/am335x-evm.dts | 56 ++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/am335x-evm.dts | 56 ++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+) 1 file changed, 56 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index bc4a69d..664fa2a 100644
--- a/arch/arm/boot/dts/am335x-evm.dts --- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -149,6 +149,16 @@ @@ -149,6 +149,16 @@
@ -101,6 +99,3 @@ index bc4a69d..664fa2a 100644
&tps { &tps {
vcc1-supply = <&vbat>; vcc1-supply = <&vbat>;
vcc2-supply = <&vbat>; vcc2-supply = <&vbat>;
--
1.7.10.4

View File

@ -10,8 +10,6 @@ Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
arch/arm/boot/dts/am335x-evm.dts | 2 -- arch/arm/boot/dts/am335x-evm.dts | 2 --
1 file changed, 2 deletions(-) 1 file changed, 2 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 664fa2a..baeb805 100644
--- a/arch/arm/boot/dts/am335x-evm.dts --- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -266,7 +266,6 @@ @@ -266,7 +266,6 @@
@ -30,6 +28,3 @@ index 664fa2a..baeb805 100644
}; };
vbat: fixedregulator@0 { vbat: fixedregulator@0 {
--
1.7.10.4

View File

@ -11,8 +11,6 @@ Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
arch/arm/boot/dts/am335x-evm.dts | 6 +++--- arch/arm/boot/dts/am335x-evm.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-) 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index baeb805..e52d09c 100644
--- a/arch/arm/boot/dts/am335x-evm.dts --- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -255,8 +255,8 @@ @@ -255,8 +255,8 @@
@ -35,6 +33,3 @@ index baeb805..e52d09c 100644
ti,mcasp-controller = <&mcasp1>; ti,mcasp-controller = <&mcasp1>;
ti,codec-clock-rate = <12000000>; ti,codec-clock-rate = <12000000>;
ti,audio-routing = ti,audio-routing =
--
1.7.10.4

View File

@ -14,8 +14,6 @@ Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
arch/arm/boot/dts/am335x-evm.dts | 2 +- arch/arm/boot/dts/am335x-evm.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index e52d09c..47613fd 100644
--- a/arch/arm/boot/dts/am335x-evm.dts --- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -365,7 +365,7 @@ @@ -365,7 +365,7 @@
@ -27,6 +25,3 @@ index e52d09c..47613fd 100644
ti,audio-codec = <&tlv320aic3106>; ti,audio-codec = <&tlv320aic3106>;
ti,mcasp-controller = <&mcasp1>; ti,mcasp-controller = <&mcasp1>;
ti,codec-clock-rate = <12000000>; ti,codec-clock-rate = <12000000>;
--
1.7.10.4

View File

@ -15,8 +15,6 @@ Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
arch/arm/boot/dts/am335x-evmsk.dts | 51 ++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/am335x-evmsk.dts | 51 ++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+) 1 file changed, 51 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 879981d..b87ce7f 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts --- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -158,6 +158,15 @@ @@ -158,6 +158,15 @@
@ -72,9 +70,9 @@ index 879981d..b87ce7f 100644
}; };
vbat: fixedregulator@0 { vbat: fixedregulator@0 {
@@ -430,3 +462,22 @@ @@ -438,3 +470,22 @@
&aes {
status = "okay"; status = "okay";
vmmc-supply = <&vmmc_reg>;
}; };
+ +
+&mcasp1 { +&mcasp1 {
@ -95,6 +93,3 @@ index 879981d..b87ce7f 100644
+ tx-num-evt = <1>; + tx-num-evt = <1>;
+ rx-num-evt = <1>; + rx-num-evt = <1>;
+}; +};
--
1.7.10.4

View File

@ -16,8 +16,6 @@ Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
sound/soc/davinci/davinci-mcasp.c | 22 +++++--------------- sound/soc/davinci/davinci-mcasp.c | 22 +++++---------------
2 files changed, 8 insertions(+), 22 deletions(-) 2 files changed, 8 insertions(+), 22 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
index 2fd0bf2..be6cf94 100644
--- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt --- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
+++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt +++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
@@ -13,10 +13,9 @@ Required properties: @@ -13,10 +13,9 @@ Required properties:
@ -42,11 +40,9 @@ index 2fd0bf2..be6cf94 100644
serial-dir = < serial-dir = <
0 0 0 0 /* 0: INACTIVE, 1: TX, 2: RX */ 0 0 0 0 /* 0: INACTIVE, 1: TX, 2: RX */
0 0 0 0 0 0 0 0
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index acbf5f8..69e662e 100644
--- a/sound/soc/davinci/davinci-mcasp.c --- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c +++ b/sound/soc/davinci/davinci-mcasp.c
@@ -1050,7 +1050,6 @@ static struct snd_platform_data *davinci_mcasp_set_pdata_from_of( @@ -1050,7 +1050,6 @@ static struct snd_platform_data *davinci
struct of_phandle_args dma_spec; struct of_phandle_args dma_spec;
const u32 *of_serial_dir32; const u32 *of_serial_dir32;
@ -54,7 +50,7 @@ index acbf5f8..69e662e 100644
u32 val; u32 val;
int i, ret = 0; int i, ret = 0;
@@ -1081,32 +1080,21 @@ static struct snd_platform_data *davinci_mcasp_set_pdata_from_of( @@ -1081,32 +1080,21 @@ static struct snd_platform_data *davinci
pdata->tdm_slots = val; pdata->tdm_slots = val;
} }
@ -92,6 +88,3 @@ index acbf5f8..69e662e 100644
pdata->serial_dir = of_serial_dir; pdata->serial_dir = of_serial_dir;
} }
--
1.7.10.4

View File

@ -11,8 +11,6 @@ Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
arch/arm/boot/dts/am335x-evm.dts | 2 +- arch/arm/boot/dts/am335x-evm.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 47613fd..c4494a2 100644
--- a/arch/arm/boot/dts/am335x-evm.dts --- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -450,7 +450,7 @@ @@ -450,7 +450,7 @@
@ -24,6 +22,3 @@ index 47613fd..c4494a2 100644
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
0 0 1 2 0 0 1 2
0 0 0 0 0 0 0 0
--
1.7.10.4

View File

@ -11,11 +11,9 @@ Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
arch/arm/boot/dts/am335x-evmsk.dts | 2 +- arch/arm/boot/dts/am335x-evmsk.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index b87ce7f..354c0e5 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts --- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -471,7 +471,7 @@ @@ -479,7 +479,7 @@
op-mode = <0>; /* MCASP_IIS_MODE */ op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>; tdm-slots = <2>;
@ -24,6 +22,3 @@ index b87ce7f..354c0e5 100644
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
0 0 1 2 0 0 1 2
0 0 0 0 0 0 0 0
--
1.7.10.4

View File

@ -1,6 +1,6 @@
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -682,6 +682,15 @@ @@ -678,6 +678,15 @@
status = "disabled"; status = "disabled";
}; };

View File

@ -33,9 +33,6 @@ drivers/crypto/omap-des.c | 1192 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 1192 insertions(+) 1 file changed, 1192 insertions(+)
create mode 100644 drivers/crypto/omap-des.c create mode 100644 drivers/crypto/omap-des.c
diff --git a/drivers/crypto/omap-des.c b/drivers/crypto/omap-des.c
new file mode 100644
index 0000000..6a9a25f
--- /dev/null --- /dev/null
+++ b/drivers/crypto/omap-des.c +++ b/drivers/crypto/omap-des.c
@@ -0,0 +1,1192 @@ @@ -0,0 +1,1192 @@

View File

@ -25,11 +25,9 @@ drivers/crypto/Kconfig | 11 +++++++++++
drivers/crypto/Makefile | 1 + drivers/crypto/Makefile | 1 +
2 files changed, 12 insertions(+) 2 files changed, 12 insertions(+)
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index e289afa..119a8e5 100644
--- a/drivers/crypto/Kconfig --- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig
@@ -259,6 +259,17 @@ config CRYPTO_DEV_OMAP_AES @@ -263,6 +263,17 @@ config CRYPTO_DEV_OMAP_AES
OMAP processors have AES module accelerator. Select this if you OMAP processors have AES module accelerator. Select this if you
want to use the OMAP module for AES algorithms. want to use the OMAP module for AES algorithms.
@ -47,15 +45,13 @@ index e289afa..119a8e5 100644
config CRYPTO_DEV_PICOXCELL config CRYPTO_DEV_PICOXCELL
tristate "Support for picoXcell IPSEC and Layer2 crypto engines" tristate "Support for picoXcell IPSEC and Layer2 crypto engines"
depends on ARCH_PICOXCELL && HAVE_CLK depends on ARCH_PICOXCELL && HAVE_CLK
diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile
index 38ce13d..ada440f 100644
--- a/drivers/crypto/Makefile --- a/drivers/crypto/Makefile
+++ b/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile
@@ -11,6 +11,7 @@ obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4xx_crypto.o @@ -11,6 +11,7 @@ obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4x
obj-$(CONFIG_CRYPTO_DEV_PPC4XX) += amcc/ obj-$(CONFIG_CRYPTO_DEV_PPC4XX) += amcc/
obj-$(CONFIG_CRYPTO_DEV_OMAP_SHAM) += omap-sham.o obj-$(CONFIG_CRYPTO_DEV_OMAP_SHAM) += omap-sham.o
obj-$(CONFIG_CRYPTO_DEV_OMAP_AES) += omap-aes.o obj-$(CONFIG_CRYPTO_DEV_OMAP_AES) += omap-aes.o
+obj-$(CONFIG_CRYPTO_DEV_OMAP_DES) += omap-des.o +obj-$(CONFIG_CRYPTO_DEV_OMAP_DES) += omap-des.o
obj-$(CONFIG_CRYPTO_DEV_PICOXCELL) += picoxcell_crypto.o obj-$(CONFIG_CRYPTO_DEV_PICOXCELL) += picoxcell_crypto.o
obj-$(CONFIG_CRYPTO_DEV_SAHARA) += sahara.o obj-$(CONFIG_CRYPTO_DEV_SAHARA) += sahara.o
obj-$(CONFIG_CRYPTO_DEV_S5P) += s5p-sss.o obj-$(CONFIG_CRYPTO_DEV_DCP) += dcp.o

View File

@ -25,8 +25,6 @@ Signed-off-by: Joel Fernandes <joelf@ti.com>
drivers/crypto/omap-des.c | 53 ++++++++++++++++++++++++++++++++++++++++++++--- drivers/crypto/omap-des.c | 53 ++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 50 insertions(+), 3 deletions(-) 1 file changed, 50 insertions(+), 3 deletions(-)
diff --git a/drivers/crypto/omap-des.c b/drivers/crypto/omap-des.c
index 6a9a25f..0df60cb 100644
--- a/drivers/crypto/omap-des.c --- a/drivers/crypto/omap-des.c
+++ b/drivers/crypto/omap-des.c +++ b/drivers/crypto/omap-des.c
@@ -83,7 +83,7 @@ struct omap_des_ctx { @@ -83,7 +83,7 @@ struct omap_des_ctx {
@ -38,7 +36,7 @@ index 6a9a25f..0df60cb 100644
unsigned long flags; unsigned long flags;
}; };
@@ -265,8 +265,10 @@ static int omap_des_write_ctrl(struct omap_des_dev *dd) @@ -265,8 +265,10 @@ static int omap_des_write_ctrl(struct om
val |= DES_REG_CTRL_CBC; val |= DES_REG_CTRL_CBC;
if (dd->flags & FLAGS_ENCRYPT) if (dd->flags & FLAGS_ENCRYPT)
val |= DES_REG_CTRL_DIRECTION; val |= DES_REG_CTRL_DIRECTION;
@ -50,7 +48,7 @@ index 6a9a25f..0df60cb 100644
omap_des_write_mask(dd, DES_REG_CTRL(dd), val, mask); omap_des_write_mask(dd, DES_REG_CTRL(dd), val, mask);
@@ -725,7 +727,7 @@ static int omap_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, @@ -725,7 +727,7 @@ static int omap_des_setkey(struct crypto
{ {
struct omap_des_ctx *ctx = crypto_ablkcipher_ctx(tfm); struct omap_des_ctx *ctx = crypto_ablkcipher_ctx(tfm);
@ -59,10 +57,12 @@ index 6a9a25f..0df60cb 100644
return -EINVAL; return -EINVAL;
pr_debug("enter, keylen: %d\n", keylen); pr_debug("enter, keylen: %d\n", keylen);
@@ -817,6 +819,51 @@ static struct crypto_alg algs_ecb_cbc[] = { @@ -815,6 +817,51 @@ static struct crypto_alg algs_ecb_cbc[]
.ivsize = DES_BLOCK_SIZE,
.setkey = omap_des_setkey,
.encrypt = omap_des_cbc_encrypt, .encrypt = omap_des_cbc_encrypt,
.decrypt = omap_des_cbc_decrypt, + .decrypt = omap_des_cbc_decrypt,
} + }
+}, +},
+{ +{
+ .cra_name = "ecb(des3_ede)", + .cra_name = "ecb(des3_ede)",
@ -106,8 +106,6 @@ index 6a9a25f..0df60cb 100644
+ .ivsize = DES_BLOCK_SIZE, + .ivsize = DES_BLOCK_SIZE,
+ .setkey = omap_des_setkey, + .setkey = omap_des_setkey,
+ .encrypt = omap_des_cbc_encrypt, + .encrypt = omap_des_cbc_encrypt,
+ .decrypt = omap_des_cbc_decrypt, .decrypt = omap_des_cbc_decrypt,
+ } }
} }
};

View File

@ -14,8 +14,6 @@ is not sufficient to operate the device at OPP100.
Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
--- ---
diff --git a/arch/arm/boot/dts/omap4-panda-es.dts b/arch/arm/boot/dts/omap4-panda-es.dts
index 56c4354..816d1c9 100644
--- a/arch/arm/boot/dts/omap4-panda-es.dts --- a/arch/arm/boot/dts/omap4-panda-es.dts
+++ b/arch/arm/boot/dts/omap4-panda-es.dts +++ b/arch/arm/boot/dts/omap4-panda-es.dts
@@ -62,3 +62,7 @@ @@ -62,3 +62,7 @@
@ -26,5 +24,3 @@ index 56c4354..816d1c9 100644
+&gpio1 { +&gpio1 {
+ ti,no-reset-on-init; + ti,no-reset-on-init;
+}; +};
--
cgit v0.9.2

View File

@ -11,11 +11,9 @@ Cc: stable@vger.kernel.org
Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
--- ---
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c
index 3926f37..e022a86 100644
--- a/arch/arm/mach-omap2/irq.c --- a/arch/arm/mach-omap2/irq.c
+++ b/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c
@@ -233,7 +233,7 @@ static inline void omap_intc_handle_irq(void __iomem *base_addr, struct pt_regs @@ -233,7 +233,7 @@ static inline void omap_intc_handle_irq(
goto out; goto out;
irqnr = readl_relaxed(base_addr + 0xd8); irqnr = readl_relaxed(base_addr + 0xd8);
@ -24,5 +22,3 @@ index 3926f37..e022a86 100644
if (irqnr) if (irqnr)
goto out; goto out;
irqnr = readl_relaxed(base_addr + 0xf8); irqnr = readl_relaxed(base_addr + 0xf8);
--
cgit v0.9.2

View File

@ -9,11 +9,9 @@ Changes the label to usb_ctrl_mod.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
--- ---
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 97f5019..0ca13ad 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -416,7 +416,7 @@ @@ -406,7 +406,7 @@
ti,hwmods = "usb_otg_hs"; ti,hwmods = "usb_otg_hs";
status = "disabled"; status = "disabled";
@ -22,7 +20,7 @@ index 97f5019..0ca13ad 100644
compatible = "ti,am335x-usb-ctrl-module"; compatible = "ti,am335x-usb-ctrl-module";
reg = <0x44e10620 0x10 reg = <0x44e10620 0x10
0x44e10648 0x4>; 0x44e10648 0x4>;
@@ -429,7 +429,7 @@ @@ -419,7 +419,7 @@
reg = <0x47401300 0x100>; reg = <0x47401300 0x100>;
reg-names = "phy"; reg-names = "phy";
status = "disabled"; status = "disabled";
@ -31,7 +29,7 @@ index 97f5019..0ca13ad 100644
}; };
usb0: usb@47401000 { usb0: usb@47401000 {
@@ -477,7 +477,7 @@ @@ -467,7 +467,7 @@
reg = <0x47401b00 0x100>; reg = <0x47401b00 0x100>;
reg-names = "phy"; reg-names = "phy";
status = "disabled"; status = "disabled";
@ -40,5 +38,3 @@ index 97f5019..0ca13ad 100644
}; };
usb1: usb@47401800 { usb1: usb@47401800 {
--
cgit v0.9.2

View File

@ -14,8 +14,6 @@ when booting using device tree.
Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
--- ---
diff --git a/arch/arm/mach-omap2/opp.c b/arch/arm/mach-omap2/opp.c
index bd41d59..82fd8c7 100644
--- a/arch/arm/mach-omap2/opp.c --- a/arch/arm/mach-omap2/opp.c
+++ b/arch/arm/mach-omap2/opp.c +++ b/arch/arm/mach-omap2/opp.c
@@ -17,6 +17,7 @@ @@ -17,6 +17,7 @@
@ -26,7 +24,7 @@ index bd41d59..82fd8c7 100644
#include <linux/opp.h> #include <linux/opp.h>
#include <linux/cpu.h> #include <linux/cpu.h>
@@ -40,6 +41,9 @@ int __init omap_init_opp_table(struct omap_opp_def *opp_def, @@ -40,6 +41,9 @@ int __init omap_init_opp_table(struct om
{ {
int i, r; int i, r;
@ -36,5 +34,3 @@ index bd41d59..82fd8c7 100644
if (!opp_def || !opp_def_size) { if (!opp_def || !opp_def_size) {
pr_err("%s: invalid params!\n", __func__); pr_err("%s: invalid params!\n", __func__);
return -EINVAL; return -EINVAL;
--
cgit v0.9.2

View File

@ -19,11 +19,9 @@ Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
--- ---
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c
index 3896b12..19f1652 100644
--- a/arch/arm/mach-omap2/board-generic.c --- a/arch/arm/mach-omap2/board-generic.c
+++ b/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c
@@ -146,6 +146,7 @@ DT_MACHINE_START(AM33XX_DT, "Generic AM33XX (Flattened Device Tree)") @@ -180,6 +180,7 @@ DT_MACHINE_START(AM33XX_DT, "Generic AM3
.init_irq = omap_intc_of_init, .init_irq = omap_intc_of_init,
.handle_irq = omap3_intc_handle_irq, .handle_irq = omap3_intc_handle_irq,
.init_machine = omap_generic_init, .init_machine = omap_generic_init,
@ -31,7 +29,7 @@ index 3896b12..19f1652 100644
.init_time = omap3_gptimer_timer_init, .init_time = omap3_gptimer_timer_init,
.dt_compat = am33xx_boards_compat, .dt_compat = am33xx_boards_compat,
.restart = am33xx_restart, .restart = am33xx_restart,
@@ -185,6 +186,7 @@ DT_MACHINE_START(OMAP5_DT, "Generic OMAP5 (Flattened Device Tree)") @@ -219,6 +220,7 @@ DT_MACHINE_START(OMAP5_DT, "Generic OMAP
.init_early = omap5_init_early, .init_early = omap5_init_early,
.init_irq = omap_gic_of_init, .init_irq = omap_gic_of_init,
.init_machine = omap_generic_init, .init_machine = omap_generic_init,
@ -39,7 +37,7 @@ index 3896b12..19f1652 100644
.init_time = omap5_realtime_timer_init, .init_time = omap5_realtime_timer_init,
.dt_compat = omap5_boards_compat, .dt_compat = omap5_boards_compat,
.restart = omap44xx_restart, .restart = omap44xx_restart,
@@ -200,6 +202,7 @@ static const char *am43_boards_compat[] __initdata = { @@ -234,6 +236,7 @@ static const char *am43_boards_compat[]
DT_MACHINE_START(AM43_DT, "Generic AM43 (Flattened Device Tree)") DT_MACHINE_START(AM43_DT, "Generic AM43 (Flattened Device Tree)")
.map_io = am33xx_map_io, .map_io = am33xx_map_io,
.init_early = am43xx_init_early, .init_early = am43xx_init_early,
@ -47,7 +45,7 @@ index 3896b12..19f1652 100644
.init_irq = omap_gic_of_init, .init_irq = omap_gic_of_init,
.init_machine = omap_generic_init, .init_machine = omap_generic_init,
.init_time = omap3_sync32k_timer_init, .init_time = omap3_sync32k_timer_init,
@@ -218,6 +221,7 @@ DT_MACHINE_START(DRA7XX_DT, "Generic DRA7XX (Flattened Device Tree)") @@ -252,6 +255,7 @@ DT_MACHINE_START(DRA7XX_DT, "Generic DRA
.smp = smp_ops(omap4_smp_ops), .smp = smp_ops(omap4_smp_ops),
.map_io = omap5_map_io, .map_io = omap5_map_io,
.init_early = dra7xx_init_early, .init_early = dra7xx_init_early,
@ -55,8 +53,6 @@ index 3896b12..19f1652 100644
.init_irq = omap_gic_of_init, .init_irq = omap_gic_of_init,
.init_machine = omap_generic_init, .init_machine = omap_generic_init,
.init_time = omap5_realtime_timer_init, .init_time = omap5_realtime_timer_init,
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
index c6aebf0..f7644fe 100644
--- a/arch/arm/mach-omap2/common.h --- a/arch/arm/mach-omap2/common.h
+++ b/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h
@@ -98,6 +98,7 @@ void am35xx_init_early(void); @@ -98,6 +98,7 @@ void am35xx_init_early(void);
@ -79,8 +75,6 @@ index c6aebf0..f7644fe 100644
#ifdef CONFIG_SOC_BUS #ifdef CONFIG_SOC_BUS
void omap_soc_device_init(void); void omap_soc_device_init(void);
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index ff2113c..a2cbb44 100644
--- a/arch/arm/mach-omap2/io.c --- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c
@@ -583,6 +583,11 @@ void __init am33xx_init_early(void) @@ -583,6 +583,11 @@ void __init am33xx_init_early(void)
@ -131,5 +125,3 @@ index ff2113c..a2cbb44 100644
#endif #endif
--
cgit v0.9.2

View File

@ -14,11 +14,9 @@ Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
--- ---
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index e742118..360b2da 100644
--- a/arch/arm/mach-omap2/pm.c --- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c
@@ -266,7 +266,12 @@ static void __init omap4_init_voltages(void) @@ -266,7 +266,12 @@ static void __init omap4_init_voltages(v
static inline void omap_init_cpufreq(void) static inline void omap_init_cpufreq(void)
{ {
@ -32,7 +30,7 @@ index e742118..360b2da 100644
platform_device_register_full(&devinfo); platform_device_register_full(&devinfo);
} }
@@ -300,10 +305,11 @@ int __init omap2_common_pm_late_init(void) @@ -300,10 +305,11 @@ int __init omap2_common_pm_late_init(voi
/* Smartreflex device init */ /* Smartreflex device init */
omap_devinit_smartreflex(); omap_devinit_smartreflex();
@ -46,5 +44,3 @@ index e742118..360b2da 100644
#ifdef CONFIG_SUSPEND #ifdef CONFIG_SUSPEND
suspend_set_ops(&omap_pm_ops); suspend_set_ops(&omap_pm_ops);
#endif #endif
--
cgit v0.9.2

View File

@ -9,8 +9,6 @@ the missing ones and orders the regulators alphabetically.
Signed-off-by: Sebastian Reichel <sre@debian.org> Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
--- ---
diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
index ae6a17a..cb5afcd 100644
--- a/arch/arm/boot/dts/twl4030.dtsi --- a/arch/arm/boot/dts/twl4030.dtsi
+++ b/arch/arm/boot/dts/twl4030.dtsi +++ b/arch/arm/boot/dts/twl4030.dtsi
@@ -23,6 +23,22 @@ @@ -23,6 +23,22 @@
@ -78,5 +76,3 @@ index ae6a17a..cb5afcd 100644
vsim: regulator-vsim { vsim: regulator-vsim {
compatible = "ti,twl4030-vsim"; compatible = "ti,twl4030-vsim";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
--
cgit v0.9.2

View File

@ -8,8 +8,6 @@ Enable support for the power button.
Signed-off-by: Sebastian Reichel <sre@debian.org> Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
--- ---
diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
index cb5afcd..af7fa40 100644
--- a/arch/arm/boot/dts/twl4030.dtsi --- a/arch/arm/boot/dts/twl4030.dtsi
+++ b/arch/arm/boot/dts/twl4030.dtsi +++ b/arch/arm/boot/dts/twl4030.dtsi
@@ -133,4 +133,9 @@ @@ -133,4 +133,9 @@
@ -22,5 +20,3 @@ index cb5afcd..af7fa40 100644
+ interrupts = <8>; + interrupts = <8>;
+ }; + };
}; };
--
cgit v0.9.2

View File

@ -9,11 +9,9 @@ of SoCs.
Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
--- ---
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 0ca13ad..9ae258e 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -288,6 +288,12 @@ @@ -278,6 +278,12 @@
status = "disabled"; status = "disabled";
}; };
@ -26,5 +24,3 @@ index 0ca13ad..9ae258e 100644
wdt2: wdt@44e35000 { wdt2: wdt@44e35000 {
compatible = "ti,omap3-wdt"; compatible = "ti,omap3-wdt";
ti,hwmods = "wd_timer2"; ti,hwmods = "wd_timer2";
--
cgit v0.9.2

View File

@ -10,9 +10,6 @@ for the RNG module.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
--- ---
diff --git a/Documentation/devicetree/bindings/hwrng/omap_rng.txt b/Documentation/devicetree/bindings/hwrng/omap_rng.txt
new file mode 100644
index 0000000..6a62acd
--- /dev/null --- /dev/null
+++ b/Documentation/devicetree/bindings/hwrng/omap_rng.txt +++ b/Documentation/devicetree/bindings/hwrng/omap_rng.txt
@@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
@ -38,23 +35,18 @@ index 0000000..6a62acd
+ reg = <0x48310000 0x2000>; + reg = <0x48310000 0x2000>;
+ interrupts = <111>; + interrupts = <111>;
+}; +};
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 9ae258e..fcb9c8e 100644
--- a/arch/arm/boot/dts/am33xx.dtsi --- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -750,5 +750,12 @@ @@ -770,5 +770,12 @@
<&edma 11>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
}; };
+
+ rng: rng@48310000 { + rng: rng@48310000 {
+ compatible = "ti,omap4-rng"; + compatible = "ti,omap4-rng";
+ ti,hwmods = "rng"; + ti,hwmods = "rng";
+ reg = <0x48310000 0x2000>; + reg = <0x48310000 0x2000>;
+ interrupts = <111>; + interrupts = <111>;
+ }; + };
+
}; };
}; };
--
cgit v0.9.2

View File

@ -9,8 +9,6 @@ setting the correct timings for the NHD-4.3 LCD panel.
arch/arm/boot/dts/am335x-evmsk.dts | 54 ++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/am335x-evmsk.dts | 54 ++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+) 1 file changed, 54 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 354c0e5..ae18889 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts --- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -35,6 +35,39 @@ @@ -35,6 +35,39 @@
@ -81,6 +79,3 @@ index 354c0e5..ae18889 100644
sound { sound {
compatible = "ti,da830-evm-audio"; compatible = "ti,da830-evm-audio";
ti,model = "AM335x-EVMSK"; ti,model = "AM335x-EVMSK";
--
1.7.10.4

View File

@ -11,12 +11,10 @@ Signed-off-by: Felipe Balbi <balbi@ti.com>
arch/arm/boot/dts/am335x-evmsk.dts | 10 ++++++++++ arch/arm/boot/dts/am335x-evmsk.dts | 10 ++++++++++
1 file changed, 10 insertions(+) 1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 7fae4e0..ddbf6ca 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts --- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -454,6 +454,16 @@ @@ -513,6 +513,16 @@
phy-mode = "rgmii-txid"; vmmc-supply = <&vmmc_reg>;
}; };
+&tscadc { +&tscadc {
@ -30,8 +28,5 @@ index 7fae4e0..ddbf6ca 100644
+}; +};
+ +
&gpio0 { &gpio0 {
ti,no-reset; ti,no-reset-on-init;
}; };
--
1.7.10.4