14 Aug, 2015
3 commits
-
CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE is dropped in the driver as
it is required for all the platforms, so dropping the same from
config file alsoSigned-off-by: Mugunthan V N
-
phy_find_by_mask() is not used by any of the platform which uses
keystone_net driver, so removing the unused code.Signed-off-by: Mugunthan V N
-
Update env to load images from mmc.
Reported-by: Nishanth Menon
Signed-off-by: Lokesh Vutla
13 Aug, 2015
4 commits
-
The default boot command searches for dofastboot varaiable
and does a fastboot if it is set to 1.
But the condition "if test ${dofastboot} -eq 1" always
returns true if dofastboot is not defined and breaking mmc boot.
So make dofastboot as 0 by default and let the runtime
environment set it if fastboot is required.Signed-off-by: Lokesh Vutla
-
DP83865 ethernet phy used on DRA74x-evm is quirky and the datasheet
provided IODELAY values for standard RGMII phys do not work.Silicon Revision(SR) 2.0 provides an alternative bit configuration
that allows us to do a "gross adjustment" to launch the data off a
different internal clock edge. Manual IO Delay overrides are still
necessary to fine tune the clock-to-data delays. This is a necessary
workaround for the quirky ethernet Phy we have on the platform.NOTE: SMA registers are spare "kitchen sink" registers that does
contain bits for other workaround as necessary as well. Hence the
control for the same is introduced in a generic SoC specific, board
generic location.Signed-off-by: Nishanth Menon
-
Silicon revision 2.0 has new signal routing hence has an updated set of
iodelay parameters to be used. Update the configuration for the same.
Padmux remains the same.Based on data from VayuES2_EVM_Base_Config-20150807.
NOTE: With respect to the RGMII values, the Manual IODelay values
are used for the fine adjusments needed to meet the tight RGMII
specification.Signed-off-by: Nishanth Menon
-
For am43xx_rtconly_evm_defconfig, the bootloader indicates support for
RTC-Only modes by writing a magic number into RTC scratch register
which kernel PM code will then clear and then write back again if
RTC-Only mode entry is desired. If no PM code is loaded in the kernel,
this magic number will not get cleared and then be detected again
by the bootloader on a warm reboot, indicating an RTC+DDR resume event
and causing the bootloader to attempt to jump to the resume address in
RTC scratch register 0, which is invalid.Add a check to prevent jumping to address 0 if the scratch register is
not properly programmed, otherwise warm reboot will not work on am437x
if no PM is loaded in the kernel.Signed-off-by: Dave Gerlach
12 Aug, 2015
2 commits
-
ARM supported speeds and init value of core_pll for SDP1200
are programmed wrong as part for the device speed cleanups.
Fixing it here.Signed-off-by: Lokesh Vutla
-
On keystone2 Lamarr and Edison platforms, the PA clocksource
mux in PLL REG1, can be changed only after enabling its clock
domain.
So selecting the output of PASS PLL as input to PA only after
enabling the clockdomain.
This is as per the debug done by "Vitaly Andrianov "
and based on the previous work done by "Hao Zhang "Fixes: d634a0775bcf ("ARM: keystone2: Cleanup PLL init code")
Reported-by: Vitaly Andrianov
Tested-by: Vitaly Andrianov
Signed-off-by: Lokesh Vutla
07 Aug, 2015
19 commits
-
9MB reserved for initrd is not enough for default ramfs used for keystone
devices, which is ~33MB. This patch increases the size up to 80MB.Signed-off-by: Vitaly Andrianov
-
This patch set the correct initrd address to much rdaddr, which used at
get_fs_ramfs commad.Fixes: 3e97f0b63c8e ("configs: ti_armv7_keystone2: switch addresses
to generic addresses")Signed-off-by: Vitaly Andrianov
-
Add a new config to support usb rndis boot for am43xx.
Signed-off-by: Kishon Vijay Abraham I
-
populate _reset_ callback to the USB ethernet gadget since UDC core
expects every gadget driver to have the reset callback. This shouldn't
be needed once the ethernet gadget driver is adapted to use the
composite driver.Signed-off-by: Kishon Vijay Abraham I
-
Add in code to initialize the DWC3 gadget controller so that we can do
RNDIS in SPL on these platforms.Signed-off-by: Tom Rini
Signed-off-by: Kishon Vijay Abraham I -
The usbboot environment variable has 'usb start' command but
doesn't have the corresponding 'usb stop' command. This breaks
usb peripheral mode if tried after 'run usbboot' fails to load
the images in usb host mode.Fix it here by adding 'usb stop' command in usbboot env.
Signed-off-by: Kishon Vijay Abraham I
-
xhci omap driver has board_usb_init in xhci_hcd_init but doesn't have
the corresponding cleanup function in xhci_hcd_stop.Fix it here by invoking board_usb_cleanup() in xhci_hcd_stop().
Signed-off-by: Kishon Vijay Abraham I
-
vbus_id_status is initialized in board_usb_init. So remove it
while creating dwc3_device objects.Signed-off-by: Kishon Vijay Abraham I
-
Now that we have separate function to enable USB clocks, remove
enabling USB clocks from enable_basic_clocks(). Now board_usb_init()
should take care to invoke enable_usb_clocks() for enabling
USB clocks.Signed-off-by: Kishon Vijay Abraham I
-
invoke enable_usb_clocks during board_usb_init and disable_usb_clocks
during board_usb_exit to enable and disable clocks respectively.Signed-off-by: Kishon Vijay Abraham I
-
Added functions to enable and disable USB clocks which can be invoked
during USB init and USB exit respectively.Cc: Roger Quadros
Cc: Tero Kristo
Cc: Nishanth Menon
Signed-off-by: Kishon Vijay Abraham I -
Added functions to enable and disable USB clocks which can be invoked
during USB init and USB exit respectively.Cc: Roger Quadros
Cc: Tero Kristo
Cc: Nishanth Menon
Signed-off-by: Kishon Vijay Abraham I -
Enabled configs for dwc3, dwc3-omap and PHY for dwc3 in
ti_omap5_common. Also enabled support for DFU.Since ti_omap5_common is used by dra7 too, removed these configs
from dra7xx_evm config file.Signed-off-by: Kishon Vijay Abraham I
-
Implemented board_usb_init(), board_usb_cleanup() and
usb_gadget_handle_interrupts() in omap5 board file that
can be invoked by various gadget drivers.Signed-off-by: Kishon Vijay Abraham I
-
Implemented board_usb_init(), board_usb_cleanup() and
usb_gadget_handle_interrupts() in beagle_x15 board file that
can be invoked by various gadget drivers.Signed-off-by: Kishon Vijay Abraham I
-
Added support to power on/power off the second USB PHY present in
DRA7xx and AM57xx.Signed-off-by: Kishon Vijay Abraham I
-
Enabled clocks for the second dwc3 controller and second USB PHY present in
DRA7.Signed-off-by: Kishon Vijay Abraham I
-
Ethernet gadget driver can be used both by both SPL and u-boot. Since
usb_eth_init() is the entry point for ethernet gadget driver, perform
board initialization there. Also perform the cleanup in usb_eth_halt.Signed-off-by: Kishon Vijay Abraham I
-
Writing "0x00" to the USBOTGSS_IRQENABLE_SET_MISC and
USBOTGSS_IRQENABLE_SET_0 doesn't disable the interrupts. Used
USBOTGSS_IRQENABLE_CLR_MISC and USBOTGSS_IRQENABLE_CLR_0 instead.Signed-off-by: Kishon Vijay Abraham I
06 Aug, 2015
2 commits
-
This allows us to do basic math in hush shell. For example:
U-Boot# r1=10
U-Boot# r2=20
U-Boot# setexpr.l r3 $r1 + $r2
U-Boot# echo $r3
30This may be used in cases where we have to make dynamic calculations -
such as initrd address offsets or the like..Reported-by: Vitaly Andrianov
Suggested-by: Tom Rini
Signed-off-by: Nishanth Menon -
Add USB mass storage support so that kernel can be read from
connected usb storage.Signed-off-by: Mugunthan V N
05 Aug, 2015
10 commits
-
Add config file for k2g
Signed-off-by: Lokesh Vutla
Signed-off-by: Mugunthan V N
Signed-off-by: Vitaly Andrianov -
GPIO1_9 controls SPI flash on k2g evm.
So make GPIO1_9 as output pin, inorder to use SPI.Signed-off-by: Lokesh Vutla
-
Add MMC support for k2g
Signed-off-by: Roger Quadros
Signed-off-by: Lokesh Vutla
Tested-by: Mugunthan V N -
Add Ethernet support for tftp support
Signed-off-by: Vitaly Andrianov
Signed-off-by: Mugunthan V N
Signed-off-by: Lokesh Vutla -
remove unused code as the same is achieved when configuring sgmii
and link status is verifed.Signed-off-by: Mugunthan V N
Signed-off-by: Lokesh Vutla -
In K2G, Ethernet doesn't support SGMII instead it support RGMII,
adding support to the driver to connect to RGMII phy.Signed-off-by: Vitaly Andrianov
Signed-off-by: Mugunthan V N
Signed-off-by: Lokesh Vutla -
Fix Linkram size.
Signed-off-by: Vitaly Andrianov
Signed-off-by: Mugunthan V N
Signed-off-by: Lokesh Vutla -
Phy mode is a board property and it can be different between
multiple board and ports, so it should not be hardcoded in
driver to one specific mode. So adding a field in eth_priv_t
structure to pass phy mode to driver.Signed-off-by: Mugunthan V N
Signed-off-by: Lokesh Vutla -
update K2G nav rx queue number
Signed-off-by: Vitaly Andrianov
Signed-off-by: Mugunthan V N
Signed-off-by: Lokesh Vutla -
Coreect base addresses for SPI, Queue Manager, Ethernet, GPIO,
and MSMC segments.Signed-off-by: Vitaly Andrianov
Signed-off-by: Lokesh Vutla