Age | Commit message (Collapse) | Author |
|
pass a pre-processed array of fdt_reg structs. This means
that the drivers don't have to understand the cell properties
themselves but can rely on the 64-bit addr/size pairs.
ok kettenis@
|
|
used in the fdt attach args and the device tree.
ok kettenis@
|
|
is always the serial console. With device tree enumeration, this order
is not given anymore. The serial console might now attach with a
different minor and has to be updated, otherwise there will be no
further output on the serial. Thus, re-create the i.MX6 console with
the correct minor number on attach.
ok jsg@, kettenis@
|
|
the device tree says. As a result many device trees encode it as active-high
when active-low is needed. For now just override the device tree.
ok jsg@, patrick@
|
|
with i.mx6 quad but with more memory bandwidth and some graphics tweaks.
ok kettenis@
|
|
interrupts-extended property is missing or not the size we expect.
Some dtbs implement a workaround for "ERR006687 ENET: Only the ENET
wake-up interrupt request can wake the system from Wait mode" suggested
by the IMX6DQCE errata document to set an undocumented gpio mux mode and
handle the interrupt via gpio.
We don't support gpio interrupts yet, hopefully this change is enough
to make interrupts work on wandboard and sabre lite again till we do.
Discussed with kettenis and patrick, tested on sabre lite by patrick.
|
|
ok patrick@
|
|
PHYs based on device tree properties instead of the board ID. Untested as
I don't have the hardware.
ok jsg@, patrick@
|
|
bus. For this only supports "fixed" regulators that are controlled through a
gpio. But this covers all the case we currently handle with board ID specific
code. Note that the old code did explicitly remove power first on some boards,
which would reset bus-powered devices/hubs on the bus. The new code doesn't do
this. If that causes problems we can revisit the issue. The boards that would
be affected are sabrelight/nitrogen6x and utilite.
The plan is to evolve this into a generic regulator framework that supports
more complex regulator types as well.
ok jsg@, patrick@
|
|
such that we can don't end up with conflicting attachments of other
SoC-specific glue code.
|
|
such that we can don't end up with conflicting attachments of other
SoC-specific glue code.
ok jsg@, patrick@
|
|
hardcoding particular gpios based on board IDs.
ok visa@, jsg@
|
|
gpios based on board IDs.
ok visa@, jsg@
|
|
ok visa@, jsg@
|
|
In that case, soft fail and return instead of allocating buffer with
a bogus size.
ok kettenis@
|
|
|
|
|
|
These are used to do board-specific setup of mux settings and pad
configuration.
ok jsg@, patrick@
|
|
(essentially) the same for all boards, so we can use a single list and
match based on the compatible property of the root node in the device tree.
ok jsg@
|
|
board ID for the AR8031/AR8035.
ok jsg@
|
|
ok jsg@
|
|
ok jsg@, patrick@
|
|
detect function. Remove the board-specific return 1 cases as they all
match the case of a "non-removable" property.
Note that this introduces a
sdmmc0: can't enable card
message on the CuBox-i as is has the internal eMMC controller enabled in
its device tree even though there is no eMMC soldered onto the board.
ok jsg@
|
|
|
|
supported.
|
|
ok jsg@, patrick@
|
|
ok kettenis@
|
|
ok jsg@
|
|
ok jsg@
|
|
ok jsg@
|
|
if present otherwise fallback to /aliases/serial0.
Don't require a platform match to run the various console init functions
so the init functions will run for unknown board ids.
With and ok kettenis@ on a earlier version.
|
|
We now pull the model string from fdt.
|
|
ok patrick@ kettenis@
|
|
busses. Users of the CuBox-i and Hummingboard now need to boot with an FDT
to see the RTC.
ok jsg@, patrick@
|
|
in the FDT.
|
|
has the hardware for the eval kit.
ok patrick@
|
|
platform-specific devices to mainbus before we start walking the FDT.
ok patrick@
|
|
ok patrick@
|
|
ok patrick@
|
|
- Move most of the bus setup stuff to imxiic_i2c_acquire_bus()
- Move the teardown to imxiic_i2c_release_bus()
- Always clear the IIF flag
- Allow cmd and data for write operations.
Some i2c operations are still rejected, but this works well enough to use
pcfrtc(4).
ok patrick@
|
|
bus_dmamap_sync(9). Doesn't really fix anything, but adding the missing
sync makes the code more correct. Using BUS_DMA_COHERENT avoids some
cache flushes.
|
|
SD Host Controller standard.
ok patrick@
|
|
ok patrick@ kettenis@
|
|
work on the cubox-i, whereu-boot leaves the controller in 4-bit mode.
|
|
|
|
attach if we are running in legacy mode.
ok jsg@
|
|
topology based on device tree information. Introduce a common attach
args structure to be used for all fdt-capable bus devices.
ok jsg@ kettenis@
|
|
controller. Use this to switch SD cards to a 4-bit bus if they support it.
ok deraadt@, jsg@
|
|
|
|
|