mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-10 23:13:01 +00:00
54cf1334e1
The ported i2c_hid driver contains driver code for the "Intel Tigerlake/Alderlake PCH pinctrl/GPIO" device. Unfortunately, acpica driver also accesses the same device on Lid open/close via ACPI AML code of the DSDT table to read out the state of a GPIO pin connected to the notebook lid. This would fail as I/O memory is handed out only once and cannot be shared. The workaround disables the region check for the specified GPIO I/O memory regions and provides both drivers shared access to the regions. This is a preliminary workaround. A general solution should separate the GPIO driver into a component (e.g., platform driver) that regulates accesses by i2c_hid and acpica. Issue #5195 |
||
---|---|---|
.. | ||
board | ||
etc | ||
include | ||
lib | ||
mk | ||
ports | ||
recipes | ||
run | ||
src | ||
xsd | ||
README |
This is the generic Genode base system, which consists of two parts: :_Core_: is the root of the Genode component tree. It provides abstractions for the lowest-level hardware resources such as RAM, ROM, CPU, and device access. All generic parts of core can be found here. For kernel-specific parts, refer to the appropriate 'base-<kernel>' directory. :_Base libraries and interfaces: that are used by each Genode component to interact with other components. This is the glue that holds everything together. Depending on the used kernel, core may export information about the hardware platform as a ROM called 'platform_info'. For example, if the ACPI RSDT and XSDT physical pointer are reported by the used kernel and/or bootloader, core provides this information in the ROM as follows. !<platform_info> ! <acpi revision="2" rsdt="0x1fe93074" xsdt="0x1fe930e8"/> ! <boot> ! <framebuffer phys="0x7300000" width="1024" height="768" bpp="32"/> ! </boot> !</platform_info> If the graphics device is initialised and can be directly used by a framebuffer driver, core provides the physical pointer to the framebuffer, the resolution, and color depth in bits.