Age | Commit message (Collapse) | Author |
|
pointer can be used with gpio and acpi intr_establish.
ok kettenis@
|
|
Makes the SD card slot on machines based on Intel's Bay Trail SoC fully
functional.
ok jsg@
|
|
ok jsg@
|
|
|
|
us from reporting devices as "not configured" that aren't actually present,
and allows us to remove duplicated code from several drivers.
ok deraadt@, ok jsg@
|
|
a platform-specific method of controlling the backlight.
ok millert@, mlarkin@, jung@
|
|
|
|
gettinga bit of the burden. And it really isn't how our autoconf
framework is supposed to work for busses that can be enumerated. All
the drivers already check for a matching _HID in their attach
function. So we can just drop the checks in acpi_foundhid() and let
the drivers sort themselves out.
Print a "not configured" line for devices for which we don't attach adriver.
This may be a bit much as there are devices for which we will not have a
driver. This will be removed if it causes too much dmesg spam.
ok deraadt@, mlarkin@
|
|
ok mlarkin@
|
|
|
|
SoC.
|
|
the acpi framework such that we can start adding supportfor GPIO resources.
|
|
|
|
our own.
From Michal Mazurek, ok mmcc@
|
|
ACPI specs. With the correct value, it can now be used in a few places
instead of hardcoding 0x79.
ok kettenis@
|
|
2001.1 SP1 Windows Server 2003 SP1
2006.1 Windows Server 2008
2006 SP1 Windows Vista SP1
2006 SP2 Windows Vista SP2
2015 Windows 10
ok kettenis@
|
|
This avoids reading uninitialised memory when expected value types are
not present, as is currently the case with gpio signalled interrupts,
and could also be the case with buggy aml.
Without this change under certain conditions on the ideapad 100s
(such as a ramdisk kernel or generic kernel compiled with -O0)
ihidev would incorrectly attach to a bogus ioapic interrupt.
ok kettenis@
|
|
the last byte, depending on the timing
|
|
|
|
kernel can find and attach dwiic(4) and sdhc(4).
|
|
|
|
were set as per the acpi spec.
ok kettenis@
|
|
the match function return 0 to prevent the driver from attaching.
|
|
|
|
* Properly map bus space; using BUS_SPACE_MAP_PREFATCHABLE is not agood idea
as it may lead to reordering or merging of register writes in the store
buffer.
* Properly implement the iic(4) operations in dwiic_i2c_exec().
* Keep timings set up by the firmware if the SSCN and FMCN methods aren't
available.
ok jcs@
|
|
traverse sideways. This seems to be what all callersexpect it to do, and
fixes a bug in dwiic(4) where it would try to access i2c devices on busses
they're not attached to.
If there is any fallout from this change, the right thing to do is probably
to make sure callers pass the right node.
While there, change the return type to void, as the return value was useless
and none of the callers looked at it.
ok mlarkin@
|
|
register space of the i2c device) with the i2c address. For i2c busses
enumerated by ACPI we get the address from the I2C Serial Bus Connection
Resource Descriptor returned by the _CRS methide of the i2c device. Pass the
HID descriptor address in the ia_size member.
ok jcs@
|
|
descriptors.
ok jcs@
|
|
isavar.h (a few parts of the tree include both)
ok jcs
|
|
SPL_TYPx, SLP_EN and WAK_STS using the new SLEEP_STATUS_REG and
SLEEP_CONTROL_REG registers. Makes the transition into S5 (powerdown) work
on the ASUS X205TA.
ok deraadt@, mlarkin@
|
|
on the Samsung ATIV Book 9 laptop. This initial version only
supports ACPI config/attachment.
Add ihidev, a HID-over-i2c driver largely based on uhidev. dwiic
handles attaching ihidev devices found in ACPI.
Add ims, a HID-over-i2c mouse/trackpad driver to get basic cursor
and button functionality from HID-compliant i2c trackpads.
ok kettenis deraadt
|
|
|
|
|
|
controllers integrated on Intel's Bay Trail SoCs.
|
|
"platform" devices that attach to acpi(4).
ok mlarkin@, deraadt@
|
|
ok deraadt kettenis
|
|
by emulating the PM_CNT register such that SCI_EN is always enabled. It also
skip attaching acpitimer(4) since the relevant registers are no longer there.
ok deraadt@, mlarkin@
|
|
|
|
LR_MEM32FIXED to better match the names used in the specification.
Add lr_m32fixed to union acpi_resource.
ok jcs@
|
|
This fixes the lid sensor for machines, like the x220, that do
not generate an event when the lid opens.
ok kettenis@, deraadt@
|
|
been enabled and don't bother enabling it again if it is. This should fix
systems that don't implement legacy mode and therefore set ACPI_ENABLE and
ACPI_DISABLE to zero.
ok mlarkin@, yasuoka@
|
|
ok tb@
|
|
would need to be freed in a couple other places
with deraadt
|
|
of Thinkpads (x220 and later) and using means the brightness level is
coordinated properly with the firmware. This gets rid of the surprising
brightness changes that would sometimes happen if you used the brightness
keys or if the firmware decided to reset the brightness level for some
other reason.
ok tedu@, jung@, naddy@
|
|
methods are present. Should fix the panic that occurs on older ThinkPads
(such as the x201) when you press the ThinkLight key.
|
|
machines that have both the keyboard backlight and the thinklight (x230, t430)
quite right yet.
ok jung@ (for a slightly different version of this diff)
|
|
For now this only supports the true ThinkLight. Support for the keyboard
backlight found on the most recent ThinkPads will follow soon.
ok jung@
|
|
|
|
people with old/broken batteries didn't like this change, and the
underlying heuristics are wrong.
|
|
stack, is currently set to 25%. With 25% battery left, a typical
modern laptop will have at least one hour runtime left. It is an
arbitrary value, and other APM power layers in the kernel set CRITICAL
to something like 5% or 10%, so set it to 10% for now.
OK mlarkin@
|