Back To Schedule
Wednesday, October 28 • 12:00 - 12:50
Simplify and Reuse Your Driver's Code with Regmaps - Ioan Adrian Ratiu, Collabora Ltd

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Regmaps allow you to abstract register-access by mapping memory regions to registers. At a first glance, one may not see the benefit of using regmap instead of directly calling the standard readl/writel functions. However, regmaps, as a register layout abstraction, bring more flexibility to the table: with regmaps you don't hold on to the specific details of your hardware register layout, opening the door to get your code to use slightly different variations of the same hardware platform just by setting the right register mapping at the driver's init phase. In this talk we will discuss this advantage and few others while looking at real examples where regmaps were used in mainline in the MIPI-DSI and Hantro media accelerator drivers.


Ioan-Adrian Ratiu

Senior Software Engineer, Collabora Ltd
Adrian Ratiu is a consultant Embedded Linux software engineer working for Collabora in its Core platform team. Recent areas of interest include SoC bringup, ASIC programming, display technologies like MIPI-DSI, media accelerators, PREEMPT_RT and others. Previously has attended and... Read More →

Wednesday October 28, 2020 12:00 - 12:50 GMT
ELC Theater