Age | Commit message (Collapse) | Author |
|
|
|
Skip phy chip sw reset as we already doing hw reset
to improve emac probe time.
Change-Id: I2a8696855e97c0b60dfebbe83b9e2bdd6349d24b
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
- Add place marker for emac probe end
Change-Id: Ia7ba12397dabaa6cfc81c82839458bdea5b08ffd
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
|
|
|
|
|
|
This add delay of 50ms after phy reset so
that phy get sufficient time.
Change-Id: Ia75ca969b46c891f6b47bd237cf845d2101ff4d9
|
|
|
|
Enable wake on lan on interface open not during
ethernet driver probe to reduce driver initialization
time.
Change-Id: Icee83f29e1276df2ce5287ed790f30368d4d09bc
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Read phy address from dtis to avoid dynamic phy
detection which will reduce ethernet initialization
time.
Change-Id: I95e4386e98bebf9a71aa186b3ebd20cea758c7db
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Populate the phy mask correctly to avoid scanning
of all pins for phy detection.
Change-Id: Ia730518ffb1dce0d1b4f47c3d9c7f42a7ce7de20
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
fix to reduce MDIO delay in read and write operation in phy regs of
the emac driver.
Change-Id: I559c4ee00da57547113b83fd980803a4b19b5c03
Acked-by: Abhishek Chauhan <abchauha@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Changes to check if NAPI is enabled and then call
netif_rx_skb, else follow the legacy way of calling
netif_rx_ni.
Acked-by: Abhishek Chauhan <abchauha@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
|
|
THis change add support for proper cleanup
for Ethernet on shutdown/reboot.
Change-Id: I3545905ad8ad0e139cf49f489868c738fd699445
|
|
Change-Id: I7d661f7bb23e812783d61c63061e19f8e743efff
Acked-by: Nisha Menon <nmenon@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
|
|
Due to recent propogation ACK interrupt was removed.
This can affect WOL & PHY intr. Added support.
Change-Id: I0accb5b754971e9d9e2d58bbe3de15e71be73fe9
|
|
This change add support in emac driver for
required performance setting on Talos.
Change-Id: I8facf4b72c624484cc4a75d34cd2cfcd5f95f42c
|
|
|
|
|
|
|
|
Change-Id: Ifd30e9d98dd43e31a4c7e3fd804c5fe4426cfbb9
Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
- Added check for NULL pointer access and initialized uninitalized variables.
Change-Id: I84dfee37664407fd5a7d1303b0457ea241130cea
Acked-by : Sneh Shah <snehshah@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
|
|
This change add the phy check for the phy specific code.
Change-Id: I28334df4cf16b6108afc7c44bf8e9623b22add98
|
|
- Checking for null pointer dereference
Change-Id: I163fa32cedbad9f9a6ab19e8371b2a043d7a8884
Signed-off-by: sneh shah <snehshah@codeaurora.org>
|
|
- resolve EMAC crash caused due improper ip header handling
Change-Id: Ia9d4249592a2a0dcfa492cd07dcf25fdf62f70e7
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
|
|
|
|
|
|
IPA offload was getting enabled in Sa8155 for early ethernet.
Disabling it while checking the correct config
Change-Id: I4d165aea9dcbf6115218f21f99ff0968664aa2f7
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
|
|
This change help for suspend resume.With dev_pm_ops
enabled legacy suspend/resume will never happend.
Added support to provide the suspend/resume in
dev_pm_ops.
Change-Id: Ibc74407a90cc12605795222bc31586828caf3278
|
|
Update EMAC driver to support hibernation mode support.
Bring down interface on hibernation mode and up on exi
Change-Id: I20591969a56fb30c0a13be617f519bb43119f27d
Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Enable PPS config.
Change-Id: I1f89c965b0c6234211a059249c4ee1575fa4a3ce
Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
This change add support to changed the timestamp update method to
Fine timestamp update method instead of Coarse Timestamp
Update method since on driver we are using Fine method as default.
Also , we are chaniging default PTP clock to 96Mhz to
generate 19.2Mhz PPS frequency.
Change-Id: Id5c4a22c0163b64762422df0cb3f1e0154515f60
|
|
Add new flag to the enable PPS-LPASS connectivity
initialziation. Fix the ptp clock frequency
initiazation too the.
Change-Id: I8296306e9223a846a7c57d94231d05488121bcf4
CRs-Fixed: 2374673
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Fix the required PTP clock for accuracy.the
Fix sub_second_increment and addend configuration.
Change-Id: Ib2b68529d689c1d8c84aadf6a456df0abc77af8b
Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
EMAC RXC clock is always sourced from PHY. If the GPIO
used for RXC clock is multiplexed, there will be interrupt
line routed towards GIC and it will be always enabled.
As a result, device will never go to low power state.
Make a change to disable GPIO pin used for RXC clock
when defice goes to suspend and enable it back on resume.
Change-Id: I83cab3f77ee05b12004a28f68529566de5fd1faa
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
|
|
For Talos as part of early Ethernet we have to add support to
add route in local table instead of main table .On Early Ethernet
Network manager is not available on Talos to add route .Since on
Talos main table is used for route so we need local table.
Change-Id: I062d84b007418a2e27bbfb93f7af0c0fcc6fbc82
|
|
This change help to provide the proper DMA
stats for RX/TX for Non-IPA Target.
Change-Id: Ibd4b956c041c52cee472a56bca80535d46b50521
|
|
- removing all fatal warnings
Change-Id: Iadb647ea68b939c98af269761da24e10b36797ea
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
|
|
Remove unused variable.
Change-Id: Ia35cd3ca579c346b48015615e22de36b1368290f
|
|
Add a boot marker to indicate the time
when driver probe is completed.
Change-Id: Icfe65b88fb58e68384e4a67ecc9202032afac3c6
|
|
Read static ipv6 address from flash memory as
part of early ethernet boot up and assign the
same to eth0 interface
Change-Id: I706d4f7f6fc529a12571a5e8a23d6645b23f6392
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Don't modify emac supported capabilities during
early ethernet boot up. Only update advertise values
otherwise speed can't be changed using ethtool.
Change-Id: I06a2d5cd93fec14cd107d7c4c39e704163369e80
CRs-Fixed: 2416416
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Change-Id: I322cf143d509e34fc25d61b435d1570f7f305c5a
Acked-by: Nisha Menon <nmenon@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Enable early ethernet only if there is valid mac and
ipv4 or ipv6 address programmed in memory.
Change-Id: I08dc1a54efd807c51297d5b35980d0a9751c5211
CRs-Fixed: 2333667
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Enable early ethernet only if there is valid ipv4
and ipv6 address programmed in memory
Change-Id: I9b537c5bb97df69cfee32eb383e3633a2d665113
CRs-Fixed: 2333667
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Fix the unknown symbols errors introduced due to
early ethernet code changes.
Change-Id: I60f2870fa34e5a065fa03d14d6aae6cd4ef61aa6
CRs-Fixed: 2333667
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Read early ethernet dtsi flag to enable this feature.
Disable autoneg and configure MAC and PHY with 100 Mbps
link speed.
Read MAC addr, IPv4 and IPv6 addresses from kernel cmd
line parameters in order to assign these to ethernet
interface
Change-Id: I1e42e116afa818dd0afad89caed65ce7b2c274cb
CRs-Fixed: 2333667
Acked-by: Lakshit Tyagi <ltyagi@codeaurora.org>
Acked-by: Nisha Menon <nmenon@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Add ethernet app for IP assignment.
Correct copyright info.
Change-Id: Ie5b3f4750f8bdec2743fb85cf43a38c5142b1364
CRs-Fixed: 2333667
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
|
|
Clock enable completion event is used only in intr mode.
Fix the warnings in enable/disable irq for wol.
Add the PHY pm_wakeup_event in interrupt handler.
CRs-Fixed: 2327922
Acked-by: Rahul Kawadgave <rahulak@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
Change-Id: I0c219c88a392bbf848e41ee6796f38382907510d
|