~/talk

Cameras, Devicetree and ACPI: A Device Driver Perspective

links:none on file
slides:none on file

Two camera classes exist: simple USB webcams and complex camera modules (sensor + ISP + VCM) that expose wiring, lanes and power to the OS. Device tree support is mature (device-tree since 2012) and parses cleanly via the firmware-node API, while ACPI uses ACPI DSD/CRS blobs and multiple vendor variants (Linux-specific Chromebook format 2017, IPU3 variant 2019), forcing drivers to instantiate regulators/clocks and software nodes. Drivers use referral_to_fwnode_endpoint to parse endpoints; power-management differences cause extra probe complexity and issues like privacy LED blink.

AI-written summary · about

  1. 0:00Start
  2. 16:32Main function to access Devicetree graph endpoint specific information for sub-devices • Parses Devicetree compliant data structure of nodes and properties
  3. 17:02ACPI camera definition parsing - Linux specific • Fwnode property API ACPI backend • Graph parsing code for ACPI_DSD nodes and properties • A few additional checks in graph parsing code in drivers/acpi/properties.c for camera definitions
  4. 28:05Power management in ACPI and Devicetree based systems • ACPI handles power management via_PSx methods and power resources (PRX) • In Devicetree systems the driver is responsible for its power on and off sequences - Regulators, GPIOs and clocks available to the driver
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.