summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2018-08-13Support GPIO-based voltage regulators.Patrick Wildt
ok kettenis@
2018-08-13Prevent iwm(4) from writing back the former BSS channelStefan Sperling
if the current BSS has been changed by ieee80211_input(). Needed for upcoming band-steering support in net80211. ok phessler@ mpi@
2018-08-13Attach to Sierra Wireless MC7304/MC7354 & EM7455, from Denis Lapshin.Martin Pieuchot
2018-08-13regenMartin Pieuchot
2018-08-13Sierra Wireless MC7304/MC7354, from Denis Lapshin.Martin Pieuchot
2018-08-12Drop reference to dmabuf "file" as fnew() returns one that has twoMark Kettenis
references. ok visa@, deraadt@
2018-08-12Really overwrite the major of com(4) instead of the hardcoded 12.Mark Kettenis
Should have been part of the earlier commit that unified armv7 and arm64.
2018-08-11Match "ARMH0011".Mark Kettenis
2018-08-09Hook up the rasops text emulation functions so we only write outPatrick Wildt
the characters that changed, and only when they change. This replaces writing out the whole framebuffer every 100ms with a partial update mechanism. Now the system stays responsive and does not slow down anymore due to the periodic update.
2018-08-09Implement out-of-band interrupt support in the bwfm(4) SDIO backend.Patrick Wildt
2018-08-09Make imxesdhc(4) pass per-function cookies to the SD/MMC bus.Patrick Wildt
ok kettenis@
2018-08-09Allow passing per-function cookies through the SD/MMC bus to SDIOPatrick Wildt
devices. This allows SDIO device drivers to read information from the ACPI or FDT tables. ok kettenis@
2018-08-09Correct the bitmask that returns the function count. We missed a bitPatrick Wildt
and thus only supported 4 functions instead of 8. ok kettenis@
2018-08-09regenMark Kettenis
2018-08-09ASMedia ASM1184e PCIe switch.Mark Kettenis
2018-08-08Fix possible division by zero caused by bogus usb descriptors. FromAlexandre Ratchov
Michael W. Bombardieri. Thanks.
2018-08-08Implement IRQ masking and unmasking in imxgpio(4).Patrick Wildt
2018-08-08regenKevin Lo
2018-08-08Fix Realtek product name from RT8188 to RTL8188CEKevin Lo
ok stsp@
2018-08-06Give the FDT interrupt API a more generic naming by replacing thePatrick Wildt
arm_intr_* prefix with fdt_intr_*. ok kettenis@
2018-08-05ifconfig ioctl's that bring interfaces up the first time may issueTheo de Raadt
firmware loads. The namei operations are being performed are on behalf of the kernel not process, so use BYPASSUNVEIL. spotted by sthen, ok beck
2018-08-05Fix typo that caused us to misassign parents.Mark Kettenis
ok patrick@
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsBob Beck
to the namei args. This fixes a bug where chmod would be allowed when with only READ. This also allows some further cleanup of some awkward things like PLEDGE_STAT that will follow Lots of assistence from semarie@ - thanks! ok semarie@
2018-08-04Implement a few missing RK3288 clocks and implement resets.Mark Kettenis
2018-08-04avoid using a value uninitialisedJonathan Gray
ok kevlo@
2018-08-03Pass PCIe requester ID as sideband data here as well.Mark Kettenis
2018-08-03Let ahci(4) match on _CLS instead of _HID when attaching at acpi(4). AvoidsMark Kettenis
having to add many more _HID entries to the match table. ok deraadt@, mlarkin@
2018-08-03Implement setting the CPU clock for Allwinner H3/H5 SoCs.Mark Kettenis
2018-08-03Also attach as a regulator if the FDT provides the fixed voltage value.Mark Kettenis
Restore fixed voltage at reboot time to prevent hangs after a warm reset if DVFS is active.
2018-08-03Implement DVFS support.Mark Kettenis
ok patrick@
2018-08-03- use memset() for for clearing hashtblKevin Lo
- the switch case for IFM_100_TX was the same code as for IFM_1000_T so it can be rolled into one. From Michael W. Bombardieri
2018-08-03Add mue(4), a driver for Microchip LAN75xx/LAN78xx 10/100/1000 USB EthernetKevin Lo
adapters. "go ahead commit it" deraadt@
2018-08-02Add I2C attachment code to ssdfb(4). The difference between the I2CPatrick Wildt
and SPI bus is simply how to let the chip know it's a command or data transfer. Otherwise we push the very same bits.
2018-08-02Add delay when increasing the voltage of a regulator that has aMark Kettenis
"regulator-ramp-delay" property to guerantee that the target voltage has been reached when regulator_set_voltage(9) returns. ok patrick@
2018-08-01Fix various RK3399 clocks and add support for getting the clock frequencyMark Kettenis
of the clocks that we can set. Assign clock rates (and parents) based on the "assigned-clocks" device tree property, but only on RK3399 for now as the code for the other Rockchip SoCs isn't quite ready yet. Last but not least, fixup a mistake on the firmware for the Theobroma Systems RK3399-Q7 module such that the "big" cluster uses BPLL as intended.
2018-08-01Implement a partial update mechanism. Since the SPI-connected displayPatrick Wildt
cannot read the framebuffer memory, we have to push the framebuffer to the display. ssdfb(4) will now be able to update only a certain region region of the framebuffer as soon as there is infrastructure to trigger it.
2018-07-31Display color depth alongside resolution when attaching simplefb(4).Frederic Cambus
OK kettenis@, deraadt@
2018-07-31Stop reversing bytes read from the framebuffer. That was added sincePatrick Wildt
the 8x16 font showed horizontally flipped characters, but as it turns out the issue is that with 8-bit wide fonts we use optimized rasops code that apparently writes out the character with reversed bitorder.
2018-07-31Implement setting the voltage of the regulators.Mark Kettenis
2018-07-31Correctly set the dividers for the clock of the "big" cores.Mark Kettenis
2018-07-31Fix setting the voltage; the code was using the wrong variable as a step size.Mark Kettenis
Includes some cosmetic fixes as well.
2018-07-30If we keep the BIOS framebuffer, stick to the desired framebuffer sizeMark Kettenis
instead of using the actual framebuffer size. This fixes a problem seen on various Apple machines where the BIOS framebuffer is bigger than the actual display. ok jcs@, mpi@
2018-07-30define WSMOUSE_TYPE_TOUCHPAD so non-elantech drivers can stopJoshua Stein
claiming to be elantech devices
2018-07-30Use the MI interrupt enable/distable API instead of the MD one on i386 andMark Kettenis
remove the MD API. ok deraadt@
2018-07-30Inline trivial uaudio_id_name(). From Michael Bombardieri, thanks.Alexandre Ratchov
"looks good" kn@
2018-07-30Add support for the GIC v3 ITS and use it to implement MSI support forMark Kettenis
rkpcie(4). ok patrick@
2018-07-30Add ssdfb(4), a driver for the SSD1309 controller that drives anPatrick Wildt
128x64 OLED display. With the typical 8x16 font we get 4 rows with 16 characters each on it. The controller can be driven using I2C, 3-wire and 4-wire SPI. This commit includes support for the 4-wire protocol. ok deraadt@
2018-07-30apply the loop settle delay to handling of loop up and loop reset events,Jonathan Matthew
so hotplug can be more reliable too.
2018-07-30extend the loop settle time to 200ms, and adjust the check so that we'llJonathan Matthew
actually break out once the loop has been up for that long.
2018-07-28Add function to convert a PCI device "tag" into a PCIe requester ID.Mark Kettenis
ok patrick@, mlarkin@, deraadt@