ARM: davinci: da8xx-usb: remove deprecated properties from MUSB config
Subsystems (3)
PATCH 1/1 ARM: davinci: da8xx-usb: remove deprecated properties from MUSB config
This is the same as commit c1b3b058469e ("ARM: DaVinci USB: removed deprecated properties from MUSB config") applied to usb-da8xx.c.
The following properties of the musb_hdrc_config structure are deprecated and no longer required/used by the MUSB driver:
.dyn_fifo
.soft_con
.dma
.dma_channels
.eps_bits
--- arch/arm/mach-davinci/usb-da8xx.c | 17 ----------------- 1 file changed, 17 deletions(-)
arch/arm/mach-davinci/usb-da8xx.c +0 -17
@@ -17,27 +17,10 @@#if IS_ENABLED (CONFIG_USB_MUSB_HDRC ) -static struct musb_hdrc_eps_bits musb_eps[] = { - {"ep1_tx" ,8 , }, - {"ep1_rx" ,8 , }, - {"ep2_tx" ,8 , }, - {"ep2_rx" ,8 , }, - {"ep3_tx" ,5 , }, - {"ep3_rx" ,5 , }, - {"ep4_tx" ,5 , }, - {"ep4_rx" ,5 , }, -}; -static struct musb_hdrc_config musb_config = { .multipoint = true, - .dyn_fifo = true, - .soft_con = true, - .dma = true, - .num_eps =5 , - .dma_channels =8 , .ram_bits =10 , - .eps_bits = musb_eps, }; static struct musb_hdrc_platform_data usb_data = {
Signature · 1 line
1.9.1
Quoted 6 lines · David Lechner
This is the same as commit
c1b3b058469e("ARM: DaVinci USB: removed deprecated properties from MUSB config") applied tousb-da8xx.c.The following properties of the
musb_hdrc_configstructure are deprecated and no longer required/used by the MUSB driver:
Quoted 7 lines
.dyn_fifo
.soft_con
.dma
.dma_channels
.eps_bitsSigned-off-by David Lechner <[email protected]>
Thanks for pointing this out. I folded this into your patch "ARM:
davinci: da8xx: move usb code to new file"[1] and in turn based it on Petr's patch cleaning up the deprecated properties from the usb.c file.
I have pushed all my v4.7/* branches to my tree and the master branch merges all of these in. I should be sending the first pull request to ARM-SoC by tomorrow. Any testing feedback on master branch appreciated.
Regards,
Sekhar
[1]
From: David Lechner <[email protected]>
Date: Thu, 24 Mar 2016 18:51:28 -0500
Subject: [PATCH] ARM: davinci: da8xx: move usb code to new file
We will be adding more da8xx-specific code for phy and clocks, so it will be better to have this in a separate file. This way we don't have a bunch of #ifdefs for all of the da8xx stuff.
While at it, fix some checkpatch warnings coming from existing code.
--- arch/arm/mach-davinci/Makefile | 4 +- arch/arm/mach-davinci/usb-da8xx.c | 107 ++++++++++++++++++++++++++++++++++++++ arch/arm/mach-davinci/usb.c | 73 -------------------------- 3 files changed, 109 insertions(+), 75 deletions(-) create mode 100644 arch/arm/mach-davinci/usb-da8xx.c
arch/arm/mach-davinci/Makefile +2 -2
@@ -14,8 +14,8 @@ obj-$(CONFIG_ARCH_DAVINCI_DM644x) += dm644x.o devices.o obj-$(CONFIG_ARCH_DAVINCI_DM355) += dm355.o devices.o obj-$(CONFIG_ARCH_DAVINCI_DM646x) += dm646x.o devices.o obj-$(CONFIG_ARCH_DAVINCI_DM365) += dm365.o devices.o -obj-$(CONFIG_ARCH_DAVINCI_DA830) += da830.o devices-da8xx.o -obj-$(CONFIG_ARCH_DAVINCI_DA850) += da850.o devices-da8xx.o +obj-$(CONFIG_ARCH_DAVINCI_DA830) += da830.o devices-da8xx.o usb-da8xx.o +obj-$(CONFIG_ARCH_DAVINCI_DA850) += da850.o devices-da8xx.o usb-da8xx.o obj-$(CONFIG_AINTC) += irq.o obj-$(CONFIG_CP_INTC) += cp_intc.o
arch/arm/mach-davinci/usb-da8xx.c new file +107 -0
107 lines not on this page · raw message
arch/arm/mach-davinci/usb.c +0 -73
93 lines not on this page · raw message
Signature · 1 line
2.6.3