radxa-pkg / radxa-overlays

Additional device tree overlays to support different hardwares on Radxa products
GNU General Public License v2.0
43 stars 31 forks source link

Radxa zero 使用 微雪spi 3.5 #380

Closed YeiliQ closed 1 week ago

YeiliQ commented 2 weeks ago

微雪mhs3.5屏幕

使用官方radxa-zero_debian_bullseye_cli_b23.img 镜像

内核需要添加ads7846触屏驱动 B-spi

显示屏 :ili9486 LCD_RS (PIN18:DC) DC引脚 (PIN18:GPIOX_8) RST (PIN22:RESET) RESET引脚 (PIN7:GPIOAO_3) LCD_SI (PIN19:MOSI) MOSI引脚 (PIN19:GPIOH_4) LCD_SCK(PIN23:SCLK) SCLK引脚 (PIN23:GPIOH_7) LCD_CS (PING24:SS) SS引脚 (PIN24:GPIOH_6)

触屏:ads7846:xpt2046 TP_IRQ (PIN11:GPIOAO_2) PIN11 TP_SI (PIN19:GPIOH_4) PIN19 TP_SO (PIN21:GPIOH_5) PIN21 TP_SCK (PIN23:GPIOH_7) PIN23 TP_CS (PIN26:GPIOX_9) PIN12

nascs commented 1 week ago
  1. 把注释删除, 保持代码简洁
  2. title 和 description 可以参考其他的 dts, 如 https://github.com/radxa-pkg/radxa-overlays/blob/449dae0ab1f44a59643d80dbb3ba50930f2ff5c7/arch/arm64/boot/dts/amlogic/overlays/meson-g12-spi-b-enc28j60.dts#L10
  3. 在结尾保留一个空行即可
YeiliQ commented 1 week ago

已修改

nascs commented 1 week ago

已修改

把修改 push 上来

nascs commented 1 week ago

我这边没有其他问题了

RadxaYuntian commented 1 week ago

麻烦squash一下你的提交,合到一起