Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp368799lqb; Thu, 14 Mar 2024 13:40:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXuCSzgzS0NgAlOW20E6YL145bhIcN5Qe4Ky3yShIB08SWTLjBzl6Hbpxx4uUL7KUBNoCHXNVSFzSz+uCwuorBsei9oRxfAYKk+K4vmxA== X-Google-Smtp-Source: AGHT+IGNH3m554s2lfckFrwQlwjO6ebXWI50fRZOZcDuOQdV4QDIRiCj52lgU1LPHczgNdrKI6gG X-Received: by 2002:a25:ae02:0:b0:dc2:5674:b408 with SMTP id a2-20020a25ae02000000b00dc25674b408mr278510ybj.57.1710448854553; Thu, 14 Mar 2024 13:40:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710448854; cv=pass; d=google.com; s=arc-20160816; b=sZsvgq8v2OiSeLE02J3+AKMYI6cikwWOLQZKUenvTgEkc+H1SsNdET2cXEA/uXGXSa esIAvIjU70dyii55NQC4dbDhDY2OtwIDVqpgGKJsllYmlvKKEyHQ+JNYlyuORbNhTIdH Xi8vCT9EP3Gb9+5FK+dNfKDYe4Tih9Fx7qPstFr/LLZAPDG1fgRRVdfY1wnJvsxuorRa F9hINgcKPYR9fl2yS+6mbt5K/uLXnuh7Lrc5Ja5a9xFUMIX6xwFNsUMAOcaKoHPd2iaI c5cqySY5APSj1623qjFC9GJqw2hHawKd6QgV7T+TLQ47d0AUMvMSibIsbzhrTbZ9QuNW pa3Q== 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=78dAOFOzQe1J5vN+99qXT9YycWj8IOd8hxm/JGMRPUs=; fh=FU4sM9SpWHfUykxQqIvpoS9V79bsOqAC+Y0V/pORg4s=; b=VBdu1Lt0Ra+PV18+SKzkyVXs8uo+JmA87wRa17loZRjpizf39usZD/mpRL+KZFNlWz DBq+oGoe8i+yprZRDto0O6ucrUYRVyK5gYmOta600zVUjreC7Bgc4bOn9iDsymWHBR3x GIaBa0mwoYEbnk8e6njiFSGFAZ1jms6h97Xbn4PDbuZYDobkRMWxsWqAJKZpqUZOy36u mbVCkHb39r0yq3AR6OVewHsZgojIreE6ViOQ/QqNHkOaefvxI5AJpa4tggI+IDbiJO7Z nsjhEzFVx9G4IRE9HM1xAe82um/KUYWxkhDP2YuA42dHL+NzdnlgYojCoCIp0QU5eV9b Eguw==; 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-103776-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103776-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 t18-20020ac85892000000b0042ef2e612ffsi2205232qta.389.2024.03.14.13.40.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 13:40:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103776-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-103776-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103776-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 3FA971C215F4 for ; Thu, 14 Mar 2024 20:40:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19E64763F7; Thu, 14 Mar 2024 20:40:45 +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 6564274E31; Thu, 14 Mar 2024 20:40:42 +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=1710448844; cv=none; b=fWCxD2KeK0OugxSSQSxL3d4X1cPjpllNyd3PpSLqNIX85edNgS4sI8J6tuMvLKfxBgvv577dHtyEmVJOCj/3Dgi+S7x655nwYBgzjHYEd+5WUgnMHMG7+1ICN2Bfv3EAsaSwfQBQOF5msIAdLOmfnMUVR5YPIUqUhsC01fx4T3A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710448844; c=relaxed/simple; bh=PCQLRkNpygxQ82n178hzGVwBb8g97+BkrYzr58NiRG0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UEWIPQ8GjGYu8QZfWZ2+0vuS+SEEUd7zVESBxU7kAFPpBEEuwyZMQFCe3ndEk5TmRVuRhlpn9eOJMXYVM2ilvWbvaR/skTOjy6roxxNHirmlLZjVRUapiRDbz3nXgXjnIpgP8q7HwxVu1Jh6rKc16GweKHah3Ry5dfT+QRNK0QQ= 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 1rkrG8-006Rxu-CY; Thu, 14 Mar 2024 21:01:00 +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] arm64: dts: qcom: sdm630-nile: add pinctrl for camera key Date: Thu, 14 Mar 2024 21:00:32 +0100 Message-ID: <20240314200037.549206-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..5eedca6f288f 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 { + 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