Message ID | 20231229135154.675946-6-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-13110-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp2579838dyb; Fri, 29 Dec 2023 05:53:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIR6p8QYJ/2xgKv49bT/xOxNZgUC2NPfyobek39kTmPCug833mR+sknCcBfC6rCQyVl6AL X-Received: by 2002:aa7:8658:0:b0:6d9:bbd6:49ed with SMTP id a24-20020aa78658000000b006d9bbd649edmr8081046pfo.26.1703858036682; Fri, 29 Dec 2023 05:53:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703858036; cv=none; d=google.com; s=arc-20160816; b=KzG0Xo/E+ibdfjS32wZz5ESb4pFtzcUfbFyeACTvIc51uXKU90rXVm8GmHsRPISFd2 EiriowjnNHkfBo/NRMNjS1LJFqTJ4cguwzc9C/3+iZrG5sh8J7ED0+oEg7xNiUOnqfzm OFV8/Ie/TBy+PAilBk7DNShcapjtWATkwgdjLv2t0LD9OujAcAXadsb8jXcWOwirququ 2+5bkV/Von/9Zle7/qsGqN1iXd8mzhWiusJaGN2Ow/6TQ3D+d36VcG5Y11WzQoOIEPcJ CJr14ZLNgOzJbF1qPpVlKdEIKenx2wNvkc6x1FdlMKeVRuef2BpeHNUlad8pmKBYXKEq 3BDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=5FZShzhdUUXvOv6YwhzCq6E+ow3Z9zOiz8SIKSQQ5aQ=; fh=wPQP9HjC4b2j9fFVtoaE3tgh1QSkOqWUU7J9OsHbAwI=; b=v93ybWG4o+bO7yKai8UO68qN/wslaaBLX8Z+PtcYLdZz+I67XAZnQk7XqAFgoApqO8 zqINoeZlK6UZmGBGx7Oe91P/F/SJRjkVF1Qf5qjjnv6n8SispP5ZmlG4+bL8tvVKwA3b 9kTdby3mETqyiUf+/BP4gYs6dwMY4wo5KMkGAM38jcBnVp9VED6UCSaecsFks/YpgMVz 7sLtqLdoVBJN1FR16Tjn6ZsUwY7u5qt93jJIxkKHPSpAb/boo3LXJEa5WBFyyq+3HFPe MBJCOSQVBMeqC9q161FXlJYKrfGPWsGVocdUMZCJvYMyrxjVSZ2IUJP6wK9oJEYYpRoG wQtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Z9cnbRpB; spf=pass (google.com: domain of linux-kernel+bounces-13110-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13110-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 198-20020a6300cf000000b005bdbd1b52d4si14134423pga.270.2023.12.29.05.53.56 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 05:53:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13110-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Z9cnbRpB; spf=pass (google.com: domain of linux-kernel+bounces-13110-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13110-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 710662845F1 for <ouuuleilei@gmail.com>; Fri, 29 Dec 2023 13:53:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5FB712E73; Fri, 29 Dec 2023 13:52:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Z9cnbRpB" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0277F125C8 for <linux-kernel@vger.kernel.org>; Fri, 29 Dec 2023 13:52:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-555936e7018so1455677a12.2 for <linux-kernel@vger.kernel.org>; Fri, 29 Dec 2023 05:52:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1703857945; x=1704462745; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5FZShzhdUUXvOv6YwhzCq6E+ow3Z9zOiz8SIKSQQ5aQ=; b=Z9cnbRpBO32BumtepaiFLajF4Fchlv+N0EOM5FO54fcTQtkt1eQeCf5IFX2puMniJK WOojC5yzngvvmZxdSXu0YWVAhv3i/u6amb4T9132jDnQ5PFpj+pOzN1/EJx5pCHDqsgp Mx5C9boVklLf/F4ZnuHX/vVdQ2t//oUy8FnuU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703857945; x=1704462745; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5FZShzhdUUXvOv6YwhzCq6E+ow3Z9zOiz8SIKSQQ5aQ=; b=VHK8snkJ+BrvmubT06TrbqJthqSDftbGW0Z9eAf4GLW5kFMxl8X4LrYwLAWgGjXEK/ Aibo7OzF/CPB04TswV7pdRLcKXPHzrr+JRsSLkWsgQJ9gil+nAJ8uX1Szv596UWh2YYF DcDs4n5ucgNPo6HS+YCKhfGKtvU4yrK0tiHC3l2CeOKoz3QiRzp2nqsIDnQ1uiTxLfll qsbyTHS1vHYY0Tdnpt1Ehs8jpJ0tAIwK0R5U7bAiq21776Q/ZPjwJTIZUSs6PaibXuK7 jv9Kk7FHUYQJ5mJA9HDsYgh0ww9uNar19z3wHISJ8/lS/9vdbX/jvRis2wI2z/pleRBg FEGQ== X-Gm-Message-State: AOJu0YwKlgtsh9lBOq1soJ2buCS+p30TjurUlT0jHO7yotSK9CwHanA6 Rf5jLGy1zPNkBNuItJfVFeQDrzw9OpVXW1+JJH9C8wkjB8k= X-Received: by 2002:a05:6402:1616:b0:554:e4f8:9818 with SMTP id f22-20020a056402161600b00554e4f89818mr4348054edv.50.1703857945188; Fri, 29 Dec 2023 05:52:25 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-49-57-70.retail.telecomitalia.it. [79.49.57.70]) by smtp.gmail.com with ESMTPSA id i16-20020aa7c710000000b00553b243b1a8sm11019160edq.92.2023.12.29.05.52.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 05:52:24 -0800 (PST) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue <alexandre.torgue@foss.st.com>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Conor Dooley <conor+dt@kernel.org>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Jessica Zhang <quic_jesszhan@quicinc.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Linus Walleij <linus.walleij@linaro.org>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Neil Armstrong <neil.armstrong@linaro.org>, Rob Herring <robh+dt@kernel.org>, Sam Ravnborg <sam@ravnborg.org>, Thomas Zimmermann <tzimmermann@suse.de>, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK Date: Fri, 29 Dec 2023 14:51:20 +0100 Message-ID: <20231229135154.675946-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231229135154.675946-1-dario.binacchi@amarulasolutions.com> References: <20231229135154.675946-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786624644285339454 X-GMAIL-MSGID: 1786624644285339454 |
Series |
Add display support for stm32f769-disco board
|
|
Commit Message
Dario Binacchi
Dec. 29, 2023, 1:51 p.m. UTC
The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the
Novatek NT35510-based panel family.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
.../display/panel/novatek,nt35510.yaml | 20 +++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
Comments
On Fri, 29 Dec 2023 14:51:20 +0100, Dario Binacchi wrote: > The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the > Novatek NT35510-based panel family. > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > --- > > .../display/panel/novatek,nt35510.yaml | 20 +++++++++++-------- > 1 file changed, 12 insertions(+), 8 deletions(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: ./Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml:21:7: [error] duplication of key "items" in mapping (key-duplicates) dtschema/dtc warnings/errors: make[2]: *** Deleting file 'Documentation/devicetree/bindings/display/panel/novatek,nt35510.example.dts' Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml:21:7: found duplicate key "items" with value "[]" (original value: "[]") make[2]: *** [Documentation/devicetree/bindings/Makefile:26: Documentation/devicetree/bindings/display/panel/novatek,nt35510.example.dts] Error 1 make[2]: *** Waiting for unfinished jobs.... ./Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml:21:7: found duplicate key "items" with value "[]" (original value: "[]") /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml: ignoring, error parsing file make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1424: dt_binding_check] Error 2 make: *** [Makefile:234: __sub-make] Error 2 doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231229135154.675946-6-dario.binacchi@amarulasolutions.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
Hi Dario, thanks for your patch! On Fri, Dec 29, 2023 at 2:52 PM Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote: > The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the > Novatek NT35510-based panel family. > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> (...) > + oneOf: > + items: > + - const: hydis,hva40wv1 > + - const: novatek,nt35510 > + items: > + - const: frida,frd400b25025 > + - const: novatek,nt35510 You need a dash in from of each "items:" for that to work. Yours, Linus Walleij
Hi Linus, On Fri, Dec 29, 2023 at 6:34 PM Linus Walleij <linus.walleij@linaro.org> wrote: > > Hi Dario, > > thanks for your patch! > > On Fri, Dec 29, 2023 at 2:52 PM Dario Binacchi > <dario.binacchi@amarulasolutions.com> wrote: > > > The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the > > Novatek NT35510-based panel family. > > > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > (...) > > > > + oneOf: > > + items: > > + - const: hydis,hva40wv1 > > + - const: novatek,nt35510 > > + items: > > + - const: frida,frd400b25025 > > + - const: novatek,nt35510 > > You need a dash in from of each "items:" for that to work. Thanks for your help. Regards Dario > > Yours, > Linus Walleij
Hi Dario, kernel test robot noticed the following build warnings: [auto build test WARNING on atorgue-stm32/stm32-next] [also build test WARNING on drm-misc/drm-misc-next lee-mfd/for-mfd-next robh/for-next linus/master v6.7-rc7 next-20231222] [cannot apply to lee-mfd/for-mfd-fixes] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dario-Binacchi/dt-bindings-mfd-stm32f7-Add-binding-definition-for-DSI/20231229-215601 base: https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git stm32-next patch link: https://lore.kernel.org/r/20231229135154.675946-6-dario.binacchi%40amarulasolutions.com patch subject: [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK :::::: branch date: 20 hours ago :::::: commit date: 20 hours ago compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20231230/202312301748.2BRGs7Xs-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/r/202312301748.2BRGs7Xs-lkp@intel.com/ dtcheck warnings: (new ones prefixed by >>) >> Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml:21:7: [error] duplication of key "items" in mapping (key-duplicates) -- >> Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml:21:7: found duplicate key "items" with value "[]" (original value: "[]") Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: properties:honeywell,pmin-pascal: '$ref' should not be valid under {'const': '$ref'} hint: Standard unit suffix properties don't need a type $ref from schema $id: http://devicetree.org/meta-schemas/core.yaml# Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: properties:honeywell,pmax-pascal: '$ref' should not be valid under {'const': '$ref'} hint: Standard unit suffix properties don't need a type $ref from schema $id: http://devicetree.org/meta-schemas/core.yaml# -- >> Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml: ignoring, error parsing file Documentation/devicetree/bindings/net/snps,dwmac.yaml: mac-mode: missing type definition vim +/items +21 Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml 5ce96fe032f43e Linus Walleij 2020-02-23 8 5ce96fe032f43e Linus Walleij 2020-02-23 9 maintainers: 5ce96fe032f43e Linus Walleij 2020-02-23 10 - Linus Walleij <linus.walleij@linaro.org> 5ce96fe032f43e Linus Walleij 2020-02-23 11 5ce96fe032f43e Linus Walleij 2020-02-23 12 allOf: 5ce96fe032f43e Linus Walleij 2020-02-23 13 - $ref: panel-common.yaml# 5ce96fe032f43e Linus Walleij 2020-02-23 14 5ce96fe032f43e Linus Walleij 2020-02-23 15 properties: 5ce96fe032f43e Linus Walleij 2020-02-23 16 compatible: 859f1d9e26606c Dario Binacchi 2023-12-29 17 oneOf: 5ce96fe032f43e Linus Walleij 2020-02-23 18 items: 5ce96fe032f43e Linus Walleij 2020-02-23 19 - const: hydis,hva40wv1 5ce96fe032f43e Linus Walleij 2020-02-23 20 - const: novatek,nt35510 859f1d9e26606c Dario Binacchi 2023-12-29 @21 items: 859f1d9e26606c Dario Binacchi 2023-12-29 22 - const: frida,frd400b25025 859f1d9e26606c Dario Binacchi 2023-12-29 23 - const: novatek,nt35510 5ce96fe032f43e Linus Walleij 2020-02-23 24 description: This indicates the panel manufacturer of the panel 5ce96fe032f43e Linus Walleij 2020-02-23 25 that is in turn using the NT35510 panel driver. The compatible 5ce96fe032f43e Linus Walleij 2020-02-23 26 string determines how the NT35510 panel driver shall be configured 5ce96fe032f43e Linus Walleij 2020-02-23 27 to work with the indicated panel. The novatek,nt35510 compatible shall 5ce96fe032f43e Linus Walleij 2020-02-23 28 always be provided as a fallback. 5ce96fe032f43e Linus Walleij 2020-02-23 29 reg: true 5ce96fe032f43e Linus Walleij 2020-02-23 30 reset-gpios: true 5ce96fe032f43e Linus Walleij 2020-02-23 31 vdd-supply: 5ce96fe032f43e Linus Walleij 2020-02-23 32 description: regulator that supplies the vdd voltage 5ce96fe032f43e Linus Walleij 2020-02-23 33 vddi-supply: 5ce96fe032f43e Linus Walleij 2020-02-23 34 description: regulator that supplies the vddi voltage 5ce96fe032f43e Linus Walleij 2020-02-23 35 backlight: true 5ce96fe032f43e Linus Walleij 2020-02-23 36 5ce96fe032f43e Linus Walleij 2020-02-23 37 required: 5ce96fe032f43e Linus Walleij 2020-02-23 38 - compatible 5ce96fe032f43e Linus Walleij 2020-02-23 39 - reg 5ce96fe032f43e Linus Walleij 2020-02-23 40
diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml index bc92928c805b..511b93a376b7 100644 --- a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml @@ -14,14 +14,18 @@ allOf: properties: compatible: - items: - - const: hydis,hva40wv1 - - const: novatek,nt35510 - description: This indicates the panel manufacturer of the panel - that is in turn using the NT35510 panel driver. The compatible - string determines how the NT35510 panel driver shall be configured - to work with the indicated panel. The novatek,nt35510 compatible shall - always be provided as a fallback. + oneOf: + items: + - const: hydis,hva40wv1 + - const: novatek,nt35510 + items: + - const: frida,frd400b25025 + - const: novatek,nt35510 + description: This indicates the panel manufacturer of the panel + that is in turn using the NT35510 panel driver. The compatible + string determines how the NT35510 panel driver shall be configured + to work with the indicated panel. The novatek,nt35510 compatible shall + always be provided as a fallback. reg: true reset-gpios: true vdd-supply: