drivers: display: ssd1673: Fixup dts support
There were several issues in the dts binding for the ssd1673 display: * binding file mixed description & generation up together * Use of BASE_LABEL * orientation-flipped should have been of type boolean Update the binding file to reflect these changes, and made associated changes to dts_fixup.h and driver as needed. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
dd964ad38a
commit
1becbfcb8b
3 changed files with 19 additions and 17 deletions
|
@ -136,7 +136,7 @@ static inline int ssd1673_set_ram_ptr(struct ssd1673_data *driver,
|
|||
static inline void ssd1673_set_orientation(struct ssd1673_data *driver)
|
||||
|
||||
{
|
||||
#if defined(CONFIG_SSD1673_ORIENTATION_FLIPPED)
|
||||
#if CONFIG_SSD1673_ORIENTATION_FLIPPED == 1
|
||||
driver->scan_mode = SSD1673_DATA_ENTRY_XIYDY;
|
||||
#else
|
||||
driver->scan_mode = SSD1673_DATA_ENTRY_XDYIY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue