From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B8BA30EF71 for ; Mon, 10 Nov 2025 12:32:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762777934; cv=none; b=Oy2bhNWSiCoMuqvmdUhGiEYPensM7abOmNeqGjK2MCLHz9XrJ2VJitQcVYCYrXiU1QlxnYPSSWbxy1v465aEs9SLaiNxdLdmL+sS8I8SZkh5yJuyVptnZ3qTaU6ATyyuTCzsgarxOz+SOM1wtQae/B7LeLHSqoFEFosDD+K6/mM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762777934; c=relaxed/simple; bh=xbn6RDPlAz1JBYaCMfNzcorMgqIxLXlfE2DgvYo/pIc=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=kq2VXGsUrWl2TQAYjCxl/eIETXtjpTfo9QAxy4iz2uZKBXSNom4YudR+UwqFrGQy3j26K6caUlCbzzn/hNelSZqcWm6R7Q4FH1nYlKEWkwsBLKFdo8PEZWQfkp9AMVRXlAtufH2HL7UgvQSyS4ruaycqiyRD5RwSEVMpMA2auA0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bEbv6jB5; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bEbv6jB5" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-477632d45c9so19578125e9.2 for ; Mon, 10 Nov 2025 04:32:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762777926; x=1763382726; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=xbn6RDPlAz1JBYaCMfNzcorMgqIxLXlfE2DgvYo/pIc=; b=bEbv6jB5OfPLMDJaO4TwA3DEv525aPXe4vHlZsC3Fnz4CBv+nrEha6tiuzCu7FvoTW U4kwm0SiFUi2YKtt3+hQ5+UJd5PddicKITkipZM4fmp2gmNcJzSpqv/L8HoiEe88Y4ta k7+Zi7vMJZiiGkH8WzvF6h7y7CxitWjtTAw/R92IckmpNTGrcixZuq0YIjYffl0LvEGW Wzkf+JMvtpPeBmWSeqWK1QYqSjsgEwmqIWAwy/NxvBaVr3HFuoYirZ0hZY+KiFHRbj/8 37EQQeUBuhl5VFwLRyRzwSmJKG0L0XcPqvcMjNh3PLjd5iqJyb9UmYlEb5yoZ7Pxmt0I NN3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762777926; x=1763382726; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xbn6RDPlAz1JBYaCMfNzcorMgqIxLXlfE2DgvYo/pIc=; b=aHy4EhO6uG8KdVtaH2bd304wrT3qoH+cDMf71cAzF+Ce/7XRrNFqPYsXPp9iwoZcbB cP6USKLPkZ6tgnbdwr9H/hprfgvdE1pVHJzDwGcdbIb2OLALWtF4DipNzcqi/wjlp2g3 XUsTCNq6yeCZ8+rZS9vonjwknREUHNDq9kYSTKePls60P/OYfIMUe1gQXs7D71bnJ5c1 sPta+JTBk0CgEsFYBPjcujMb21H9lMSyzEjj3hFYX9i4B1Bp1w/gp5khJjyEDo/97K5P WLhwuixuMGSiaJ4kLNjpA7c//2v0qXbWVBNDeZLHQdlYnKfs5ZI0lJt7/Yel+tXaD3kq FsCg== X-Forwarded-Encrypted: i=1; AJvYcCXffkjkHrr5NqMm/Kc5HqB1TuJbcITSQ71/lM2aNytmy+o2CTofMU0omyQa/Lxq+64zJ4kecTged5V/+sw=@vger.kernel.org X-Gm-Message-State: AOJu0YzBhl9ZdMGm6zdQ8+4pfJUdy7AjCrgn4bJMhWqvFenZPxk7mWnD F4B9eZAa9BrMNCm/VpQAC35jXgSmegpuGFpAQTkDhE1bImReW+tHZa7R X-Gm-Gg: ASbGncsKcP7FGm8qzy7BdQtrVrHIKFuBu1rAwm6JdSmZXRwjnv1b5lz6IKUj4HDWx+0 A7u4B6po3Bo/SwD3HjfbGeMT0A3T18jL5CnB0E+g5xK6bSbjLhvBlR/1iuFAzIb0m+gvpMlE9ih DTPvlcdyjZohmh05G06BHRqXJfVdgjOa0vOcKtytn6kmj4M04ux3rvpSgiVnmzBDwxpU2FUpBti LW0OoJ3l1oo5JaLfJnTyLS6hTID3mh20bo/KaJiG+Td6cxlzhqUFBAgujuCbV0iKUJ7+nBXbr6b XMKVpXjVHqLGMQUt8TS1LyshJaLFA669Fza7ntMicKyUkMNstbaCTvI6pmPvcBX1sBBgvgxgyA0 YYF78RIVyF8l1jomdbpmqUjmve019NMZTr2y3ccHWEg+98P/kGAAGpnui3TAleCQuGevyngcTmc 69VN+l6Nj0 X-Google-Smtp-Source: AGHT+IGdjmBcJW+8X35ii7y+/PGwV34Q4JqH9e5PMe/Gj88DnW3qWYR3wQhKPBIE+gTXCpLrK7KBEA== X-Received: by 2002:a05:600c:1c1c:b0:475:dac3:699f with SMTP id 5b1f17b1804b1-4777322f0c4mr73804405e9.9.1762777925514; Mon, 10 Nov 2025 04:32:05 -0800 (PST) Received: from [192.168.1.187] ([161.230.67.253]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4776bd084d4sm249891675e9.14.2025.11.10.04.32.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Nov 2025 04:32:05 -0800 (PST) Message-ID: <3ead5d7aa5e6be2b6df3bb91b35fec37e23353f3.camel@gmail.com> Subject: Re: [PATCH 2/2] gpio: adg1712: add driver support From: Nuno =?ISO-8859-1?Q?S=E1?= To: Linus Walleij , Antoniu Miclaus Cc: Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 10 Nov 2025 12:32:42 +0000 In-Reply-To: References: <20251031160710.13343-1-antoniu.miclaus@analog.com> <20251031160710.13343-3-antoniu.miclaus@analog.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Mon, 2025-11-10 at 11:30 +0100, Linus Walleij wrote: > Hi Antoniu, >=20 > thanks for your patch! >=20 > On Fri, Oct 31, 2025 at 5:08=E2=80=AFPM Antoniu Miclaus > wrote: >=20 > > Add driver support for the ADG1712, which contains four independent > > single-pole/single-throw (SPST) switches and operates with a > > low-voltage single supply range from +1.08V to +5.5V or a low-voltage > > dual supply range from =C2=B11.08V to =C2=B12.75V. > >=20 > > Signed-off-by: Antoniu Miclaus >=20 > So tying into the binding discussion: >=20 > GPIO means "general purpose input/output". >=20 > I am really confused as whether this is: >=20 > - General purpose - seems to be for the purpose of switching > =C2=A0 currents and nothing else. >=20 > - Input/Output - It's switching something else and not inputting > =C2=A0 or outputting anything and this makes the driver look strange. >=20 >=20 Not the first time a part like this pops up [1]. At the time, the final conclusion was to go with gpiolib. Naturally you can think otherwise now :) Also, it looks like that series did not went anywhere (I'll probably ping t= he author internally) [1]:=C2=A0https://lore.kernel.org/linux-gpio/20250213-for_upstream-v2-2-ec4= eff3b3cd5@analog.com/ - Nuno S=C3=A1