| Message ID | 20261103-panel-mipi-non-exclusive-gpios-v1-3-aa862c1d71e3@oss.qualcomm.com (mailing list archive) |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-sunxi+bounces-27119-sunxi=pue.re@lists.linux.dev>
X-Original-To: noreply@patchwork.local
Delivered-To: noreply@patchwork.local
Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mxe881.netcup.net (Postfix) with ESMTPS id B7F801C71F7
for <noreply@patchwork.local>; Tue, 3 Nov 2026 14:48:01 +0100 (CET)
Authentication-Results: mxe881;
dkim=pass header.d=qualcomm.com;
dkim=pass header.d=oss.qualcomm.com;
spf=pass (sender IP is 172.232.135.74)
smtp.mailfrom=linux-sunxi+bounces-27119-noreply=patchwork.local@lists.linux.dev
smtp.helo=sto.lore.kernel.org
Received-SPF: pass (mxe881: domain of lists.linux.dev designates
172.232.135.74 as permitted sender) client-ip=172.232.135.74;
envelope-from=linux-sunxi+bounces-27119-noreply=patchwork.local@lists.linux.dev;
helo=sto.lore.kernel.org;
Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org
[100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id 59B3A60DE2C
for <noreply@patchwork.local>; Tue, 3 Nov 2026 13:36:36 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1793712868;
b=vGkLI8oYemnCGJ22NZsIxnL8qgkosp/f3ui1iXDCZjdlihpd9ZxR9Mt2pRBKs6cmMkZY
VFqzc2erGk3WD+Z0fryuged+hm1wQf9Xbu/SkFHtUZWBXsIquFDGSr1dbH8DrZvzejHdN
9SOLnYvWeoWvMf8id/E74MfHSP4FBjQqe2+zuZWN6TNwCthruchaqg1lmZnloRiWQZqXJ
QGDoG4yUAN/y9OhI9MQDKopft+mUs8J+8l0dbX/gTgLN9/3SW3GBsBkQDoPeHMKp4Hkij
9aIr9tAiiOrSN5koUqOSKV3r+sbIslJq/bAXn+5dw87Y9s+SyCjiLWRBuDoZB6t+XFw==
ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793712868;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
Received:DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:Date:
Subject:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc:
X-Mailer:X-Developer-Signature:X-Developer-Key:
X-Proofpoint-Spam-Details-Enc:X-Proofpoint-ORIG-GUID:
X-Proofpoint-GUID:X-Authority-Analysis:X-Proofpoint-Spam-Info:
X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details;
bh=DTqLAUKcdunUoMIDUDVQW9cBAtclBrFvLZfGH8GUl2Y=;
b=j7B+U2ihy75nOcXXUWHiP5JeEM48sb5I5KD1zuQqcTWy4HKSKgSF/Wfy+rbZ9EBury4R
RNUSPh9+v8wp4JzOqOsqCRddp6/Us3c50EzXkKKRlWQtAiRVJmggvAKKqvH8xTYt+tIR3
NgJTd5Dno+OP1x+y8M24H2Jvj0j+yAL/5z1R0uWcTydy+Rk+h/YPcoSYZ2SWeCVr3Rdh6
tznwx2sC4bTIuBfMEFWzEzrmCNRsbDap3yNKonU8ePVBB0CUgkkyD++tdGSc5nN33+FAM
OPGbvvUZCK79WrEq5RXdZcalKuTfPPTt6KUNCj2enRPgnd7lKYlLiT+MEtajjmgKa/g==
ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256
header.s=qcppdkim1 header.b=PaX60grQ;
dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.a=rsa-sha256 header.s=google header.b=KThbQvr0;
dmarc=pass header.from=oss.qualcomm.com;
spf=pass smtp.mailfrom=oss.qualcomm.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D4A7606A324;
Tue, 3 Nov 2026 13:34:28 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key,
unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256
header.s=qcppdkim1 header.b=PaX60grQ;
dkim=pass (2048-bit key,
unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.a=rsa-sha256 header.s=google header.b=KThbQvr0
X-Original-To: linux-sunxi@lists.linux.dev
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.remote-ip=205.220.168.131
ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793712868;
b=MA0nXNzlekCmNl2ZU1Plso10rlCx4SuqnUcwZTc5WwY/JyIxPsIrbywatLQPVR3fifL1
wau1mwcXgX9IvJ6F1jRAKHOXBcQwUshcXTrb3Bjui631/KKUg6PagOZ5FG491uLzrcRnX
mZoKU63hli5gvW4e87N5PlxQZZZTXzHNU+rBbJZvdzOWcYFlmJTeEGbWTSbVdygcNF+F6
H2GZOhkFkyG/DVGL97VCR4yECRzf73EbpFX903cwtbULLTSzK9is4IQgxDIGI+gle6UKz
ZdZmTZzODFysKmp37Hix1Ahr6v0JRI1A0f4NGXDum1ylmvdnvz5DtUz1+/Ezgwg0gsg==
ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793712868;
h=DMARC-Filter:Received:DKIM-Signature:Received:Received:
DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:Date:
Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:
Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
X-Developer-Signature:X-Developer-Key:X-Proofpoint-Spam-Details-Enc:
X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID:X-Authority-Analysis:
X-Proofpoint-Spam-Info:X-Proofpoint-Virus-Version:
X-Proofpoint-Spam-Details;
bh=DTqLAUKcdunUoMIDUDVQW9cBAtclBrFvLZfGH8GUl2Y=;
b=jRRdp8lGpE+dacOWWJE1ht2FtCZSXbNfBIajDqLZtu3ixabT8hCll5mfZEpBBTtHSyNy
yayCrP8brBHcUEKaSiwOc0snwlTdqyCK7MQnTmFBwkeRShEPYktzTjetUMJzrnvpQRzEX
BL0rVDssX2aaqbwDgEMHQvw+8+TnkhsFn75/fN0RMve6W+i3FyQ2nfDoHqopOfr/nqYQR
2tYlHnfR58+HcQ/+sc+5YY7fVjJ9Cz3kChzbKCKLU+996HJO1UVhH4SRVC+TzwDplLlys
AxRRdHhV9fhT4EJKwqdWcBJeB4MkdhriY+nkbd9Y1lu1NXhTPGaPJf4Rjz3PNnHdUpg==
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=oss.qualcomm.com;
spf=pass smtp.mailfrom=oss.qualcomm.com;
dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256
header.s=qcppdkim1 header.b=PaX60grQ;
dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.a=rsa-sha256 header.s=google header.b=KThbQvr0;
arc=none smtp.remote-ip=205.220.168.131
Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com
[205.220.168.131])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest
SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC16E606EEBF
for <linux-sunxi@lists.linux.dev>; Tue, 3 Nov 2026 13:34:27 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EC16E606EEBF
Authentication-Results: smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=oss.qualcomm.com
Received: from pps.filterd (m0279864.ppops.net [127.0.0.1])
by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id
6A3Cl7hg1271679
for <linux-sunxi@lists.linux.dev>; Tue, 3 Nov 2026 13:34:20 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=
cc:content-transfer-encoding:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=
DTqLAUKcdunUoMIDUDVQW9cBAtclBrFvLZfGH8GUl2Y=; b=PaX60grQy2eNFep0
DO3/PPj54urDEBHx1h8NEYiDFY57Lq8fD8MmHEsFlTANYufLvVHkzSUTCk4EScwK
Tku3i4Z9MMln/T2hs8xTmb/LZ6w5rpWZ1TRqdwGY0Z74mvFXntUURJaQ44jQs3dY
52Ymhjr2KHdreS87YmrR+bxRFhXEca1Jy/yVd2FolB/o6mc0s2K07nRXLImQZGN6
Mt6xSUdmj66I2ALx4D+zOIvSPYbn7h04f+qNfDhfjlCh3Xnv54fPrW04CYHtYKPc
3+Kyzp6RbKix2u5uwG7hxj8L9iq4BfR8Avf1GjKafw76pJcANkM/PnxBdHqnIEz/
7xxHNg==
Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com
[209.85.221.199])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hq07ekxgg-1
(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
for <linux-sunxi@lists.linux.dev>; Tue, 03 Nov 2026 13:34:20 +0000 (GMT)
Received: by mail-vk1-f199.google.com with SMTP id
71dfb90a1353d-5eaad995a7eso975746e0c.3
for <linux-sunxi@lists.linux.dev>;
Tue, 03 Nov 2026 05:34:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1793712860; x=1794317660;
darn=lists.linux.dev;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=DTqLAUKcdunUoMIDUDVQW9cBAtclBrFvLZfGH8GUl2Y=;
b=KThbQvr0XDZyKVgZICiionSUHcn7IbtMD70V3PDPI0CwlDihqxnfKZMM2h8bNE2hAV
CyQfbbA8PwB4pl987GFs5nUL0KY9uHpnz9eg8IH4swGxu0B6UxRMsyWmBMia6yUOyBpY
pOZnNtDqu42V/EPyKuW82b7P4cC7HdtZoDO2CNKrRzCmroAhxDCVg7LEBHcqdoV8WLFZ
+y7MYIEeMR48q7dADvKK33Jx/70CGgQbBdZGGmo0Ixa5JdtdizBkjI24sSFfnp+YtCQr
28LWiUJPHaP0etE25bpjxlur5XsRQpX47p4QBcSAqddYTZ74/PL65H0mgtkEA47NRRAR
e2yA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793712860; x=1794317660;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=DTqLAUKcdunUoMIDUDVQW9cBAtclBrFvLZfGH8GUl2Y=;
b=gNuYcCDn8yCPbbPwT5iFlEhSMCMjXAwz/jUh35/47mL2I79SGr+PZQ0f6agPCWG96K
Wml15dPh22Q/Y/wgBRsGypL0G0EpisdBvn/TXSi6picYAVzoDnUTxbRvXJ0xdaFPlayL
20UA2gBaqdGGjxtdhdlBtMOwmyV1IDb4BbypFBzFzl5GG4FwlKm6dXEmeEQGDck4Tl9z
Ec1TsYYBOWlo1DihE65SQ1T3F0OI+pdANhQcRm/EdWJLidsnbkezaJ5t62/iCq5S2MFk
dbfv9RSjohOfQORvzJKY+Eh/3u6/st69f93xrxrmSZlzl4/zq02fT6TCyIH9v/tS+FTW
CUqA==
X-Forwarded-Encrypted: i=1;
AKwUvBw49r+/QSvsX63mC5nbtK/v6GeIYxJfhrWoXU2TWxDOCgJH/59PcQzJUmX8wwzg71hdh39TIxaLWRIGog==@lists.linux.dev
X-Gm-Message-State: APuU4Z+GH0+3AQzXbc2Qw5JGtpGCQglcEjBhAEXdZjpIGuJenUzP7k1/
ZoHzIZFO9titjw3zvCgeP+ULLzfKDqGlht1ezKXAR6OnXRBh617seC9iTxU5VLYEP247e4wa4mr
K37pNYoPPOOPEA8wAnVONtmVliK70smDVDKyC4sQ1iBogwJelx6LHGdk3to3y3+S7aw==
X-Gm-Gg: AYBFou1iHX0ngmHuNsaXAlCKlwa3GYgqEORN8ED1ZS76gCM7sfSYcekGwsfLJiDpZIQ
po09a7f7IeMZ5+viNqtAiprw1Hm5L4scA7CWpWklwELWBfuArovktIWVJ5RWd+GWayhLMCMBJIS
FQhXUQ/fjBhrYvvBjTiP+9lNUMu/Hr2lGRLdS9vVMS6gL/6Sd4wuNK8y2ULAuHNbDCaK/FyTLkd
csNSz+LwPdtkzj9UzTP+Cf7acKAh4P8vgEeCF35N9h6Ncglr4xbhhTgvYMGJ3CqQ5nY32ilgpju
3YWXgDQYJF9kv6+5iEPe8Moqztg6yV+nfJ06m/B1kCrxPqab0ZS2lXP3IbgGcPE2+QEcUCpJP9s
6I29gUEAl7gygh1MyrOqiozvA1Ey4Y8zO96HJ6FNaZm6emvybFs5E4P+uddonzrY3adE28TSOGX
xziA==
X-Received: by 2002:a05:6102:604b:b0:7cc:9d46:ac88 with SMTP id
ada2fe7eead31-7d072626935mr3533206137.18.1793712859581;
Tue, 03 Nov 2026 05:34:19 -0800 (PST)
X-Received: by 2002:a05:6102:604b:b0:7cc:9d46:ac88 with SMTP id
ada2fe7eead31-7d072626935mr3533187137.18.1793712858980;
Tue, 03 Nov 2026 05:34:18 -0800 (PST)
Received: from brgl-qcom.local ([2a01:cb1d:dc:7e00:8916:7b9b:97a2:6c96])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-48e71ba7168sm26866970f8f.55.2026.11.03.05.34.17
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 03 Nov 2026 05:34:18 -0800 (PST)
From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Date: Tue, 03 Nov 2026 14:33:54 +0100
Subject: [PATCH 3/3] drm/panel-mipi-dbi: drop GPIOD_FLAGS_BIT_NONEXCLUSIVE
X-Mailing-List: linux-sunxi@lists.linux.dev
List-Id: <linux-sunxi.lists.linux.dev>
List-Post: <mailto:linux-sunxi@lists.linux.dev>
List-Help: <mailto:linux-sunxi+help@lists.linux.dev>
List-Subscribe: <mailto:linux-sunxi+subscribe@lists.linux.dev>
List-Unsubscribe: <mailto:linux-sunxi+unsubscribe@lists.linux.dev>
List-Owner: <mailto:linux-sunxi+owner@lists.linux.dev>
Precedence: list
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id:
<20261103-panel-mipi-non-exclusive-gpios-v1-3-aa862c1d71e3@oss.qualcomm.com>
References:
<20261103-panel-mipi-non-exclusive-gpios-v1-0-aa862c1d71e3@oss.qualcomm.com>
In-Reply-To:
<20261103-panel-mipi-non-exclusive-gpios-v1-0-aa862c1d71e3@oss.qualcomm.com>
To: Russell King <linux@armlinux.org.uk>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Linus Walleij <linusw@kernel.org>,
Bartosz Golaszewski <brgl@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-kernel@vger.kernel.org,
linux-sunxi@lists.linux.dev, dri-devel@lists.freedesktop.org,
linux-gpio@vger.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
X-Mailer: b4 0.14.2
X-Developer-Signature: v=1; a=openpgp-sha256; l=1340;
i=bartosz.golaszewski@oss.qualcomm.com; h=from:subject:message-id;
bh=L77EVNO37nJ8bqShHP/VkH28Qj8EpKeHm6Kw3WFdyMI=;
b=owEBbQKS/ZANAwAKAQWdLsv/NoTDAcsmYgBq6eLSAKCGRs/5xWd0LbuvTkv0Yz4BLBG2Wt+fx
WEuk0Rn70OJAjMEAAEKAB0WIQSR5RMt5bVGHXuiZfwFnS7L/zaEwwUCauni0gAKCRAFnS7L/zaE
w1m7D/oDxRKdjJGFSMRo90SmI08LhWyVliSQHqb9JufJtsRCV3NGcX4zCS+jMU4grEWv0lfuXu4
6+4yVk6EQyvgJWHhRyWISjQbGRLHjMgBMZ9BZ/aJdVT74Y+OyN1fNWO6Tjwt3hll/O4txb57Cx6
DOxKARd/3QmK0BGXUEdHAafVAddJBW9ERKPc3rzCjHVamct6gAoJlElxXM1KRmyTGBsYjXQ0Y4Y
OE40frmKz80lBd7jlFF3Xp2+pS4uL76NuhhpcIQTOYcvixff+ItacRK1syYVL40xIG+SD3FBlh7
z7t3xJ8ES0U0guj5vwRBpJa2xOFdKe7z4zHQAA7rFtwA0vmgKpPaK+KzlVi7mNLZwStySmisjC0
wfhKFNv4uuTiaza96qK6pzeg6UC41Ejwfn8y1DbtNuHYebdPLTUQKHNvve5FNAJLr0xkcNErbr5
ubhpZ9hiOtBdsG2AEXM0C0sryKXmynqccTydaaYRrtaY9xABHDk288XLpglrFrF6Hoe3zBbBrZr
eLkqDB8W/ZgRR9exnAXnfgO+aURE3oqvdFz4blA8o/dMao86USkCnoxUVDxGxz8EH9Jrlj8CN3H
zaSMeQ7LI1ZT3IvnNKhc5Pt84Wnc1aYPXV8DqAn4hNaP/e/4fBE7HyaWGDRDPE6KYvHBq29oNHX
sE7DR92bWXgVLvg==
X-Developer-Key: i=bartosz.golaszewski@oss.qualcomm.com; a=openpgp;
fpr=169DEB6C0BC3C46013D2C79F11A72EA01471D772
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTAzMDA1MyBTYWx0ZWRfXytA+Kdb9Kfa4
P4FzR6uTqgYuOJrflyKaLKbRYBDDXHDOCsnza9bgxd5OEtdMmMLNzEt9JbDjz4DNlMh+1vJSJgM
uJJJosICHfrXmTdiGu8s97RjIDdm2FxYaJUXEMeVevNeap8KiY+A1NsJU3XpMAH663gkEvYVHGN
W3dXKohCV4GrVlwXc2IwzuTetXYACzvsYDLoI+eltJM2iTYI1V0BqLC/Isi6cODl1O8wSpM6yTm
MbKZEwmfrAXAToxKtZbWLucbl8VwzLAEHDH0yrcFBLm13+XdrPLkol8ZFyBoVPq0SGpPZVki0h1
rN9ZaOxWOVJKq07W5WLrQ79svTWo8f7gh1uyJ4cq3Hs7WR4o2XA7KTPyJIPnLranHR7wIvHMVjX
izkwbWKv9Q4DXqZmUnMfKzkvpTg3J9JobK3QJj3JLGDZyxqumls4R1hXI6Vh8LFeqONAY9Vg1uF
g5cmQAglkfdJtpKOupg==
X-Proofpoint-ORIG-GUID: qBauEoyMMGzBk9n5ZeF2qP9gwvgStJfP
X-Proofpoint-GUID: qBauEoyMMGzBk9n5ZeF2qP9gwvgStJfP
X-Authority-Analysis: v=2.4 cv=B/wsQ+tM c=1 sm=1 tr=0 ts=6ae9e2dc cx=c_pps
a=+D9SDfe9YZWTjADjLiQY5g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10
a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22
a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8
a=Mb4fkPDSjR1CXLPVujoA:9 a=QEXdDO2ut3YA:10 a=vmgOmaN-Xu0dpDh8OwbV:22
X-Proofpoint-Spam-Info: AW1haW4tMjYxMTAzMDA1MyBTYWx0ZWRfXxpT/PBnbFlk6
PnYqWSdXwNqk6nB/Z1RGqZejpurGQyDv96zviJA/Hw3PE4RrnT21x1C05IC3BlLECqBir0Fe2A5
ipkoAjgeGYgL1iWQiDaWy8EV3htivZU=
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49
definitions=2026-11-03_02,2026-11-03_02,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
phishscore=0 priorityscore=1501 suspectscore=0 adultscore=0 clxscore=1015
impostorscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0
classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0
reason=mlx scancount=1 engine=8.22.0-2610300000 definitions=main-2611030053
X-Rspamd-Server: rspamd-worker-8404
X-Spamd-Result: default: False [3.31 / 15.00];
RBL_SENDERSCORE(2.00)[172.232.135.74:from];
SUSPICIOUS_RECIPS(1.50)[];
MAILLIST(-0.18)[generic];
MIME_GOOD(-0.10)[text/plain];
BAD_REP_POLICIES(0.10)[];
HAS_LIST_UNSUB(-0.01)[];
FROM_HAS_DN(0.00)[];
ARC_ALLOW(0.00)[subspace.kernel.org:s=arc20261015:i=2];
R_DKIM_ALLOW(0.00)[qualcomm.com:s=qcppdkim1];
TAGGED_RCPT(0.00)[];
DBL_BLOCKED_OPENRESOLVER(0.00)[sto.lore.kernel.org:helo,sto.lore.kernel.org:rdns,qualcomm.com:dkim,qualcomm.com:email];
TAGGED_FROM(0.00)[bounces-27119-noreply=patchwork.local];
RCVD_COUNT_SEVEN(0.00)[8];
RCPT_COUNT_TWELVE(0.00)[20];
RCVD_VIA_SMTP_AUTH(0.00)[];
ASN(0.00)[asn:63949, ipnet:172.232.128.0/19, country:SG];
FROM_NEQ_ENVFROM(0.00)[bartosz.golaszewski@oss.qualcomm.com,linux-sunxi@lists.linux.dev];
TO_DN_SOME(0.00)[];
R_SPF_ALLOW(0.00)[+ip4:172.232.135.74];
RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[205.220.168.131:received,100.77.114.92:received,2a01:cb1d:dc:7e00:8916:7b9b:97a2:6c96:received];
FORGED_SENDER_MAILLIST(0.00)[];
MID_RHS_MATCH_FROM(0.00)[];
DKIM_TRACE(0.00)[qualcomm.com:+];
FREEMAIL_TO(0.00)[armlinux.org.uk,gmail.com,foss.st.com,kernel.org,sholland.org,linux.intel.com,suse.de,ffwll.ch];
RCVD_TLS_LAST(0.00)[];
DMARC_POLICY_ALLOW(0.00)[oss.qualcomm.com,none];
MIME_TRACE(0.00)[0:+];
FORGED_RECIPIENTS_MAILLIST(0.00)[];
RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.232.135.74:from]
X-Rspamd-Queue-Id: B7F801C71F7
X-MORS-Enabled: yes
X-MORS-DOMAIN: patchwork.local
X-MORS-HOSTING: hosting172546
X-MORS-USER: hosting172546
X-getmail-retrieved-from-mailbox: INBOX
|
| Series |
drm/panel-mipi-dbi: stop requesting GPIOs explicitly as non-exclusive
|
|
Commit Message
Bartosz Golaszewski
Nov. 3, 2026, 1:33 p.m. UTC
GPIOD_FLAGS_BIT_NONEXCLUSIVE is deprecated and will be removed. The
preferred way of sharing of GPIO pins is relying on the GPIO shared
proxy provided by GPIOLIB. There are only two users of this driver in
upstream DT sources and both now select HAVE_SHARED_GPIOS so we can
safely drop the non-exclusive acquisition of dc-gpios.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
drivers/gpu/drm/tiny/panel-mipi-dbi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Comments
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [High] drm/panel-mipi-dbi: broken shared dc GPIO in panel_mipi_dbi_spi_probe() -- commit 90b279985dbeced362ebac928f364d9afff9972e Author: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> drm/panel-mipi-dbi: drop GPIOD_FLAGS_BIT_NONEXCLUSIVE This commit removes the deprecated GPIOD_FLAGS_BIT_NONEXCLUSIVE flag when requesting the dc GPIO in panel_mipi_dbi_spi_probe(), relying on the GPIOLIB shared GPIO proxy instead. > diff --git a/drivers/gpu/drm/tiny/panel-mipi-dbi.c b/drivers/gpu/drm/tiny/panel-mipi-dbi.c > index 60cd65cae41d8..6f09b723cd7c3 100644 > --- a/drivers/gpu/drm/tiny/panel-mipi-dbi.c > +++ b/drivers/gpu/drm/tiny/panel-mipi-dbi.c > @@ -418,8 +418,7 @@ static int panel_mipi_dbi_spi_probe(struct spi_device *spi) > if (IS_ERR(dbi->reset)) > return dev_err_probe(dev, PTR_ERR(dbi->reset), "Failed to get GPIO 'reset'\n"); > > - /* Multiple panels can share the "dc" GPIO, but only if they are on the same SPI bus! */ > - dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW | GPIOD_FLAGS_BIT_NONEXCLUSIVE); > + dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW); [Severity: High] Can gpio-shared-proxy work for a shared MIPI DBI D/C line across multiple panels on the same SPI bus? Unlike a shared reset or enable pin, the D/C GPIO in MIPI DBI Type C Option 3 is a bus control signal (0 for commands, 1 for parameters and pixel data) multiplexed under spi_bus_lock(). In drivers/gpu/drm/drm_mipi_dbi.c, mipi_dbi_typec3_command() leaves dbi->dc asserted at 1 after transferring command parameters or pixel data: drivers/gpu/drm/drm_mipi_dbi.c:mipi_dbi_typec3_command() { ... spi_bus_lock(spi->controller); gpiod_set_value_cansleep(dbi->dc, 0); speed_hz = mipi_dbi_spi_cmd_max_speed(spi, 1); ret = mipi_dbi_spi_transfer(spi, speed_hz, 8, &cmd, 1); spi_bus_unlock(spi->controller); if (ret || !num) return ret; ... spi_bus_lock(spi->controller); gpiod_set_value_cansleep(dbi->dc, 1); speed_hz = mipi_dbi_spi_cmd_max_speed(spi, num); ret = mipi_dbi_spi_transfer(spi, speed_hz, bpw, par, num); spi_bus_unlock(spi->controller); return ret; } When panel_mipi_dbi_spi_probe() requests dc with GPIOD_OUT_LOW, shared_desc->def_val is 0. Once panel A sends a command with parameters and sets dbi->dc to 1, gpio_shared_proxy_set_unlocked() sets panel A's proxy->voted_change = true and increments shared_desc->votecnt to 1. Because mipi_dbi_typec3_command() returns with dbi->dc still at 1, panel A retains its vote after releasing spi_bus_lock(). When panel B on the same SPI bus then calls gpiod_set_value_cansleep(dbi->dc, 0) in mipi_dbi_typec3_command() or mipi_dbi_typec3_command_read() to send a command byte, gpio_shared_proxy_set_unlocked() checks whether any other proxy still holds a vote for 1: drivers/gpio/gpio-shared-proxy.c:gpio_shared_proxy_set_unlocked() { ... /* Desired value is the default. */ if (!proxy->voted_change) { if (!shared_desc->votecnt) ret = gpiod_set_value_cansleep(desc, shared_desc->def_val); goto out; } /* We previously voted for change. */ if (shared_desc->votecnt == 1) { /* This is the last remaining vote for change, set value to default. */ ret = gpiod_set_value_cansleep(desc, shared_desc->def_val); if (ret) goto out; } ... } Because panel A's vote keeps shared_desc->votecnt >= 1, gpio-shared-proxy will not drive the physical D/C GPIO back to 0 when panel B requests 0, leaving the physical D/C line stuck high in data mode during panel B's command transfers (and vice versa once panel B also sets dc to 1). Also, the two in-tree DT users mentioned in the commit message only define a single panel each and do not share dc-gpios, whereas DRM_PANEL_MIPI_DBI itself does not select HAVE_SHARED_GPIOS and can be used on any platform or via DT overlays where shared dc-gpios configurations (added in commits 3a63ef6e4b9e and 8cc8ccbaa5d8) would now either fail probe with -EBUSY or fail to toggle the physical D/C line.
On Tue, Nov 03, 2026 at 01:42:47PM +0000, sashiko-bot@kernel.org wrote: > Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: > - [High] drm/panel-mipi-dbi: broken shared dc GPIO in panel_mipi_dbi_spi_probe() > -- > > commit 90b279985dbeced362ebac928f364d9afff9972e > Author: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> > > drm/panel-mipi-dbi: drop GPIOD_FLAGS_BIT_NONEXCLUSIVE > > This commit removes the deprecated GPIOD_FLAGS_BIT_NONEXCLUSIVE flag when > requesting the dc GPIO in panel_mipi_dbi_spi_probe(), relying on the GPIOLIB > shared GPIO proxy instead. > > > diff --git a/drivers/gpu/drm/tiny/panel-mipi-dbi.c b/drivers/gpu/drm/tiny/panel-mipi-dbi.c > > index 60cd65cae41d8..6f09b723cd7c3 100644 > > --- a/drivers/gpu/drm/tiny/panel-mipi-dbi.c > > +++ b/drivers/gpu/drm/tiny/panel-mipi-dbi.c > > @@ -418,8 +418,7 @@ static int panel_mipi_dbi_spi_probe(struct spi_device *spi) > > if (IS_ERR(dbi->reset)) > > return dev_err_probe(dev, PTR_ERR(dbi->reset), "Failed to get GPIO 'reset'\n"); > > > > - /* Multiple panels can share the "dc" GPIO, but only if they are on the same SPI bus! */ > > - dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW | GPIOD_FLAGS_BIT_NONEXCLUSIVE); > > + dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW); > > [Severity: High] > Can gpio-shared-proxy work for a shared MIPI DBI D/C line across multiple > panels on the same SPI bus? > > Unlike a shared reset or enable pin, the D/C GPIO in MIPI DBI Type C Option 3 > is a bus control signal (0 for commands, 1 for parameters and pixel data) > multiplexed under spi_bus_lock(). In drivers/gpu/drm/drm_mipi_dbi.c, > mipi_dbi_typec3_command() leaves dbi->dc asserted at 1 after transferring > command parameters or pixel data: > > drivers/gpu/drm/drm_mipi_dbi.c:mipi_dbi_typec3_command() { > ... > spi_bus_lock(spi->controller); > gpiod_set_value_cansleep(dbi->dc, 0); > speed_hz = mipi_dbi_spi_cmd_max_speed(spi, 1); > ret = mipi_dbi_spi_transfer(spi, speed_hz, 8, &cmd, 1); > spi_bus_unlock(spi->controller); > if (ret || !num) > return ret; > > ... > spi_bus_lock(spi->controller); > gpiod_set_value_cansleep(dbi->dc, 1); > speed_hz = mipi_dbi_spi_cmd_max_speed(spi, num); > ret = mipi_dbi_spi_transfer(spi, speed_hz, bpw, par, num); > spi_bus_unlock(spi->controller); > > return ret; > } > > When panel_mipi_dbi_spi_probe() requests dc with GPIOD_OUT_LOW, > shared_desc->def_val is 0. Once panel A sends a command with parameters and > sets dbi->dc to 1, gpio_shared_proxy_set_unlocked() sets panel A's > proxy->voted_change = true and increments shared_desc->votecnt to 1. Because > mipi_dbi_typec3_command() returns with dbi->dc still at 1, panel A retains its > vote after releasing spi_bus_lock(). > > When panel B on the same SPI bus then calls gpiod_set_value_cansleep(dbi->dc, 0) > in mipi_dbi_typec3_command() or mipi_dbi_typec3_command_read() to send a > command byte, gpio_shared_proxy_set_unlocked() checks whether any other proxy > still holds a vote for 1: > > drivers/gpio/gpio-shared-proxy.c:gpio_shared_proxy_set_unlocked() { > ... > /* Desired value is the default. */ > if (!proxy->voted_change) { > if (!shared_desc->votecnt) > ret = gpiod_set_value_cansleep(desc, shared_desc->def_val); > goto out; > } > > /* We previously voted for change. */ > if (shared_desc->votecnt == 1) { > /* This is the last remaining vote for change, set value to default. */ > ret = gpiod_set_value_cansleep(desc, shared_desc->def_val); > if (ret) > goto out; > } > ... > } > > Because panel A's vote keeps shared_desc->votecnt >= 1, gpio-shared-proxy will > not drive the physical D/C GPIO back to 0 when panel B requests 0, leaving the > physical D/C line stuck high in data mode during panel B's command transfers > (and vice versa once panel B also sets dc to 1). > Ugh, this really only works by chance right now and is racy but sashiko is right that gpio-shared-proxy would break it entirely. It would probably need a dedicated power sequencer. Bart
diff --git a/drivers/gpu/drm/tiny/panel-mipi-dbi.c b/drivers/gpu/drm/tiny/panel-mipi-dbi.c index 60cd65cae41d8d4f4f6e5fbc57d5d34058ca4d38..6f09b723cd7c352b0a1ea9f11a2e58052978cf0d 100644 --- a/drivers/gpu/drm/tiny/panel-mipi-dbi.c +++ b/drivers/gpu/drm/tiny/panel-mipi-dbi.c @@ -418,8 +418,7 @@ static int panel_mipi_dbi_spi_probe(struct spi_device *spi) if (IS_ERR(dbi->reset)) return dev_err_probe(dev, PTR_ERR(dbi->reset), "Failed to get GPIO 'reset'\n"); - /* Multiple panels can share the "dc" GPIO, but only if they are on the same SPI bus! */ - dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW | GPIOD_FLAGS_BIT_NONEXCLUSIVE); + dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW); if (IS_ERR(dc)) return dev_err_probe(dev, PTR_ERR(dc), "Failed to get GPIO 'dc'\n");