dt-bindings: display: Update few panel bindings with YAML
Subsystems (6)
Jagan Teki
maintainercover dt-bindings: display: Update few panel bindings with YAML
These panel bindings are owned by me, so updated all of them into YAML DT schema.
Any inputs?
Jagan.
Jagan Teki (6):
dt-bindings: display: panel: Convert feiyang,fy07024di26a30d to DT
schema
dt-bindings: display: panel: Convert sitronix,st7701 to DT schema
MAINTAINERS: Update feiyang, st7701 panel bindings converted as YAML
dt-bindings: display: panel: Convert friendlyarm,hd702e to DT schema
dt-bindings: display: panel: Convert rocktech,rk070er9427 to DT schema
dt-bindings: display: panel: Convert koe,tx31d200vm0baa to DT schema
.../display/panel/feiyang,fy07024di26a30d.txt | 20 ------ .../panel/feiyang,fy07024di26a30d.yaml | 50 +++++++++++++++ .../display/panel/friendlyarm,hd702e.txt | 32 ---------- .../display/panel/friendlyarm,hd702e.yaml | 47 ++++++++++++++ .../display/panel/koe,tx31d200vm0baa.txt | 25 -------- .../display/panel/koe,tx31d200vm0baa.yaml | 37 +++++++++++ .../display/panel/rocktech,rk070er9427.txt | 25 -------- .../display/panel/rocktech,rk070er9427.yaml | 37 +++++++++++ .../display/panel/sitronix,st7701.txt | 30 --------- .../display/panel/sitronix,st7701.yaml | 61 +++++++++++++++++++ MAINTAINERS | 4 +- 11 files changed, 234 insertions(+), 134 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt create mode 100644 Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml delete mode 100644 Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt create mode 100644 Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml delete mode 100644 Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.txt create mode 100644 Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.yaml delete mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml delete mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt create mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
Signature · 1 line
2.18.0.321.gffc6fa0e3
Jagan Teki
maintainerPATCH 1/6 dt-bindings: display: panel: Convert feiyang,fy07024di26a30d to DT schema
Convert the feiyang,fy07024di26a30d panel bindings to DT schema.
--- .../display/panel/feiyang,fy07024di26a30d.txt | 20 -------- .../panel/feiyang,fy07024di26a30d.yaml | 50 +++++++++++++++++++ 2 files changed, 50 insertions(+), 20 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt create mode 100644 Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml
Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt deleted +0 -20
@@ -1,20 +0,0 @@ -Feiyang FY07024DI26A30-D 7" MIPI-DSI LCD Panel - -Required properties: -- compatible: must be "feiyang,fy07024di26a30d" -- reg: DSI virtual channel used by that screen -- avdd-supply: analog regulator dc1 switch -- dvdd-supply: 3v3 digital regulator -- reset-gpios: a GPIO phandle for the reset pin - -Optional properties: -- backlight: phandle for the backlight control. - -panel@0 { - compatible = "feiyang,fy07024di26a30d"; - reg = <0>; - avdd-supply = <®_dc1sw>; - dvdd-supply = <®_dldo2>; - reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ - backlight = <&backlight>; -};
Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml new file +50 -0
50 lines not on this page · raw message
Signature · 1 line
2.18.0.321.gffc6fa0e3
Jagan Teki
maintainerPATCH 2/6 dt-bindings: display: panel: Convert sitronix,st7701 to DT schema
In reply to Jagan TekiConvert the sitronix,st7701 panel bindings to DT schema.
--- .../display/panel/sitronix,st7701.txt | 30 --------- .../display/panel/sitronix,st7701.yaml | 61 +++++++++++++++++++ 2 files changed, 61 insertions(+), 30 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt create mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt deleted +0 -30
@@ -1,30 +0,0 @@ -Sitronix ST7701 based LCD panels - -ST7701 designed for small and medium sizes of TFT LCD display, is -capable of supporting up to 480RGBX864 in resolution. It provides -several system interfaces like MIPI/RGB/SPI. - -Techstar TS8550B is 480x854, 2-lane MIPI DSI LCD panel which has -inbuilt ST7701 chip. - -Required properties: -- compatible: must be "sitronix,st7701" and one of - * "techstar,ts8550b" -- reset-gpios: a GPIO phandle for the reset pin - -Required properties for techstar,ts8550b: -- reg: DSI virtual channel used by that screen -- VCC-supply: analog regulator for MIPI circuit -- IOVCC-supply: I/O system regulator - -Optional properties: -- backlight: phandle for the backlight control. - -panel@0 { - compatible = "techstar,ts8550b", "sitronix,st7701"; - reg = <0>; - VCC-supply = <®_dldo2>; - IOVCC-supply = <®_dldo2>; - reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ - backlight = <&backlight>; -};
Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml new file +61 -0
61 lines not on this page · raw message
Signature · 1 line
2.18.0.321.gffc6fa0e3
Jagan Teki
maintainerPATCH 3/6 MAINTAINERS: Update feiyang, st7701 panel bindings converted as YAML
In reply to Jagan TekiThe feiyang,fy07024di26a30d.txt and sitronix,st7701.txt has been converted to YAML schemas, update MAINTAINERS to match them again.
--- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
MAINTAINERS +2 -2
@@ -5169,7 +5169,7 @@ DRM DRIVER FOR FEIYANG FY07024DI26A30-D MIPI-DSI LCD PANELS M: Jagan Teki <[email protected]> S: Maintained F: drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c -F: Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.txt +F: Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml DRM DRIVER FOR GRAIN MEDIA GM12U320 PROJECTORS M: Hans de Goede <[email protected]>
@@ -5298,7 +5298,7 @@ DRM DRIVER FOR SITRONIX ST7701 PANELS M: Jagan Teki <[email protected]> S: Maintained F: drivers/gpu/drm/panel/panel-sitronix-st7701.c -F: Documentation/devicetree/bindings/display/panel/sitronix,st7701.txt +F: Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml DRM DRIVER FOR SITRONIX ST7586 PANELS M: David Lechner <[email protected]>
Signature · 6 lines
2.18.0.321.gffc6fa0e3 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Jagan Teki
maintainerPATCH 4/6 dt-bindings: display: panel: Convert friendlyarm,hd702e to DT schema
In reply to Jagan TekiConvert the friendlyarm,hd702e panel bindings to DT schema.
--- .../display/panel/friendlyarm,hd702e.txt | 32 ------------- .../display/panel/friendlyarm,hd702e.yaml | 47 +++++++++++++++++++ 2 files changed, 47 insertions(+), 32 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt create mode 100644 Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml
Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.txt deleted +0 -32
@@ -1,32 +0,0 @@ -FriendlyELEC HD702E 800x1280 LCD panel - -HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280 -resolution. It has built in Goodix, GT9271 captive touchscreen -with backlight adjustable via PWM. - -Required properties: -- compatible: should be "friendlyarm,hd702e" -- power-supply: regulator to provide the supply voltage - -Optional properties: -- backlight: phandle of the backlight device attached to the panel - -Optional nodes: -- Video port for LCD panel input. - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. - -Example: - - panel { - compatible ="friendlyarm,hd702e", "simple-panel"; - backlight = <&backlight>; - power-supply = <&vcc3v3_sys>; - - port { - panel_in_edp: endpoint { - remote-endpoint = <&edp_out_panel>; - }; - }; - };
Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml new file +47 -0
47 lines not on this page · raw message
Signature · 6 lines
2.18.0.321.gffc6fa0e3 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Jagan Teki
maintainerPATCH 5/6 dt-bindings: display: panel: Convert rocktech,rk070er9427 to DT schema
In reply to Jagan TekiConvert the rocktech,rk070er9427 panel bindings to DT schema.
Also, drop the description from legacy .txt since the yaml DT schema of panel-common.yaml already have that information.
--- .../display/panel/rocktech,rk070er9427.txt | 25 ------------- .../display/panel/rocktech,rk070er9427.yaml | 37 +++++++++++++++++++ 2 files changed, 37 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml
Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.txt deleted +0 -25
@@ -1,25 +0,0 @@ -Rocktech Display Ltd. RK070ER9427 800(RGB)x480 TFT LCD panel - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. - -Required properties: -- compatible: should be "rocktech,rk070er9427" - -Optional properties: -- backlight: phandle of the backlight device attached to the panel - -Optional nodes: -- Video port for LCD panel input. - -Example: - panel { - compatible = "rocktech,rk070er9427"; - backlight = <&backlight_lcd>; - - port { - lcd_panel_in: endpoint { - remote-endpoint = <&lcd_display_out>; - }; - }; - };
Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml new file +37 -0
@@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0+ OR X11) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/rocktech,rk070er9427.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rocktech Display Ltd. RK070ER9427 800(RGB)x480 TFT LCD panel + +maintainers: + - Jagan Teki <[email protected]> + - Thierry Reding <[email protected]> + - Sam Ravnborg <[email protected]> + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: rocktech,rk070er9427 + +required: + - compatible + +additionalProperties: false + +examples: + - | + panel { + compatible = "rocktech,rk070er9427"; + backlight = <&backlight_lcd>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + };
Signature · 6 lines
2.18.0.321.gffc6fa0e3 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Jagan Teki
maintainerPATCH 6/6 dt-bindings: display: panel: Convert koe,tx31d200vm0baa to DT schema
In reply to Jagan TekiConvert the koe,tx31d200vm0baa panel bindings to DT schema.
Also, drop the description from legacy .txt since the yaml DT schema of panel-common.yaml already have that information.
--- .../display/panel/koe,tx31d200vm0baa.txt | 25 ------------- .../display/panel/koe,tx31d200vm0baa.yaml | 37 +++++++++++++++++++ 2 files changed, 37 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.txt create mode 100644 Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.yaml
Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.txt deleted +0 -25
@@ -1,25 +0,0 @@ -Kaohsiung Opto-Electronics. TX31D200VM0BAA 12.3" HSXGA LVDS panel - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. - -Required properties: -- compatible: should be "koe,tx31d200vm0baa" - -Optional properties: -- backlight: phandle of the backlight device attached to the panel - -Optional nodes: -- Video port for LVDS panel input. - -Example: - panel { - compatible = "koe,tx31d200vm0baa"; - backlight = <&backlight_lvds>; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds0_out>; - }; - }; - };
Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.yaml new file +37 -0
@@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0+ OR X11) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/koe,tx31d200vm0baa.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Kaohsiung Opto-Electronics. TX31D200VM0BAA 12.3" HSXGA LVDS panel + +maintainers: + - Jagan Teki <[email protected]> + - Thierry Reding <[email protected]> + - Sam Ravnborg <[email protected]> + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: koe,tx31d200vm0baa + +required: + - compatible + +additionalProperties: false + +examples: + - | + panel { + compatible = "koe,tx31d200vm0baa"; + backlight = <&backlight_lcd>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + };
Signature · 1 line
2.18.0.321.gffc6fa0e3
Hi Jagan.
Quoted 4 lines · Jagan Teki
These panel bindings are owned by me, so updated all of them into YAML DT schema.
Any inputs?
Thanks for doing the conversion.
dt_binding_check was not happy:Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.example.dt.yaml: panel: 'backlight', 'port' do not match any of the regexes: 'pinctrl-[0-9]+'
DTC Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml
CHECK Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yamlDocumentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml: panel: 'backlight', 'port' do not match any of the regexes: 'pinctrl-[0-9]+' Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml: panel: compatible: Additional items are not allowed ('simple-panel' was unexpected) Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml: panel: compatible: ['friendlyarm,hd702e', 'simple-panel'] is too long
DTC Documentation/devicetree/bindings/display/panel/sitronix,st7701.example.dt.yaml
Error: Documentation/devicetree/bindings/display/panel/sitronix,st7701.example.dts:22.42-43 syntax error
FATAL ERROR: Unable to parse input tree
Please fix and check the bindings using dt_binding_check before resubmit.
I had to install libyaml-dev (as least I recall this was the name) before dt_binding_check worked OK for me.
Sam
Jagan Teki
maintainerHi Sam,
Quoted 20 lines · Sam Ravnborg
Hi Jagan.
Quoted 4 lines · Jagan Teki
These panel bindings are owned by me, so updated all of them into YAML DT schema.
Any inputs?
Thanks for doing the conversion.
dt_binding_checkwas not happy:Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.example.dt.yaml: panel: 'backlight', 'port' do not match any of the regexes: 'pinctrl-[0-9]+'
DTCDocumentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml
CHECKDocumentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yamlDocumentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml: panel: 'backlight', 'port' do not match any of the regexes: 'pinctrl-[0-9]+'Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml: panel: compatible: Additional items are not allowed ('simple-panel' was unexpected)Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml: panel: compatible: ['friendlyarm,hd702e', 'simple-panel'] is too long
DTCDocumentation/devicetree/bindings/display/panel/sitronix,st7701.example.dt.yaml
Error: Documentation/devicetree/bindings/display/panel/sitronix,st7701.example.dts:22.42-43 syntax error
FATAL ERROR: Unable to parse input tree
Quoted 5 lines
Please fix and check the bindings using
dt_binding_checkbefore resubmit.I had to install libyaml-dev (as least I recall this was the name) before
dt_binding_checkworked OK for me.
I did check dt_binfing_check with this series. Here is the complete build log and you can see the panels related to this series are checked fine. Let me know if I miss anything here?
₹ make dt_binding_checkarch/x86/Makefile:147: CONFIG_X86_X32 enabled but no binutils support
SCHEMA Documentation/devicetree/bindings/processed-schema.yaml/home/jagan/work/code/drm-misc/Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.yaml:
ignoring, error in schema: properties: reg: minItems
warning: no schema found in file:Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.yaml /home/jagan/work/code/drm-misc/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml:
ignoring, error in schema: properties: ppi-partitions:
patternProperties: ^interrupt-partition-[0-9]+$
warning: no schema found in file:Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml /home/jagan/work/code/drm-misc/Documentation/devicetree/bindings/net/snps,dwmac.yaml:
ignoring, error in schema: allOf: 2: then
warning: no schema found in file:Documentation/devicetree/bindings/net/snps,dwmac.yaml /home/jagan/work/code/drm-misc/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml:
ignoring, error in schema: properties: compatible: enum: 0
warning: no schema found in file:Documentation/devicetree/bindings/regulator/fixed-regulator.yaml /home/jagan/work/code/drm-misc/Documentation/devicetree/bindings/riscv/cpus.yaml:
ignoring, error in schema: properties: timebase-frequency: type
warning: no schema found in file:Documentation/devicetree/bindings/riscv/cpus.yaml
CHKDT Documentation/devicetree/bindings/arm/pmu.yaml CHKDT Documentation/devicetree/bindings/arm/rockchip.yaml CHKDT Documentation/devicetree/bindings/arm/sirf.yaml CHKDT Documentation/devicetree/bindings/arm/vt8500.yaml CHKDT Documentation/devicetree/bindings/arm/calxeda.yaml CHKDT Documentation/devicetree/bindings/arm/atmel-at91.yaml CHKDT Documentation/devicetree/bindings/arm/sunxi.yaml CHKDT Documentation/devicetree/bindings/arm/xilinx.yaml CHKDT Documentation/devicetree/bindings/arm/moxart.yaml CHKDT Documentation/devicetree/bindings/arm/stm32/stm32.yaml CHKDT Documentation/devicetree/bindings/arm/spear.yaml CHKDT Documentation/devicetree/bindings/arm/al,alpine.yaml CHKDT Documentation/devicetree/bindings/arm/digicolor.yaml CHKDT Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml CHKDT Documentation/devicetree/bindings/arm/altera.yaml CHKDT Documentation/devicetree/bindings/arm/bitmain.yaml CHKDT Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml CHKDT Documentation/devicetree/bindings/arm/fsl.yaml CHKDT Documentation/devicetree/bindings/arm/axxia.yaml CHKDT Documentation/devicetree/bindings/arm/psci.yaml CHKDT Documentation/devicetree/bindings/arm/qcom.yaml CHKDT Documentation/devicetree/bindings/arm/zte.yaml CHKDT Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml CHKDT Documentation/devicetree/bindings/arm/mediatek.yaml CHKDT Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml CHKDT Documentation/devicetree/bindings/arm/ti/nspire.yaml CHKDT Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml CHKDT Documentation/devicetree/bindings/arm/realtek.yaml CHKDT Documentation/devicetree/bindings/arm/rda.yaml CHKDT Documentation/devicetree/bindings/arm/actions.yaml CHKDT Documentation/devicetree/bindings/arm/l2c2x0.yaml CHKDT Documentation/devicetree/bindings/arm/renesas.yaml CHKDT Documentation/devicetree/bindings/arm/tegra.yaml CHKDT Documentation/devicetree/bindings/arm/amlogic.yaml CHKDT Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml CHKDT Documentation/devicetree/bindings/arm/sti.yaml CHKDT Documentation/devicetree/bindings/arm/primecell.yaml CHKDT Documentation/devicetree/bindings/arm/cpus.yaml CHKDT Documentation/devicetree/bindings/bus/allwinner,sun50i-a64-de2.yaml CHKDT Documentation/devicetree/bindings/bus/allwinner,sun8i-a23-rsb.yaml CHKDT Documentation/devicetree/bindings/clock/fixed-factor-clock.yaml CHKDT Documentation/devicetree/bindings/clock/milbeaut-clock.yaml CHKDT Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml CHKDT Documentation/devicetree/bindings/clock/imx8mn-clock.yaml CHKDT Documentation/devicetree/bindings/clock/fixed-clock.yaml CHKDT Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml CHKDT Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml CHKDT Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml CHKDT Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml CHKDT Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml CHKDT Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml CHKDT Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.yaml CHKDT Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml CHKDT Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml CHKDT Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml CHKDT Documentation/devicetree/bindings/display/panel/koe,tx31d200vm0baa.yaml CHKDT Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml CHKDT Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml CHKDT Documentation/devicetree/bindings/display/panel/logicpd,type28.yaml CHKDT Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml CHKDT Documentation/devicetree/bindings/display/panel/ti,nspire.yaml CHKDT Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml CHKDT Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.yaml CHKDT Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.yaml CHKDT Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml CHKDT Documentation/devicetree/bindings/display/panel/lvds.yaml CHKDT Documentation/devicetree/bindings/display/panel/panel-common.yaml CHKDT Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml CHKDT Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml CHKDT Documentation/devicetree/bindings/display/panel/ronbo,rb070d30.yaml CHKDT Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml CHKDT Documentation/devicetree/bindings/display/dsi-controller.yaml CHKDT Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml CHKDT Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml CHKDT Documentation/devicetree/bindings/display/simple-framebuffer.yaml CHKDT Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml CHKDT Documentation/devicetree/bindings/dma/dma-router.yaml CHKDT Documentation/devicetree/bindings/dma/dma-controller.yaml CHKDT Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml CHKDT Documentation/devicetree/bindings/dma/allwinner,sun4i-a10-dma.yaml CHKDT Documentation/devicetree/bindings/dma/dma-common.yaml CHKDT Documentation/devicetree/bindings/dma/allwinner,sun6i-a31-dma.yaml CHKDT Documentation/devicetree/bindings/dsp/fsl,dsp.yaml CHKDT Documentation/devicetree/bindings/example-schema.yaml CHKDT Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.yaml
/home/jagan/work/code/drm-misc/Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.yaml:
properties:reg:minItems: False schema does not allow 3 /home/jagan/work/code/drm-misc/Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.yaml:
properties:reg:maxItems: False schema does not allow 3 Documentation/devicetree/bindings/Makefile:12: recipe for target 'Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.example.dts' failed
make[1]: *** [Documentation/devicetree/bindings/firmware/intel,ixp4xx-network-processing-engine.example.dts] Error 1
Makefile:1263: recipe for target 'dt_binding_check' failed
make: *** [dt_binding_check] Error 2
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Jagan.
Quoted 26 lines · Jagan Teki
Hi Sam,
Quoted 23 lines · Sam Ravnborg
Hi Jagan.
Quoted 4 lines · Jagan Teki
These panel bindings are owned by me, so updated all of them into YAML DT schema.
Any inputs?
Thanks for doing the conversion.
dt_binding_checkwas not happy:Documentation/devicetree/bindings/display/panel/rocktech,rk070er9427.example.dt.yaml: panel: 'backlight', 'port' do not match any of the regexes: 'pinctrl-[0-9]+'
DTCDocumentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml
CHECKDocumentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yamlDocumentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml: panel: 'backlight', 'port' do not match any of the regexes: 'pinctrl-[0-9]+'Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml: panel: compatible: Additional items are not allowed ('simple-panel' was unexpected)Documentation/devicetree/bindings/display/panel/friendlyarm,hd702e.example.dt.yaml: panel: compatible: ['friendlyarm,hd702e', 'simple-panel'] is too long
DTCDocumentation/devicetree/bindings/display/panel/sitronix,st7701.example.dt.yaml
Error: Documentation/devicetree/bindings/display/panel/sitronix,st7701.example.dts:22.42-43 syntax error
FATAL ERROR: Unable to parse input treePlease fix and check the bindings using
dt_binding_checkbefore resubmit.
Quoted 6 lines
Quoted 2 lines
I had to install libyaml-dev (as least I recall this was the name) before
dt_binding_checkworked OK for me.I did check
dt_binfing_checkwith this series. Here is the complete build log and you can see the panels related to this series are checked fine. Let me know if I miss anything here?
Due to other errors you never reached the poart that checks the example. I use the following to focus on a single binding:
(from my script, but you get the idea)
domake ${arch} ${config} dt_binding_check DT_SCHEMA_FILES=${bindings}/display/panel/feixin,k101-im2ba02.yaml
In this way I can ignore all the bindings that otherwise fails.
Note: I sometimes have to clean my ouput directory to force that the examples are tested.
It is also a good idea to introduce errors on purpose in the example, in this way you can check that they are tested.
Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel