Skip to content

Commit

Permalink
boards: renesas: dts: Update LVGL coordinates
Browse files Browse the repository at this point in the history
This commit should take care of the changes
introduced in zephyrproject-rtos#70541.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
  • Loading branch information
ioannis-karachalios committed May 28, 2024
1 parent 0b220dd commit 8df3004
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions boards/renesas/da1469x_dk_pro/dts/da1469x_dk_pro_lcdc.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
input = <&display_touch>;
status = "okay";
swap-xy;
invert-x;
invert-y;
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
lvgl_pointer {
input = <&display_touch>;
status = "okay";
swap-xy;
invert-x;
invert-y;
};
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/display/display_renesas_lcdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ static void display_smartbond_get_capabilities(const struct device *dev,
* bindings.
*/
capabilities->supported_pixel_formats = DT_INST_PROP(0, pixel_format);
capabilities->current_orientation = DISPLAY_ORIENTATION_NORMAL;
capabilities->current_orientation = DISPLAY_ORIENTATION_ROTATED_180;
capabilities->current_pixel_format = DT_INST_PROP(0, pixel_format);
capabilities->x_resolution = DT_INST_PROP(0, width);
capabilities->y_resolution = DT_INST_PROP(0, height);
Expand Down

0 comments on commit 8df3004

Please sign in to comment.