From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.65.14 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796397058; b=y3lZrn4ymQYvLmiOViGEi5BjdUHsif7pJvsG10/a6HVyDgppZ19yYB4czdUPHc6SJDOp IKTnBZ8wZQYtaLvfxM2sypW6QMeeMhZJCiTD4m/Ao0o43o+A/c8cchNop2ZL67A7fGNtm 2lOttWbxxF6XuD+ZPpY/LTiykFL1n+0T3IggdHCbRZHkSgEbV792SRLc7CyBugfr7JZ2Z 0LbOn85km/PUc7oPUD1u16hrcdwclJXfCfUNMrbgETbdTyt7Wm1AlrQPuGgmTQEU0YwGD bxk/xN8Mi3rSh2YZKtKKcJgDsCu+5V7UXgA0kID2Od88JpMgJZF/MSxaOMmEuce69Vg== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796397058; h=DMARC-Filter:DKIM-Signature:Received:Received: X-MS-Exchange-Authentication-Results:Received-SPF:Received:Received: Received:Message-ID:Subject:From:To:CC:Date:In-Reply-To:References: Content-Type:Content-Transfer-Encoding:User-Agent:MIME-Version: X-Originating-IP:X-ClientProxiedBy:X-EOPAttributedMessage: X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=GTERB4ZQQ8G6FU23oW976SCIWUpoevtrJw7BMMjIkKk=; b=AG0BxtKzI5sQaAxe+af3oFjGV31yq63CJhdMLnJt7w9nZCErNkPf6oQWyP7y4CruNvJM 6T6AY2ND/P52gWzJAWJpGhkjY1nu5IzZXl/KZ4VdnDTbSbe+dMeGWbGJXys1YFyOKENY/ FGgGoTjhN8CdKQdIKkPSz1Y7GUtJWqC+7cdwgJafTxhF2VZPVfoBEMb8zcIduhxBAEPST 5w7Xo04XFRJuVwGyiEVCsqhqTmIm8XsjDVYrkTB6JEL5aGnmBTsOvIWV+/X8IZv0z0LCp pjRUQBvakRnLe/tBiu0enwgGaU1Hij0Jpziu58c9iIFJnPj7qJmKiU24dBskXQ7z7lA== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector2 header.b=EV3kx8bM; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.65.14 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11011014.outbound.protection.outlook.com [52.101.65.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8047606A322; Fri, 4 Dec 2026 15:10:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C8047606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector2 header.b=EV3kx8bM ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=M43VuheZi6oQwj7IyXcr8FR9PYXZTYCrLXoE5F2CxqGewFQ6kIkKXLQh/VSI2hwP49zj3nkKI0dKC2Cf1DMnbJ87rtGVoduqRsAO/L7eElxcIut49EGNV/foQFRw0O6AG6tvGMkOiIVjZeephiHNQ3WtZAYQOHQuIST/3UV7Yi1ywbu32kJEBGkPokQbaqgTRcjYdcApAhkZd3exXkLtMVZWCeWD5gnFNuFoXKjOogdbVzUtNZfHTpEFmE8+MSALd1zpMhyE7U3R0RvU7TTgliRlHOyg+bku7rzxKbT2xbMpAMTT83p2/u3ZqldS1toBTsNdGY3FL0IbFfNj+2U4Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GTERB4ZQQ8G6FU23oW976SCIWUpoevtrJw7BMMjIkKk=; b=AW2Ogw9Yr3s7IAKoG+6KkWd7y+GLBuzKCiL0W6AhLcOcyUl4SBEv8OMiI3SjnsrLrphLpvpzn2bkMUzrhINcEM91J9M2OcBmSVU1M4s7SX8n5gWLdIYS/9MTdChtXzMU8WataNpTAW0mRT867OuOcFAZOoYVq33naaxMUPjTaXvQRpGyE8/doaJ8xIpCpE+ybJqINdi6sK2qAx8JwXdxqFOaFo/HCDjNgxMmM48JQcX0C+YfTCHZtgfrVUwPlRpeuWZxXkHqFEVaujSDMYjplf/cPP4mWmFjBbW9ms3HSGYR7lk3Y4uK5IHDLY3z0J4jpWnUkfMxXp8USaDStVhaWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 164.130.1.59) smtp.rcpttodomain=oss.qualcomm.com smtp.mailfrom=foss.st.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=foss.st.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GTERB4ZQQ8G6FU23oW976SCIWUpoevtrJw7BMMjIkKk=; b=EV3kx8bMZ75/OwHzy0Uitsq2kH/2wXwn8P6f3ztcLMGDLzx7An4MD2RSJZgL96kY4+gr4Z4vk0ppFNPZtg27lwrAZdVRoy3SaAEm82Gm16hpj0HyLDt9gyzV7j01sYg1HNh1LrxxJ5APD+0QdozyeBPV3uSJ+b+cs5vZ+HefXiwbQHKHIEYtQaXifLUnD3dw7Ikdfz4y53XTO87+YTNUL09hbjWsJ2ri3/3sxetpUdJ4vrzb7EA6KlZSA5atSUOXIf3DBMMma+PcrPyJ3rsIW724CIcqhI2Gn+G7hhmU3bJBtNrQrj6N6ZftrNeuusyEGW3lfxBC1nH6HY3qwef2Dw== Received: from DB9PR06CA0013.eurprd06.prod.outlook.com (2603:10a6:10:1db::18) by PAVPR10MB7444.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:2f4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.709.6; Fri, 4 Dec 2026 15:10:49 +0000 Received: from MA3PEPF00000403.eurprd04.prod.outlook.com (2603:10a6:10:1db:cafe::68) by DB9PR06CA0013.outlook.office365.com (2603:10a6:10:1db::18) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.688.13 via Frontend Transport; Fri, 4 Dec 2026 15:10:49 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=fail (sender IP is 164.130.1.59) smtp.mailfrom=foss.st.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=foss.st.com; Received-SPF: Fail (protection.outlook.com: domain of foss.st.com does not designate 164.130.1.59 as permitted sender) receiver=protection.outlook.com; client-ip=164.130.1.59; helo=smtpO365.st.com; Received: from smtpO365.st.com (164.130.1.59) by MA3PEPF00000403.mail.protection.outlook.com (10.167.241.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.3 via Frontend Transport; Fri, 4 Dec 2026 15:10:48 +0000 Received: from STKDAG1NODE2.st.com (10.75.128.133) by smtpo365.st.com (10.250.44.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Fri, 4 Dec 2026 16:11:56 +0100 Received: from [192.168.8.15] (10.252.31.122) by STKDAG1NODE2.st.com (10.75.128.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Fri, 4 Dec 2026 16:10:46 +0100 Message-ID: Subject: Re: [PATCH 3/3] drm/panel-mipi-dbi: drop GPIOD_FLAGS_BIT_NONEXCLUSIVE From: Antonio Borneo To: Bartosz Golaszewski , Russell King , Maxime Coquelin , Alexandre Torgue , Chen-Yu Tsai , Jernej Skrabec , "Samuel Holland" , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Linus Walleij , "Bartosz Golaszewski" CC: , , , , , Date: Fri, 4 Dec 2026 16:10:45 +0100 In-Reply-To: <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> <20261103-panel-mipi-non-exclusive-gpios-v1-3-aa862c1d71e3@oss.qualcomm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-ClientProxiedBy: STKCAS1NODE1.st.com (10.75.128.134) To STKDAG1NODE2.st.com (10.75.128.133) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MA3PEPF00000403:EE_|PAVPR10MB7444:EE_ X-MS-Office365-Filtering-Correlation-Id: 4dd5d039-84e4-41dc-a07f-08df5218c77c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|23010399003|36860700016|7416014|376014|1800799024|4143699003|18002099003|22082099003|921020|11063799006|10067099003|56012099006|261028144727099003|261026140227099003|261021121427099003|261021123027099003|261102123227099003|261009223027099003|261022105027099003; X-Microsoft-Antispam-Message-Info: 9mfAURxm0jHQP/rgYSG5iYPgykpncoZPqIyEj5tYv3cTtn6R6CLxp6A+/xVN1oKpSL8dHKp+INsWgQDapopbve2YvQFpP4GYpLXkG6K3yAW1HBnIzvY9sEQYoYYPbUKXn/d2w5W26xVKGe4MtEFdoMIzMhhWACJCS4tcN293i3X0k7buwoz4JcVcEVcC8vFA5tOaeNBKR8s3j1Rlq7B4dXJfbXgCqauCoKUeP1qNS6aYVOATn+f27A6TkryDdJV1AntZig6TNaV976d//JPk4P62m+NncG3lvJBx1Ww3uip6UXDAXOqS+EC2GRqLB9YhM+ihnRjGdgmAmQOwT87QhryZn8qLRtm87yCnOJJ5bfzblepSkAOIWvXkq+bQp10mRqy74+qv8tfeg82Gfnr3HF4Rl/HYLg95axnVTUo+K08Ur4WIjhQoLHfZnP01Zfq47zwpOuStMxFVl9wMYrVaC13S9OsRBfcijsS8aGFnu2NG22oGuaY5ilaNMSqC4TTJyaikqc9J8tCW/qLrsDtScHDkYq6thwsu/mONpsPsFe0UgxO0wy7Svfgj92M1NkXAGlytQhp2r6BhMqRzIOHNbn5BQK4TpxVmr8/4J0VEey6d6c5W+9uRE3nJJzgkL4/C1sAlfymhbZM247tF9Pc307IvO4taWdr/alwpFUun1tsmvPlfx/jAhfcgE9L+xItmOhWVKoGWPRsWrE6MPIJYwlt7VAiyO8d6+x4uEwKaUASXrBe2GzhnVEpx5oFUiey5 X-Forefront-Antispam-Report: CIP:164.130.1.59;CTRY:IT;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:smtpO365.st.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(23010399003)(36860700016)(7416014)(376014)(1800799024)(4143699003)(18002099003)(22082099003)(921020)(11063799006)(10067099003)(56012099006)(261028144727099003)(261026140227099003)(261021121427099003)(261021123027099003)(261102123227099003)(261009223027099003)(261022105027099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: s6ajCx1AxFM3Sdui43/3C3s0Sk33zjySDAb7z2+xKvo32VYeAwOpwV3JT4TOIzerrBEf0VrW61bFhTc+DPLYPH+4Cc3YYRGnZsn2D6FSqzNWmXI2c32r2KdLoxaR2QkvbtWD24746T4YpTFNWD+/U70M0DE3YTQdICcrzoxCZdKi/IqD+5LVWZl4VacUHZM9jQIUy+qKTXWuONRNTH4Sx9JGcVoAjaaSidVkbjSwucnLaCy40i3Wdk/liIcos6p+AXKyUf2ZYoPI/EHq2Tq2Un5uKeCrVOBzVBa6wU9TGTiam6CTdsO7cubY+RWNkxXtyfPU0SEbTaisL0X0t7qyXdQcD4tLrzhsYFFRe92VWF24ijaPGvMQZ/8E59hMVHhyvH2jB0SQrlSVHtzopLHp3lGRcSNG88WfhpwqIZWIPcOYrUPz7317z0pQvDBSOXZL X-OriginatorOrg: foss.st.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2026 15:10:48.8290 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4dd5d039-84e4-41dc-a07f-08df5218c77c X-MS-Exchange-CrossTenant-Id: 75e027c9-20d5-47d5-b82f-77d7cd041e8f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=75e027c9-20d5-47d5-b82f-77d7cd041e8f;Ip=[164.130.1.59];Helo=[smtpO365.st.com] X-MS-Exchange-CrossTenant-AuthSource: MA3PEPF00000403.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR10MB7444 On Tue, 2026-11-03 at 14:33 +0100, Bartosz Golaszewski wrote: > 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. >=20 > Signed-off-by: Bartosz Golaszewski > --- > =C2=A0drivers/gpu/drm/tiny/panel-mipi-dbi.c | 3 +-- > =C2=A01 file changed, 1 insertion(+), 2 deletions(-) >=20 > diff --git a/drivers/gpu/drm/tiny/panel-mipi-dbi.c b/drivers/gpu/drm/tiny= /panel-mipi-dbi.c > index 60cd65cae41d8d4f4f6e5fbc57d5d34058ca4d38..6f09b723cd7c352b0a1ea9f11= a2e58052978cf0d 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) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (IS_ERR(dbi->reset)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0return dev_err_probe(dev, PTR_ERR(dbi->reset), "Fai= led to get GPIO 'reset'\n"); > =C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/* Multiple panels can share t= he "dc" GPIO, but only if they are on the same SPI bus! */ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dc =3D devm_gpiod_get_optional= (dev, "dc", GPIOD_OUT_LOW | GPIOD_FLAGS_BIT_NONEXCLUSIVE); > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dc =3D devm_gpiod_get_optional= (dev, "dc", GPIOD_OUT_LOW); > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (IS_ERR(dc)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0return dev_err_probe(dev, PTR_ERR(dc), "Failed to g= et GPIO 'dc'\n"); > =C2=A0 >=20 Reviewed-by: Antonio Borneo Thanks, Antonio