summaryrefslogtreecommitdiffstats
path: root/sys/arm/samsung/exynos
Commit message (Collapse)AuthorAgeFilesLines
* Implement GPIO_GET_BUS() method for all GPIO drivers.loos2015-01-311-4/+18
| | | | | Add helper routines to deal with attach and detach of gpiobus and gpioc devices that are common to all drivers.
* Clean up and fix the device detach routine and the failure path on GPIOloos2015-01-311-4/+15
| | | | | | drivers. This paves the way for upcoming work.
* Rename bus_space-v6.c to bus_space_base.c, because it's not v6-specifician2015-01-211-1/+1
| | | | | and now some v5 Marvell systems are using it. Only define fdt_bus_tag if option FDT is defined.
* Rename Exynos UART driver. No functional change.br2015-01-131-62/+62
| | | | Submitted by: Michal Meloun <meloun@miracle.cz>
* Rename gic_init_secondary to arm_init_secondary_ic to help with the mergeandrew2015-01-111-1/+1
| | | | of the arm_intrng project branch.
* Add 64-bit DMA support in the XHCI controller driver.hselasky2015-01-051-0/+1
| | | | | | | - Fix some comments and whitespace while at it. MFC after: 1 month Submitted by: marius@
* Remove -Wa,-march=armv7a from arm kernel configs, it makes clang 3.5 sadian2015-01-012-2/+2
| | | | and apparently isn't needed now that we're using the integrated assembler.
* Add -march=armv7a to the kernel compile for all ARM systems which are v7a.ian2014-12-212-0/+2
| | | | Submitted by: Michal Meloun <meloun@miracle.cz>
* Moves all the duplicate code to a single function.loos2014-11-181-9/+0
| | | | | Verify for invalid modes and unwanted flags before pass the new flags to driver.
* Make the GPIO children attach to the first unit available and not only toloos2014-10-281-2/+2
| | | | | | | | | unit 0. It seems that this 'simplification' was copied to all GPIO drivers in tree. This fix a bug where a GPIO controller could fail to attach its children (gpioc and gpiobus) if another GPIO driver attach first.
* Add driver for Synopsys DesignWare Mobile Storage Host Controller.br2014-10-072-1/+4
| | | | Sponsored by: DARPA, AFRL
* Remove unnecessary inclusion of FDT headers.nwhitehorn2014-08-0811-22/+0
|
* Use OF_getencprop() in preference to OF_getprop() and manual byte-swapping.nwhitehorn2014-08-083-29/+24
|
* Add support for Chromebook2 -- next-generation 8-corebr2014-08-0112-125/+1537
| | | | | | | | | | | | | | | | | | (4 in operation), 4GB ram (3.5 usable) ARM machine. Support covers device drivers for: - Serial Peripheral Interface (SPI) - Chrome Embedded Controller (EC) - SPI-based version - XHCI and USB 3.0 dual-role device PHY Also: - Add support for Exynos5420 in Pad module - Move power-related functions to separate driver -- Power Management Unit (PMU) - Enable XHCI for Chromebook1 Special thanks to grehan@ for hardware, and to hselasky@ for r269139.
* Add the rest of combined interrupt groups.br2014-07-281-5/+112
|
* Add machine-dependent SMP part for Exynos5420br2014-06-122-8/+70
|
* Fix i2c communication interface to be compatible withbr2014-06-012-3/+10
| | | | | | vendor tools, e.g. embedded controller tool Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
* Rename exynos uart driver filenames.br2014-06-013-2/+2
|
* Add support for Exynos 5420 Octa - 8-corebr2014-06-012-0/+21
| | | | | | | heterogeneous (big.LITTLE) ARM machine (4 x Cortex-A15 @ 1.8Ghz, 4 x Cortex-A7 @ 1Ghz) Add configuration for Arndale Octa development board
* Do only receive chars if there are some data in the buffer.br2014-06-011-1/+6
| | | | This fixes operation on newer Exynos boards.
* Reset HSIC hub during EHCI initialization. This makes devices connectedbr2014-05-301-0/+38
| | | | | | to external USB ports available to the system. Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
* Fix off-by-one error that makes 0-th pins of each bank unreachable.br2014-05-301-1/+1
| | | | Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
* o Make keyboard-related properties to be compatible with vendor standardbr2014-05-302-107/+214
| | | | | | | o Allow setting keymap in FDT, use hardcoded one by default o Represent fallback keymap as a list rather than directly usable M*N array Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
* Add simple polling mechanism that works for KDB.br2014-05-281-1/+22
| | | | Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
* Describe I2C arbitrator device in DTS and use it for Chromebook Snow only.br2014-05-281-11/+48
| | | | Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
* Add the start of the ARM platform code. This is based on the PowerPCandrew2014-05-171-5/+6
| | | | | | | | | | platform code, it is expected these will be merged in the future when the ARM code is more complete. Until more boards can be tested only use this with the Raspberry Pi and rrename the functions on the other SoCs. Reviewed by: ian@
* Correct the end address of the video frame buffer.br2014-04-051-3/+5
| | | | | This fixes problem that sometimes display suddenly goes blank.
* Remove unused prototype.br2014-04-041-1/+0
|
* Release i2c bus on detach.br2014-04-011-0/+13
|
* Add support for keyboard used in Samsung Chromebook (ARM machine)br2014-03-3011-29/+2792
| | | | | | | | | | | | | Support covers device drivers for: - Interrupt Combiner - gpio/pad, External Interrupts Controller (pad) - I2C Interface - Chrome Embedded Controller - Chrome Keyboard Also: - Use new gpio dev class in EHCI driver - Expand device tree information
* Directly call kmem_alloc_contig to allocate framebuffer memorybr2014-03-301-2/+6
| | | | | | | and pass VM_MEMATTR_UNCACHEABLE (no-cache, no-buffer). This fixes screen refreshing problem when data is updated too slowly. Discussed with: ian
* Rename mct and ehci drivers files to match common naming.br2014-03-203-4/+4
|
* Remove printf's.br2014-03-201-6/+0
|
* Add driver for Display Controller.br2014-03-203-0/+454
|
* - Add display-related and clk devices to the treebr2014-03-201-3/+3
| | | | - Prevent resources intersection with EHCI driver
* Eliminate irq_dispatch.S. Move the data items it contained into arm/intr.cian2014-03-101-1/+0
| | | | | | | | and the functionality it provided into arm/exception.S. Rename the main irq handling routine from arm_handler_execute() to arm_irq_handler() to make it more congruent with how other exception handlers are named, and also update its signature to reflect what has long been reality: it is passed just a trapframe pointer, no interrupt number argument.
* Move all the files named foo/common.c to foo/foo_common.c, asimp2014-03-082-1/+1
| | | | | | appropriate for each of the 'foo' in the tree. This will allow us to compile them together (although symbol conflicts prevent us from doing that today, this just fixes the file name collision).
* Move the declaration for mpentry() into a header file instead of pastingian2014-02-231-3/+0
| | | | | | | it into a bunch of different .c files. Remove declarations for the unused mptramp() function from everywhere except AramadaXP (and I think it's really not used there either, because the code that references it appears to be insanely does-nothing in nature).
* Follow r261352 by updating all drivers which are children of simplebusian2014-02-022-0/+7
| | | | | | | | | | | | | 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.
* Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it withandrew2014-01-281-2/+0
| | | | | | | | | memory at the end of the kernel. This helps reduce the SoC and board specific configuration required. Reviewed by: bsdimp Tested by: jmg (armeb), br
* Fix undefined behavior: (1 << 31) is not defined as 1 is an int and thiseadler2013-11-301-1/+1
| | | | | | | | | | | | | shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva
* o Use common ARMv6/v7 bus_space tag.br2013-11-133-176/+8
| | | | | o Use new helper routines for arm static device mapping. o style(9) tweaks.
* Call initarm_lastaddr() later in the init sequence, after establishingian2013-11-051-1/+7
| | | | | | | | | | | | | | | | | | | static device mappings, rather than as the first of the initializations that a platform can hook into. This allows a platform to allocate KVA from the top of the address space downwards for things like static device mapping, and return the final "last usable address" result after that and other early init work is done. Because some platforms were doing work in initarm_lastaddr() that needs to be done early, add a new initarm_early_init() routine and move the early init code to that routine on those platforms. Rename platform_devmap_init() to initarm_devmap_init() to match all the other init routines called from initarm() that are designed to be implemented by platform code. Add a comment block that explains when these routines are called and the type of work expected to be done in each of them.
* Move remaining code and data related to static device mapping into theian2013-11-041-2/+3
| | | | | | | new devmap.[ch] files. Emphasize the MD nature of these things by using the prefix arm_devmap_ on the function and type names (already a few of these things found their way into MI code, hopefully it will be harder to do by accident in the future).
* Retire arm_remap_nocache() and the data and constants associated with it.ian2013-10-271-1/+1
| | | | | | The only remaining user was the code that allocates bounce pages for armv4 busdma. It's not clear why bounce pages would need uncached memory, but if that ever changes, kmem_alloc_attr() would be the way to get it.
* Remove #include <machine/frame.h> from all the arm code that doesn'tian2013-10-272-2/+0
| | | | | | 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 all #include <machine/pmap.h> from arm code. It's alreadyian2013-10-271-1/+0
| | | | | | | included by vm/pmap.h, which is a prerequisite for arm/machine/pmap.h so there's no reason to ever include it directly. Thanks to alc@ for pointing this out.
* - Enable unmapped buffers on Exynos5 again, becausebr2013-10-011-5/+0
| | | | | | | | board now able to see all the 2GB ram it has - Also unbreak gcc build Approved by: cognet (mentor) Approved by: re (marius)
* Increase the max KVA available for general consumption on the Exynos 5.cognet2013-08-181-2/+2
| | | | Submitted by: Ruslan Bukin <br@bsdpad.com>
* Import basic support for Samsung Exynos 5 support.ray2013-06-2910-0/+1480
Submitted by: Ruslan Bukin <br@bsdpad.com> Reviewed by: gonzo
OpenPOWER on IntegriCloud