aboutsummaryrefslogtreecommitdiff
path: root/include/linux/davinci_emac.h
AgeCommit message (Collapse)AuthorFilesLines
2019-01-10ARM: davinci: remove dead code related to MAC address readingBartosz Golaszewski1-1/+0
There are no more users of davinci_get_mac_addr(). Remove it. Signed-off-by: Bartosz Golaszewski <[email protected]> Signed-off-by: Sekhar Nori <[email protected]>
2016-03-01misc: at24: replace memory_accessor with nvmem_device_readAndrew Lunn1-2/+2
Now that the AT24 uses the NVMEM framework, replace the memory_accessor in the setup() callback with nvmem API calls. Signed-off-by: Andrew Lunn <[email protected]> Acked-by: Srinivas Kandagatla <[email protected]> Tested-by: Sekhar Nori <[email protected]> Acked-by: Wolfram Sang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-03-22net: davinci_emac:Fix translation logic for buffer descriptorSriram1-0/+1
With recent changes to the driver(switch to new cpdma layer), the support for buffer descriptor address translation logic is broken. This affects platforms where the physical address of the descriptors as seen by the DMA engine is different from the physical address. Original Patch adding translation logic support: Commit: ad021ae8862209864dc8ebd3b7d3a55ce84b9ea2 Signed-off-by: Sriramakrishnan A G <[email protected]> Tested-By: Sekhar Nori <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2010-09-24net: davinci_emac: cleanup unused mdio emac codeCyril Chemparathy1-3/+0
This patch removes code that has been rendered useless by the previous patches in this series. Signed-off-by: Cyril Chemparathy <[email protected]> Acked-by: David S. Miller <[email protected]> Tested-by: Michael Williamson <[email protected]> Tested-by: Caglar Akyuz <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2010-09-24net: davinci_emac: switch to new mdioCyril Chemparathy1-0/+9
This patch switches the emac implementation over to the newly separated MDIO driver. With this, the mdio bus frequency defaults to a safe 2.2MHz. Boards may optionally specify a bus frequency via platform data. The phy identification scheme has been modified to use a phy bus id instead of a mask. This largely serves to eliminate the "phy search" code in emac init. Signed-off-by: Cyril Chemparathy <[email protected]> Acked-by: David S. Miller <[email protected]> Tested-by: Michael Williamson <[email protected]> Tested-by: Caglar Akyuz <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2010-09-24net: davinci_emac: separate out davinci mdioCyril Chemparathy1-0/+4
Davinci's MDIO controller is present on other TI devices, without an accompanying EMAC. For example, on tnetv107x, the same MDIO module is used in conjunction with a 3-port switch hardware. By separating the MDIO controller code into its own platform driver, this patch allows common logic to be reused on such platforms. Signed-off-by: Cyril Chemparathy <[email protected]> Tested-by: Michael Williamson <[email protected]> Tested-by: Caglar Akyuz <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2010-02-04TI Davinci EMAC : Abstract Buffer address translation logic.Sriramakrishnan1-0/+1
When programming the DMA engine, the next pointers must be programmed with physical address as seen from the DMA master address space. This address may be different from physical address of the buffer RAM area. This patch abstracts the buffer address translation logic. Signed-off-by: Sriramakrishnan <[email protected]> Acked-by: Chaithrika U S <[email protected]> Acked-by: David S. Miller <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2010-02-04TI Davinci EMAC : add platform specific interrupt enable/disable logic.Sriramakrishnan1-0/+2
On certain SOCs, the EMAC controller is interfaced with a wrapper logic for handling interrupts. This patch implements a platform specific hook to cater to platforms that require custom interrupt handling logic Signed-off-by: Sriramakrishnan <[email protected]> Acked-by: Chaithrika U S <[email protected]> Acked-by: David S. Miller <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2010-02-04TI Davinci EMAC : Re-use driver for other platforms.Sriramakrishnan1-0/+36
The davinci EMAC peripheral is also available on other TI platforms -notably TI AM3517 SoC. This patch modifies the config option and the platform structure header files so that the driver can be reused on non-davinci platforms as well. Signed-off-by: Sriramakrishnan <[email protected]> Acked-by: Chaithrika U S <[email protected]> Acked-by: David S. Miller <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>