Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp440271lqb; Thu, 14 Mar 2024 16:21:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjagNqrBftns3bj3bznLRmPGH9h/LFBrIuziuQagHAfINaxXpIkcSUKmsYkxaUpACgWvKxJZ0mU71euSXYl84035eJHqwKyz0qiClDYQ== X-Google-Smtp-Source: AGHT+IFyniohqSlSmBwptQi1s4AANccjCGQbmx4lqikiVB1L0AvBBh7RxeQxWxcdtBz88IaCo7M3 X-Received: by 2002:a05:6870:4349:b0:21f:a11a:e251 with SMTP id x9-20020a056870434900b0021fa11ae251mr3522686oah.5.1710458469311; Thu, 14 Mar 2024 16:21:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710458469; cv=pass; d=google.com; s=arc-20160816; b=CdXnBBx2bmub7OBEERCDHUKvBEJLIK6VubDlec+9K3sm5CZsgdxcmq7Pl9SGwDYZRJ LR7a3ccbsRgpT2dfn4/2UtQXXQzze9xCKObgbIIkVb+NkNvA3ZjUh2kgVyYwVC9Zt9yw RHpfQbOplaNJRztS6x7zR/8cJbnMfNCY4svVMKT9k6/vryqfrQwaSy7fSO2Lg8YHxL3d LOQA90mbS30hMjGNQm5d9FDw13j6jT5bcrErYiN0let886FtCdGYgaK11of7OPovmpzR n+h8Y2xNftnRDb9nZc+Zv3EwwOIkTnw1H/nkUouW29gAma5WbVGy9gVdZ7N6X/W9mCAF WBpg== 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:references:in-reply-to:message-id :date:subject:cc:to:from; bh=Rcp4MGOnNfymjZL3Id+csblYdvqbFeHaFgKVhtaiu4I=; fh=FU4sM9SpWHfUykxQqIvpoS9V79bsOqAC+Y0V/pORg4s=; b=WXFDhbN5yEzmyGLnFvrFhTg6V8Sjdv1W+CfxqvZSoiyt6nri5tTkDjWWArHBg1yT/p qw0TTeaOxSsvikUFLSAYhPM3CNdISS73UXV2eUcnH0Yc9swKVHK0mJPVAgj2DGVLApmQ jbnyKpxmaVd/5pQaz3R9hBXHT6GJDVMxsK16Aj3t0cFznt5la/zHIVjAlov+yALKYHcN b9whAtjAtGXmGbgt9xtUIIWSWDn5z9EsfVhOtiV1GvKlgpbFtqsMe8x60OnLbYaP7RyQ shMh/FzsFWbIrNfHep5pVPQvlo/OxWhyPmWOMC4Kt+Wl51l9mhgqnzAC14jg1z/uO2eP xYlQ==; 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-103861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103861-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 28-20020a63115c000000b005ce7efd2eb5si1451383pgr.266.2024.03.14.16.21.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 16:21:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sraa.de); spf=pass (google.com: domain of linux-kernel+bounces-103861-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103861-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id DB5E4B214C2 for ; Thu, 14 Mar 2024 23:21:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7CF410788; Thu, 14 Mar 2024 23:20:55 +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 6EB916119; Thu, 14 Mar 2024 23:20:53 +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=1710458455; cv=none; b=LqWPfUubSmTgHzq4N6gOoTpfGsZhPlwG3HJoGIXyILvP9ff1OMjRrsSMIYezkr0arbQC+GAfki50bJcEIwolM9EP/lZfeFeQDIz29bWHG2ZW57A+Kjbe01i6v3iZmMu5PqtUCB3N1CmIZ0cd1nEZ6L8WDhsvMTcltCe/rLW7T9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710458455; c=relaxed/simple; bh=QBOQpe1cDYEpTvChQ54IMY0pQimCYjwhdFsGp2n8hpg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nyNgrhNSNHzV4Hz77Y2TdNFaHkdgHv2wKpkhQ4O0KacE0YEmAVAr6n2sXZRySvlVPr/0Nvy9DFvidPEmT/C+Z7LTvFDNqgij83jgLJkxw2+Vsqw/skJ1SQpfBO+DuBnwJbHT7VIgDd6V3+IvbANUoTA/8cplm00lvRr1C3uF0Pk= 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 1rkuNU-006TiD-Og; Fri, 15 Mar 2024 00:20:48 +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 v2] arm64: dts: qcom: sdm630-nile: add pinctrl for camera key Date: Fri, 15 Mar 2024 00:20:39 +0100 Message-ID: <20240314232043.1441395-1-linux@sraa.de> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240314200037.549206-1-linux@sraa.de> References: <20240314200037.549206-1-linux@sraa.de> 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..823c21d5ee59 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-names = "default"; + pinctrl-0 = <&gpio_keys_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