1# SSD1306 display controller configuration options 2 3# Copyright (c) 2018 Phytec Messtechnik GmbH 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig SSD1306 7 bool "SSD1306 display driver" 8 default y 9 depends on DT_HAS_SOLOMON_SSD1306FB_ENABLED || DT_HAS_SINOWEALTH_SH1106_ENABLED 10 select I2C if $(dt_compat_on_bus,$(DT_COMPAT_SOLOMON_SSD1306FB),i2c) 11 select SPI if $(dt_compat_on_bus,$(DT_COMPAT_SOLOMON_SSD1306FB),spi) 12 select I2C if $(dt_compat_on_bus,$(DT_COMPAT_SINOWEALTH_SH1106),i2c) 13 select SPI if $(dt_compat_on_bus,$(DT_COMPAT_SINOWEALTH_SH1106),spi) 14 help 15 Enable driver for SSD1306 display driver. 16 17if SSD1306 18 19config SSD1306_DEFAULT_CONTRAST 20 int "SSD1306 default contrast" 21 default 128 22 range 0 $(UINT8_MAX) 23 help 24 SSD1306 default contrast. 25 26endif # SSD1306 27