From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC187CA5FA3 for ; Mon, 28 Sep 2026 20:43:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: References:In-Reply-To:To:Cc:From:MIME-Version:Content-Transfer-Encoding: Content-Type:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ySK103NdmXThiEDTZ/VGv2U3ZqCbXnaKRgtixyhWCVU=; b=i8k8LZktcbezcEUn3WVhyNvD8g lZJ+LvnmobQR26OYot43aLNqJAcYd79y88wjm7bcA1JKLjV1esizBn72ldDh3DQlY1Q8DSU6YyqRf zCwPo851fra2WfaNoDf6M7AeqlvFMLewpYXylZXzpmhRy2rR9buYN5wypaCN8qONMbZyUzE3JF3ZT dvr6yTGZRjgnNvPiIMz6FhmXkdGz/0g1Z7ImMZUQGZvMaB2Ev1fe+7f+JLpCeWTLNQyboL+cVzw1A p6di9mbQDlAHIioS/EBZv8Df7v1beT7YNQu2tTIFpmyqHAgWNzom6ZKBJQ3yd+TY60vmcbeL4N4Qj QVnQdZhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xBIBv-00000001b2g-03aV; Mon, 28 Sep 2026 20:43:15 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xBIBt-00000001b28-0m82; Mon, 28 Sep 2026 20:43:13 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 6B38A4390B; Mon, 28 Sep 2026 20:43:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 155151F000FF; Mon, 28 Sep 2026 20:43:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1790628192; bh=ySK103NdmXThiEDTZ/VGv2U3ZqCbXnaKRgtixyhWCVU=; h=Date:From:Cc:To:In-Reply-To:References:Subject; b=V9yTpaR355fDUEtRGbAbCHYCkgs8W6ffIstAbBudBRSSbpPmO9RUjPPGvxgiGmnOr xd8fxTqEao2zof0FOaNDB2Y2pc+TQ6ETvq6GgCch1vr3C7D8M4lXuUaM4TAeSDSH5p hFtVqjNIkhEnZA93FIUdeyc7ipHBNEPZlemnik/aS4jlaBbHUDhzuKMwpi2GsUV14J QVXdxj+pEGE+HjfLhLbzNAtDkUVFBdySk7Fq+bTvZvnWjokebUYYDcD+3Q6R44ldrh DbIjWYKRfM4aOiYKVwJwThPh6fL1+zAenlTDvgj7Qi6UHgJ9koDsghVdlyg1zykoey Ha5HJghAyVQMw== Date: Mon, 28 Sep 2026 15:43:10 -0500 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: "Rob Herring (Arm)" Cc: Florian Fainelli , Jernej Skrabec , Thomas Zimmermann , linux-rpi-kernel@lists.infradead.org, Javier Martinez Canillas , Neil Armstrong , Andrzej Hajda , Dave Stevenson , Maarten Lankhorst , Nick Desaulniers , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jessica Zhang , Albert Esteve , linux-arm-kernel@lists.infradead.org, Jonas Karlman , Bill Wendling , David Airlie , Robert Foss , Laurent Pinchart , Broadcom internal kernel review list , devicetree@vger.kernel.org, bpf@vger.kernel.org, Benjamin Tissoires , Simona Vetter , Luca Ceresoli , llvm@lists.linux.dev, Justin Stitt , Conor Dooley , Nathan Chancellor To: Maxime Ripard In-Reply-To: <20260928-drm-mipi-dsi-panel-ebpf-v1-1-5244926aace4@kernel.org> References: <20260928-drm-mipi-dsi-panel-ebpf-v1-0-5244926aace4@kernel.org> <20260928-drm-mipi-dsi-panel-ebpf-v1-1-5244926aace4@kernel.org> Message-Id: <179062735517.517724.11732368847046080988.robh@kernel.org> Subject: Re: [PATCH 1/6] dt-bindings: display: Add panel-mipi-dsi-bpf generic panel binding X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 28 Sep 2026 18:22:01 +0200, Maxime Ripard wrote: > Most MIPI-DSI panel drivers follow an identical pattern: acquire > regulators and GPIOs, perform a reset pulse with specific timing, > send a vendor-supplied sequence of DSI commands, then enable the > display. The only truly panel-specific part is the init sequence > and power-on/off timing. > > The panel-mipi-dsi-bpf driver replaces per-panel kernel modules > with a single generic driver whose panel-specific behavior is > provided by BPF programs loaded from userspace at runtime, > following the HID-BPF model. This enables new panel support > without kernel patches. > > Panel DT nodes use a two-entry compatible with the panel-specific > string first and "panel-mipi-dsi-bpf" as fallback. The generic > driver matches on the fallback, while the first compatible is used > to identify which BPF program to load. > > Six normalized optional regulator supplies cover ~95% of existing > MIPI-DSI panels: vcc (IC core), iovcc (I/O interface), avdd/avee > (positive/negative analog), and elvdd/elvss (OLED EL driver). > > Signed-off-by: Maxime Ripard > --- > .../bindings/display/panel/panel-mipi-dsi-bpf.yaml | 184 +++++++++++++++++++++ > 1 file changed, 184 insertions(+) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bpf.example.dtb: panel@0 (elida,kd35t133): 'dsi-lanes', 'height-mm', 'mode-lpm', 'mode-video', 'mode-video-burst', 'panel-timing', 'vcc-supply', 'width-mm' do not match any of the regexes: '^pinctrl-[0-9]+$' from schema $id: http://devicetree.org/schemas/display/panel/elida,kd35t133.yaml Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bpf.example.dtb: panel@0 (elida,kd35t133): compatible: ['elida,kd35t133', 'panel-mipi-dsi-bpf'] is too long from schema $id: http://devicetree.org/schemas/display/panel/elida,kd35t133.yaml Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bpf.example.dtb: panel@0 (elida,kd35t133): 'vdd-supply' is a required property from schema $id: http://devicetree.org/schemas/display/panel/elida,kd35t133.yaml Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bpf.example.dtb: panel@0 (boe,bf060y8m-aj0): 'dsi-lanes', 'iovcc-supply', 'mode-video', 'panel-timing' do not match any of the regexes: '^pinctrl-[0-9]+$' from schema $id: http://devicetree.org/schemas/display/panel/boe,bf060y8m-aj0.yaml Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bpf.example.dtb: panel@0 (boe,bf060y8m-aj0): compatible: ['boe,bf060y8m-aj0', 'panel-mipi-dsi-bpf'] is too long from schema $id: http://devicetree.org/schemas/display/panel/boe,bf060y8m-aj0.yaml Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bpf.example.dtb: panel@0 (boe,bf060y8m-aj0): 'vci-supply' is a required property from schema $id: http://devicetree.org/schemas/display/panel/boe,bf060y8m-aj0.yaml Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bpf.example.dtb: panel@0 (boe,bf060y8m-aj0): 'vddio-supply' is a required property from schema $id: http://devicetree.org/schemas/display/panel/boe,bf060y8m-aj0.yaml doc reference errors (make refcheckdocs): See https://patchwork.kernel.org/project/devicetree/patch/20260928-drm-mipi-dsi-panel-ebpf-v1-1-5244926aace4@kernel.org 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.