From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 20F6A4457A0 for ; Wed, 23 Sep 2026 20:29:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790195367; cv=none; b=rnW08pSxHAfKye8ZrBJoqv4zAUpPdD/RtiBUlzNRqPFzUZS7wjpZUUsBntJtJAj3Ua6vNFMsoyDa6qnBIjp3oXCnJDhUtGUQoEuZXs5mwMkD4mr8531Hkz4EP+gdiCTzLMQOgZLI+hnn+uDwDtpBfAOCTmr3u5h94M1R9IKVwA4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790195367; c=relaxed/simple; bh=DVmzVfeaZlZ2h7sO+MtrgVWEGeTM3AcsBlWGq/2QyLo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rUCvYGpuN45nWq/0b3U1JYwIX9D5J3heEJmwZWkIJ9cZGd+M91TwJ+juNVGi9443bWwyuxvdWn2V+QUpAYcYKwOCcoFXgjPZrgWCjpsjZDQeXP2uRgBozL0veS9fU+QkXsbbYvgTs+Mc3aoTjG2jkSMyacHmUjE8QWLhXCYr+jo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=C5UP1ywy; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ZA+DWE+F; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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.b="C5UP1ywy"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ZA+DWE+F" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68NJkl1B031199 for ; Wed, 23 Sep 2026 20:29:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=Ktq8FOEiqAS2HqdwxrfUyjEp XI5UTr/iZCY9k3s5bK8=; b=C5UP1ywyVrr67lED7xiUGlA7iWZBSWr5X45i6FXl ggzSSIx4KP7fDELiL7xS9mDpdREPRSIC9InDhpFdkeY9y2u8lyMmMN/7ep54lL0u LPhXlio2ZY7XSuTTDapMiCiOLCVSZbGSnGoDvL91o5ogKB5fhPXbqpDe0ml7xwzx Xac0XozqU8aEW6ucVZpw9rgSzZ25YMnaQ4ndrboWnM6G0rQTKBUvMmnyuiqDBtHb 020BlNMEBldvdLDeU5vYI/Io0BvulxhDSGpJRTfIY9MYA9hauS1YHbB3+Q3jgdnU 7YSZRKa1SF1wWB8sByWrTkLG6Ty6vHai/M6UWI8fwiE87w== Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gvhsb17u3-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 23 Sep 2026 20:29:15 +0000 (GMT) Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-91242b356cbso14035176d6.1 for ; Wed, 23 Sep 2026 13:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1790195355; x=1790800155; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=Ktq8FOEiqAS2HqdwxrfUyjEpXI5UTr/iZCY9k3s5bK8=; b=ZA+DWE+FvZfnVDSSzUvaTnYRlIMTPIDD3xWIjtLbbrEY1xsawN8T6fLmdUh0kgFyua ngD/N1pB0SQGX9KmarPXhaiKYIyomI+8imVKDIOxtKX2J3VA3HYq6VHJIlx+ysOvid9X fPpUJMRo2YCc3iy6OyfpLTL0+C6IqcnbZyx3hnlEWNfIrk1Frxj/LHftDaQpjx9N1Onr iULUpGTblKMhLSMc3wOUvI1G1N2vRJTHXPhDbx4zcx2WN9BDCVgj6zEi6xcSj2xKrdzE 89R7wv7XHgvTDp9SPV2mzCs4Z5HTbilnPjAe6S9eDSG6zD4+Vb/harBmI2+hEChpUAYu ff3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790195355; x=1790800155; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Ktq8FOEiqAS2HqdwxrfUyjEpXI5UTr/iZCY9k3s5bK8=; b=1B/CeG+ujzCAZ0M6Nl8JZZo3aeSoek1VfR+0MsOvcyhb6iINokIw4Q94XFMv4M5Qlh 2JdmfjQ6roOitR6gsaHOQ9AXUfGFJv/gjZEoZtGStAOwAKJoBLR6Gz4ERXw66inYdVVp s2E6W4Kwrj+694W9cKwMDTvB63NctM6h+fERhrTNxbhpLwqjyGzNukV//6s3HbPTWUEG 5AszLh+p6RI/eYI8/MSF/uvRs6GvaMJuekstyaJXkP1DJ8fgZSEmavEBFET8gjmc4daF ymOlN3FV5T7Cjvui8mVZwBbC8LjpKfF7i8ldK6yVsnb98mmoiadZimSLZB7ZfRhkyLBD /ECg== X-Forwarded-Encrypted: i=1; AKwUvByh4OXudyaMbvDLAQBxSQKr3IEIbnyf4BcjiKTLIoFU2/FbMZu1DNVlFCB5VtyZJ7xU2xUKPvkVTiHW@vger.kernel.org X-Gm-Message-State: AFuF++lMmIiHSm2T8bAARScieHSlulzvGHvBX7A7BKMMWrBuDF1hQmkw MaunsP0nHz0ZBnlxRPKYKcONruZolgA4EoMeH6cVQiPWVrPUOFd9p8rwUYCcp+CvjowAqIDGQCu XZXtxrOdC3VZtLmj/GofOLCYOa8wIOPayOzC9BOq2QBAqGfMLVHhKhn6Q0N1UMmfm X-Gm-Gg: AYBFou2eyIleZ++mgHf8g+Uv147jPscdkJEzQBdlofJMnsMnFj3NmdImyxc8YqsAeWx gYISHP6IzlreA9ppBaOtl4Tyd5muVbNWhiP6/PPhWxnex5PJJ58aWszPqkQlw1p6SLlJnTYxo18 C0I6114RPidWPSJmcZiEJu+Uji4J+y9TldwMY0/yS0Yr04QpKHmuOH16Lbet75w/L1jj9u3Ks8f 2sRTm8vQl1/qdeiJQssB9pB1Jz3Vcz0Q0GHyt3/yaliIj4h3EKzG/U+YgugSMREeiHcMAzX+6SQ rj5m0fwLlubwM4RYRXAOcsVUcgk/cUtvQE3e3qMKvlbOjXuIpRJAmhgGSzU/PW2Zkn/x39XKatg zaGASPTmMJHPaoeEK4quAAWF8 X-Received: by 2002:a05:620a:4551:b0:93b:fe5c:e6f with SMTP id af79cd13be357-93c346fdebfmr51183085a.23.1790195354590; Wed, 23 Sep 2026 13:29:14 -0700 (PDT) X-Received: by 2002:a05:620a:4551:b0:93b:fe5c:e6f with SMTP id af79cd13be357-93c346fdebfmr51175685a.23.1790195353977; Wed, 23 Sep 2026 13:29:13 -0700 (PDT) Received: from localhost ([188.216.77.92]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4886876c64dsm9373457f8f.21.2026.09.23.13.29.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2026 13:29:12 -0700 (PDT) Date: Wed, 23 Sep 2026 22:29:12 +0200 From: Lorenzo Bianconi To: Bjorn Helgaas Cc: Alex Elder , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chaitanya Chundru , Linus Walleij , Bartosz Golaszewski , Bjorn Andersson , Konrad Dybcio , Michael Walle , Daniel Thompson , Sushrut Shree Trivedi , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bartosz Golaszewski , Manivannan Sadhasivam Subject: Re: [PATCH v5 2/5] gpio: tc9563: Add support for the embedded GPIO controller Message-ID: References: <20260923200255.GA1934030@bhelgaas> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oI9GUafU7NsbJqGc" Content-Disposition: inline In-Reply-To: <20260923200255.GA1934030@bhelgaas> X-Proofpoint-GUID: Z1OKuRxPtcf8-R7FT2vPM6oeee_ONkbP X-Proofpoint-ORIG-GUID: Z1OKuRxPtcf8-R7FT2vPM6oeee_ONkbP X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDA4MSBTYWx0ZWRfX5U5o4BA7TLc7 cHJ+4NaPED1hZRzBvl0xy7sLm+DcDGc8swPGF7KanQE8c3/sc3TLi1xzSOBT9FEWUm2zo5N4/Mw wQXyb6PxvxLOOi/tXez2H8dmHmWhRy7jBPo8z/3E7+ldj6HK5MMjxuKpSRba/rO9aohlN6PZBzH 1WiX8D1+BRBh228Plt47vzX9VU9czKWdKO9nFUXrq7XTis4GC3Dm+Fzfc//c9N7nhDzMNRJUVyj fHMHZFXAMtSa3+e1qrX6E+aehM1RcPzfksN93sbMmBlwbhfztG83J0RbzgP5Y/ur9+H4OvIWAaZ hyyb0dP6NkNOUtD4FcLTHCgxXDQmqchA1YUJILi07DRz5FUPeJnlm9wN6tE2xZxBEAbtVWLnoMm qfJSAUCCFZWBmK422pF9RSxnsCDcTQ4cZ57efox6x0iqktNcD6NGR6+33eo9nmceTEhCkGi9SY8 nUAa7orgz42U1RbCfWQ== X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDA4MSBTYWx0ZWRfX8ZWKAWRX40Q7 /6V/db7bqbIbG+HXricqZZ6bO8bQHXXp97Z0mRKhGaoynZ7uKrXbuDHzbrl+IFO3fI1DjpgsXNN MtJLUV7UWxN2w52CKwvn2J8mRmQ/BUw= X-Authority-Analysis: v=2.4 cv=f7vdl+yM c=1 sm=1 tr=0 ts=6ab4369b cx=c_pps a=UgVkIMxJMSkC9lv97toC5g==:117 a=WpTaRW6qxYHRGzLzQsVYzg==:17 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=DfaiL6BybcdO9YxK1uMA:9 a=CjuIK1q_8ugA:10 a=Vvw_FJU3uCUNmsTNrNgA:9 a=1HOtulTD9v-eNWfpl4qZ:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_07,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 bulkscore=0 impostorscore=0 adultscore=0 priorityscore=1501 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230081 --oI9GUafU7NsbJqGc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > On Wed, Sep 23, 2026 at 01:59:49PM -0500, Alex Elder wrote: > > On 9/23/26 1:52 PM, Bjorn Helgaas wrote: > > > Patch [1/5] and a comment below mention 37 GPIOs, this mentions 35. > > > Are they supposed to match? Maybe 35 doesn't include the two reserved > > > ones? > >=20 > > They are numbered 0..36, and two of them (20 and 21) are reserved. >=20 > That's what I suspected. Any suggestions for rewording this to remove > the ambiguity? The current "providing 37 GPIO lines" and "implements > 35 GPIOs" just raises the question. what about something like: " Add a driver for the GPIO controller embedded in the Toshiba TC9563 PCIe switch (and the Qualcomm QPS615). The device implements 37 GPIOs using two register banks: three registers control the first 32 GPIOs and three more control GPIOs 32-36. GPIOs 20 and 21 are reserved while GPIOs 22-24, 27-28, 31, and 34 are input-only. " Regards, Lorenzo >=20 > > Of those, 10 (numbers 0-6, 12, 35, and 36) exposed outside the > > TC9564 chip itself. --oI9GUafU7NsbJqGc Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCarQ2mAAKCRA6cBh0uS2t rD7LAPwKamp8rsgOUtzQVG4FHBs2cTDSeRJAVFRrINYQ0DBrqAD/TBi0DepNYAyJ IFRIKZYHbaS4VFQf1hshwPrtok5YggY= =Sv9q -----END PGP SIGNATURE----- --oI9GUafU7NsbJqGc--