Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp637227lqb; Fri, 15 Mar 2024 02:00:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVN5arZ65nPQ6GUyYdLXssPiybDFahkZL6/U/X0HqmDuNPXayDKP6Qykd0J/D3XFYtHG8khRV1u35VS1LoIP+X/uEtPsLWjffieCZjZGQ== X-Google-Smtp-Source: AGHT+IFcOp1lo9mwhOpq/AGPy6a7qQBEzU105GerZyCYxbUGeYpHChLk8vYXJtoZljv2/8ABmnN6 X-Received: by 2002:a05:620a:1916:b0:789:db9d:556f with SMTP id bj22-20020a05620a191600b00789db9d556fmr4402867qkb.18.1710493202490; Fri, 15 Mar 2024 02:00:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710493202; cv=pass; d=google.com; s=arc-20160816; b=C7p72cDHkMFtmCP3FQu39R8bOVQSVDDnOOrdcwrz7mNdvOG1/aNAUvR8vUIYAQiQjx bubxl7PdIK6jFzeRMTOyIv9IWseYnoB8/EsD+CejWHY3qMdExn6JPs3DVo2pTIKembDD tXUUOUq+/b7CEj4zJIOcHYm5IiyuBI3lczqgQKilaRObzHbCrApZxZQeqkmSeSrvt40Q eZX2TiOKdlVK/fsPmsHBRd7LbiosJ1ls+FIe7vFcQnH4OBck/17n5onHu7PnKcXwzPtL ITpgT47we/K9TZo9V2NRABEu606Tit5wMlIHb3sznH8y90YIjhx4LI99jxsV04hvrFEX IQjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=0PieMd71aNbFXC5deJf4u91HF/PWI3ya2eA6FhmqXI8=; fh=FU4sM9SpWHfUykxQqIvpoS9V79bsOqAC+Y0V/pORg4s=; b=XFehm/ZC9dnRmMP9RuIXECfegd5SGE2g0LpHwisPu275cm0dNCYwwZu+FfkrgsGtWg Xjp4EUuocqAstI7LrCoKDMjLW4oTTSDRdm9DTpS+atHw2VtPSbWSObZ/8NG0jr0sXUV6 6WwoMR0JCxSV8EJgjJlW/lbAamRdgQByXbmsG5WDsYS0bD6HnlIxm6jCf29EcwD6uzD9 +U80e7dZu9jVyX2P9ZeLi/UU6lt9Uypi4aWbDiNqRIY0dwxNQYowSJjKIUdLkCKEeJAX 6YWZNE96OWeEA7oQaCxwgqmt5AkxpAdKzSHkEuxeZu6nVxoHJetG4zeyE9M8Rne2af4O LvRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sraa.de); spf=pass (google.com: domain of linux-kernel+bounces-104180-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104180-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c12-20020a05620a0cec00b00789e28bb056si1363671qkj.293.2024.03.15.02.00.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 02:00:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104180-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sraa.de); spf=pass (google.com: domain of linux-kernel+bounces-104180-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104180-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 373DE1C2238C for ; Fri, 15 Mar 2024 09:00:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E29C175B6; Fri, 15 Mar 2024 08:59:54 +0000 (UTC) Received: from sraa.de (sraa.de [85.214.240.192]) (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 275EB1756A; Fri, 15 Mar 2024 08:59:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.240.192 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710493194; cv=none; b=quUftxTLEoO2S4FfHqXz5tpzGPKb3TC35H7THNwLd3jKFn2cpEpH0wQm8LlQ8kom7ulguPkREH7jigON/LUWgirdQV9UejpcZA+b/JJLQ03uBkvL47Lv5lhfY+XARDP2fBeUUwJbFaIJM24dCQr1I13JnN3+CYs9t17uYOGnT3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710493194; c=relaxed/simple; bh=aZI3w8NfsrFATPGHI5dS6dlNt+rpuCry0K3am5A0bII=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KjRXN+2gCTM4O0/YjLMQF87KHN69K0MUAXuWTYMM4B64IMqfsmJqUy4qM60k4lWnggnDhDoitF8D/7yWODrys8hnN74fj6tGwVjwq7iU1K2HApllYyNtQsEIx89SfhODr3x4zFFN/+QKEWSCpF5EaAKC2Gmf7SW4JlSJ12hn5+8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sraa.de; spf=pass smtp.mailfrom=sraa.de; arc=none smtp.client-ip=85.214.240.192 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sraa.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sraa.de Received: from c-bda170d5.017-30-6c756e3.bbcust.telenor.se ([213.112.161.189] helo=senor0lunlx0336.fritz.box) by sraa.de with esmtpa (Exim 4.94.2) (envelope-from ) id 1rl3Pn-006Y3O-Tp; Fri, 15 Mar 2024 09:59:47 +0100 From: Sebastian Raase To: linux@sraa.de Cc: marijn.suijten@somainline.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] arm64: dts: qcom: sdm630-nile: add pinctrl for camera key Date: Fri, 15 Mar 2024 09:59:25 +0100 Message-ID: <20240315085934.1511722-1-linux@sraa.de> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: basti@sraa.de Add pinctrl configuration for gpio-keys. Without this, camera button half-presses are not detected. Tested on discovery and pioneer. Fixes: e781633b6067 ("arm64: dts: qcom: Add support for Sony Xperia XA2/Plus/Ultra (Nile platform)") Signed-off-by: Sebastian Raase --- arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi index 87d0293c728d..c38f74e7c078 100644 --- a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi @@ -90,6 +90,8 @@ cam_vana_rear_vreg: cam-vana-rear-regulator { gpio-keys { compatible = "gpio-keys"; + pinctrl-0 = <&gpio_keys_default>; + pinctrl-names = "default"; key-camera-focus { label = "Camera Focus"; @@ -635,6 +637,13 @@ ts_lcd_id_active: ts-lcd-id-active-state { bias-disable; }; + gpio_keys_default: gpio-keys-default-state { + pins = "gpio64", "gpio113"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + imx300_vana_default: imx300-vana-default-state { pins = "gpio50"; function = "gpio"; -- 2.42.0