| Message ID | 20261103-panel-mipi-non-exclusive-gpios-v1-2-aa862c1d71e3@oss.qualcomm.com (mailing list archive) |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-sunxi+bounces-27118-sunxi=pue.re@lists.linux.dev>
X-Original-To: noreply@patchwork.local
Delivered-To: noreply@patchwork.local
Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mxe881.netcup.net (Postfix) with ESMTPS id 9792B1C71DF
for <noreply@patchwork.local>; Tue, 3 Nov 2026 14:44:50 +0100 (CET)
Authentication-Results: mxe881;
dkim=pass header.d=qualcomm.com;
dkim=pass header.d=oss.qualcomm.com;
spf=pass (sender IP is 172.105.105.114)
smtp.mailfrom=linux-sunxi+bounces-27118-noreply=patchwork.local@lists.linux.dev
smtp.helo=tor.lore.kernel.org
Received-SPF: pass (mxe881: domain of lists.linux.dev designates
172.105.105.114 as permitted sender) client-ip=172.105.105.114;
envelope-from=linux-sunxi+bounces-27118-noreply=patchwork.local@lists.linux.dev;
helo=tor.lore.kernel.org;
Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org
[100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id 02B192DFF4
for <noreply@patchwork.local>; Tue, 3 Nov 2026 13:36:30 +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=1793712863;
b=tl0/NvDEK9GL3xz82LESNjTpiROfhoZnpBXaL2cvOUS35xuV4N1OfsH50ArSKegvzFwO
NokRhsy1cJ9gKDXjpvAr2qL0Xut0/1JWCBs+ZMWhHLTOeWx0xpDalVqMOJqCSYgjH+72h
n0C0m6C5eWVgOoDNc5tMVU/yNZHHjP8cuJV3zFTDj0/6Dn5jUykY3rXP0o65UASfETE9C
zc9k6O0BZ94mMQqedloLYWdVHaYteZxJDNiqsmidWDKhC2d2awUdtFf0AT78vCpzf9tO8
ZbpTE4h4svolVr4QyNp5+zDDANNFIPkyfIZsZupXyQ7/Au5JdhoG3wA87Ez0QRTohfQ==
ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793712863;
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-ORIG-GUID:
X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID:
X-Proofpoint-Spam-Info:X-Authority-Analysis:
X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details;
bh=UlFfpd98ehBTyq3Xph9Fua8gi7fHWtJLIZGicsuw5ZM=;
b=OgPMY3Jsh2fW+oBDQ7ZM9Ei48MwezExUjL6kfvyrHAPWTz8h/UptlbbqQOhb+y6/IDST
+pju9EYvsyTiqL4dV7LCWwypr5GlbicgFQOoZqokNQ0y2DYTH71tsaE4yaHiGpOniCfOh
ptZDRy9BJc9y7kWpQ5rdmnp2GP6qZenqw5BfMdgtESUAsziRl5TI+Y8luUI9RtYXkJ3RG
YV+2uP2IffklqvADlFtKcaCjee81q2mZE1+J06IcvI+eE+E5e5T5d/TWW4gUbuieTThOW
xZEOxuD9lqKi12wqFMhwx8/uW7G0uj0wNiGaHOoIkFscLbSS2MG1NFB6f7SCbZ6/RbQ==
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=QmbkTUT9;
dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.a=rsa-sha256 header.s=google header.b="H7ygn/t8";
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 190986082BC9;
Tue, 3 Nov 2026 13:34:23 +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=QmbkTUT9;
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=H7ygn/t8
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=1793712863;
b=MqKUeG2EIVJNCs6l+IJBCbeUHVfSMhHie+FxdUPlLG0oePt/Ve8CcvFTCAO3ncEnLmlG
nowt6DX+f92kVwXcmsP5k977d/OkGC9+QY+lJ3nJ3xY+oCFHcwNRsIrc0n6DcSIdULXZ0
kv5PhJdETQ8FLjONB2wuo1SwvBn9Kg1UL24uCHPWuUeYqiV+Pc5HE7SIQv2umeHTvSZXH
vN5ceR3vxcAt0lCH7AmG/hNonlHnAR7GrSKMrFZQnP1AQfs9F+Z4whol5UmimdUgSGNRS
K/c4/Blk8hdmGlfeJWHuNrQQnXRh73h0Aq5ip6WrHn1C72neajYzQimNf57uVhIuYjw==
ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793712863;
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-ORIG-GUID:
X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID:
X-Proofpoint-Spam-Info:X-Authority-Analysis:
X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details;
bh=UlFfpd98ehBTyq3Xph9Fua8gi7fHWtJLIZGicsuw5ZM=;
b=X539Pbg24YqQwwUERDClBHnuNBYAy1lgF0rG/qx7rUvczIc0L6/6WYv6RGWyB3K1uuUT
KOUyGeH2RNqAeQK8agtIoNi5xNI6iGfcjyB35AUvAJw95oTHlx0GlSw55Vaz6jg12Nahg
ZH7k4PgVKKBYDdUGLMw+GhhQQUH1GuJsmBLhyVq0aMvjSHHrHchkri82wH6QFr2k2a7lB
C/0zFzo/dr7ilPvRqgQXO190O0RQEmNdyJWnwCqsT5Qwvc6faweXVl1JhUKn7w8RVAuBf
dsRebI0f7ifPZd1jN92aHDVr2OvxIrpBLGDKcvMFSf0cbpvjUIpbhz2QNyHFRBr2IeA==
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=QmbkTUT9;
dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.a=rsa-sha256 header.s=google header.b="H7ygn/t8";
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 E1CC8606D823
for <linux-sunxi@lists.linux.dev>; Tue, 3 Nov 2026 13:34:21 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E1CC8606D823
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 (m0279863.ppops.net [127.0.0.1])
by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id
6A3ClKdm2865937
for <linux-sunxi@lists.linux.dev>; Tue, 3 Nov 2026 13:34:18 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=
UlFfpd98ehBTyq3Xph9Fua8gi7fHWtJLIZGicsuw5ZM=; b=QmbkTUT9EgzLQBTd
DwbS5LW8ukNsULr+oDxFwYnWgiBPXw3dEogpNru3TPt4l2RQMK/YbXTyxbgQvxtp
25KeFLv4HAUw9jIoRRfOfgpUSJ+nSYeH8WZ3pVHJCKKmyG+gUkaxtcGaYwQtNu7z
thD4iYNqoWWEbPZgu7X9/AoSyNOFB0aaMpEplshRjGOQFmgpBM5s88x0hhZAKiIP
o8eRJeGjCCTksdklSC+cKahTNWalNlHkpw2s+C3R5MVlPOp85pgbZoLXzAaW4mXh
U+OCFkQ+6qG6tvpY4rvZLH8gUlWChW8CuTVLkd5qqkWknKpEPpL0j/EYHbmGBM21
K1RXeQ==
Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com
[209.85.222.71])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hq4v5jve2-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:18 +0000 (GMT)
Received: by mail-ua1-f71.google.com with SMTP id
a1e0cc1a2514c-98c6374b678so3795834241.3
for <linux-sunxi@lists.linux.dev>;
Tue, 03 Nov 2026 05:34:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1793712857; x=1794317657;
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=UlFfpd98ehBTyq3Xph9Fua8gi7fHWtJLIZGicsuw5ZM=;
b=H7ygn/t8MKZ6Yiwm5pwqRKTODtt9eV9n48ZwFoq1ABXc1xk+BX9jus4FV7boD5lWUP
uYY8o6l2zMbSmfusMlwaKh8JylGBLayK5Uc+SDldTu0+FP8SPUxVRd7FtClewA0SD7Qa
LwGjBhwDyA1SturZ7stjQW4gdM2Idq1ck2LSiCRSBnNsRrBP4/9QN/ZH++LdCidZ4A7y
4KmsRUXBdG0gtzrULGYWIUNW6maovDMXCHBDXJnSh6hXpvQ+3h9Hi+2L9T+rbVzWBY5W
/TYKhf8FhOHsDEpjiuYieb+3zeEjLMpukLX0ibsYZK4hwt4ay5hMxxXCZ7tzh7TSTyJU
YPOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793712857; x=1794317657;
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=UlFfpd98ehBTyq3Xph9Fua8gi7fHWtJLIZGicsuw5ZM=;
b=I3oND2tuZxb8o13YEzHeGabMmgd/t6Hr9bP+mA4IjgAPzr3I72dVXqw3XJMtVovfqt
J5oCO5WA7BVG/G2fEipNR8jl11Jdxnj3MdRo0/lxFIxOXSVi0WhCpFig6nVEyHYbtRB0
dhGZYuhHthiLGVZKU2E6sK91x7/GOiAVuEKwecUhq5ic8WQYSC+cwcN7vhlCovn/A7MO
YUF94g8IbID3ayc7SFzVGBQ25H4YnrqFxhhp7dx1hRL0PMIbC9EPYETviYRET7DSsoYT
2bmT8A+l06Fyxr37/YNEP2eQkYrjLpQt7kqjx0oO1YodHlcjxkPujHjNLQQhAU2RVK6R
wISg==
X-Forwarded-Encrypted: i=1;
AKwUvBwwV2nk/6VZDyawWrExtPMSOnCAwT6uLWSKRuysb22syhRtDjAowrFvZMdOKjm3oW2vd2XXOon8Ggs+VA==@lists.linux.dev
X-Gm-Message-State: APuU4Z+3t3rFRXTg32o9yElGaYbTIc7CMXFkrWVTit76tiaxAWvavWD4
Febm/ZvqN8/UD8/uTE1CKcwrPgoT30SuUssQFRRWaxC5McZZYBhhTqshBakKC4NuOG75/r4nXyA
VX/mMcGOmgZrSIdWGxHlv9MSL2RX8LICD/RVuvGLi0n5BPW1ah2Q7ARr3yHKZwLJunQ==
X-Gm-Gg: AYBFou3c2cXQc84bNTdzuIs3h+/6wH1WuGyLhVeo0F8OWXvSESokK6tCv3ST1dco4VA
LPMk1C8YlaY1QUeiOi5nGomLELrZ7x85OTmhYwbDSYN54L+t1Q1Tb6lfh/xooa1V1y67rdnnjAT
rI6QJudTwyvowhCYEVWzWrtWRtciQJSgyIdzYQN3nIiYS5/yUWdTvdfZb3+UF+rjVmNEEDUeHuP
bsszfgox6yyk+0pm5gqAcuyNp5hN3RkOXY16P2pzl2D/BVWWC+WiJh1Lje1fu4QXjncrPTD3AEQ
KQfop/EUn8hmV/1DSDYkQTlp0nwPcsb+mH4Rxsg8qLTxJ9txlBNnr06dIa87ufKqwYfvT/pcZqp
1OiRwwdouWRDnVE+dFPlcj4vyPtI9ms8pC3VFuHJM16V0f/t61MDso9acHJwpqMlFRYKybAAsdm
t2Sg==
X-Received: by 2002:a05:6102:370e:b0:7c3:2168:d603 with SMTP id
ada2fe7eead31-7d071f40bc7mr5046282137.0.1793712857357;
Tue, 03 Nov 2026 05:34:17 -0800 (PST)
X-Received: by 2002:a05:6102:370e:b0:7c3:2168:d603 with SMTP id
ada2fe7eead31-7d071f40bc7mr5046256137.0.1793712856891;
Tue, 03 Nov 2026 05:34:16 -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.15
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 03 Nov 2026 05:34:16 -0800 (PST)
From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Date: Tue, 03 Nov 2026 14:33:53 +0100
Subject: [PATCH 2/3] ARM: sunxi: select HAVE_SHARED_GPIOS
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-2-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=715;
i=bartosz.golaszewski@oss.qualcomm.com; h=from:subject:message-id;
bh=/AFcbMcZblHubDxf794SVqjhIpAl11By9m4gfG7n6zY=;
b=owEBbQKS/ZANAwAKAQWdLsv/NoTDAcsmYgBq6eLSrAQvg5vxhqBArsuQUFlydgNSbeoyY/b4+
Dy4eH/ORcmJAjMEAAEKAB0WIQSR5RMt5bVGHXuiZfwFnS7L/zaEwwUCauni0gAKCRAFnS7L/zaE
wwCqD/904Uu5wvPIs2SDwjL5QN91sAwhgbcm1t+Qgn/BiD2d4ab61Ev+vE81zGYobw9S9j/z8Or
Vy/17jrUknJfanVDqVnL+RRNJm/WgqmaiWcjSjSFY3quypJPXqbFyriwzSEmhskOF4u+2lY+Ro1
Nx2IqrKHi0xwY8ljDETtM7qA1uDQ4mIpNSvol4gysTa9PdFmLjEy3dVjNOYhWWIFfvQ3NPV37tr
LxD+wjUN4QZRs4uYJLbaGbg46Dy8/mH5a9ZAUNoY/RPsvLC3zSCV0My0pxNRYi/xwYz+yvneaNA
ozana2AyAeMNKlUAU0HDlpo3KYaLiuB6WHlM4x8b+k7eW18qu6kshYVv1nRhq+uU0mRPzuFKJaE
10rqsKleMVnr+Z02+Ab/eEiGud09h+JpV8mMTTbExeL+TPMOhoULvd9d32r6boIjouqA7LD8DQ9
oZsa9h4ytzL/jDdISTbVqxB8xPiPug/S7MDj2lJp6Y080Ze55l8q72oAooI2vS2XiFq90z8OL/6
TUrcCKy5ypAjg8UMr9ipDDdMB9J5qU85VqhQadmJ3PRDPXtGCOqqm4C+L4xgUXzjy3MwiVflOIS
Y2gXpDTZzMsb1qBfeHIGzzMDXn5ewPKLVavffLJok/ZIsKxZ8Ao43gXvd5YjX7cyCUs67vt8NQp
fttVjqjLLdb+t6g==
X-Developer-Key: i=bartosz.golaszewski@oss.qualcomm.com; a=openpgp;
fpr=169DEB6C0BC3C46013D2C79F11A72EA01471D772
X-Proofpoint-ORIG-GUID: LXsfUg-9DD6b4JodfaEvnyijb6HzVLGz
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTAzMDA1MyBTYWx0ZWRfXz3P2Iz0NOf6v
xNzvoY07HvB7s25wyw8qmaGVNrYXkGhRofL3ZRowbeILUdhVHtvNVJFPuy9Zv/eRbfsfjvQszV/
u/eBHuaTmHrXGXHjDfUPqD53Y3vPW6zcnn7OcI0PM4oEKotKonIbgpUhGoIChPdB/CanIVs9Jfp
UhjoK06aKc/OHHXGyqQl7QIBsarmOEJ2v/Z6l9NDhqH9ORDSYHjqGV1AG+U8M2FLLmpanacC1Bl
7IYI5sdp0lvRIpUVVXj7NFH97mloywfT6iOyxl8TWEDhaZ/c7Vuu6uaYOkGSMRl8SvpKGUaHBgC
y+iULGDUX8jUjqn+odfRir2F0xkImFp4Ge4lGPk5bKlERKd4DmjWZfNWL6aLtloOURoQ3sHn5bK
qF66UjIzWjN6roo40u1xzfHfND7Wj8Zb5xlkDjAgsmtKZp5MdhaDSFer7zRP26HMX3Qy3YSUcFZ
Y/wUpG02eL0dAnyEbrA==
X-Proofpoint-GUID: LXsfUg-9DD6b4JodfaEvnyijb6HzVLGz
X-Proofpoint-Spam-Info: AW1haW4tMjYxMTAzMDA1MyBTYWx0ZWRfXwT1AGo8RARuV
2iDWoK1RVqRss3hq32+HaJXkVIWsraTn0KWCPYnlf0+8E6+AEa6kGqGExmw4IDjCusHvsFE1NWD
JQ09GWnsMZYiRwR3wimQINiMgv8RtgY=
X-Authority-Analysis: v=2.4 cv=NeZzRGD4 c=1 sm=1 tr=0 ts=6ae9e2da cx=c_pps
a=KB4UBwrhAZV1kjiGHFQexw==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10
a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22
a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8
a=eCt6F14imeMwFY3J13AA:9 a=QEXdDO2ut3YA:10 a=o1xkdb1NAhiiM49bd1HK:22
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
bulkscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 priorityscore=1501
adultscore=0 suspectscore=0 clxscore=1015 spamscore=0 impostorscore=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.105.105.114: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)[];
R_DKIM_ALLOW(0.00)[qualcomm.com:s=qcppdkim1];
MID_RHS_MATCH_FROM(0.00)[];
TAGGED_RCPT(0.00)[];
DBL_BLOCKED_OPENRESOLVER(0.00)[tor.lore.kernel.org:helo,tor.lore.kernel.org:rdns,qualcomm.com:dkim,qualcomm.com:email];
FROM_NEQ_ENVFROM(0.00)[bartosz.golaszewski@oss.qualcomm.com,linux-sunxi@lists.linux.dev];
RCVD_COUNT_SEVEN(0.00)[8];
RCPT_COUNT_TWELVE(0.00)[20];
RCVD_VIA_SMTP_AUTH(0.00)[];
ARC_ALLOW(0.00)[subspace.kernel.org:s=arc20261015:i=2];
ASN(0.00)[asn:63949, ipnet:172.105.96.0/20, country:SG];
TO_DN_SOME(0.00)[];
R_SPF_ALLOW(0.00)[+ip4:172.105.105.114];
RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a01:cb1d:dc:7e00:8916:7b9b:97a2:6c96:received,205.220.168.131:received,209.85.222.71:received,100.77.114.92:received];
FORGED_SENDER_MAILLIST(0.00)[];
TAGGED_FROM(0.00)[bounces-27118-noreply=patchwork.local];
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.105.105.114:from]
X-Rspamd-Queue-Id: 9792B1C71DF
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
Enable automated management of shared GPIOs provided by the GPIO shared
proxy module for sunxi platforms.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
arch/arm/mach-sunxi/Kconfig | 1 +
1 file changed, 1 insertion(+)
Comments
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] ARM: sunxi: HAVE_SHARED_GPIOS ignores 3-cell sunxi SoC GPIO bindings -- commit 08b8c5df755142dacaed1d91af688663b9db7e82 Author: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> ARM: sunxi: select HAVE_SHARED_GPIOS This commit selects HAVE_SHARED_GPIOS for ARCH_SUNXI to enable automated management of shared GPIOs via the GPIO shared proxy module on sunxi platforms. > diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig > index e015f2497111a..b62e8518e2704 100644 > --- a/arch/arm/mach-sunxi/Kconfig > +++ b/arch/arm/mach-sunxi/Kconfig > @@ -5,6 +5,7 @@ menuconfig ARCH_SUNXI > select ARCH_HAS_RESET_CONTROLLER > select CLKSRC_MMIO > select GPIOLIB > + select HAVE_SHARED_GPIOS [Severity: Medium] Does selecting HAVE_SHARED_GPIOS here actually work for Allwinner sunxi SoC GPIO controllers? Allwinner sunxi pinctrl/GPIO controllers (&pio and &r_pio) use 3-cell GPIO specifiers (#gpio-cells = <3>: bank, pin, flags), as translated in drivers/pinctrl/sunxi/pinctrl-sunxi.c:sunxi_pinctrl_gpio_of_xlate(): static int sunxi_pinctrl_gpio_of_xlate(struct gpio_chip *gc, const struct of_phandle_args *gpiospec, u32 *flags) { int pin, base; base = PINS_PER_BANK * gpiospec->args[0]; pin = base + gpiospec->args[1]; For example, in arch/arm/boot/dts/allwinner/sunxi-libretech-all-h3-cc.dtsi, reg_vcc1v2 and reg_vdd_cpux share a GPIO using a 3-cell specifier: gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */ However, during boot, gpio_shared_of_scan() -> gpio_shared_of_traverse() in drivers/gpio/gpiolib-shared.c skips any GPIO specifier that does not have exactly 2 cells: if (args.args_count != 2) continue; Additionally, struct gpio_shared_entry only records a single cell in entry->offset, and gpiochip_setup_shared() in drivers/gpio/gpiolib-shared.c hardcodes a 2-cell specifier with only args[0] populated when invoking gc->of_xlate(): gpiospec.np = to_of_node(entry->fwnode); gpiospec.args_count = 2; gpiospec.args[0] = entry->offset; ret = gc->of_xlate(gc, &gpiospec, NULL); Wouldn't this cause gpiolib-shared to ignore all shared sunxi SoC GPIOs in device tree, so any consumer relying on HAVE_SHARED_GPIOS rather than GPIOD_FLAGS_BIT_NONEXCLUSIVE fails with -EBUSY?
On Tue, Nov 03, 2026 at 01:43:13PM +0000, sashiko-bot@kernel.org wrote: > Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: > - [Medium] ARM: sunxi: HAVE_SHARED_GPIOS ignores 3-cell sunxi SoC GPIO bindings > -- > > commit 08b8c5df755142dacaed1d91af688663b9db7e82 > Author: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> > > ARM: sunxi: select HAVE_SHARED_GPIOS > > This commit selects HAVE_SHARED_GPIOS for ARCH_SUNXI to enable automated > management of shared GPIOs via the GPIO shared proxy module on sunxi > platforms. > > > diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig > > index e015f2497111a..b62e8518e2704 100644 > > --- a/arch/arm/mach-sunxi/Kconfig > > +++ b/arch/arm/mach-sunxi/Kconfig > > @@ -5,6 +5,7 @@ menuconfig ARCH_SUNXI > > select ARCH_HAS_RESET_CONTROLLER > > select CLKSRC_MMIO > > select GPIOLIB > > + select HAVE_SHARED_GPIOS > > [Severity: Medium] > Does selecting HAVE_SHARED_GPIOS here actually work for Allwinner sunxi SoC > GPIO controllers? > > Allwinner sunxi pinctrl/GPIO controllers (&pio and &r_pio) use 3-cell GPIO > specifiers (#gpio-cells = <3>: bank, pin, flags), as translated in > drivers/pinctrl/sunxi/pinctrl-sunxi.c:sunxi_pinctrl_gpio_of_xlate(): > Right, shared GPIOs need support for 3-cell bindings first. Let's drop this for now. Bart
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index e015f2497111a42133ddd4e7ddd172eda06d90ba..b62e8518e270459444e7d4ee382ef753c368dd51 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -5,6 +5,7 @@ menuconfig ARCH_SUNXI select ARCH_HAS_RESET_CONTROLLER select CLKSRC_MMIO select GPIOLIB + select HAVE_SHARED_GPIOS select PINCTRL select PM_OPP select SUN4I_TIMER