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 05CA13559C3 for ; Fri, 9 Jan 2026 08:57:10 +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=1767949037; cv=none; b=eHaZDtKlsaMz7QVnXN6dT2Xohi4wmoqobL6QurOS+h+6T+laTvWXhSdm/Y6kuOnZswo03lWX9SZGRRrx4KXxA0Vg+L29/gMwOZUD209OrEPEQ/E8PiVxRimAce0n2/zAXhkoqS4GBxMQZKzrXVHWSWs1lctjofRqsgdxls1/sXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767949037; c=relaxed/simple; bh=my0GhZELsaAqPXWID8LxcRvh5T1AbDdYfgEKTSqDmAs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EFGQwvX85sZDHdxb/HQuKZ2C3LdREx1HmQotYiRxR+lsZWEpU4ommUI5dYvGP//PW6SJ0sYSV+0hXaiIFyDIPKDOvgkZ+p6+o6/GywfA6PP81w8CHhVLTtCidlnB+/ve1bwYMFQLLhbAauAzyDjsV461ZQKorlXMQLwWxYaF+jQ= 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=EbHbSKxb; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=b3cF4jH/; 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="EbHbSKxb"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="b3cF4jH/" 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 6098RA5P2327455 for ; Fri, 9 Jan 2026 08:57:08 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= x/WlKRyBYNmiExVrb1Y3GzFD/tS7vfBX7MKLSMhxNBo=; b=EbHbSKxbAPCNtVOu Ye2cyzwDbsiFIr8AT1ODzctzqaT6vmITjqw57xyzQtIyTOaGtqp07LBY059M1QDA RcysdFJyl63lQmg+F/AHxPcs8TDH6Df/LKvpIHYzL4oC7uV6MUbRiJVvplWTjulC hpZSNBL1u7pLkA4388eksEV/74mj4eFAzc2CqtwrNkDkNjaSmrxWMLPRvKgPwf0U DoWnKX8KVJjYAdCsq9yEXxEWnSnt/CMM0r2yJzAEjmGKoAlunl5/ALvwfT747/J9 dsAypzsE5jqBk7hFOjmFKZRyQWm7gsFEsXvS18y97Sb9uVvY8zH5Qprw9284kAg7 SlVD/g== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bjfdaaph6-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 09 Jan 2026 08:57:07 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-8b24383b680so1516028085a.0 for ; Fri, 09 Jan 2026 00:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1767949027; x=1768553827; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=x/WlKRyBYNmiExVrb1Y3GzFD/tS7vfBX7MKLSMhxNBo=; b=b3cF4jH/31A6MkJy8j63YEjDxlj0TF4PjQPL+7qjQ40v+vOZWYMbmviEMdNYXprD07 qts0sgFIZMB0PePcp+K9LslyMRaKamcpTiE9W17YI1wfp88gh6wiJ5dHg9JMYz4SqcL0 f+v0R4X2BhbWk14j251NjJz9iAGf19FtsXmKuv/L4Aw0MVIKlL/scuSh0SuFAjl7e7ta yr15FU/C9iiInN5WpyAGI4ugzvg9SOzPKpvYvGJUKTvwtSdzCNy7RkM4aFyKO5Yn+uLU hZYnP3xN7H2qRZFnT+sJb5A6PXg061tZ0NVkyW2nY0cP8nlfcFSffEoiFzVE6JhdiSUi P7UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767949027; x=1768553827; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=x/WlKRyBYNmiExVrb1Y3GzFD/tS7vfBX7MKLSMhxNBo=; b=YU20gf5ZMe025aM5w5RH3QweZkfgGmju+uzCnPrfEqP7m3hBg4iXkZ1kz/9MqywY76 BHFeQtXul1Qg2LbQQgAHn55FeCxDmP06Zdg6n7GWcYs2IJcB70iGfxZTyv1Sj4d2myWO +i2z+j8Pg4tmE/Qc8VNlORz66P6X/vSxVbCD9oL0XWBm/06hBoTmepMeBZq3n5SmMBMj d4hcePcIC9BeEK1Xtr+JYNO4039iRCiAFssREtI0EP/DMFJAGY+F/fUkLK43JMPzN89W 7YnRVPVYcWtMLB2o68vq2ofSGsD7qd2iy2R0j/NcIelOLQtmNl4TowOTH163Iq//7rDi Gdzw== X-Forwarded-Encrypted: i=1; AJvYcCW2sf9n9xwllVU+jSAOmkhQaMMli2S1vhjM5AGISAJgd2lAoZSTLvLvDl+VZd92bErUG+XPYg/r9CePSRU=@vger.kernel.org X-Gm-Message-State: AOJu0Yw61GEHsp7I70lE9Kx0t3agu/UcE556xoDw8jwTcA2gkDzAvcJ6 98qyUfr0L8WtkBGYfjtVh/CXlRD12xa4XkW/oX0SOg5Ed/4E+AjU3vl2/VLot60tDskibEAUQaw 0edYqHYbqsWYZutjPNyfe8B6i2Tyax2MUSPLTRyD3dvdpshOSjHxI7YFir757c5B9yAjuoPYgNK o= X-Gm-Gg: AY/fxX5iCoUzWgddxextRUHoaQZsdJPK4Acezt6dZW5tLi+NnSR+eaaVtt148YKQuMD Ym0AW9bnPC1Yb5SLf/Oa2SFECOjKqHc066r+ZOFRn8Dk4UnQGW84Av2WEZXo0i94DIdorfLF/t0 pYZyud1D9hisSGrKZ3GRXzEqs+zRSuL0DuqmuqKushsIxVdsQ8VNthne9vNdo+QUrbOXW55abIu FgkoQnce58iDmpf+noS0dePUQsASBPen1ikvdMtE2plVytmACo80m5kVmAmNjAX0skZZszRhbOx 3wlsuFUE84m49DYMqaWgiDOdvM96Y5beAcgAZ/7oCwTh3364+zJBm1zYDUqjchDyp3+3ZTyZIH2 cC7CgEt5hphXMNFZ7KbDXr8eIAL8LCLA7Hn+OOjg= X-Received: by 2002:a05:620a:46a4:b0:8b2:f1f3:9021 with SMTP id af79cd13be357-8c3893793e2mr1385288485a.5.1767949027297; Fri, 09 Jan 2026 00:57:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZWiMkL+y1c0AwtdBbqX8SuHMOVzBMQvQsipCwoU6CDPs/u8+IDJrCptWMyEI5aWtklqIYjg== X-Received: by 2002:a05:620a:46a4:b0:8b2:f1f3:9021 with SMTP id af79cd13be357-8c3893793e2mr1385285885a.5.1767949026827; Fri, 09 Jan 2026 00:57:06 -0800 (PST) Received: from brgl-qcom.home ([2a01:cb1d:dc:7e00:968f:1fff:f626:2f33]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd0e6784sm21278941f8f.19.2026.01.09.00.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 00:57:06 -0800 (PST) From: Bartosz Golaszewski To: Linus Walleij , Bartosz Golaszewski , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] gpio: shared: fix a false-positive sharing detection with reset-gpios Date: Fri, 9 Jan 2026 09:57:04 +0100 Message-ID: <176794902183.12956.14711201006968865905.b4-ty@oss.qualcomm.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260108-gpio-shared-false-positive-v1-1-5dbf8d1b2f7d@oss.qualcomm.com> References: <20260108-gpio-shared-false-positive-v1-1-5dbf8d1b2f7d@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=Ue1ciaSN c=1 sm=1 tr=0 ts=6960c2e3 cx=c_pps a=qKBjSQ1v91RyAK45QCPf5w==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=FzXvmhRTYuG-1RLTcD0A:9 a=QEXdDO2ut3YA:10 a=NFOGd7dJGGMPyQGDc5-O:22 X-Proofpoint-ORIG-GUID: NCS9zQnvjPkOxk02YTteRgG6ZeWLqFti X-Proofpoint-GUID: NCS9zQnvjPkOxk02YTteRgG6ZeWLqFti X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTA5MDA2MyBTYWx0ZWRfX9169VpLodmdF 1LhTvjUTxjlCHzRRIQyRpKbuA40MUdE7Q+3ji8ODQ7ii4P8g523kO4e6rLx1scPKDBPju73zLav MhBWTBq9GLwnS506nJSkSz/AnVYWIrBBY+bjM01JYdv25TUUOrfBssf7etineQVNme1+2r5oNeI cX+FqpH9BxxcNV/Wz7SEbhwPqcsFx7T9nXvnNfTD48/DUHctXmcGqTnZvjvKFbJ+bFVCxIGUu4k e0Jtsy5KKYLkTrjbGl2GvFYnqHDYqhEJHFc4l0i42uIipEjMX8jcFkwC+pbDHw4PFyZG5nUFMAC 1l05Bt5I7wMD5WDUtrVzZwHeMn06qy4v3ToOIG8vlasKuZ5rPtvo3QnXgsXo3Cfn0DWe0v4tTGI 0XDOIfqkrDjf1/gn9ByViPhcmnPs1fJM77VaYGMPDJFvRiUDe7WS22yHHXFly0hnPGxZHAAHghT uLXrsyrH6RrNWo73EmQ== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2026-01-09_02,2026-01-08_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 suspectscore=0 phishscore=0 spamscore=0 malwarescore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601090063 On Thu, 08 Jan 2026 14:39:19 +0100, Bartosz Golaszewski wrote: > After scanning the devicetree, we remove all entries that have only one > reference, while creating GPIO shared proxies for the remaining, shared > entries. However: for the reset-gpio corner-case, we will have two > references for a "reset-gpios" pin that's not really shared. In this > case one will come from the actual consumer fwnode and the other from > the potential auxiliary reset-gpio device. This causes the GPIO core to > create unnecessary GPIO shared proxy devices for pins that are not > really shared. > > [...] Applied, thanks! [1/1] gpio: shared: fix a false-positive sharing detection with reset-gpios commit: d578b31856cec31315f27b3ba97b212e4c6989b3 Best regards, -- Bartosz Golaszewski