Releases: data-modul/dmec
v2019.02.20-v4.14
The name-space of DMEC device in ACPI table is changed for Apololake.
Therefore, this name-space is also added to get ACPI handle of the Apololake.
This commit is also added into this branch, since kernel 4.14 is used in Yocto SUMO
v2019.02.20
The name-space of DMEC device in ACPI table is changed for Apololake.
Therefore, this name-space is also added to get ACPI handle of the Apololake.
v2018.11.12
From kernel 4.15 the gpiochip structure is changed regarding CONFIG_GPIOLIB_IRQCHIP.
Therefore the required changes is needed to make DMEC drivers compile under Linux 4.15 and later
v2017.08.07
PWM-DMEC keeps the value of Granularity in a new file at directory /sys/bus/platform/drivers/dmec-pwm/dmec-pwm.0
This value can be used by the caller to calculate the number of steps by the formula
steps = PwmPeriod/PwmGranularity.
v2017.07.31
PWM-DMEC values now are calculated based on pre-scaler and scaler value.
User can specify desired minimum number of steps of the PWM signal(minStep) and the desired maximum number of steps of the PWM signal(maxStep). These are used for calculating best match parameters. If not specified, the minimum number of steps is 8 and the maximum number of steps is 256 in 8Bit mode or 65536 for 16Bit mode.
v2017.07.20
DMEC is a Linux driver for the embedded controllers found on the DMO CPU modules.
DMEC Linux driver provides at the moment the following functions:
- I2C
- GPIO
- Watchdog
- RTM (real time monitor)
- ACPI-HWMON
- PWM
Building and installing
The kernel headers package has to be installed or the location of the kernel build directory has to be set using the KERNEL_SRC variable.
export KERNEL_SRC=/usr/src/linux
make
make install
depmod -a
The drivers will be then loaded on the next boot.