From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.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 0A4B42F60B2 for ; Mon, 5 Oct 2026 08:54:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791190486; cv=none; b=dn2BRLmDgJfcP/hJMAVl2PICbvHSX4cfItuPX84YPXkcJ5eyELW2FTLFEW43dHZxst9CW/uV0ivICpLD2aaDpv/1nwNFnOV9OksyQo8+s4h4Uc2SkJwF1N2jD4/TRe0riTBIpnZq8s59p6ZnFVaTncHQJ+hb6MbL/SGbhZ8Kajk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791190486; c=relaxed/simple; bh=HjfD9Sk3Ecr2vQKR57DUO/tKFIgPZQr8nPPUZfnIC9o=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=b30rd0GE+hr4nkhWYQ91coyk1QPM1MQq0dIDa90dsDUJcSpdNgQ9CmVAm52iadF9OfM+Zt6Kp7uvvUe8YW1zMUW0VCJ34hkJDlzaa9IZlC3mWsznJ4EQeTuXeIkfm73vrAnf1z7/QBX3medPjKb2dGCA8a3dC/KVHwoC/AMUk6g= 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=DbNL9bRa; arc=none smtp.client-ip=209.85.128.44 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="DbNL9bRa" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4a1728d8dfcso5676005e9.1 for ; Mon, 05 Oct 2026 01:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1791190483; x=1791795283; 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=Kl8JkkqPfJQbBpas2qrLorrgrsm8HTlHvd812hKlvVs=; b=DbNL9bRauSMJdladhXh4JYosWazPcc/Ewczu1r1eYXOK4J1YFMwCgzQnZFlgnCdu73 yKuXNKVXy6bwn0OveH/8jL95mShibUy9exMA1ObHaViVoo9n238OLcxRVzG6+7LyFmBg AslGJtWWZpjIoCeEel1DkaIqZq0ZO6YccS/M1yLSP4/9yThHdHQnTRZyCgZxovCvS6Zn r607pUPFTgHFwItgD/lInF26HWr4gyGMQFVEX6tkOsRu7714fyc1vzMDGKz+Isz8P65w qv3vzuO/9PTypRzLz5DPQpY2TtEw1vxh/WthoPyeqUypHovwPKUBcd7MtItry1EYW0xX ogRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791190483; x=1791795283; 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=Kl8JkkqPfJQbBpas2qrLorrgrsm8HTlHvd812hKlvVs=; b=IC0cJo5cI9pE1TseysetLWilln3bUbpQE7wr3ZULgoKRNvCEPpXDIWfQiQ/slPSk8M UmfrlfCWM4hFYel44oGqQwKA6sMc/VuwMrmhcNZvwqV9paNetbqL1NbuIewD5AglWlcf GOwfV9UA5Ilh+P/4W8Moh8QxztBblck14WeeTl2+4a0nacPTxhUQ1bd5oggyo0X3StmN ocaowH4ViF6uvjvnLOSUheJNbdK350J4EbhicJzH573oNPQaUCy4ScP7h9c/zGOUda9l /SggCpP4uMewxzgkf1K2kwC5JD/i/MlLDR8Amg+LUEce7NkPtpn1u1qF5L8ziZXMrMXf s0AQ== X-Forwarded-Encrypted: i=1; AKwUvBxVcFbsLj3goRTsjQ4v/lvULsFHwGlM/MF2mbEjvTnX6vp3qdOzTHYRDJSLdGi6Cv9AQj9GZJDPt6BD34M=@vger.kernel.org X-Gm-Message-State: AFuF++nD4wyWJD+igcLSIGk9ghSsmISPjdQ21wm5xD2vEhkZf9oPwMEN 4l4+N+xscRe4QMgPyyKkMrCews7t+oYls6t1VsfY5cK1s1J5GDYoZqAVSgv4tQYNBqw= X-Gm-Gg: AYBFou2/CI/X2TCxo9f3fLr/ZUI8D+Y5ku1gvQKHPqqjKtX5fk38hC3sQHoIJWrufiz CD7Er6u0ZXu3gmR+YiBo0VzTiU50am67/atfhVk4AHg+/0Yh9uL2e0doRR/h2nX7kWmH+v4FQJI 00syKOX90Cl0kXFRA1JRms8oyZuy1CnyYCqbhV1dO2sGkiT0HFWdWDiqVpmJufA5UrvCFRhWyhB EHMSphea1dw6o1DuH1jawOEz4P6p2bdwEFrYgXLDHPQFiaXgEDMOqYK219unZPQ2jnevOXrd596 pMQuhzxA1cBW+DfGFTCdjlwv7aTuJOQyCPk6PTB7s6svLhT0BkVls+5D/xkCb22XU/nirup6lnt W9hIiS2Tt5d3PxCmOiAEvdSzxZw+WJZnQfVsr1OPRtQHAzkoiatqk6IuCRJOmOLllLJipvJEP3E HSKXvIwFuFQ9fwCphaeZEdffAK7qiFYOwgB9ZmWa3PgdxqTUij0t575l1OtjxUgjupdDcY3FFZD SAvulx0/YtNUXWq8D6hMjX5kYQkrf0= X-Received: by 2002:a05:600c:b8a:b0:49f:fe90:de63 with SMTP id 5b1f17b1804b1-4a1680f4052mr97726875e9.28.1791190483083; Mon, 05 Oct 2026 01:54:43 -0700 (PDT) Received: from [192.168.151.46] (90-182-211-1.rcp.o2.cz. [90.182.211.1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a0a6e894a4sm291578635e9.5.2026.10.05.01.54.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Oct 2026 01:54:42 -0700 (PDT) Message-ID: Date: Mon, 5 Oct 2026 10:54:41 +0200 Precedence: bulk X-Mailing-List: linux-kernel@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 v5 5/6] dt-bindings: display: Add Synaptics panel support To: Dmitry Baryshkov Cc: Linus Walleij , Krzysztof Kozlowski , Jun Nie , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20260727-sm8650-7-1-bonded-dsi-v5-5-c042266b9eeb@linaro.org> <20260727-spotted-winged-mantis-7aa1ce@quoll> <668e83d0-a017-4f59-bc76-bf6c9a80b5ba@kernel.org> <2lcpzwh7fxecpffnakpnp5lecrm3e6u64ztat7cd75nuxofxa2@clj27bzgjy3r> <4d053234-06d8-4268-b60a-2fccc78da654@linaro.org> <8cf6ec52-fb36-44e7-831c-2bb24214f591@linaro.org> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5Dw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5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10/5/26 04:22, Dmitry Baryshkov wrote: > On Sun, Oct 04, 2026 at 05:51:44PM +0200, Neil Armstrong wrote: >> On 10/1/26 02:43, Dmitry Baryshkov wrote: >>> On Wed, Sep 30, 2026 at 09:18:55PM +0200, Neil Armstrong wrote: >>>> On 9/30/26 21:04, Dmitry Baryshkov wrote: >>>>> On Wed, Sep 30, 2026 at 06:43:47PM +0200, Neil Armstrong wrote: >>>>>> On 9/30/26 09:44, Linus Walleij wrote: >>>>>>> On Tue, Sep 29, 2026 at 3:35 PM Krzysztof Kozlowski wrote: >>>>>>> >>>>>>>> This entire binding seems like stitching two devices together, which >>>>>>>> might be fine (I don't even remember this stuff... two months old) or >>>>>>>> might be artificial grouping of separate devices. >>>>>>> >>>>>>> I think that's a good point and fair pushback. >>>>>>> >>>>>>> Neil and Jun talk about it yesterday at XDC (1:15 into the stream): >>>>>>> https://www.youtube.com/watch?v=6tNGW8PoSzw >>>>>>> >>>>>>> The current binding does not reflect the physical topology of the >>>>>>> actual device, and the bindings need improvements. I have a feeling >>>>>>> there is one display controller with two physical panels. >>>>>> >>>>>> No there's really 2 controller and 2 separate panels, but they are not >>>>>> classic panel, they are a pair of panels+lens which are in front of >>>>>> the eyes which forms a single "image" for the brain, so they are >>>>>> technically a single display and requires to be hard synchronized. >>>>> >>>>> Yes. However this approach makes it impossible to share the code between >>>>> the double-panel drivers and single-panel drivers. I think, that the >>>>> panel driver should still reference a single glass+DDIC, while letting >>>>> the DSI host driver to handle the bifurcation. >>>> >>>> Yes, and no, it must really be considered as a "single panel driven by 2 identical controllers", >>>> and even this is really purely software implementation issue. >>> >>> [...] >>> >>> >>>>>> Describing both panels into separate nodes would only be possible >>>>>> if we described a "VR display complex" nodes linked to both panels >>>>>> but this would probably be solved by actually describing the "display" >>>>>> linked to a DDIC controller and is out of subject for this serie, >>>>>> and can be added later when we properly define things. >>>>> >>>>> I like the VR complex idea. In the end, you have two modes which you >>>>> most likely might want to support: >>>>> - L+R, having double-width CRTC scanning over a double-width framebuffer >>>>> - Mx2, having a single-width CRTC and a single-width framebuffer >>>>> displaying the same picture to both eyes. I can imaging that knowing >>>>> about L+R might be an explicit opt-in feature of the DRM interface. >>>>> >>>> >>>> This makes no sense to support both modes, and this will never be used, >>>> and anyway this is purely software implementation. >>>> >>>> We're defining bindings here, describing the real reality, not hypothetical >>>> situation that will never happen. >>> >>> Let's ignore software issues. On the hardware side, you have two >>> distinct DSI panels, each having its own set of controls, own DSI link >>> and own backlight control. >>> >> >> OK so let's see the problem in another angle, if we had 2 DS links 2 physical >> controllers, 2 physically distinct panels but forms an unique display. > > Imaging the case: through the time the backlight LEDs on the right eye > age faster than the ones on the left eye, so we need to apply dynamic > correction to the backlight, dynamically calibrating the coefficient to > be applied to the LED brightness (or even worse, dynamically applieing > the _curve_ to compensate for the brightness difference). > > Note, I don't have any information here, if such a difference can exist > or if it can appear through the time, or if the xR DDICs can handle it > on its own via a pre-programmed LUT, so you can totally say that the > argument is moot and I won't even argue here. > >> >> Describing it in separate distincts nodes is wrong since it doesn't reflect >> that it's an unified display, so either we define : >> - a "combined-display" bridge defined as: >> - a separate top node in / like connectors with a graph from the DSI links to each panel >> - a DSI subnode with 2 panels as subnode, port graph from both dsi to both sub-panels >> - a "R63455" panel bindings with 2 subpanels as Linus shared in https://lore.kernel.org/all/CAD++jLkyEPY5cFg_pHb71yG52iLwS9tQDpcHu=TTBknQMeFctw@mail.gmail.com/ >> >> I think it would be interesting to have the "combined-display", with a connector-like node, >> which will do all the split-dsi dual-panel logic for us and leave use implementing simple panel >> drivers. >> >> The outline would be: >> >> =====><======================================= >> / { >> >> xr-display { >> compatible = "combined-display"; >> >> ports { >> port@0 { >> combined_dsi0: endpoint { >> remote-endpoint = <&dsi0_out>; >> }; >> }; >> port@1 { >> combined_dsi1: endpoint { >> remote-endpoint = <&dsi1_out>; >> }; >> }; >> port@2 { >> combined_panel0: endpoint { >> remote-endpoint = <&r63455_right_in>; >> }; >> }; >> port@3 { >> combined_panel1: endpoint { >> remote-endpoint = <&r63455_left_in>; >> }; >> }; >> }; >> }; >> }; > > This is an interesting approach and it would be a requirement, if we > ever have a device with 4 DSI hosts which can driver two sets of XR > panels (there would be no other way to understand, which pairs of panels > are bundled together). I am not sure if it needs to be an OF graph > device or if it can simply reference the DSI devices. Or if it can > reference panels (which is not the same). I mean we could imagine combine any number of panels to form a combined display, 2 or 4 DSI links would be handled the same. > > Another question, do we need to list any other devices here? regulators? > sensors? maybe proximity sensor? cameras? I'm thinking from the > 4-host-2-xr point of view, because if we don't have 4 DSI hosts, we > don't need to describe anything. We already know all the hardware > properies and connections, the rest is really just a software plumbing. The regulators would be in the panel nodes, for the associated peripherals like sensors & cameras they are not physically tied to the display so it's only software plumbing. Neil >