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=40.107.130.47 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796396977; b=aQxx89cReUw0JU2ThaboTBcmedR8sPCJq1EpkO4C6YN5o+/wiIGVIUKRSeTtUoFTI1Zv wYhJA4Wo7S0+jIEaUwwSIVCblAzrtCDtnmpc0fDbPhXanEhVIibUY5Esa2lgm3a0H6sDA mQbHiqo6LmlCmNNA85VLER//RB38ASrMZkg5zymp4d4VhMspERqPSsSBkKboBzsyqcD9D 2HBrswDPvJrPVbh+eH84oZ/PG0pG8G0XUDCniIZLgvfuWDZ2QjBwWN36cp9UGuqFogaMj kMzlGleRhZjc536GPIjHyY1BtNHhpDcJReuLCa+m0+UsXnSiiuQu3utAzEdT85nZt/w== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796396977; 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=IF7ziiuE9RvWm84LZtQscVCi2Jjh2978KcBnnnBnpgg=; b=vVv4CIRO/24O083i4FMS2k0YR3l+U81wQpwgW/avU2NgCnve49T1kH0NHAAJOi9q2cdj mw4UmcGRl/qY4tNWAiygEZ/zlZSD4UH4d/BapmAlDlr53lWkf5N/fsQxm1bY0LveNSiPh WEPqHPoePucPfn6lOWIKlLsUVDAbIva3IRTMLqEa3QKWs6o8jhtbFTKW0HADo7ShtFZdp xwFWIfNFRmndxc+i5BpIJ7jHnnOxwiSGSW46XKwMyEFibbRZjpWESHdKX8mlkAbNEVFRi XKbGTQHnJYK/AdVSC8sBhYIVmICpG2Rn1rooNSi6NmZjTuKzs+mlS6PHX6HhGMFdt+Q== 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=oZGM1nix; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.130.47 Received: from MRWPR03CU001.outbound.protection.outlook.com (mail-francesouthazon11011047.outbound.protection.outlook.com [40.107.130.47]) (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 988EA606A322; Fri, 4 Dec 2026 15:09:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 988EA606A322 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=oZGM1nix ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FSdRZIApza00Ucn3zQAJAQLVlB7jtRc0PUlH4/6oMyC79OHFLdV9GtLYm42wdZRqMihqhRCVcIXf/U2RmHNnqSGNuT8NjiJEtxmgFoZrSRJCuQO3SPr3xHN6bM/G9vDB+gpe5YafZVNRVIckg5adEi0iPF6/1xzX0EymyI5xO6nCY3d/MEGlPVmH5+W5VckZ+KwM444MxCGQLpk2mAM3O1A5D0gbvaKrYfDbkBo7kI/CSM6lUw/xmDJA8jQfygIQ/XTnkhwbabs6837+XuBrfqZ8Le4hPuqyWqy1WkUjifDpEqc1hF98NgqFNdon2Bx1POF4NEWGZJjPvVvIX/bA1g== 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=IF7ziiuE9RvWm84LZtQscVCi2Jjh2978KcBnnnBnpgg=; b=vjZxoRQm6AF20BcCBXbd0jd/b2EpBp681tmxaTQuaL9bqF18Uh2l553wrAoW8ewAhdp84rwVdYs6aGrh1PrKfWa7tCxUYOuXVrdc2k5MpxLq+GkihMvogYVSa2XYGzjciMjLgsvehQYyYILmYcAoMACyb0rvo+DaTKLCVGICDonuAwy7bGotuNcwiLe/GltByEI9G+hZf0Ki9a0Iozja7rlGj6+1nNj3SNcrErA7DSBp3nfF9kELlqLlPD5fAbUPkFPaOjv2b/Kp2zdLRFMDwn4EcZktD6YMddDexyEDEc8XyfB2Hbfxv+uyT4lrrju2Ef3iImttXTO3Qfx8xbrJdA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 164.130.1.60) 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=IF7ziiuE9RvWm84LZtQscVCi2Jjh2978KcBnnnBnpgg=; b=oZGM1nix7maQEM+RueMXOnDd9W1VJNy7DZM6335Pq0NnHFitpUn9AUOzY3QxvEGxvE6//Lgi0WurAWva0fL/fW4/s6filBPzfhVooDjtljsJeupuON6YtVyFxtpIf1yNPhEceV3/wHAcpvVfGzy6HT3gqSifhEVjF4/xZj0UnMANVW/TqfudfNY5nHZpoJOSUzl8Kl80Sp66Uz1THOR+OlYHAwqaWHFL8DrbQvlq2+74NgqsVsI60foShv76SpdA/5UFK8CjfnB/tSfGhVQZfm/f4W2Nrd3QMhtP/Nf9It7EkWATuF2E/xTzMS4Mpz4X7/iD8TNYZIQVbIpUlSCH3A== Received: from AS4P251CA0003.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:5d2::9) by AS8PR10MB7452.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5ac::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.709.5; Fri, 4 Dec 2026 15:09:32 +0000 Received: from AM2PEPF00070CF3.eurprd02.prod.outlook.com (2603:10a6:20b:5d2:cafe::54) by AS4P251CA0003.outlook.office365.com (2603:10a6:20b:5d2::9) 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:09:32 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=fail (sender IP is 164.130.1.60) 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.60 as permitted sender) receiver=protection.outlook.com; client-ip=164.130.1.60; helo=smtpO365.st.com; Received: from smtpO365.st.com (164.130.1.60) by AM2PEPF00070CF3.mail.protection.outlook.com (10.167.242.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.709.6 via Frontend Transport; Fri, 4 Dec 2026 15:09:31 +0000 Received: from STKDAG1NODE2.st.com (10.75.128.133) by smtpO365.st.com (10.250.44.72) 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:41 +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:09:18 +0100 Message-ID: Subject: Re: [PATCH 1/3] ARM: stm32: select HAVE_SHARED_GPIOS 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" , Leonard =?ISO-8859-1?Q?G=F6hrs?= , Chris Morgan CC: , , , , , Date: Fri, 4 Dec 2026 16:09:16 +0100 In-Reply-To: <20261103-panel-mipi-non-exclusive-gpios-v1-1-aa862c1d71e3@oss.qualcomm.com> References: <20261103-panel-mipi-non-exclusive-gpios-v1-0-aa862c1d71e3@oss.qualcomm.com> <20261103-panel-mipi-non-exclusive-gpios-v1-1-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: AM2PEPF00070CF3:EE_|AS8PR10MB7452:EE_ X-MS-Office365-Filtering-Correlation-Id: 4373dd12-2597-48a9-39f3-08df5218996b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700016|23010399003|1800799024|32650700020|82310400026|376014|7416014|18002099003|22082099003|921020|56012099006|261102123227099003|261021135927099003|261022075727099003|261026140227099003|261022105027099003|10067099003|261028144727099003|261021121427099003|261009223027099003|11063799006|4143699003; X-Microsoft-Antispam-Message-Info: GzHlJ8rm/ln/PjWjqWJ1naFL/CZ9cU+QOtOHGrrCbRpdod0KljG0QyheL2yGwlsHkVU4t3LM4TYYWcm9dJySd71gNdZwyr90yk9ioWNpbbkZDkKYFuGZvsRoMGoFTq+dx9cjzNwvnfma5YMa/VdkdSf5iS7VXCeFXYuBMvQKofU56P1rc2rKHBUC723ubtnhg31RAz+y25ppps5Ilz+jxmbqwbyAn+wEsjADW7Np/kr1xfB5NrCWXgkVsuUyjZiZmpq2Vjb1IItK5uzkz0tFgp8ioV7xTB+3aYb9G0Z2ccg6rjfU5fp5dOseZE/M4eXQDvz2o84CUjYlLa4zIuP9HY+JcoosDgTjxDuWiJSOGGNBq8Xq9VssGav7472dPGNJJFHS9TG3OPtQk2e/nSuTXEIV602kb1rU99nUVLkwgFM1Xz5BGpGBSB9fKbAZw0j/VZfDlKMs9elem5HEa03stgRb9J5Pfy+ZdOwAFrz3fD4X/OdPZ33csMge0Pf4N+96mbRTSbY8wYTdTFqMqJbXUg6LusGbF7zNbYw/qKbfQRI9E37wb1ZaTrXu0eJlEI1x0uXNBmg0PG67NwR3QEHHkKUjEXy3b8bNX6g/g4IDMUrJqJUstUZBZMuas18ZrubASsSRe2NcbyISRJr0p8Zi4Z2aEKwKC7VLie7SZvHUITC5DadI9pb//fEsC0lltIXfS6n4epzyoesTkflkhO5Ke/lWhXJNkREaV6bQdReHfp3Eijy44LNi/LSFZpY7pSUV X-Forefront-Antispam-Report: CIP:164.130.1.60;CTRY:IT;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:smtpO365.st.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700016)(23010399003)(1800799024)(32650700020)(82310400026)(376014)(7416014)(18002099003)(22082099003)(921020)(56012099006)(261102123227099003)(261021135927099003)(261022075727099003)(261026140227099003)(261022105027099003)(10067099003)(261028144727099003)(261021121427099003)(261009223027099003)(11063799006)(4143699003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZWEuynOhxfWmB2O/HGMiiX7HmBH8wAvF3kEEHMiPOzfPk5O78n/xockWSqUe1yeW7vzZSwEPQ27Yu30nflmJsVtNyDXMH7ldZTDojZtj1eGm47qa8NYQ0f+DSmQ+rADYweaBDxJ+lDxle1E032cQ8JMmwU4exLehuwkvQoSNGNm/8OhGkt6aB37bZWA7pmNXg3SKjZMo0OSsdHu9yxL49lEo4lW1meGvJsAPWLoz1kRNjY3Vh4Fei6EVmrKoumuj4PxaJFVHdQj7oNQp5tS37ID5xJuQ98vtFquO1Lbgne7amQs1tOaGcByWyhqkafu5SGgicmrkHyHuDLKWKtUfWLrnNR1nl++r19D1Gwv77SNnPLHfhqE6YHNyqlEWyzL6s9275S1knCHuTj6AypKLGYUV/z9ow9Hblnat/mR9pDvtp9KFhpZzjksbjFo/vZ6j X-OriginatorOrg: foss.st.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2026 15:09:31.5733 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4373dd12-2597-48a9-39f3-08df5218996b 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.60];Helo=[smtpO365.st.com] X-MS-Exchange-CrossTenant-AuthSource: AM2PEPF00070CF3.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR10MB7452 On Tue, 2026-11-03 at 14:33 +0100, Bartosz Golaszewski wrote: > Enable automated management of shared GPIOs provided by the GPIO shared > proxy module for stm32 platforms. >=20 > Signed-off-by: Bartosz Golaszewski > --- > =C2=A0arch/arm/mach-stm32/Kconfig | 1 + > =C2=A01 file changed, 1 insertion(+) >=20 > diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig > index 4ac3384e397aabd86e4843d6a6326cd22a2dd66e..ecb6b35610f4988b4fca3fa10= defc260a149f7c1 100644 > --- a/arch/arm/mach-stm32/Kconfig > +++ b/arch/arm/mach-stm32/Kconfig > @@ -9,6 +9,7 @@ menuconfig ARCH_STM32 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0select ARM_AMBA > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0select ARCH_HAS_RESET_CON= TROLLER > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0select CLKSRC_STM32 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0select HAVE_SHARED_GPIOS > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0select PINCTRL > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0select RESET_CONTROLLER > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0select STM32_EXTI if ARM_= SINGLE_ARMV7M >=20 Hi Bartosz, ARCH_STM32 is enabled by default in multi_v7_defconfig and in the deprecate= d stm32_defconfig. ARCH_SUNXI is enabled by default in multi_v7_defconfig, multi_v5_defconfig and sunxi_defconfig. My concern is about all the other platforms that use these defconfig and will then embed the extra shared gpio code, while not using it. The driver "panel-mipi-dbi" has the feature to share "dc-gpio", but none of the upstream DT needs nor uses it. Looking for the compatible "panel-mipi-dbi-spi", I see that: - arch/arm/boot/dts/allwinner/sun8i-v3s-anbernic-rg-nano.dts dc-gpios =3D <&pio 2 0 GPIO_ACTIVE_HIGH>; has no other references to "pio 2 0" - arch/arm/boot/dts/st/stm32mp153c-lxa-fairytux2.dtsi and arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi get included by board DTs: - stm32mp153c-lxa-fairytux2-gen1.dts - stm32mp153c-lxa-fairytux2-gen2.dts - stm32mp153c-lxa-tac-gen3.dts - stm32mp157c-lxa-tac-gen1.dts - stm32mp157c-lxa-tac-gen2.dts all using the same GPIO: dc-gpios =3D <&gpiod 10 0>; and none has other references to "gpiod 10". My conclusion is that neither STM32 nor SUNXI arch need HAVE_SHARED_GPIOS, at least not on current upstream DTs. I have added in copy Leonard G=C3=B6hrs and Chris Morgan, the developers th= at added the panel's node in the above DTs, to get their feedback. Patch 3/3 could be merged independently, dropping 1/3 and 2/3. Best Regards, Antonio