[MA35D1] ML56-TK Module Linux Driver

Post Reply
chhsieh3
Posts: 307
Joined: 13 Mar 2020, 09:08

19 Oct 2022, 15:43

  • Application: This example code shows how to adapt ML56-TK driver to Linux kernel.
  • BSP Version: Linux-5.4.x
  • Hardware: NuMaker-Base-MA35D1B1 V2.0
This example code shows how to insert ML56-TK kernel module into Linux, and use ‘input_test’ test program to decode an input event into human readable format.

In order for users to adapt ML56-TK into their application easily, the ML56-TK driver enables ML56-TK to act as an ’Input Device’ in the Linux, and enables a touch key to act as a ’keyboard’ and report key code (KEY_A, KEY_B, etc.) and key status (Press/Release) to the system. Users can define the key code via a device tree and enables a slider/wheel to act as a ’touch panel’ and convert raw data from ML56-TK into X-Y coordinates and report to system, where X presents the percentage and Y is used to identify the percentage that is belonged to the slider or wheel.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1308332003
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests