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=1796135806; b=WxXQmPr8xB16zqAPI4+a2G9faP28nNSP5pi9Q9EP5YFxTvGHyQwARHm/pvuzajfiOt4M rhe8GztvLBiwhMh20eKRjAHUEJsu3oMNlwmBU2ON9lHHD4IkPxe038WCWZ91EXMZXX9Cr Y+ArQfSREtcM+oxhRswl0NsFzqQlwC4yoGqcmaIFuOeRTtTdcEPmI8liGD8py1lzNK2Mj luTS2XFIUgUdQmo+HYaAQ0xtqv+OLtioewF3CYyVGrwQcZKerzfTx7VuOpZa1bTK9o9RF raiuD1OJPmXyRJIB0KbzkHqC+juwW5hh4shdSQ8KR4/YX/8Bw/WDWVbp7CJc3ft4GCQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796135806; 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-Proofpoint-ORIG-GUID:X-Proofpoint-GUID: X-Proofpoint-Spam-Info:X-Proofpoint-Spam-Details-Enc: X-Authority-Analysis:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=TJfU0fhVhxoPyFUXbfJFLAFrcwH9a9sCirZ5t5A2DNI=; b=30np2UKG6MElE1tZh+1+eNDHdox/QvATfE8uAwEO7te1zpFCH9x54DE6xyChiQ1pxkQX AZCPJKyNA8PXAo5WOH+PeMvN7NFLh0xsRc5EldHpjGnchdiF3HJYaCxYXE0sJx9y1qy/e eN844momRbpyILuRMKfgQx9I1S++sb8cbVSiXcnIVtbN4XGIVE3aoti6CzY9EvNfb7dkS 3tR/YBl9nEr1bEiW6C3MgYWwSFnGwj99qFDUyglIJq9lGSbN0kmBARDyjsT+wdttrn9ax e+JzfBDTQkXMkUsP7IJXIktU48Oer9JEfZSm6L4qbP0riyVwmjEH93mjDn+NHvE/Pnw== 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=We4AB4Il; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Zn6pZ0VB; 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 CD980606A322 for ; Tue, 1 Dec 2026 14:36:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CD980606A322 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=We4AB4Il; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Zn6pZ0VB Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B1D1Qqi799879 for ; Tue, 1 Dec 2026 14:36:45 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= TJfU0fhVhxoPyFUXbfJFLAFrcwH9a9sCirZ5t5A2DNI=; b=We4AB4IlXD57/gfZ Zrj4CYlR11lykBazhZB5gZb3EHtcZ86flSsa5Am2OYg3uNNsFqCmiBP0KPRLcxRA 6Ta6u2S7SLhFJXMJn7jXsO2LM20jsAWyo4KGh1i5107I2qoKvKShsCvxnZ3eXtlq 3S3BLX7y5GQbaVy41LO6Yy7zvYU2zEXMlOUfry0gUQw74b6OpiZadJwifFCY2Bj+ 9NKHdY9JPf1vl62n5u4M1BRrJ7EEINbiiX4ptVx6MUMIVnkGxRnWZcaFY+fG+sYq E054NsOuG+MR6GPiRvipq0c7JQUz3XIn2jTDt/a55Yyo7ugPIH6GtTWsUqCoFq91 7ilROA== Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j9qth296k-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 01 Dec 2026 14:36:45 +0000 (GMT) Received: by mail-vk1-f199.google.com with SMTP id 71dfb90a1353d-5ecba171914so611959e0c.3 for ; Tue, 01 Dec 2026 06:36:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796135804; x=1796740604; 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=TJfU0fhVhxoPyFUXbfJFLAFrcwH9a9sCirZ5t5A2DNI=; b=Zn6pZ0VBbs6aZdDnAP1xZFLLogkqb5cywucaJfgUPZ4fASD7kjwrwikNWjxdqsUPt4 1lE0sZGQZj1d0fWAaYtLMnikTUi4Zi3Vzum45A46OD4hjrQOhAOXg/umuagw1b4qaJgr PEja7lzUQfJvS46b0PYSiepsM74HpyGyKbInU+0EpZo00+rPMul3Sn9FvNXZ0SZI7TQX KqgLypMpoRbFESFlr4BeddwQLGWA43CtHaO4ib9s+KzON7ma9jaHjNkkjXVPLZayt5sw kZuXkTPfHvivWkArzwkBD5OGafhlhHj6sdDJf9gwQH2RyYjIzvWznHq7BAIHmH12rj7q XgGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796135804; x=1796740604; 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=TJfU0fhVhxoPyFUXbfJFLAFrcwH9a9sCirZ5t5A2DNI=; b=v+cH2Jj0pI0b57CcRvB/FXjsudNpTVbiijPalV7Ku7JJIfmucZYuf5xfgGCysuzMoG VLD2Ur2Gdu1Zb6GljNq2vnAsO6uQ1OZzCaa33/O1zi86ISBhrn/sDMSMSk70I5OdACE5 I2RjWJTXbuwVhTvZvO7rCNNwYpgy6xiTTTCJcHuOxjmcx42v0fGJbKNEc9puYB775KWU gjSMJoQU9O5+nqzCcbzMzWqnfV564zVzSajovdMWjhzjhB6vUNII0RhRkzONIzGL3oap TLBRS0OTDuhRAmNtJcs7xMxHgEONh9ksz/b7yG0h3bcy2F48Obaq4M2TJpzWvqPCW0BP kgKg== X-Forwarded-Encrypted: i=1; AL+hErHM9rHARSsvMwWlhAK2vIJH+A0LDMeZG9J/mvkaAmSkAhdubrhTtH1NfE+Kb5t6Vv8MPIjFg0jNteQUR2k=@vger.kernel.org X-Gm-Message-State: APuU4Z8ivMSkdxRCtry7mWFZUaFH5RvR1wE9Pnv7AjR18ZRB1HI7dzbc 9cZjfTw937w83mrIonKH6vZQsGo3l/IAureCkV04vAG83zMytfqq34NokC1pDJc7NmUQLBcEtkR G/PGD9jwwavdwwmpbL8TOdsSKxIPWZ2snjB0Qj7OOSIzbNOBjqw6eIHNlo+qWrkzzPc0= X-Gm-Gg: AZFdTZdhpp6zU07Kyd86NvgiwuR1aDPWZDY7DZ9a0V3aKhx/GaEcBQOMwEaG/BAV1qo lFNhqmV7iZ5XVb1jCMyrF25DXX70I35AMyJ6E4p3W2ZmjMwF7KA54d0YGXUkI4coJnMoUKsgdQw xR1U3S7B7sq27t1vC0yen91K9g0rwNgX/zWisU2L4bbNxbK/YUA9WflZPABN8+GhSQ/ZkCfsKeU rCFlFtPMJN2zLq1nv6cXW5As1VnbKoK6MrLFk0W/ekgu5+26HJkNou87KCr4jkPOSiHyAZdmtXz mLvN6R0pdMgUayB6vzczxX4ntWaoHHF44juYhQ1AfKKwAwiINErdCqkAwt7ydveCPhjkybC+Zij tOIktDcgHBSI4ME3HG09o/wTOuUzJaWv929kAc/5F+yLy09Cr1SNDJXJSdEPP0r1eEQDLUQ== X-Received: by 2002:a05:6122:6846:20b0:5ec:b437:e670 with SMTP id 71dfb90a1353d-5ee8aeb50e2mr28623322e0c.3.1796135803941; Tue, 01 Dec 2026 06:36:43 -0800 (PST) X-Received: by 2002:a05:6122:6846:20b0:5ec:b437:e670 with SMTP id 71dfb90a1353d-5ee8aeb50e2mr28623270e0c.3.1796135803493; Tue, 01 Dec 2026 06:36:43 -0800 (PST) Received: from [192.168.226.72] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c513ae679e3sm1277486866b.22.2026.12.01.06.36.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Dec 2026 06:36:42 -0800 (PST) Message-ID: <460c07bd-a2c2-4f73-bd2d-a12584c4976c@oss.qualcomm.com> Date: Tue, 1 Dec 2026 15:36:40 +0100 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 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: Add qcom,remote-owned for ownership update To: Pankaj Patil , 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: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: bhp0UWhAVNDId69ZsbCUG6ZoLdAKNAG2 X-Proofpoint-GUID: bhp0UWhAVNDId69ZsbCUG6ZoLdAKNAG2 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAxMDA1OCBTYWx0ZWRfX5sHvqGxp7JBe SiDDOVRfKk9kAJiVJ/N4zBWD8iTu+lM5UvwKCykNUBTE1bPi2Z/2y6pJvMO2YeVm+v0h+5RaXvC nt1gw7QdU3ijb3RnUMF3jvmM+TEOdYc= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAxMDA1OCBTYWx0ZWRfX4ApAkirkul/A nX1MDObBBZPmZjG10CCnLHBRxhfcVMnYUSA2kVhSbRzuL/LCflLT/HIoqtILB7Y8l+Wupw0Pp3c HTcVkdQhsTLuqGSqWWueokQetklm6suShzj+L05xwA/l7K6PS3n96ALvJY0Hj7n88X539qi32+/ jMGL6P35olFWrPflUnkGZ4jIppNSSSLITP2iix4Tzg4vnxBJ3jHHDgK23NRcB1wg65+4A8vcdE9 NqgBopmYYYBOEjWvVhcsTJZInv62uN8eUQgtuTUedLzakvcGoj+ZbCM7pKNKN9Rni6dGfgrTOcl PSdarVmkJL2vwtUT1QFNRE1ZSEZbZQQfcZP1dUgZ24tqonUSPxZ78vzgn7C7VSFWOIZZRYvG190 18oXMvB59eyNMhx0gWbdU3VQuEh8ssT4xLBV7LyQQvT5rBA+ciaoR/oUhKmprm5J3bX6m0gkpV6 3RMQ3qZLKXRpPE2a+2g== X-Authority-Analysis: v=2.4 cv=MLn1C8Zl c=1 sm=1 tr=0 ts=6b0edb7d cx=c_pps a=+D9SDfe9YZWTjADjLiQY5g==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=LKUF873DJDsn6k0zHAUA:9 a=QEXdDO2ut3YA:10 a=vmgOmaN-Xu0dpDh8OwbV:22 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 adultscore=0 bulkscore=0 suspectscore=0 clxscore=1015 malwarescore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612010058 On 12/1/26 2:31 PM, Pankaj Patil wrote: > 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. I'm having trouble understanding this too. Please try and rewrite the problem statement and what use cases this patchset enables. Maybe some tables would help? Konrad