From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BF35111AB; Fri, 29 Dec 2023 13:01:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gnu.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gnu.org header.i=@gnu.org header.b="J4OxaaYK" Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJCU2-00032e-BJ; Fri, 29 Dec 2023 08:01:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=L8E+uQiPVMJl0Ysub+xW5uqgmBXvPg/3AXYx0vVI4oY=; b=J4OxaaYKYjofgxnJb3Nv tVd3oqHfbaSAmzfAyeUJunKTWpdGkinSyIf2N0YeZ4UEHd+BU0eEOcOufCUzsHL/7LQqRaaI4JVl8 Az4Nf4LoCujD+C/JfXOFB6HtklDNtNOZiGBcYzubqHst/YcIx3npVqewU6PBOOXURdSLyKVkEG0XV sSJ7STzOpwCXR4F691CtalFSebzoaGSFQagCURT//Uov0TUwmJcSRG64E8gkEtg1r6h6fg86duiMg z5vjif5MIlXPxuXPHDy7mWqSByjQqbXKVm9DEjxgiT0NtXJoKX3rQhTPA/j9683zBfyIy78L1kL5D FZhOhynw+Q+mOw==; From: Mathieu Othacehe To: Stefan Wahren Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Li Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Subject: Re: [PATCH v4 2/2] arm64: dts: imx93-var-som: Add Variscite VAR-SOM-MX93 In-Reply-To: (Stefan Wahren's message of "Thu, 28 Dec 2023 21:46:08 +0100") References: <20231227170919.8771-1-othacehe@gnu.org> <20231227170919.8771-3-othacehe@gnu.org> Date: Fri, 29 Dec 2023 14:00:58 +0100 Message-ID: <87plypqi2d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Hello Stefan, > there are neither gpio-line-names defined for this GPIO expander nor the > SOC. Are there no GPIOs which can be accessed from userspace? The carrier board schematic is here: https://www.variscite.com/wp-content/uploads/2023/01/symphony-board_VAR-SOM-MX93.pdf All the pin headers are mapped to specific functions. On the other, already mainlined device-trees, that are based on the same "Symphony" carrier board, there are however gpio-keys for three buttons: gpio-keys { compatible = "gpio-keys"; key-back { label = "Back"; gpios = <&pca9534 1 GPIO_ACTIVE_LOW>; linux,code = ; }; key-home { label = "Home"; gpios = <&pca9534 2 GPIO_ACTIVE_LOW>; linux,code = ; }; key-menu { label = "Menu"; gpios = <&pca9534 3 GPIO_ACTIVE_LOW>; linux,code = ; }; }; I can add that in v5. Thanks, Mathieu