From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs2-f12.google.com (mail-vs2-f12.google.com [74.125.227.12]) (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 2A9AD3BE172 for ; Mon, 28 Sep 2026 19:16:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790622986; cv=none; b=AKihkt/vAh9NdUE3rwVipU+GhnBXRI6VNZa4WUmvHb5JjBtDFyC5hs/LmsUZdqhoEstRqcSlul3m/xOeR3ya+j1JAeq/D/PEJmtZ1OCsl8JIFfEz8nHI4u/HU2g1VmI+nzf1oFSTMAF8LjerVxahjBKgk3otGR/egttsmFv0USE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790622986; c=relaxed/simple; bh=8o86JjkAcKW1SQ3YiOijQtpyWtLRAZA8fJZvP/xH5d4=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=c0u7GASH0H8MsJVeUoH8m0n0slSoPQYmjVK/Rje8Mm3NiGpfin9nEuXDWIJb8+Ybd0uxwzydjClJZkz9ak5I+AaoloL7sbzjTf+LWp2XUfWqiBbe0ZN58e1H69KBrf3PS7dXwpcwFZI76RGTF3g1TbHCeKL856JKEgCYe8ZDaSM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=B9BHqKQC; arc=none smtp.client-ip=74.125.227.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="B9BHqKQC" Received: by mail-vs2-f12.google.com with SMTP id 71dfb90a1353d-5c67e529da9so1077517e0c.2 for ; Mon, 28 Sep 2026 12:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1790622983; x=1791227783; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:organization :autocrypt:content-language:references:cc:to:subject:reply-to:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to:content-type; bh=BQ/QxsaYA9sPy0Rq4QivZtNIQwREX4bWNN8dGL2Ve94=; b=B9BHqKQCrK+/68hjpsxzjJT5KEvxJaYYONWFx6NyCc/PPVa2kvPiQMF6U5aN/4Pg8a fE7Ye8FOegGhWNtqJcFambSZWTBNRC6C6XxFsBtRCQMYdubTvqPunlKo852nbFe1YPiC M1IixVw+GYlBk2MzqaIqs6eEQjl2sylYxNrDsw7Gifnp5jL6U1GN6r6sa4n7ShP7WyWB DigsUxLsv3kDvFmNg2llwGfYghJ/mxIj7/npYooHJ85yFq/qjgWg0r8y5b062EX3rcZE w9CkUuzAJG4kyBIWtC0vxQkacKfksPY3YupibfS0XVXDov4hCdWhkPRf29LhA9u2OTgv MP8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790622983; x=1791227783; h=content-transfer-encoding:content-type:in-reply-to:organization :autocrypt:content-language:references:cc:to:subject:reply-to:from :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to:content-type; bh=BQ/QxsaYA9sPy0Rq4QivZtNIQwREX4bWNN8dGL2Ve94=; b=JCNwu9PkDTwwVsGGCmlJLCvLBtHVW/VzIJslAZYWJkuzLUPRtNkJHuAKBo3FqQnmJn lC7tZ9MC8oP5yanybUNFwrXqZ3P8mZqhajDmi7So+rv394yAy6vzN+7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XbBdNPJN0n kcJrSKE= X-Received: by 2002:a05:6122:1313:b0:5c9:a60b:e5d5 with SMTP id 71dfb90a1353d-5cb0b67e6bbmr5760667e0c.15.1790622982793; Mon, 28 Sep 2026 12:16:22 -0700 (PDT) Received: from [10.21.51.184] (ipagstaticip-88fc351e-cb28-db3e-3f52-ad13c70f08da.sdsl.bell.ca. [142.127.77.63]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5cde4f969b9sm10052205e0c.3.2026.09.28.12.16.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Sep 2026 12:16:22 -0700 (PDT) Message-ID: <8fa0c826-9d4a-487c-b7db-5412118364d5@linaro.org> Date: Mon, 28 Sep 2026 21:16:20 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: Neil Armstrong Subject: Re: [PATCH 1/6] dt-bindings: display: Add panel-mipi-dsi-bpf generic panel binding To: Maxime Ripard , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Florian Fainelli , Broadcom internal kernel review list Cc: Andrzej Hajda , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Albert Esteve , Dave Stevenson , Javier Martinez Canillas , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, llvm@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Benjamin Tissoires References: <20260928-drm-mipi-dsi-panel-ebpf-v1-0-5244926aace4@kernel.org> <20260928-drm-mipi-dsi-panel-ebpf-v1-1-5244926aace4@kernel.org> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata=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Y 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20260928-drm-mipi-dsi-panel-ebpf-v1-1-5244926aace4@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/28/26 18:22, 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(+) > > diff --git a/Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bpf.yaml b/Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bpf.yaml > new file mode 100644 > index 000000000000..9a20a21cf70e > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bpf.yaml > @@ -0,0 +1,184 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/panel-mipi-dsi-bpf.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Generic MIPI-DSI panel with BPF init sequences > + > +maintainers: > + - Maxime Ripard > + > +description: | > + A generic MIPI-DSI panel driver where the panel-specific power sequencing > + and DSI init commands are provided by BPF programs. > + > + Panel DT nodes use a fallback compatible so the generic driver matches on > + "panel-mipi-dsi-bpf" while the first compatible identifies the specific > + panel for BPF program matching. > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + items: > + - description: Panel-specific compatible string > + - const: panel-mipi-dsi-bpf I don't see how this can be a valid hardware description, bfp is a software implementation and has nothing to do in the bindings. Neil