Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp741406lqb; Wed, 29 May 2024 09:11:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV8XWO8OYTLMAN6VzQea0/f6YtPoS6lbpfG3+xdFY+3B0lcMz0kSeS+Zd8jyrHIDtyJtsZB70gjo2ljBC/JSumE0iYsUMckHLJlPbBI5A== X-Google-Smtp-Source: AGHT+IEU+76jcpR9pDKr4pFtb8xjzbiiYHp8zesi0ikV7r1UWa/tKhH0KrrOfowBK++G6rT10Gsp X-Received: by 2002:a05:6a20:244e:b0:1b0:1916:92d3 with SMTP id adf61e73a8af0-1b212cc5009mr17108867637.10.1716999074647; Wed, 29 May 2024 09:11:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716999074; cv=pass; d=google.com; s=arc-20160816; b=Rzn3MU/gg1CAoCabEdCeY4apKoDveAaSP/VrFkjRIXQeERv4gAcN0tE7nF50+hRFTC i7g7CcikS0zM6AEXuxzcnI+DCjOeqY/GcQNqFBpfYm8w5aPuR//hF9aaiAMtbmbIXcgg CngME3EWxXrLOP5nX6TqJiZtFJgKWSBpyRyRqjtAuNZvLrbvnsPi7o934sOiQhzBiVoz ntH2vbuIBsjODrbvHF+HQuBUM1PpgbupNJRoZ2zsT2qsiCfCacE3EXvhxm8agZ1k8Hf7 AdzHKTZTQk1fhi52ldy0iqPxREEp98vWTdemdBoFMvKRNcwlclir40mjc2GiVRktkhtE 6ejg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:to :from:date:dkim-signature; bh=4VLYCefvsT9d8ond7H7XyGpq0yneSfHbgNsZAxOxGX4=; fh=hG+83PFszkiwb/iq1pmf2JO1k4Eg6BJpSHBLWpx/37k=; b=XQPB04lbqtJ/txG5RKanRXHt+1d70V26lS4qAsWgoeUAxHYZwDtKOh36wX3Yqsm4Tt kVFgE3K+yNX9y8vw6S+OFcRXH80C6ANXFAXwsrTCDBAvAOs6Sa5LvT7BZHoH8ekYPm5c LdtTOIMOW5UvPOyRunyvooqV6O0cKRgM/HU1wc5h7H1RbTqF+jZS8KAB1+h9QZ2XUnhf D78fN+U/UaRtHc8HX1Y1mfuvRue5K7qJPVJKveoYgm2gEHyqxvCmXcaR/YzyvmCO9Pvt igLLp2rnUGei12fXrr0CsmDIMnNiR7SXE81Qg4u4zgW5aaMBgf0dwwBnCd80Qp6/rlPA sSoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rdGnTttw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-701bb4c80aesi3998078b3a.47.2024.05.29.09.11.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 09:11:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rdGnTttw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5D180284407 for ; Wed, 29 May 2024 16:10:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 278B81836DA; Wed, 29 May 2024 16:10:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rdGnTttw" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 487DE139588; Wed, 29 May 2024 16:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716999050; cv=none; b=MAX9NRLQCC3f6a6tlNPUsB9IztP/bUfWSVlj6Q4QFnEuq/AAYXkpucLrslf9iQW+J/Rgt1e5UFvK8pRg9bob8L3pROAPBLE3TRqIRTYVKOkUAaeSN8pLWSqbHstUDzBUbYlkLQf4Acxh12XpuXNyr3cqxo1ZSCulpva3s00Nex4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716999050; c=relaxed/simple; bh=4VLYCefvsT9d8ond7H7XyGpq0yneSfHbgNsZAxOxGX4=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=p3svTsyG0U+Qhcw2jkCNtg5zDoelfL6jeRqWPjltqoA4mmetl/+7CmPQZ3kLQy9lhN6wmjDkZalJ4+w0ZGUr3dl+5VZ4Z1VzSDL3+hYu6AOjenif0w0BrxCxWV54KRhaZcPFUuaKijVoXZzMiblb6jtEGEisv/pFYUK7bUwjXIY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rdGnTttw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEC1BC116B1; Wed, 29 May 2024 16:10:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716999049; bh=4VLYCefvsT9d8ond7H7XyGpq0yneSfHbgNsZAxOxGX4=; h=Date:From:To:Subject:References:In-Reply-To:From; b=rdGnTttwzGsZtPL/V5yGQwFVkGALc888z57SvYKgv/h63BU2ygtubn3GDRgx1AHSz xGkJvpAGs6P2BtusTcAX/1bDgd2z6k0Pf+hoa3LqEi9/g7GSVUGbP8j9HKOycL+06H lrINskvYzpPwYZkDm4sPKDF0DJALsJwCiNmf50T6VjigCM+A3L7ZFYXxTUV0LQvS6t 02LvkOozuL7TXQx+z3A8ku7OpDfzAm5t+0kwlUKpbN1qzDLs0VHsj5cmoky49Zmp8X aDNNFkaIuOTI5+enbdaNwCknT3D7VT+qavIA6PCm+Eoqa9Ab0WMHk4vV0+h+uLPSgi a+r7qbVSlDq+g== Date: Wed, 29 May 2024 17:10:46 +0100 From: Conor Dooley To: Wolfram Sang , egyszeregy@freemail.hu, devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c-dev: Introduce "linux,i2c-dev-name" property for device tree of I2C controller. Message-ID: <20240529-espresso-founding-54a36bb34e8e@spud> References: <20240519165504.19627-1-egyszeregy@freemail.hu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iKz0L6DxNIzz7++T" Content-Disposition: inline In-Reply-To: --iKz0L6DxNIzz7++T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 29, 2024 at 12:28:03PM +0200, Wolfram Sang wrote: >=20 > > Optionally, an I2C controller may have a "linux,i2c-dev-name" property. > > This is a string which is defining a custom suffix name for I2C device > > in /dev/i2c- format. It helps to improve software portability bet= ween > > various SoCs and reduce complexities of hardware related codes in SWs. >=20 > (I thought I already replied to this?) >=20 > Highly similar to [1] from 2021. I don't have a super clear opinion > about this, so I'd need help from the DT maintainers. But the discussion > from back then stalled. >=20 > [1] http://patchwork.ozlabs.org/project/linux-i2c/list/?series=3D237908 This patch (or one very similar) got sent to the SPI and GPIO subsystems too. The response was effectively "use udev": https://lore.kernel.org/all/20240519144920.14804-1-egyszeregy@freemail.hu/ https://lore.kernel.org/all/20240519211346.30323-1-egyszeregy@freemail.hu/ This definitely is in "devicetree properties are not for software-policy" territory to me, maybe Rob's changed his mind since 2021. --iKz0L6DxNIzz7++T Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZldThgAKCRB4tDGHoIJi 0qZkAQCM+GMm8GvD5T4HKNdwij22a+vQCLueZ5s/QX8us5FaUwEAmr2n7g5m+C4V qQsS4fLZv1sNspTOA1YmGzGEOcc/JQM= =TSAn -----END PGP SIGNATURE----- --iKz0L6DxNIzz7++T--