272461 |
03-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
270237 |
20-Aug-2014 |
loos |
MFC r266937:
Export two new settings for the AM335x PWM, the clock prescaler (clkdiv) and the actual PWM frequency.
Enforce the maximum value for the period sysctl.
The frequency systcl now allows the direct setting of the PWM frequency (it will try to find the better clkdiv and period for a given frequency, i.e. the ones that will give the better PWM resolution).
This allows the use lower frequencies on the PWM. Without changing the clock prescaler the minimum PWM frequency was 1.52kHz.
PWM frequencies checked with an osciloscope.
PWM output tested with some R/C servos at 50Hz.
|
266338 |
17-May-2014 |
loos |
Adds the ADC driver for TI AM3xxx SoC family.
The ADC has a 12bit resolution and its raw output can be read via sysctl(8) interface.
The driver allows the setup of ADC clock, samples average and open delay (the number of clock cycles to wait before start the conversion).
The TSC_ADC module is set in the general purpose mode (no touchscreen support).
Tested on Beaglebone-black.
Written based on AM335x TRM.
|
266207 |
16-May-2014 |
ian |
MFC r262534, r262548, r262549, r262552, r262568, r262581, r262583, r262584, r262585, r262587, r262696, r262712
Replace many pasted identical definitions of cpu_initclocks() with a common implementation in arm/machdep.c.
aicasm: Don't complain about missing prototypes to ease bootstrap issues.
Vybrid: Add driver for Inter-Integrated Circuit (I2C).
imx6: Initialize the Low Power Mode bits to keep the ARM cores running during WFI.
All our current ARM multi-core systems have all cores in one package with a shared L2 cache, reflect that in the common cpu_topo() routine.
mpcore timer: Supply a DELAY() implementation via weak linkage, so that SoC-specific code can supply a better implementation.
imx6: Add some rudimentary voltage control.
Add an armv7 implementation of cpu_sleep().
Add __used attribute so that the DELAY implementation doesn't get optimized away as unreferenced, causing linker errors when trying to resolve the weak reference to the missing function.
|
266152 |
15-May-2014 |
ian |
MFC r261410
Follow r261352 by updating all drivers which are children of simplebus to check the status property in their probe routines.
|
266148 |
15-May-2014 |
loos |
MFC r259125, r264019, r264083, r264153, r264197
r259125: Fix a few typos on the scm (control module) pin mux definitions.
r264019: Fix some of the style(9) problems on ti_gpio.
Remove redundant code and declarations.
r264083: Move the GPIO bank initialization to a new function to make easier to detect errors.
Reset the GPIO module during the initialization. This is guaranteed to be the same as a hardware reset. Tested on AM335x (BBB) and checked against the omap3 and omap4 TRM.
Do a better job freeing resources when there are errors and on ti_gpio_detach().
r264153: - Fix the setup of interrupts for banks 2 and 3 on AM335x.
On AM335x each one of the four GPIO banks has two physical interrupt lines, so we now allocate resources and setup our interrupt handler for all the (8) available interrupts.
On OMAP3 and OMAP4 there is only one interrupt for each GPIO bank (6 banks, 6 interrupts), but there are two set of registers where the first one is used to setup the delivery of interrupts to the MPU and the second set, setup the delivery of interrupts to the DSP.
On AM335x, each set of registers controls each one of the interrupt lines.
- Remove nonexistent registers for OMAP4 and AM335x, replace their use with the correct ones for these SoCs.
- Remove stray whitespace.
r264197: Partially revert r264083.
While it is the recommended initialization procedure, it hangs on the reset of the second GPIO module on pandaboard.
Removes the module reset for now as more investigation is needed.
|
266110 |
15-May-2014 |
ian |
MFC r261252, r261279, r261304, r261305, r261322, r261336, r261337, r261338, r261353
Fix the name of the dts file for the HL201...
When mapping an address, the bsh needs the same offset we do for other things.
Add explicit depends on bus_if.h and device_if.h to avoid a chicken and egg problem in some compilation environments.
Switch to using PAs rather than VAs for the addresses we map for devices. This is a nop, except for what's reported by atmelbus for the resources.
Comment cleanups. Move things around for diff reduction against FDT work.
|
265940 |
12-May-2014 |
ian |
MFC r259750, r260245: Add PPS support to the am335x timer driver.
|
265939 |
12-May-2014 |
ian |
MFC r259744, cleanups to move global vars into softc, use named values, etc.
|
265938 |
12-May-2014 |
ian |
MFC r259739, r259743: Shorten DMTIMER_->DMT_, #define all register constants.
|
265936 |
12-May-2014 |
ian |
MFC r259099: Fix a small error in calculating length of DELAY().
|
259329 |
13-Dec-2013 |
ian |
MFC r257199, r257200, r257217:
Remove all #include <machine/pmap.h> from arm code. It's already included by vm/pmap.h, which is a prerequisite for arm/machine/pmap.h so there's no reason to ever include it directly.
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.
Remove the last dregs of trapframe_t. It turns out only arm was using this type, so remove it to make arm code more consistant with other platforms.
|
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
254593 |
21-Aug-2013 |
ian |
Make the noop clock successfully do nothing, because doing nothing and returning an error status (which the NULL method pointers caused) isn't nearly as useful.
|
254592 |
21-Aug-2013 |
ian |
Define the uart clocks so that they can be en/disabled at runtime.
|
254559 |
20-Aug-2013 |
ian |
Make the standard sdhci(4) driver work for the TI OMAP family SoCs. The MMCHS hardware is pretty much a standard SDHCI v2.0 controller with a couple quirks, which are now supported by sdhci(4) as of r254507.
This should work for all TI SoCs that use the MMCHS hardware, but it has only been tested on AM335x right now, so this enables it on those platforms but leaves the existing ti_mmchs driver in place for other OMAP variants until they can be tested.
This initial incarnation lacks DMA support (coming soon). Even without it this improves performance pretty noticibly over the ti_mmchs driver, primarily because it now does multiblock IO.
|
253830 |
31-Jul-2013 |
rpaulo |
Initialisation routines for the mailbox, spinlock and PRU-ICSS clocks.
|
253025 |
08-Jul-2013 |
gonzo |
Add IDs for TPS65217C and TPS65217D
|
252913 |
07-Jul-2013 |
gonzo |
- Add USBSS driver for AM335x SoC. Driver is a wrapper around Mentors Graphic USB OTG core.
|
252722 |
04-Jul-2013 |
gonzo |
Add support for ePWM submodule of PWMSS
ePWM is controlled by sysctl nodes dev.am335x_pwm.N.period, dev.am335x_pwm.N.dutyA and dev.am335x_pwm.N.dutyB that controls PWM period and duty cycles for channels A and B respectively.
Period and duty cycle are measured in clock ticks. Default clock frequency for AM335x PWM subsystem is 100MHz
|
252282 |
27-Jun-2013 |
gonzo |
- Request non-cached memory for framebuffer - Properly probe/initialize syscons
|
251018 |
27-May-2013 |
gonzo |
AM335x LCD controller driver with syscons support
Limitations: - Raster mode only - 24 and 32 bpp only
|
251017 |
27-May-2013 |
gonzo |
Add PWM module driver for AM335x. Only eCAS subsystem is supported
Export function to configure eCAS submodule from another drivers. It's used to control LCD panel backlight on AM335x EVM.
|
251016 |
27-May-2013 |
gonzo |
Add SCM registers definitions for AM335x platform
|
251015 |
27-May-2013 |
gonzo |
Add clock definitions for LCD controller and PWM module
|
247463 |
28-Feb-2013 |
mav |
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.
|
246025 |
28-Jan-2013 |
dmarion |
Fix case for some signal names.
Submitted by: Emmanuel Vadot <elbarto@megadrive.org>
|
246024 |
28-Jan-2013 |
dmarion |
Filled in missing pads for AM335x / Beaglebone.
Submitted by: Emmanuel Vadot <elbarto@megadrive.org>
|
243523 |
25-Nov-2012 |
kientzle |
Fix spelling.
|
241844 |
22-Oct-2012 |
eadler |
remove duplicate semicolons where possible.
Approved by: cperciva MFC after: 1 week
|
239281 |
15-Aug-2012 |
gonzo |
Merging of projects/armv6, part 10
- Support for Texas Instruments SoCs: - AM335x - OMAP4
- Kernel configs, DTS for Beaglebone and Pandaboard
Submitted by: Ben Gray, Damjan Marion
|