Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2922532rdb; Tue, 6 Feb 2024 01:37:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGI14lWFhK+4yMPRT8qkpd4APYgnhQX9fUH/2FJztXTEvIpF9iuE8xtS4DOqBHY9DwLY8Hw X-Received: by 2002:ac8:7218:0:b0:42c:2728:80a7 with SMTP id a24-20020ac87218000000b0042c272880a7mr2170082qtp.50.1707212238138; Tue, 06 Feb 2024 01:37:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707212238; cv=pass; d=google.com; s=arc-20160816; b=S2RjVvF+ScfXrIlBiraXgWFt50FJV0NRx5MPKuKsFORwdT26iT2F5DfjmZb9AyY/zU DykkZTpgbsmguP+lqW4ECgA0xJdyVkLJeONBE5JZ1dmuPzVsTz7b5kQZiJBmhJy2e4Y6 l38WZrc7TZ8xtOZh3ngP5oK9+6d/adUFI2QgPoW0yf0CrhaN5jgcTtEr/JnWCVDOPuJQ YJZjPSn8JqZy5ZVV/7QDPh96SIMHAXKvmUQ8WH1Y7bcov5TvQJzh9C5e2Vq8nnFXt+jY bxnguyz5g1QnmBhZWpvwSzyBG+wNnANfRIA3tzd1FAF4TOWSiF45QYqVW33+Isft+o0B zYMg== 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=Z09/CwST6kdim+luS+YFr2acymwKx4OMkDoIvTAW6LU=; fh=PofKTVsTqZazKj7LlQnGTU+YZgFR/vEnWZAOYsJbCEQ=; b=yD+5wLbvy57KXfVEPXnjuaKBxPWqTXbAI2PAOiUXSqYL3lA4fSJnH5UrEwvNeOJmVy G5ZehA7l2vPga0hFDbXohlUY5zCtj+dx3rJJj2f5tOeFzUfymxEV334+XQpMl8jAHhOe gBc7nEdE/wViRQcUFfaaqc7YgdU/AaOkdfAmCscKYikm6q4X2cPqKQ4xOGeBhpbFdxaV vjdN30T2ZXtLs9Nl/guv0vGNP6pYpsUdPV/1mxbyVzqx016K2LrRg3fW1xU7L7IP7Tg2 A3FqmuuS60p9216dDL63ZLwecEpHXvwKEh8H/0tE7RYWws0S1lq8KaA2jB5jSIu6hcMY Xzpg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rpvYxnNe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-54603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54603-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWNSmBKbpRZWhC9Y9uPk7zaD7ytNyyaRN5kVxlzTx7pd3P23exvCMFBEJuKhuveGARgQfdq6jlKvnypkjC3h1rET/W+3eFrww+6keb4HQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y13-20020a05622a120d00b0042c36021bbcsi890585qtx.426.2024.02.06.01.37.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 01:37:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rpvYxnNe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-54603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54603-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D9A771C21F6D for ; Tue, 6 Feb 2024 09:37:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 087BB12D164; Tue, 6 Feb 2024 09:37:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rpvYxnNe" 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 2FF4212D144; Tue, 6 Feb 2024 09:37:03 +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=1707212224; cv=none; b=hzNJ97UM5sjC0VWPlNxWyo/kYwmMS+ykXMJ1wDkqotwwmAKtvBCflK2NE3ILnnDRb6XrghoEPZ2tKNWcEqf8HKYx8ckEc8IC2WQIYO0LRma8hJ9F2adfjE9I3g8ZThzybTkLSQLxJ2NdbnSW17OF3hdniuiviZNRgQ/CyK4TedQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707212224; c=relaxed/simple; bh=n9wbGFyXLlnEtppmjA5N2JmZBb/52gXSfzdrpFBWtNI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HVgH2oeFkMQIyDtdls0GjDDQ8Am9N9jPBvrdINjVLlJVK/Xg6E9/Sx2lvm428G6ctQQQz5wK+Xa4V+v9dWVKFJYEVbgOJKZu7yO7vX070BbTqK7e0t6JOfbSRhNRIaDPqsp567Wp9WXN7V6XdA4buIo1L6i479ZAJDRzk+3x52c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rpvYxnNe; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3944C433C7; Tue, 6 Feb 2024 09:37:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707212223; bh=n9wbGFyXLlnEtppmjA5N2JmZBb/52gXSfzdrpFBWtNI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rpvYxnNenRQTKnAAg1z44tyrCb5MgQHOaJeG5M9mcHamGe+dRq7KY2M/efg0LQ12T e1JfrjtJbiBRui7HTwF8GhSd55jUM+CAvNavFNqQ8y+I6DyIrmmyF6mUhhWSG7xrsz mr52SI0dTYphvk7+XAnv+K1Qfcm+nKiepa4G9vaeyMJtO3OomiE/EK5+XiTGfVpZOK 8/AFjeLLXdwwQ4btwd+a9p9cSL05EIb+qem4/+HeVHCxcaUsgmNo6WGv2pVYhAVM54 gYwRW4SGfhohpGWw/bT6yWg4so1EPOQtROZupW3BX44TOkOMDs/Z0t5Ra4+YJG0wu4 P+g5g91xxopWQ== Date: Tue, 6 Feb 2024 09:36:59 +0000 From: Mark Brown To: =?utf-8?B?UGF3ZcWC?= Owoc Cc: Robert Marko , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] spi: spidev: Add Qualcomm spidev device compatible Message-ID: References: <20240205191808.998754-1-frut3k7@gmail.com> 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-sha512; protocol="application/pgp-signature"; boundary="C+ZbumJ7nzlgQ4kY" Content-Disposition: inline In-Reply-To: <20240205191808.998754-1-frut3k7@gmail.com> X-Cookie: You might have mail. --C+ZbumJ7nzlgQ4kY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 05, 2024 at 08:18:05PM +0100, Pawe=C5=82 Owoc wrote: > Add compatible string for Qualcomm spidev device (used for QCA4024). > --- a/drivers/spi/spidev.c > +++ b/drivers/spi/spidev.c > @@ -710,6 +710,7 @@ static const struct spi_device_id spidev_spi_ids[] = =3D { > { .name =3D "spi-authenta" }, > { .name =3D "em3581" }, > { .name =3D "si3210" }, > + { .name =3D "spidev" }, > {}, Why? > { .compatible =3D "lwn,bk4", .data =3D &spidev_of_check }, > { .compatible =3D "menlo,m53cpld", .data =3D &spidev_of_check }, > { .compatible =3D "micron,spi-authenta", .data =3D &spidev_of_check }, > + { .compatible =3D "qca,spidev", .data =3D &spidev_of_check }, No, this needs to correspond to the hardware being controlled via spidev not to an implementation detail. Any new compatibles also need to be documented. I'm also missing patch 2 of this series so don't know what's going on there. --C+ZbumJ7nzlgQ4kY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXB/boACgkQJNaLcl1U h9COOAf/Ys678Eo64BOror1BapTdw7+/zdCdwtU3Sg+PwIuUnOJ/39HpJ+BWTFy5 gu0eRpQqBQalAPN3R8KnRTpVV7518MKBRvHzGBoSoRxrml1S/ZWAoE/AqmRYHAz5 9BZjRlIQ+Kae/f3KFR8SprmNAK/KbSVKDEVc3hnadyYWQg3qK9zPOVesP90SRPh7 4Cn7oCjhW1JjFHkA7jdYyMYwztjUvbyCyhoiDyDCmOeiMPpGZejG8qdfB8Emvt12 xzQ7yIp8e0pIzYXPzq0T2oMFfi/TDJsmSuvFPKAJe4Cuc4eUZfiKca9R6sQYX77K JC/eTWRmm3964LTympefNrcOfd8ntg== =sxPE -----END PGP SIGNATURE----- --C+ZbumJ7nzlgQ4kY--