summaryrefslogtreecommitdiff
path: root/drivers/emac-dwc-eqos
AgeCommit message (Collapse)Author
2019-07-24data-kernel: EMAC: Resolve PPS ioctl call issueLakshit Tyagi
- Resolve the unsupported ioctl error issue seen for AVB algorithm Change-Id: I158ea7cd6dd2da75b50d76396e760ff7811cb48d Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
2019-07-02Merge "data-kernel: EMAC: Handle PTP clock while suspend/resume"qctecmdr
2019-07-02Merge "data-kernel: EMAC:IPC logging support"qctecmdr
2019-07-02data-kernel: EMAC:IPC logging supportMohammed Javid
- Added support for ipc logging Change-Id: Id326f9be701f575938744b7cf23df996c5c18b8a Acked-by: Lakshit Tyagi <ltyagi@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2019-07-02data-kernel: EMAC: Handle PTP clock while suspend/resumeMohammed Javid
- Disabled ptp in suspend mode. - Enabled ptp in resume mode Change-Id: Ic0526c45ce309611b0d47f6520a918f5d9cf3969 Acked-by: Lakshit Tyagi <ltyagi@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2019-07-01data-kernel: emac: Fix for rmmodSuraj Jaiswal
THis change fix the issue in rmmod. Change-Id: I977d79411e9bf905f7688d53d77356e69ed2c33a
2019-06-17data-kernel: EMAC: Fix the compilation errorSunil Paidimarri
1.while adding io macro settings for sa8155v2, missed close brace for else condition. 2.Fix the Warning in ptp file Change-Id: I4a6f82ed99b6e1add9d82e8c3cf79ba43f3309b1 Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2019-05-02data-kernel: emac: Fix for pollingSuraj Jaiswal
This change reset the poll support variable properly to clear the old data. Change-Id: Ica529b817ed3228e2a6f7b6459587c28a24eacf1
2019-04-15Merge "emac: CRC error for tput run"qctecmdr
2019-04-12emac: CRC error for tput runSuraj Jaiswal
This change fix the CRC error seen for tput run in RX direction due to PTP. Change-Id: I75762884a2fa4fbb40e196da46718d887b260c62
2019-04-12data-kernel: EMAC: Update rx_dropped countSneh Shah
- Incrementing rx_dropped count for IPA_RECEIVE in case of NET_RX_DROP Change-Id: I85ee576140f534e5a1555bea3200e12098cdc38f Signed-off-by: sneh shah <snehshah@codeaurora.org>
2019-04-09Merge "data-kernel: EMAC: Set mac address dynamically"qctecmdr
2019-03-08Merge "data-kernel: EMAC: Talos PPS polling support"qctecmdr Service
2019-03-08Merge "data-kernel: EMAC: Replacing depreciated debug LOCAL_MODULE_TAGS"qctecmdr Service
2019-03-08Merge "data-kernel: EMAC: Keep advertisement options from phy driver."qctecmdr Service
2019-03-07data-kernel: EMAC: Talos PPS polling supportSuraj Jaiswal
Talos pps changes to add support for dev node polling for PPS interrupts info. Change-Id: I5f1e60b41ba8e0bf90de0bd73a4a952f9845e3e3
2019-03-07Merge "data-kernel: EMAC: Added io-macro configs for SA8155v2"qctecmdr Service
2019-03-07Merge "data-kernel: EMAC: Disable PPS config"qctecmdr Service
2019-03-05data-kernel: EMAC: Added io-macro configs for SA8155v2Suraj Jaiswal
- Enabled axi and io-macro configs for SA8155v2 Change-Id: I48e9250a9ac9e01d680ee5d714f071d7acbfb1cb Acked-by: Lakshit Tyagi <ltyagi@qti.qualcomm.com> Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2019-02-28data-kernel: EMAC: Replacing depreciated debug LOCAL_MODULE_TAGSSneh Shah
- Setting LOCAL_MODULE_TAGS as optional Change-Id: I35fe1c136d3115eeaab19a177f70fee9c587c4d8 Signed-off-by: sneh shah <snehshah@codeaurora.org>
2019-02-28data-kernel: EMAC: Keep advertisement options from phy driver.cpratapa
Don't set more advertisement features than the PHY supports. Use basic GBIT and default features based on the connection type. Rely on the PHY driver for the remaining advertisement options. Change-Id: I98e9b8d8db10e2ea55f1265d9e173b76237c4427 Signed-off-by: Sunil Paidimarri<hisunil@codeaurora.org> Signed-off-by: Chaitanya Pratapa<cpratapa@codeaurora.org>
2019-02-28data-kernel: EMAC: Disable PPS configSunil Paidimarri
Disable PPS config. Change-Id: I698d422b9fb77b9f181d5c910ed486724160677b CRs-Fixed: 2389145 Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2019-02-28data-kernel: EMAC: Talos PPS changesSuraj Jaiswal
Talos pps changes to configure pps0/pps2/pps3. Change-Id: I51cccc732949ccf0f2a4b76090be928eabfa31d4
2019-02-20data-kernel: EMAC: Set mac address dynamicallySunil Paidimarri
Added support to update etho interface mac address dynamically using ifconfig command. Change-Id: I696ef68d686bdaf977d2a1ff518f1e4cbaaebc92 Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-11-16Merge "data-kernel: EMAC: ETH KW Errors solved - Added check for NULL ↵qctecmdr Service
pointer access Acked-by : Sneh Shah <snehshah@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>"
2018-11-13data-kernel: EMAC: Update code for EMAC Core version 4.0Sunil Paidimarri
1. PTP clock name is same for both v1 and v2 2. Update IO Macro settings for EMAC core version 4 3. Add Micrel phy registers in phy_reg dump in debug fs node 4. Remove the PHY interrupt register write and use generic phy api instead to enable PHY link up/down interrupt Change-Id: Iaab6194286cc9774342ff7396d03d6a2ed64ce2f CRs-Fixed: 2348684 Acked-by: Nisha Menon <nmenon@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-11-13data-kernel: EMAC: ETH KW Errors solvedMohammed
- Added check for NULL pointer access Acked-by : Sneh Shah <snehshah@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org> Change-Id: Ib1eb793930b3bbec7955c35043e7f1f826d70caa
2018-10-28Emac: sm6150 fixMohammed
This change fix rgmii mode failure Change-Id: Ibdc6e95f44e4e81792c06f1a5c8962deffa87b40
2018-10-16data-kernel: EMAC: SM6150 BUMohammed Javid
SM6150 BU changes Change-Id: I09d2d54435771f165c627fcb93c8ff15ecc85156
2018-10-15Fix to Android.mk to make sure KO's are present in vendor image locationarnav_s
2018-10-12Including EMAC DLKM to vendor imagearnav_s
2018-10-05data-kernel: EMAC: Set default TX channel to 0 with IPA disabledSunil Paidimarri
Add check in select_queue() to ensure that change takes effect when IPA is disabled using module parameter. Change-Id: I6096fa64f68116f5efcc0db04e1b4130a0add454 CRs-Fixed: 2328743 Acked-by: Nisha Menon <nmenon@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-10-02data-kernel: EMAC: Default TX channel is 0 with IPA disabledSunil Paidimarri
Change-Id: I01bf9823e697079e749b00c4cf1e006abb19ef11 CRs-Fixed: 2326314 Acked-by: Nisha Menon <nmenon@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-28data-kernel: EMAC: Disable c-tile power collapseSunil Paidimarri
Disable c-tile PC from EMAC driver. This stops EMAC power collapse in XO-shutdown. CRs-Fixed: 2240286 Change-Id: I6177907449ff7e8a29309031bee37c3c2a91004f Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-28data-kernel: EMAC: Ethernet v2 bring up on EMAC_HW_v2_1_2Sunil Paidimarri
Changes needed in PHY tx delay settings for RGMII Non- ID mode. IO macro settings updated for EMAC_HW_v2_1_2. Change-Id: I527c6e7c5b09cc5f579986eeb4eab31f45e81a73 CRs-Fixed: Acked-by: Nisha Menon <nmenon@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-28data-kernel: EMAC: Orphan IPv6 data skbsSunil Kumar Paidimarri
Includes change to orphan IPv6 data as well as IPv4 data traffic to support peak embedded throughput. Also enable TSO for IPV6. Change-Id: I625259a081fa40003ecb6eaa33004b219a8c27ef CRs-Fixed: 2302108 Acked-by: Jagadeesh Babu Challagundla <jchallag@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-28data-kernel: EMAC: Fix the memory leakSunil Paidimarri
Fix the memory leak seen with TCP data transfer. Store skb in previous buffer in case dma & dma2 is not used in current buffer. Change-Id: Ifac7b290ec4ec165c73cd91d9de079519a35ea1c CRs-Fixed: 2317067 Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-28data-kernel: EMAC: Rx/tx queue NULL check in panic notifierSunil Paidimarri
Change-Id: I01a07c4c597f32f94103b0eaedef3fbb1d531fff CRs-Fixed: Acked-by: Nisha Menon <nmenon@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-28data-kernel: EMAC: Fix PTP clock enablementSunil Paidimarri
PTP clock get,put,enable,disable is handle seperately. Fix the broken functionality due to merge. Fix the interrupt moderation value for UDP IP PTP packets. Change-Id: I335e83b599df25fd1b9f1e85a46100e6f4240a58 CRs-Fixed: 2293623 Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-28data-kernel: EMAC: dll configs according to h/w teamMohammed Javid
Changed dll_config and dll_config_2 values. Change-Id: Ibd3903bd7c80b3fd154a56f4172365dadeb8dc16 Acked-by: Lakshit Tyagi <ltyagi@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org
2018-09-28data-kernel: EMAC: Enable PPS0 output functionSunil Paidimarri
Enable PPS0 output function. Fixed compilation error. Change-Id: I5b6a74b0b607b993b3130150b3b9936a23114f4a CRs-Fixed: 2299473 Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-28data-kernel: EMAC: Advertise correct link speeds for MII modeSunil Paidimarri
Set the phy interface in driver based on IO macro phy interface. Ensure that the advertised speeds are updated based on IO macro phy interface. Add module parameter to disable PHY interrupt. Change-Id: Ia2510b3a62361f4df76243fda7cac824487bb4e9 CRs-Fixed: 2299094 Acked-by: Nisha Menon <nmenon@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-28data-kernel: EMAC: Enable checksum stats in emac driverSunil Paidimarri
Fix compilation error. Change-Id: I0b354f3f4ff4460df4be41f168dc523eec4aa97e CRs-Fixed: 2281321 Acked-by: Nisha Menon <nmenon@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-28Merge "data-kernel: EMAC: Compilation error fix"qctecmdr Service
2018-09-28Merge "data-kernel: EMAC: Fix for emac"qctecmdr Service
2018-09-28data-kernel: EMAC: Compilation error fixSunil Kumar Paidimarri
Compilation fixes for newer kernel version Change-Id: I4ca62bd8935795d4b22ea35e404ee4d3769df374 CRs-Fixed: 2315918 Acked-by: Jagadeesh Babu Challagundla <jchallag@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-27Merge "data-kernel: EMAC: Disconnect IPA offload before stopping MAC"qctecmdr Service
2018-09-27data-kernel: EMAC: Disconnect IPA offload before stopping MACSunil Paidimarri
Disconnect IPA offload before stopping MAC RX/TX. Change-Id: I6b1df88fbbcd750b1e8e2e7b727b40208dadf5a5 Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-27data-kernel: EMAC: Unregister msm bus client in removeSunil Paidimarri
Change-Id: I79ebb6f1b56f24729df24c90ea80145a8f745a9d CRs-Fixed: 2301215 Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2018-09-27data-kernel: EMAC: Add debugfs for phy reg dumpSunil Paidimarri
Add entry for phy_reg_dump. Change-Id: I3b985b0e1e24c1d2371fa1b5fbeb286fdc27555f Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com> Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>