Skip to content

Commit

Permalink
fix: optimized
Browse files Browse the repository at this point in the history
Signed-off-by: Nascs Fang <[email protected]>
  • Loading branch information
nascs committed Apr 26, 2024
1 parent 67e6c65 commit a33f571
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/dts-v1/;
/plugin/;

#define DISPLAY_SPI spi1
#include "waveshare35-lcd.dtsi"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/dts-v1/;
/plugin/;

#define DISPLAY_SPI spi3
#include "waveshare35-lcd.dtsi"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/dts-v1/;
/plugin/;

#define DISPLAY_SPI spi3
#include "waveshare35-lcd.dtsi"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/dts-v1/;
/plugin/;

#define DISPLAY_SPI spi0
#include "waveshare35-lcd.dtsi"

Expand Down
3 changes: 3 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlays/waveshare35-lcd.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/interrupt-controller/irq.h>

/dts-v1/;
/plugin/;

#ifndef DISPLAY_SPI
#error "DISPLAY_SPI is undefined."
#endif
Expand Down

0 comments on commit a33f571

Please sign in to comment.