Git Product home page Git Product logo

cutiepi-drivers's Introduction

Drivers for the CutiePi tablet

This repository hosts modified drivers and device tree sources needed for the CutiePi board, the open source Raspberry Pi Compute Module 4 carrier board.

Current release is tested on Raspberry Pi OS (2021-08-31) with kernel 5.10 and 5.11.

MIPI Display

CutiePi tablet uses an 8-inch (800x1280) MIPI DIS TFT LCD display, it has ILI9881C as its LCD driver.

The panel-nwe080 driver is now a dkms package, and can be installed to the system using following commands:

# on the Pi system 
sudo apt install dkms raspberrypi-kernel-headers 
sudo tar xvf Display/panel-nwe080-1.0.tgz -C /usr/src/

sudo dkms add -m panel-nwe080 -v 1.0
sudo dkms build -m panel-nwe080 -v 1.0
sudo dkms install -m panel-nwe080 -v 1.0

A device tree overlay is also needed, which can be compiled from Display/panel-nwe080.dts with following command:

dtc -I dts -O dtb -o panel-nwe080.dtbo panel-nwe080.dts

Copy the file to /boot/overlays, then add following configure in config.txt:

# MIPI DSI display 
dtoverlay=panel-nwe080
gpio=12=op,dh

Touch panel

To enable Goodix GT9xx multitouch controller, compile the device tree overlay under Touch:

dtc -I dts -O dtb -o cutiepi_touch.dtbo cutiepi_touch.dts

And configure config.txt accordingly:

dtoverlay=i2c6
dtoverlay=cutiepi_touch

Camera

# Camera (with dt-blob.bin)
start_x=1
gpu_mem=128
# Uncomment for camera module v2
#dtoverlay=imx219
dtoverlay=ov5647

Gyroscope

# Gyroscope 
dtoverlay=i2c5,pins_10_11

USB host

dtoverlay=dwc2,dr_mode=host

MCU

# MCU reading (ttyS0)
enable_uart=1
dtoverlay=uart1

cutiepi-drivers's People

Contributors

penk avatar penkchen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.