summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/solomon/Kconfig
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2022-02-14 16:37:08 +0300
committerJavier Martinez Canillas <javierm@redhat.com>2022-02-16 15:29:04 +0300
commitd12dd1db809a3f298b4ef6cc02ca64fe3038391d (patch)
tree1a6f5050c19e54320c6bf07f21c9b91cf8a35a21 /drivers/gpu/drm/solomon/Kconfig
parenta61732e808672cfa8c8c6028bcf9feacb953ef40 (diff)
downloadlinux-d12dd1db809a3f298b4ef6cc02ca64fe3038391d.tar.xz
drm/solomon: Add SSD130x OLED displays I2C support
The ssd130x driver only provides the core support for these devices but it does not have any bus transport logic. Add a driver to interface over I2C. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20220214133710.3278506-5-javierm@redhat.com
Diffstat (limited to 'drivers/gpu/drm/solomon/Kconfig')
-rw-r--r--drivers/gpu/drm/solomon/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/solomon/Kconfig b/drivers/gpu/drm/solomon/Kconfig
index 7720a7039e8d..5861c3ab7c45 100644
--- a/drivers/gpu/drm/solomon/Kconfig
+++ b/drivers/gpu/drm/solomon/Kconfig
@@ -10,3 +10,12 @@ config DRM_SSD130X
the appropriate bus transport in your chip also must be selected.
If M is selected the module will be called ssd130x.
+
+config DRM_SSD130X_I2C
+ tristate "DRM support for Solomon SSD130x OLED displays (I2C bus)"
+ depends on DRM_SSD130X && I2C
+ select REGMAP_I2C
+ help
+ Say Y here if the SSD130x OLED display is connected via I2C bus.
+
+ If M is selected the module will be called ssd130x-i2c.