From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793952006; b=yTl3StL5W/ru+xCKkhlyuD7rSTj+RMbhFkbVGLf6ZCCbwAsFCi6cmRV4pzT35TUiRktD Db+JpnugeMtz10lO2gjyxs13GwulgMq78xcS9UXzkKz4QLT5y0tE5BFDb+tQReXDOOkpj Dr8/e7fVfIoIpGla5WWL8rw4eLHTGUZoDiYo4d6Oh1kvZWQbVVY3AqCHnIijn38ziO01I BiX3zBXolKIC3JW5/NqHI2IlLlAZ/QA/Y+H2TMBGrPxwQ3Kkz6tPHgjQGj2+4zsifzajV 5QmkSOiUQEZohPujWKnoz3+TgnFhptt0vQAoo1GrMa8AxSMSs5VqMcdACrGMtZrRqLw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793952006; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From: Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-ORIG-GUID: X-Authority-Analysis:X-Proofpoint-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=w+gMWz1mqLi3ntza9kU1FJ9p4AdvGdZcMlMdwkcECG4=; b=0GWjt00VyGTbh1NU3l7ArgykLRCahaibpRvY9xTxcSvdTU4lnrSm8RmckCuE4Fe8eQFO 3nSipR/DFAsgQXdHQLpYr18uLnTxVBE+LfQRcF7P6lULOZDDrCuMMGW59fvRp/svZIuJc dpQllg6kl4689F6Y0+hNBh3Sy0LXQTJ65eU14pSAoqO0hy2Xr9BAryUVIMvN9yVRW9E7Q +lkNqS6goaAwYFFs30Gn2ZtWwzrNDdFVH+6k4khohngOfObQ8PwHinrz0IxiRZAT1cCLI yAWhBgc9jPozmzSaTK5LC/MJ1uXAXudQsJZzla9yyubfTcKwzqQFvGTVYug7qTy7DkA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=pV5ztr5G; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b="erqLw/D0"; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59AD5606EE81 for ; Fri, 6 Nov 2026 08:00:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 59AD5606EE81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=pV5ztr5G; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=erqLw/D0 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6A67R6G7129132 for ; Fri, 6 Nov 2026 08:00:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=w+gMWz1mqLi3ntza9kU1FJ 9p4AdvGdZcMlMdwkcECG4=; b=pV5ztr5Goq1HaGItyuHqxkh6B6aeKvaseHrcAP /Ns4ioFNVqszYBmtEh+CttVFr6kKtkVed7xvZhykpZm/wDwLq6xhXzKInQrt1Den oeoUtH1cNku4sjwhns1TwaihK3o9Lm/UqFg7qNuHl/nu7b4a9m2EPMfB7DJGTfmB aaESMBNqQQWDNlC5IjhIwVm521xSkQ36B1UecKUSSRAuPZUMBzH5Px7lkDtPwjKI NwiNkKulTfry2aRFnvATmFyrO5NDsP10HJqXpvyeyEI1IyFTe0WRqR8bWadWjzTj lHtS+COHUBWYdqAxlFqOiEzenAPSPLmhTwnPrW/2hOFjloPA== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hs3p9sr8f-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 06 Nov 2026 08:00:05 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-8a030e0f9c1so430198b3a.2 for ; Fri, 06 Nov 2026 00:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1793952005; x=1794556805; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=w+gMWz1mqLi3ntza9kU1FJ9p4AdvGdZcMlMdwkcECG4=; b=erqLw/D0O8+c0JPmQosci11yZOxHJYnMDqg1Dw23uzT7Ii3gtDV/2C4VWsToBrGtue bna38fAYtxVWpmbqPUm8Y09r4xztp66Ozk8+hfAkWKQ+HRx4abt2QN456m1R5jmzt9DK Tns76Cr7hcLWdQi86s3yMu8gfu6ehpBfBreqH+j/RwskD/LYtgtu3LmxeL4aUdEijGtG YhvXF2N2Ik/ArQwCQyqVxtAXzZTUx7e9dZ+Av8eEo6BvdBXbnehizUJ7y9aWiIk1Pg6y YBZPrKfF+9L/W6bVparyH/RoMcAY/yF/Ti+A9e7g4ou8G6/tEuiQx0ij/mynCytb5xok c/9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793952005; x=1794556805; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=w+gMWz1mqLi3ntza9kU1FJ9p4AdvGdZcMlMdwkcECG4=; b=hHbcy/Ttv2YHN2Vs3xjOhQn6NtvjGm/wnaFHs01EsDtQDlr7MwA2oWc86BVlJkA3G+ u+e4fV+l6d+O8MRMyji7+3gtPRnk0ktybtnncOggfjg0cGCdyjycfiWGAMj8OiGvEsyi EZQQuxUsLTGd/dChGWb9e8aED28jPl1mT5x+leHUIMQF5ianfiB57iNUTH4xrMtCdYX6 g7CGGfmwj3Adt02efzusgPXanaqOzsBqZtH/VEKGgzpaA5kelgbZnhGHc1cle02H+TZV LAq0l2OnF+EuFP4FrM/4FuTxTWPGGC0cw8sLM8g+aMTP9P/BXvyNLQN80Jbi7ouByYUC N0xQ== X-Forwarded-Encrypted: i=1; AKwUvBzi8ZKc3xf8s3+mbrDViak6faXxOoySrjRbrJeIgjhHcBBSzv56bo6v3wKehja6UFV/OALoL8N6Da+loo4=@vger.kernel.org X-Gm-Message-State: APuU4Z85C3HaOL3AIHpqITYFDoC+K0Ux55+WZ66TrIKLSOKCEi4e7mX5 pMZxwztWMr8v5Pgz8KA5LGLpmywbxhqUCzhezMHOGAOa8ipGegDUtcUA/6EuZyr+WV4FtEKdhPE ugcp612dua8j0unTy+BbnEEFKu1vMvBH43frTpF8ejlliqwht8YjwizGc9LrFAp0bj6k= X-Gm-Gg: AYBFou2F8ERhs66jVXn7hx0yimTX1g3TtJR6pKkuMNU8qFYB5WmFXSnWABHkCxW6/YL sMlOxgAzVuMYJcHyP0nzr5tIUq9kQvJ+FaoVg35yMiyvLFZeqyqYEhi1MikS3dA+q4UcO05v4dE 8lUNCVlUrinsAQUdQVGWXm8KVcxuKEUjg72h/ckeazFiawBkJOtcRhToRPUoVEm8wHqsE0JlyTJ uk6Nv4YM/hG6aUotsJ1cI13AFGHw6uBTe62fG6kR4azV9bEQzvvCNOgK+obQFkwof9sIrdOJrJv 7vMDa5b/LT3+zecZWhSzRUl51PuvIeLKXHjWq+QQjnmYKEegqPjbRlVbVJuKl5Ytt+jMh2ro91M FqXh6cdeYv/+95n1saISPU0nKom0GR+6mDjPbp38kgomZwHUZY08zQAvuLrFxIhxi3xlQRyVvON EwyLkqLwxL3O9H4wtc82pkG3KxLmtCpvvFypK/Zi2Ph4aOQBAcMxdU/lndC4dCojaMQ89l X-Received: by 2002:a05:6a00:928f:b0:899:5117:2ac with SMTP id d2e1a72fcca58-8b37c241174mr1517784b3a.46.1793952005109; Fri, 06 Nov 2026 00:00:05 -0800 (PST) X-Received: by 2002:a05:6a00:928f:b0:899:5117:2ac with SMTP id d2e1a72fcca58-8b37c241174mr1517756b3a.46.1793952004593; Fri, 06 Nov 2026 00:00:04 -0800 (PST) Received: from hu-pankpati-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8b359dd36d3sm354529b3a.37.2026.11.06.00.00.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2026 00:00:04 -0800 (PST) From: Pankaj Patil Subject: [PATCH 0/2] pinctrl: qcom: Allow eGPIO ownership independent of the mux function Date: Fri, 06 Nov 2026 13:29:40 +0530 Message-Id: <20261106-egpio_fix-v1-0-569d220a4748@oss.qualcomm.com> 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOyI7WoC/x2MQQqAIBAAvyJ7TtBFOvSViAhdbS8qChGIf2/pO MMwAzo1pg6bGtDo4c4lC9hFgb+vnEhzEAY0uFprUFOqXM7Irw4hOo+Xi+gIpK+NRP+v/ZjzA1Z QZS1bAAAA X-Change-ID: 20261102-egpio_fix-ddf4c2a4f24e To: Bartosz Golaszewski , Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Prasad Sodagudi , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Pankaj Patil X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1793952000; l=2153; i=pankaj.patil@oss.qualcomm.com; s=20251121; h=from:subject:message-id; bh=nNSMcejrg1GBEQ1LH+7ONoNsTI1szoHFruhxFh0t14w=; b=U5HJKn/ZdQYeXIpwh7w1+GWbTx/e0eIiUph7iWBPt5/Qq2SCzh8OOVtNThluZ3ulKd6jmYKtP dsX/rnkurjyA8mBWVC1s5fbH6glWDj9U0Zkf25PbL0EyIMH0oPxGHd1 X-Developer-Key: i=pankaj.patil@oss.qualcomm.com; a=ed25519; pk=pWpEq/tlX6TaKH1UQolvxjRD+Vdib/sEkb8bH8AL6gc= X-Proofpoint-Spam-Info: AW1haW4tMjYxMTA2MDAzMSBTYWx0ZWRfX0IDaxQDzAMNP Fp8pDus3D0bQvTiXa87AzNAsbfG/F9Cm358pDGgEYBcRUqaE25kIUbmiOG8XgcGXxsPfVYN/TeX x5WI1dCOnLdf3ndrsUUbfpOUe6lSLUU= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTA2MDAzMSBTYWx0ZWRfX1DcTXYB4j3j/ 4Pv0kCOwDTCv/2jQVzdkGz0kMk4GPtzslBSghOjY4K2B8EkLXzKDoLCJVjiv3OSZ1H2RiFahtj4 CI6ASHAvCn0OrWhuQFkOfeYguax+AJgE5NCW9qCNUIEQiqdscnOl+kP4Ya9Ob+tixRcEnYwqg2m H0tq6J94cJTnpMfIuh1YvIZgsoOFoirw54rVKWlzaL38P3HNa8swrsOSrC5u7d/KsrdW8hc58T8 xyQWjU/60Wj9MCoWwLVVHQ3Ukf+sSBdaGCesfBNUOb5I/bx0Dm/U57lD6Vr1EJ9DJDL0eSftHxA dD6LjAw+p/+4binioNNUbwTCdjLUycAC0X6lkvzf2AJNqnrZAks9d0LmMbNAUk9wK2v5su6jzoS 2yneuulprvOCzArFAqWSZfPN3M2yhpCAP2wCbzZ4QxhFI9f5PiPescuiIJax3PD5pHHDs5UlrDJ eBMdMrigUYAjkvT0HpA== X-Proofpoint-ORIG-GUID: 8NqYHesQpYra7Dhe9hY8TKlD-UmK-F08 X-Authority-Analysis: v=2.4 cv=f6Pdl+yM c=1 sm=1 tr=0 ts=6aed8905 cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=HuJJzTBhwpvvTeHBZjcA:9 a=QEXdDO2ut3YA:10 a=OpyuDcXvxspvyRM73sMx:22 X-Proofpoint-GUID: 8NqYHesQpYra7Dhe9hY8TKlD-UmK-F08 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-06_02,2026-11-04_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 bulkscore=0 phishscore=0 adultscore=0 spamscore=0 clxscore=1015 impostorscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611060031 eGPIO capable TLMM pins can be handed over to a remote subsystem, which then drives the pin instead of the application processor. The eGPIO present bit describes whether a pin is capable of being owned remotely and the enable bit selects the owner; neither is tied to the pin's mux function. The only way to express this today is to select the virtual "egpio" function which transfers the ownership to remote io whereas the single-valued "function" property e.g - gpio, qup0_se0 claim the ownership for APPS. There is no way to describe both the pin's normal mux function and enable remote ownership where as the hardware programming guide(HPG) mentions no such exclusion. Boards that need a pin muxed to it's real function while the remote subsystem drives it is permitted behavior according to the HPG. This series adds a "qcom,remote-owned" boolean flag to the TLMM pin configuration, describing ownership on its own. Its presence hands the listed pins to their remote owner, and its absence leaves the ownership to APPS. cam_sensor_suspend_rst4: cam-sensor-suspend-rst4 { /* RESET REAR */ config { pins = "gpio239"; bias-pull-down; /* PULL DOWN */ drive-strength = <12>; /* 12 MA */ output-low; qcom,remote-owned; }; mux { pins = "gpio239"; function = "gpio"; }; }; Pinconf-generic emits the mux mapping ahead of the config mapping, the flag is applied after msm_pinmux_set_mux() has claimed the pin, so the combination above ends up muxed to gpio and owned remotely. Signed-off-by: Pankaj Patil --- Pankaj Patil (2): dt-bindings: pinctrl: qcom: Add qcom,remote-owned for ownership update pinctrl: qcom: Add qcom,remote-owned pin configuration support .../bindings/pinctrl/qcom,tlmm-common.yaml | 7 ++ drivers/pinctrl/qcom/pinctrl-msm.c | 81 +++++++++++++++++++--- 2 files changed, 80 insertions(+), 8 deletions(-) --- base-commit: d6bcfc94eb4da6e089c5473970cd96727292fd97 change-id: 20261102-egpio_fix-ddf4c2a4f24e Best regards, -- Pankaj Patil