Giter Club home page Giter Club 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 (arm64 bullseye) with kernel 5.10 and 5.11.

MIPI Display and touch

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

The needed display driver and overlay has been merged into Raspberry Pi's official linux tree (rpi-5.10.y branch). We kept the driver and overlay files in this repo for reference.

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

dtc -I dts -O dtb -o cutiepi-panel.dtbo cutiepi-panel-overlay.dts

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

# MIPI DSI display 
dtparam=i2c_arm=on
dtoverlay=cutiepi-panel

Camera

# camera 
start_x=1
gpu_mem=128
# Uncomment for camera module v2
#dtoverlay=imx219
dtoverlay=ov5647

Gyroscope

Compile the mpu6050-i2c5 overlay and copy it to /boot/overlays.

# Gyroscope 
dtoverlay=i2c5,pins_10_11
dtoverlay=mpu6050-i2c5,interrupt=27

USB host

otg_mode=1

MCU

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

Make sure #dtparam=spi=on is commented out.

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.