summaryrefslogtreecommitdiffstats
path: root/drivers/video/mtl017.c
Commit message (Collapse)AuthorAgeFilesLines
* video: mtl017: fix driver name variableSam Ravnborg2019-01-041-2/+2
| | | | | | | | | It look like a copy-paste bug that the twl_driver name was used. Rename to the more sensible mtl_driver Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: mtl017: Make sure errno is not used as a regulator pointerAndrey Smirnov2018-12-171-0/+3
| | | | | | | | | | | | Since regulator_get() can return an errno via regulator pointer, we need to make sure we handle that case without passing bogus pointers around. Add code to convert mtl017->regulator to a dummy regulator if regulator_get() fails. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c: introduce device_i2c_driver() macroMarco Felsch2018-10-191-9/+1
| | | | | | | | | Add macro and dependency to avoid boilerplate code. Since now simple i2c drivers only have to include the i2c.h header and call the device_i2c_driver() macro to register a i2c device driver. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: Add MTL017 LVDS encoder supportSascha Hauer2015-07-131-0/+280
The MTL017 is found on the Efika Smartbook. Not much is known about this chip, so this driver only programs a register dump which is suitable for some panels. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>