Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1143701lqt; Fri, 7 Jun 2024 09:08:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU0ha8cPOmUp6lCqPqQ6aQPTPDYuwG7qx6+EosxtUbXloNVdoPKyl9KVtnbHaOBJSuC3rM3CaLc50ryAK0prFxm1LUqH5FER48qX5Hnlw== X-Google-Smtp-Source: AGHT+IHHERl7NEuVOyyM+NigdSeKw+Nif0UPET3Tq8USDhV8IjDVBVYnFLikQrOEkwgPZ+I4+azb X-Received: by 2002:a05:6a20:da8f:b0:1b2:b150:37c3 with SMTP id adf61e73a8af0-1b2f151c0efmr3437439637.0.1717776537006; Fri, 07 Jun 2024 09:08:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717776536; cv=pass; d=google.com; s=arc-20160816; b=owE2Oq3qqWj3S+jI66jcJWbVWr+H0MWBZQH0w6itkmgs4kZ91recNbk6GA0PiDvWkD iLCEQTLSsM1VOpIRHp/iLCP7fgCposfy7MtOJOsMOUuY4ldfFgfjW60uFiNi94BSj/nN sPakB7q0sOPEkz6vmtZUj/oIzQONFhE+gfwDwAJHG+iYFIPiH9/VrLQDcNr75zqofn+n 9kdsNY4FTh4Mf98oZkdH2BIqWp0gavMLDe+V7257uAE+tjtQhUTDHL9S7JD8kGA2e3WC rLZ+qcCu/btG7ECH5r/81UkQ0O+4Sq9frt0V9McIxJ/9xvkxlt100RVqBvpOvcPacZRk o8Iw== 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:cc :to:from:date:dkim-signature; bh=qq7mi+wDpRkzNaz1LM1RRx0kZfe4NDl75aDWwGi6P5g=; fh=/QP+nODCZr2gMN8G9b7JhHl7iRdxcIWDLE8Vc8r1kxE=; b=l9CQRjyNqC6VG75YGR1vrKfr1kx34iN3YEBLXc3XfT+6+Pz7+4bjgDrdlYRdY7TVIV 077dyx0/QmTCqasjKdET2NFrfmQTv2Z5CuRQkjvvcphXl6xjNKOiTo6RIhStacVxDUDu bI9S5QAwZQtDUn6j+ZQIcbM5d3GusEoNMpXej4VHoMkh9k1UlAmshcQpbhu2mbG4BxkJ jG3zwNJQYP1nnepB00LCWbj1iEzHyxHjZnnNhtsYxhh269z5N3MUHFQGBNHpa7hNKvEl WDGzG9HuuhiPcf9YKMrvPJi1ndeGHY8ZT5VympG5Vpmu7cLZKx2bKqfWhQ3ryl8ozgBu dBMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BM4zMeXq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-206457-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206457-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. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e4f2f27260si667816a12.544.2024.06.07.09.08.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 09:08:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206457-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BM4zMeXq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-206457-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206457-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 31AEE286237 for ; Fri, 7 Jun 2024 16:08:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AC5219AD8A; Fri, 7 Jun 2024 16:07:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BM4zMeXq" 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 6186D1993B5; Fri, 7 Jun 2024 16:07:27 +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=1717776447; cv=none; b=bGKGDgBbRtG5BwdiuLTxBUOLZtMGTou4kofJYpeq8SjCTAAb7zxvWSCM5X8qVedVDh7PNO/rFaW6uma//NYVvY75tm+YNPAJ/TjH+FFq4f5Y4qQNbQ1Tx5+R6xif/Q/YI3yGQSyq2wPz8viXNm1KwcpP2BP+Za39A3fN38wNqRE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717776447; c=relaxed/simple; bh=75i5sv2osy3F6OTF4kf2ikAYvuYFJQbjbAFRxbsamyE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dHOv/WLQ/Szk7LYpG8WiS9CAotvMO3QoK7Wrpaof70k1fq/RrV67lNdnHbeHnAr8SH8OTX5nnyQ+oIf3AT0SCxl8cOoOdjHYouZ2SBVjTzr2eksL5El3cZsUN8nceOBfjhZtRbYZ3/TUAB/K0lRk8r4ajcwdfItdztKsG1lJjr0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BM4zMeXq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA3E4C2BBFC; Fri, 7 Jun 2024 16:07:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717776446; bh=75i5sv2osy3F6OTF4kf2ikAYvuYFJQbjbAFRxbsamyE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BM4zMeXqQWVFCFg2mH29wyrnR+o2eKvoWuIxpECr7J46oTIBnl1BHtX6rlnJphVIh ffvdsTjdzyd/gtT/PJuVDxQMXyNnYnS+sJY/XyS7gs8asIvAScvq/I5eLkFZu6xuOq buOV/ae5NOUAaMNKmyiLN/gNQZWXb0adlfOwDxPnYsxyAUDIETApd+jhO/DlK86TxN RrLsnqzK/Q8KW/X3NWrZhb8mWTVdOL5WwSOgsqZdjOmZFA32AMZGi4hq/C3B3ysasK r/IbpaBoc8Q6nKxoVtEBTVZEoeQhqhtGOThSe79J6AnwxTHk8YaH/dwzjKB6/tccz0 ZJHq6C4BKg0oA== Date: Fri, 7 Jun 2024 17:07:23 +0100 From: Conor Dooley To: =?utf-8?B?U3rFkWtl?= Benjamin Cc: Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] spidev: Introduce "linux,spidev-name" property for device tree of spidev. Message-ID: <20240607-upcoming-tidiness-401e5d0a8af0@spud> References: <20240519211346.30323-1-egyszeregy@freemail.hu> <1ec9e8e5-0818-42b0-8776-d9cfb0585f42@sirena.org.uk> <9ae65e3c-f1fa-4ca9-8d74-12d92c51c5c6@freemail.hu> <30944fda-6d18-4fc1-8c73-bcda4814a417@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="kswT3B/YF4mS8yoS" Content-Disposition: inline In-Reply-To: <30944fda-6d18-4fc1-8c73-bcda4814a417@freemail.hu> --kswT3B/YF4mS8yoS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 02, 2024 at 05:31:10PM +0200, Sz=C5=91ke Benjamin wrote: > spidev@0 { > reg =3D <0>; > compatible =3D "rohm,dh2228fv"; > spi-max-frequency =3D <1000000>; >=20 > // via my kernel patch -> /dev/spidev-mysensor > // linux,spidev-name =3D "mysensor"; Given you are describing a DAC as a "sensor", I doubt you actually even have a dh2228fv*. You're looking to have a consistent name here, but you can't even rely on Linux even continuing to bind the spidev driver against this compatible if somebody comes along and writes an IIO driver for this DAC! That said, google seems to return no results for a dh2228fv, only for a bh2228fv. Makes me wonder if this device actually even exists... --kswT3B/YF4mS8yoS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZmMwOwAKCRB4tDGHoIJi 0pOqAP9GO4kepCashO7Y3AjkXVJoHS4PoLhigibXkEbYlB3eQAEAuLd0e5h4rldi MPTdtfAutdaysEwujDWjtqdtU4LhfwI= =8StO -----END PGP SIGNATURE----- --kswT3B/YF4mS8yoS--