tests: drivers: build_all: display: Add i2c and spi devices build test
Add build tests for following devices. - sharp,ls0xx - maxim,max7219 - solomon,ssd1306fb Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
parent
34f3786851
commit
e9b1cde82e
1 changed files with 37 additions and 3 deletions
|
@ -151,7 +151,7 @@
|
|||
*/
|
||||
cs-gpios = <&test_gpio 0 0 &test_gpio 0 1 &test_gpio 0 2
|
||||
&test_gpio 0 3 &test_gpio 0 4 &test_gpio 0 5
|
||||
&test_gpio 0 6>;
|
||||
&test_gpio 0 6 &test_gpio 0 7 &test_gpio 0 8>;
|
||||
|
||||
test_led_strip_0: lpd8806@0 {
|
||||
compatible = "greeled,lpd8806";
|
||||
|
@ -173,6 +173,26 @@
|
|||
color-mapping = <0 1 2>;
|
||||
reset-delay = <280>;
|
||||
};
|
||||
|
||||
test_ls0xx: ls0xx@7 {
|
||||
compatible = "sharp,ls0xx";
|
||||
spi-max-frequency = <2000000>;
|
||||
reg = <0x7>;
|
||||
width = <128>;
|
||||
height = <128>;
|
||||
extcomin-gpios = <&test_gpio 0 0>;
|
||||
extcomin-frequency = <60>;
|
||||
disp-en-gpios = <&test_gpio 0 0>;
|
||||
};
|
||||
|
||||
test_max7219: max7219@8 {
|
||||
compatible = "maxim,max7219";
|
||||
reg = <0x8>;
|
||||
spi-max-frequency = <1000000>;
|
||||
num-cascading = <1>;
|
||||
intensity = <0>;
|
||||
scan-limit = <7>;
|
||||
};
|
||||
};
|
||||
|
||||
test_led_strip_matrix {
|
||||
|
@ -197,8 +217,8 @@
|
|||
status="okay";
|
||||
clock-frequency=<100000>;
|
||||
|
||||
test_ist3931:ist3931@3f{
|
||||
reg=<0x3f>;
|
||||
test_ist3931:ist3931@0 {
|
||||
reg=<0x0>;
|
||||
width=<64>;
|
||||
height=<32>;
|
||||
compatible = "istech,ist3931";
|
||||
|
@ -213,6 +233,20 @@
|
|||
frame-control=<400>;
|
||||
reverse-com-output;
|
||||
};
|
||||
|
||||
test_ssd1306: ssd1306@1 {
|
||||
compatible = "solomon,ssd1306fb";
|
||||
reg = <0x1>;
|
||||
width = <128>;
|
||||
height = <64>;
|
||||
segment-offset = <0>;
|
||||
page-offset = <0>;
|
||||
display-offset = <0>;
|
||||
multiplex-ratio = <63>;
|
||||
segment-remap;
|
||||
com-invdir;
|
||||
prechargep = <0x22>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue