Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Linux Foundation

Gadgets and Trinkets - The Upstream Linux Way

Linux Foundation via YouTube

Overview

Explore the intricacies of connecting simple devices to a Linux system in this 49-minute conference talk from the Linux Foundation. Delve into topics such as Arduino integration, userspace vs. kernelspace drivers, and working with various hardware components like character LCDs and RGB LEDs. Learn about Pulse-Width Modulation (PWM), GPIO Aggregator, and the importance of hardware description through Device Tree snippets. Discover how to enable devices in Device Tree, understand bindings, and work with dynamic overlays. Gain insights into the Connector Framework for safer Device Tree overlay implementation. Conclude with a Q&A session to address any lingering questions about upstream Linux development for gadgets and trinkets.

Syllabus

Intro
About Me (and Linux)
Connecting Simple Devices to a Linux System
Arduino
Example: Getting To Blinky
Userspace Drivers
Comparison: Userspace vs. Kernelspace Drivers
Example: HD44780 Character LCD
Existing Drivers
Pulse-Width Modulation (PWM)
RGB LEDs?
Motors & Actuators?
GPIO Aggregator (v5.8+)
Hardware Description
Sample Device Tree Snippet: SPI Controller and Device
I need spidev in DT!
Enabling My Device in DT
DT Bindings Example: GPIO-operated Door
Driver / Binding
Sample DT Overlay / Sugar Syntax
Dynamic DT Overlays
Connector Framework: Making DT Overlays Safe(r)
Questions & Answers

Taught by

Linux Foundation

Reviews

Start your review of Gadgets and Trinkets - The Upstream Linux Way

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.