Johann Fischer
2748a23c61
drivers: ssd16xx: convert to new GPIO API
...
Convert SSD16XX sensor driver to new GPIO API.
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2020-02-05 12:00:36 +01:00
Johann Fischer
5c48c2132d
drivers: ssd16xx: derive buffer length from width and height attributes
...
Derive buffer length from width and height attributes and
do not use buf_size direct.
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2019-12-19 22:17:36 +01:00
Johann Fischer
85697f32bd
drivers: ssd16xx: fix GPIO controller name for BUSY pin
...
Fix GPIO controller name for BUSY pin.
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2019-10-22 14:13:25 -05:00
Johann Fischer
06733d53df
drivers: ssd16xx: do not write default value to CTRL1 before update
...
Do not write default value to CTRL1 register before update.
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2019-09-18 15:00:38 -05:00
Johann Fischer
17f7c59c83
drivers: ssd16xx: allow only specific RAM to update
...
Allow only spedific RAM to update.
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2019-09-18 15:00:38 -05:00
Johann Fischer
8dcd06ff7c
drivers: ssd16xx: use bytestring property for LUT and parameters
...
Use bytestring property for LUT, gdv, sdv and
softstart parameter.
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2019-09-18 15:00:38 -05:00
Kumar Gala
4e7863dc41
dts: Make instance defines consistent
...
We generated a define for each instance to convey its existance of the
form:
#define DT_<COMPAT>_<INSTANCE> 1
However we renamed all other instance defines to be of the form
DT_INST_<INSTANCE>_<FOO>. To make things consistent we now generate a
define of the form:
#define DT_INST_<INSTANCE>_<COMPAT> 1
We also now deprecate the DT_<COMPAT>_<INSTANCE> form and fixup all uses
to use the new form.
Fixes : #17650
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-07-30 17:10:31 -05:00
Jan Van Winkel
00d6fe49b2
drivers: ssd16xx: Removed blanking support
...
Removed blanking_on and blanking_off support from SSD16XX driver as it
is not supported.
Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
2019-07-20 08:25:59 -04:00
Johann Fischer
fdc0874fa6
drivers: ssd16xx: add defines to resolve coding style issues
...
Generated defines that come from DT are terribly long.
Add defines to resolve coding style issues.
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2019-07-04 07:27:09 -04:00
Johann Fischer
fc57ea8d3c
drivers: ssd1673: rename driver to ssd16xx
...
ssd1673 driver supports different controllers,
rename it to more generic ssd16xx.
Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2019-07-04 07:27:09 -04:00