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=1796131922; b=zremdBM1HCPDhZj3W5y+O3XYKXvzR6DQbf85FEA50phzsf5b397onrfQ54KiLdpIz9BU hY+NwuyXWheHVA7CPRjXE5Qli0c5C+gT+1o9O1odZZ0735MMSgVOb4Ywklj2DB9obZPqB VrsovSyGKpba2gdcrGBe2t08FhM7twYXFytJSDsZSs0J1hQ7QO9JwUZIOmBg+4Cx6MvpT sDJzg6pgMy0tBV4/svB0CeE4mr4WwdjeQ3jrrjWAzgrj/X8XGCSi2Vw1GaOQBBElcSD11 Q6+gp9EmFyTudGR3ZbT4bsv6paQxbAdueZ3m1ZYyAUxBbTyjtt4R+6fhUhzyYqdLLtg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796131922; 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:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-GUID:X-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=q8l5fDwyxpbVDMuIvTFxE8vm4p99OvGRsyYfG85z0dE=; b=WVUX9wiEHulkYmSZL/yFRZocnHb5DcjUu+CUfjxy3elelWEGlVWqr+HuZdbJwE4b8RJL SgyyYeRSbJYgEXnfztgBUDLbOTgexcC7KFolai1uAxvDnE7GLzL7daLF13SAZyOSvhZ8I ndMddac3VHobA0DwAhJubw5WOLsaiEpGzonbgD4E8ZUUt79x9+/sgeYn7xwkagq9YXFJ/ RL0aQOLYfegAc46tdce7U59HOcvLsld3TwjDtXrP1dyX4d6kdBsoRzFYl8NHKbvmIeai5 XzaxVEHu2oDU3u9kyu45bqUXht63/pvuaeb/Yx4m/c0uxZAb6PilZ+UD4vw6egIeCcg== 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=oqfTF6W2; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=bpnrKakD; 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 693B4606A32A for ; Tue, 1 Dec 2026 13:32:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 693B4606A32A 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) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=oqfTF6W2; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=bpnrKakD Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B1D1ivN1722819 for ; Tue, 1 Dec 2026 13:32:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= q8l5fDwyxpbVDMuIvTFxE8vm4p99OvGRsyYfG85z0dE=; b=oqfTF6W22nKuUabR I/3/5+PG5oRcd/Wl9zU5/f36Ih6ddReXWUPqAeQTDwEWwBNztgEfszUOwcCQF0jG BJDRTM4OJXPVt6imk7ariMJh/nuJF8A/isQ/tCdDGxbFcWmqSzAGFTqL1HKTuXhY 9U5c6/9mc1SwrxG3uiDa1LlYcxMUTqjNXqs9qDHZeJMES8VbL8MetIoajVkNKKiH f3Mpe8whaIsQ8frY8bzP+zcGmJ2tM0K+WiTpyuKS2zrgtHEcoWkKg3nGjLD3oGK9 XXY16gFbayJ6s9rsP88m4LjnIZbyF0udXg50yn/WSBl0uni72Rq2dQnikyWcGFcO 8UHAtQ== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j9gnbkgu8-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 01 Dec 2026 13:32:01 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-3b41e8c1ac0so4545919a91.2 for ; Tue, 01 Dec 2026 05:32:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796131920; x=1796736720; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=q8l5fDwyxpbVDMuIvTFxE8vm4p99OvGRsyYfG85z0dE=; b=bpnrKakDlkUpIedxg9ZR/jH5U44RvqyR/iiEWAB0NGTIKhfAyo4uZ0RVf5roY9aP5R aBnBT/ZjTAiM5maG8b+bWcJoGA2SF9xnH0sAtnV9xDGw28ZJLiLzCWiAzPCtaWREOftB xpSxwgYHAuorZyr5bt6aOX60xLvk5bCvvHxUPWOkfzMLqaNxv+Tk/RloJg5FcItXeOfA C4VpAzBbKaFiT8m1wtEglkZ6VAXOee0s3DXzfr7hVxAGmQRovcgb+sXX4A7IGSBgcSG4 oAzwCqujAWDF0KiIaDMmPsHcOau/aU7fJS5O0rAsMiMR63NgcKYKZ9daPlMagj0xEO5U oz2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796131920; x=1796736720; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=q8l5fDwyxpbVDMuIvTFxE8vm4p99OvGRsyYfG85z0dE=; b=HupauZFLCmofGCrseX2LfdZUcqY2hQCHtRsPvjXOJwQhlk2nJo7ppnmh/QM0ZjY55X lKTP3JkcemkuU3BYmQd4oVdupkXs5a/2IGNguAU+mvrdyR/1SaK1CmBTlXL7MXz/h1U8 UEFzNqPcw3Uud0Lee2APyzlWp0kNZ3yQtPZgIvUJNqLunN6LAw4Wwi2igJ9DHjpqCxra V+aoCGu+QROI5OQy4JB2fwPbFX/QRLOgmGiOwo4kTDOa9avfaCbNejTsh+angbjx2uMH sIKETh3Pg1RcS2IHxoRwihZqfhZhztIZHR7In9c1JYxhvlw3eK6GXFjpZrTZTlIDMLlC EGLA== X-Forwarded-Encrypted: i=1; AL+hErHqBgpru4GrnKV0DWEvFx+lsSzBf8mR0EEUPvgGNhVM4kANM6T3QNnJuQxOODBC7m5pjzEeIxW0Qa4v@vger.kernel.org X-Gm-Message-State: APuU4Z85j9Xq2CVR7+UCvsMGpARcFtHe9tF7SsGZdl+KnfDDdaYfBQSr Wl3IO1/MOBs8BACyaj9xKXYiiOW845Ynuo+Ra5kQxUQYZeTvYVuOxsn39JFxYMgxMUFWzDm9hWm Xmoz6uuGPU8w0hZ7SVjAdyNIDGCReNCP00kbBwFLbxwK2E/nnnFehvtjoeUvU3HZizCsKPM7eu9 U= X-Gm-Gg: AZFdTZd3FqmyuyN5bQL/Fvom0HlIlKXYa/giqGq/vY2IX4qDyFf7Fok8RpK0Z+WL9gw xE3HkbIvi8zcdHNwFr48U+OLiZX2V+uOhg4K8C8z0vxHspCH9L7NXIxKbaUPeqNWhruFSDT94Qo anlTuqaSv980KRhJW/VZERc3G0Gr1Q8AIhb2W09smdjy9AYjDUyMrw+HaHWHBQ+romQglw7DKPD sUD8EBzgjeC9GmpH7g/4i/DFM5foUgUuBgGHrk+mZoE9MGCxY3d4i8AjUCbzF+pRf1rPSmIUqbq hqc4n3cKnSfZbNIgSPALrBBBa02Ipv2WKdCj43UeMXHM0AqpuhK/ybYEzB4m5z1oQNLUrUiVRrA H5cgiZ/LUvZDX522svYGg+a/C0FbEDi1sCY4TrpJ9fuR8VWoOtboHBFWeudGXRfPNd0y7+wIEvX UNQB7WooGbYsQYoI2beCKIJUjsnrLg85vUJXL37QSFDB1QRbpH20t3Rf7aG070+QTZ X-Received: by 2002:a17:90b:4ec4:b0:3ac:adce:60be with SMTP id 98e67ed59e1d1-3b41c8fe3b0mr37451206a91.21.1796131920528; Tue, 01 Dec 2026 05:32:00 -0800 (PST) X-Received: by 2002:a17:90b:4ec4:b0:3ac:adce:60be with SMTP id 98e67ed59e1d1-3b41c8fe3b0mr37451173a91.21.1796131920002; Tue, 01 Dec 2026 05:32:00 -0800 (PST) Received: from [10.79.116.36] (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b405d63728sm64634742a91.8.2026.12.01.05.31.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Dec 2026 05:31:59 -0800 (PST) Message-ID: Date: Tue, 1 Dec 2026 19:01:53 +0530 X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: Add qcom,remote-owned for ownership update To: Krzysztof Kozlowski Cc: Bartosz Golaszewski , Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Prasad Sodagudi , Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20261106-egpio_fix-v1-0-569d220a4748@oss.qualcomm.com> <20261106-egpio_fix-v1-1-569d220a4748@oss.qualcomm.com> <20261110-modest-significant-ostrich-8dd408@quoll> <396403af-1505-44b7-bf21-8c656c64c936@oss.qualcomm.com> Content-Language: en-US From: Pankaj Patil In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=Y9BtIReN c=1 sm=1 tr=0 ts=6b0ecc51 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=NxW8KAUiZOn2nuxzJNcA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAxMDA1MyBTYWx0ZWRfX1ToNOQa8Ldje AdWOF18ZrQUEGq3bl+7J6I02xLK9iITZ1/STd9+kh0Iba7l4uUBEEbbiPmhI1nLmlHeQSDck8eD eex0dl7FNtX20pfWyvKPce63IQVK380= X-Proofpoint-GUID: LX5PWeog-EryMqjPePQEcpVpVrqlTsOS X-Proofpoint-ORIG-GUID: LX5PWeog-EryMqjPePQEcpVpVrqlTsOS X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAxMDA1MyBTYWx0ZWRfX5xHMn2SJjoJj 3U0dchujM2mfqFWOtzE0RGJQvqOo4GNKc102NepvWTDpOucvAUnzkADtHc/f+KKEhCh8HL5fJWL RI4Tir62L5Is33cRmORYijpD4on3EpatcubdEXxka94RxoR7ptE8cG2XM5NqTY6cq9qTEcFk38N o+Ytoluab/Tmnq5Q0gOCd8DKq0fzLMb/7dy7mVvjZ7mL30myYS6fP8RxBrnxIjMqesqWgQq566f rAKg4Lxt88XyKyYwY6BLmivqQzbeQwVJAcd+vbvChuHYSUciQQ93KEloap6TFhifbgwRLRKCsTO wmtyyuMElzollPRRqZo6UJGIfAx8ZlsjpoG5Bux0/xPDfgVaAZ8hG4YDgjRsIiU7Ukt1GtiIlv2 B5zYR6D4767GgnlhyyAxEEITP+a4lPn/Q7owzLF0D4qAVrmKFVTiFrtNWetCBE7qaYbLJi995Xg +wqILF4tB0GIsNbfUOw== 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-12-01_02,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 phishscore=0 adultscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612010053 On 11/25/2026 8:02 PM, Krzysztof Kozlowski wrote: > On 25/11/2026 12:35, Pankaj Patil wrote: >> On 11/10/2026 6:58 PM, Krzysztof Kozlowski wrote: >>> On Fri, Nov 06, 2026 at 01:29:41PM +0530, Pankaj Patil wrote: >>>> Add "qcom,remote-owned" boolean flag for egpio capable pins since they can >>>> be owned by remote island io independently of the selected mux function >>>> even if function is non-egpio. >>>> >>>> Presently egpio is treated as a mux function level decision where as >>>> hardware programming guide(hpg) specifies it as pin conf level decision >>>> i.e setting egpio bit is independent of selected mux function, the >>>> driver/apps claims the ownership of the pin if it's egpio capable in >>>> case of mux function being specified as anything other than egpio. >>> >>> I don't understand this. If the pin is not owned by Linux, then simply >>> do not list it. What is the point of listing a pin configuration which >>> should be skipped? >>> >>> Best regards, >>> Krzysztof >>> >> >> The pin is not owned by linux but is still being used and driven by > > If it is not used and driven by Linux, then it also CANNOT be configured It is being used and configured by linux for the specified pin function in the dt node, the ownership is not something that's expected to be exclusive for egpio capable pins. Each gpio has an egpio present bit to indicate if the pin can have non-exclusive ownership. > by Linux. Otherwise how do you imagine for example that remote island > operating on unconfigured pin, before Linux boots? > >> linux for it's intended function specified via function= property, which >> would mean the required mux config for the function selection has to be >> executed in Linux >> This property simply allows a second driver/peripheral to use the same >> gpio since it's allowed by hardware > > > Best regards, > Krzysztof