于 2020年3月19日 GMT+08:00 下午10:14:27, Linus Walleij linus.walleij@linaro.org 写到:
Hi Icenowy,
On Mon, Mar 16, 2020 at 2:37 PM Icenowy Zheng icenowy@aosc.io wrote:
Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel.
Add its device tree binding.
Signed-off-by: Icenowy Zheng icenowy@aosc.io
(...)
+properties:
- compatible:
- const: xingbangda,xbd599
As noticed in the review of the driver, this display is very close to himax,hx8363.
I think the best is to determin what actual display controller it is, I think it is some kind of Ilitek controller since Ilitek ili9342 is clearly very similar.
It's Sitronix ST7703, same as the Librem 5 panel.
The best would be something like name the bindings ilitek-ili9342.yaml and then:
properties: compatible: items: - const: xingbangda,xbd599 - const: ilitek,ili9342
Possibly use oneOf and add support for the himax,hx8363 already while you're at it.
Yours, Linus Walleij
linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel