|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
789bbd4d |
| 04-Apr-2018 |
Marcin Wojtas <[email protected]> |
Make Marvell armv7 timer and wdt registers definitions common
Define timers registers for both SoCs and choose proper one during runtime based on information from FDT. In WDT driver there are differ
Make Marvell armv7 timer and wdt registers definitions common
Define timers registers for both SoCs and choose proper one during runtime based on information from FDT. In WDT driver there are different function for ArmadaXP and other ARMv5 SoCs. In timer driver registers definitions are stored in resource_spec structure and chosen during runtime.
Submitted by: Rafal Kozik <[email protected]> Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14746
show more ...
|
| #
04bb9a66 |
| 04-Apr-2018 |
Marcin Wojtas <[email protected]> |
Make Marvell Armada reset registers usage generic
Define reset registers for both Armada38X and ArmadaXP and choose proper one during runtime based on information from FDT.
Submitted by: Rafal Kozi
Make Marvell Armada reset registers usage generic
Define reset registers for both Armada38X and ArmadaXP and choose proper one during runtime based on information from FDT.
Submitted by: Rafal Kozik <[email protected]> Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14745
show more ...
|
| #
c58ed0b0 |
| 03-Apr-2018 |
Marcin Wojtas <[email protected]> |
Fix kernel modules names for Marvell armv7
Two modules with the same name cannot be loaded, so Marvell specific drivers cannot have the same name as the generic drivers. Files with the same name, ev
Fix kernel modules names for Marvell armv7
Two modules with the same name cannot be loaded, so Marvell specific drivers cannot have the same name as the generic drivers. Files with the same name, even in different folders overlaps their .o files, so in order to prepare for supporting Marvell platforms in GENERIC armv7 config, modify conflicting names.
Submitted by: Rafal Kozik <[email protected]> Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14743
show more ...
|
| #
996170b4 |
| 03-Apr-2018 |
Marcin Wojtas <[email protected]> |
Split out delay code in Marvell timer driver for PLATFORM
The PLATFORM code will perform the software loop in the early boot, so extract the actual delay code to handle situation, when the timers ar
Split out delay code in Marvell timer driver for PLATFORM
The PLATFORM code will perform the software loop in the early boot, so extract the actual delay code to handle situation, when the timers are already initialized.
Obtained from: Semihalf Sponsored by: Stormshield
show more ...
|
| #
72dbc3ac |
| 03-Apr-2018 |
Marcin Wojtas <[email protected]> |
Make Marvell AmadaXP timer driver more generic
Store pointers to SoC specific functions in mv_timer_config structure and determine proper config in runtime based on compatible string from FDT. Compa
Make Marvell AmadaXP timer driver more generic
Store pointers to SoC specific functions in mv_timer_config structure and determine proper config in runtime based on compatible string from FDT. Compatible string for ArmadaXP timers is changed to match Linux FDT. Armada 38x uses generic Cortex-A9 timer and separate watchdog drivers, so it does not need to be supported by timer driver.
Submitted by: Rafal Kozik <[email protected]> Reviewed by: manu Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14741
show more ...
|
| #
d5d7606c |
| 31-Dec-2017 |
Colin Percival <[email protected]> |
Use the TSLOG framework to record entry/exit timestamps for DELAY and _vprintf; these functions are called in many places and can contribute meaningfully to the total time spent booting.
|
| #
af3dc4a7 |
| 27-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
sys/arm: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error
sys/arm: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
a695f1c9 |
| 20-Jan-2016 |
Zbigniew Bodek <[email protected]> |
Support watchdog depending on "mrvl,has-wdt" property
With this commit, watchdog is supported only in case of having "mrvl,has-wdt" property or dedicated for watchdog compatibility field ("marvell,a
Support watchdog depending on "mrvl,has-wdt" property
With this commit, watchdog is supported only in case of having "mrvl,has-wdt" property or dedicated for watchdog compatibility field ("marvell,armada-380-wdt"). There is no need to modify dts files, as "has-wdt" property already exists.
Obtained from: Semihalf Sponsored by: Stormshield Submitted by: Bartosz Szczepanek <[email protected]> Differential revision: https://reviews.freebsd.org/D4424
show more ...
|
| #
786e3fea |
| 20-Jan-2016 |
Zbigniew Bodek <[email protected]> |
Add support for watchdog on Armada38x
A38X watchdog support was implemented in sys/arm/mv/timer.c driver. It required following modifications: - add "marvell,armada-380-wdt" compatibility, which sup
Add support for watchdog on Armada38x
A38X watchdog support was implemented in sys/arm/mv/timer.c driver. It required following modifications: - add "marvell,armada-380-wdt" compatibility, which supports only watchdog - correct and enhance definitions related to timer control register - unmask reset capability in RSTOUTn_MASK register - use dedicated watchdog timer on A38X instead of second timer
Obtained from: Semihalf Sponsored by: Stormshield Submitted by: Bartosz Szczepanek <[email protected]> Differential revision: https://reviews.freebsd.org/D4423
show more ...
|
| #
f8742b0d |
| 20-Jan-2016 |
Zbigniew Bodek <[email protected]> |
Introduce initial support for Marvell Armada38x
This commit introduces initial support for Marvell Armada38x platform. Changes: - Add common DTS files for Armada38x SoCs and DTS file for A388-GP - A
Introduce initial support for Marvell Armada38x
This commit introduces initial support for Marvell Armada38x platform. Changes: - Add common DTS files for Armada38x SoCs and DTS file for A388-GP - Add ARMADA38X kernel configuration - Add option SOC_MV_ARMADA38X and set MV_PCI_PORTS - Add list of files to compile - Implement get_tclk(), get_sar_value(), cpu_reset() functions - Add CPU ID and SoC numbers - Correct ifdefs in arm/mv/timer.c
Reviewed by: ian, imp Obtained from: Semihalf Sponsored by: Stormshield Submitted by: Michal Stanek <[email protected]> Differential revision: https://reviews.freebsd.org/D4210
show more ...
|
|
Revision tags: release/10.2.0, release/10.1.0, release/9.3.0 |
|
| #
f0455d65 |
| 26-Feb-2014 |
Ian Lepore <[email protected]> |
Replace many pasted identical definitions of cpu_initclocks() with a common implementation in arm/machdep.c. Most arm platforms either don't need to do anything, or just need to call the standard ev
Replace many pasted identical definitions of cpu_initclocks() with a common implementation in arm/machdep.c. Most arm platforms either don't need to do anything, or just need to call the standard eventtimer init routines. A generic implementation that does that is now provided via weak linkage. Any platform that needs to do something different can provide a its own implementation to override the generic one.
show more ...
|
| #
add35ed5 |
| 02-Feb-2014 |
Ian Lepore <[email protected]> |
Follow r261352 by updating all drivers which are children of simplebus to check the status property in their probe routines.
Simplebus used to only instantiate its children whose status="okay" but t
Follow r261352 by updating all drivers which are children of simplebus to check the status property in their probe routines.
Simplebus used to only instantiate its children whose status="okay" but that was improper behavior, fixed in r261352. Now that it doesn't check anymore and probes all its children; the children all have to do the check because really only the children know how to properly interpret their status property strings.
Right now all existing drivers only understand "okay" versus something- that's-not-okay, so they all use the new ofw_bus_status_okay() helper.
show more ...
|
|
Revision tags: release/10.0.0 |
|
| #
64894120 |
| 27-Oct-2013 |
Ian Lepore <[email protected]> |
Remove #include <machine/frame.h> from all the arm code that doesn't really need it. That would be almost everywhere it was included. Add it in a couple files that really do need it and were previo
Remove #include <machine/frame.h> from all the arm code that doesn't really need it. That would be almost everywhere it was included. Add it in a couple files that really do need it and were previously getting it by accident via another header.
show more ...
|
|
Revision tags: release/9.2.0 |
|
| #
046b51bf |
| 04-Jun-2013 |
Grzegorz Bernacki <[email protected]> |
Fix the passing of time on Armada XP.
In order to become independent of Coherency Fabric frequency, configure Timer and Watchdog to operate in 25MHz mode.
Submitted by: Zbigniew Bodek <zbb@semihalf
Fix the passing of time on Armada XP.
In order to become independent of Coherency Fabric frequency, configure Timer and Watchdog to operate in 25MHz mode.
Submitted by: Zbigniew Bodek <[email protected]>
show more ...
|
|
Revision tags: release/8.4.0 |
|
| #
fdc5dd2d |
| 28-Feb-2013 |
Alexander Motin <[email protected]> |
MFcalloutng: Switch eventtimers(9) from using struct bintime to sbintime_t. Even before this not a single driver really supported full dynamic range of struct bintime even in theory, not speaking abo
MFcalloutng: Switch eventtimers(9) from using struct bintime to sbintime_t. Even before this not a single driver really supported full dynamic range of struct bintime even in theory, not speaking about practical inexpediency. This change legitimates the status quo and cleans up the code.
show more ...
|
|
Revision tags: release/9.1.0 |
|
| #
d65cdf4b |
| 14-Sep-2012 |
Grzegorz Bernacki <[email protected]> |
Add support for Armada XP A0.
- Add functions to calculate clocks instead using hardcoded values - Update reset and timers functions - Update number of interrupts - Change name of platform from db88
Add support for Armada XP A0.
- Add functions to calculate clocks instead using hardcoded values - Update reset and timers functions - Update number of interrupts - Change name of platform from db88f78100 to db78460 - Correct DRAM size and PCI IRQ routing in dts file.
Obtained from: Semihalf
show more ...
|
| #
16694521 |
| 15-Aug-2012 |
Oleksandr Tymoshenko <[email protected]> |
Merging of projects/armv6, part 7
Add Marvell ARMADA XP support
Obtained from: Marvell, Semihalf
|
|
Revision tags: release/8.3.0, release/7.4.0, release/8.2.0 |
|
| #
292e1140 |
| 08-Feb-2011 |
Marcel Moolenaar <[email protected]> |
o Make sure to mask off timer1 interrupts. It's not necessarily masked-off by the firmware. o In DELAY(). Make sure we have an inner-loop body that the compiler cannot eliminate. While ti
o Make sure to mask off timer1 interrupts. It's not necessarily masked-off by the firmware. o In DELAY(). Make sure we have an inner-loop body that the compiler cannot eliminate. While timing does not have to be perfect, the loops must be there to have at least some notion of delay.
Obtained from: Juniper Networks
show more ...
|
| #
afc1cdb9 |
| 18-Sep-2010 |
Alexander Motin <[email protected]> |
Clear timer interrupt status before calling callback, not after it, This fixes timer interrupt losses, fatal in one-shot mode.
|
| #
599cf0f1 |
| 20-Jul-2010 |
Alexander Motin <[email protected]> |
Fix several un-/signedness bugs of r210290 and r210293. Add one more check.
|
| #
e9f0d565 |
| 20-Jul-2010 |
Alexander Motin <[email protected]> |
Refactor Marvell ARM SoC timer driver to the new timer infrastructure.
|
|
Revision tags: release/8.1.0 |
|
| #
db5ef4fc |
| 13-Jun-2010 |
Rafal Jaworowski <[email protected]> |
Convert Marvell ARM platforms to FDT convention.
The following systems are involved:
- DB-88F5182 - DB-88F5281 - DB-88F6281 - DB-78100 - SheevaPlug
This overhaul covers the following maj
Convert Marvell ARM platforms to FDT convention.
The following systems are involved:
- DB-88F5182 - DB-88F5281 - DB-88F6281 - DB-78100 - SheevaPlug
This overhaul covers the following major changes:
- All integrated peripherals drivers for Marvell ARM SoC, which are currently in the FreeBSD source tree are reworked and adjusted so they derive config data out of the device tree blob (instead of hard coded / tabelarized values).
- Since the common FDT infrastrucutre (fdtbus, simplebus) is used we say good by to obio / mbus drivers and numerous hard-coded config data.
Note that world needs to be built WITH_FDT for the affected platforms.
Reviewed by: imp Sponsored by: The FreeBSD Foundation.
show more ...
|
|
Revision tags: release/7.3.0, release/8.0.0, release/7.2.0, release/7.1.0, release/6.4.0 |
|
| #
373bbe25 |
| 13-Oct-2008 |
Rafal Jaworowski <[email protected]> |
Introduce basic support for Marvell families of system-on-chip ARM devices:
* Orion - 88F5181 - 88F5182 - 88F5281
* Kirkwood - 88F6281
* Discovery - MV78100
The ab
Introduce basic support for Marvell families of system-on-chip ARM devices:
* Orion - 88F5181 - 88F5182 - 88F5281
* Kirkwood - 88F6281
* Discovery - MV78100
The above families of SOCs are built around CPU cores compliant with ARMv5TE instruction set architecture definition. They share a number of integrated peripherals. This commit brings support for the following basic elements:
* GPIO * Interrupt controller * L1, L2 cache * Timers, watchdog, RTC * TWSI (I2C) * UART
Other peripherals drivers will be introduced separately.
Reviewed by: imp, marcel, stass (Thanks guys!) Obtained from: Marvell, Semihalf
show more ...
|