Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp523410rdb; Thu, 8 Feb 2024 12:44:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV/Mritq6MEEBqq1IbTIss5GjFt8Bylv3u9ZwxxuDyOmj21r2BgAmeZvNAoTSVdzK2Y01UyQU54cImLcH3KW+eOTxGydIq1F9Bzryy1sA== X-Google-Smtp-Source: AGHT+IFV822jsAaOHMSzX7krXdBdYlgkRP6azla2FiQTPbbF3bHpxyR+ch7SBofAXMBkU9dClgMf X-Received: by 2002:a17:906:a398:b0:a31:2119:90d7 with SMTP id k24-20020a170906a39800b00a31211990d7mr323070ejz.38.1707425079694; Thu, 08 Feb 2024 12:44:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707425079; cv=pass; d=google.com; s=arc-20160816; b=twMw+3AVqABjctWLPUWFsprzjOP/6msuffP26EJ7xpSdGRXViYc5lbWp5lfbvXPOZ4 GoM6ghOBCGTsem8yXSKXyJVpBjqmms0J52s+isvoZZbfU9DBfJqoaAf0sFJ05MQyu9LL phOpUp5W/0wS3Q/bOH63BBUiz2o8gYwKf0qj4XQhDwt00maobZTPKiTE8SuT9RnKC0gb GO3RcdXq5FyCW7A1kp5su41qsXOtddfFIZ99I6DTtZiqAwhlYFJ8RknWCj38+Vpn82VB yfqYr8KbmfO9dQ+JybKoFwuqkIYo3G5ydC7JfRR8GwG/1DrVVq2FySJcyL4fq/8l+fLM vPxw== 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=D7zzQEUCyR4ZEJlAjB6FstrxbWlC7Uf7//Pcy9iBB7A=; fh=1+i4vf3Ozw3W/hk/lxWrTSi/HC73tgtNIIWcMTwQNRw=; b=dUTzM2NOrzs31X6xLpq+NC79SCmOuPEw/9u4WsxQoqzPu6FHgwuNPlxjqtpk0L1jAJ puTz66R9EC9EPeSRZSDU03vyYQhkMz6fmuHNaf/6V9WVtTD81bPQY4FSYaIEaBeRGlq8 nVmcwAf4GYdTtjEeLjC89posAqusXi/h7XYY5UJATUaSVzBJcvHeHmcawabSB+mtnTJG jgZfbmdYqfzCkLxysd35hcnkcS3K9lPFJoajNJ1jqqTN+Fmc7zQPEvXJCGAgnMCJI8E7 rUAo97sF2Ly/Hg/uUmN3e185vOfxtOxi903iJEMysjBEYKXq+NxKiMYEKmAe+aPf80lj k+fQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AN9toC51; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58673-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58673-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVxTetZr66Wtx4AOQmVx4/XB7YPhTXduJtO2Ime6MJSXrfaZlydeGgeB8QKx2FUkwszjwtxTALKOuKnGWMS24cC7xYryY+e6HXWDMCnig== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r14-20020a170906c28e00b00a3bd891af28si39384ejz.414.2024.02.08.12.44.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 12:44:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58673-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AN9toC51; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58673-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58673-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6C8B11F2D1D6 for ; Thu, 8 Feb 2024 20:44:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 229124EB58; Thu, 8 Feb 2024 20:44:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AN9toC51" 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 281F64A990; Thu, 8 Feb 2024 20:44:15 +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=1707425057; cv=none; b=Qvd5hw1utsXT92zqUIR16R4YYcdOnv2FngbRJJu6zfCa1pom7ojuF23Ap6TwkTGNX1W3WK8y/+vT7Kp5TiPC8RAfhSU2kOwDSBQmANT+GdUb6UHO0HsqhEBVwfU/py2Mk0wGhNn2wc+CGWnuzrkqxV+Ez7q6bFJTasL/BOHDoTs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707425057; c=relaxed/simple; bh=qRU3iyaNpE+Rb447l6RJ0FET7PNDqULjkzw4mJQ4ng8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=madKijA0jtsrbsnZok+lSbLNBiDT5Ybn6Sg2vIIsWGYIB8HC2KZIFRTOiCJTLWnZ/P+xdTTJcpvMjnaoWVkblFtC7b0nPS2FV96LaC7uIhVa2xUW60cbCKFLCP/CmvXVFVxiXUkXF9mKCd2O1gVXgzcrLC/XWnLlCZu4dx57wtE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AN9toC51; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A7D5C433F1; Thu, 8 Feb 2024 20:44:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707425055; bh=qRU3iyaNpE+Rb447l6RJ0FET7PNDqULjkzw4mJQ4ng8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AN9toC51pq/9x8QIWVxF4buscSvG4ysb+w20x6vnPRzxQsjRq1o6Adm/kO4s0vT7h H83rkBpj/4M+Go3njXtX08ASUQLDhlyklHa2woNAuwe9iarkgYoM6kOpnsZXuUMvfE IZujNzlLudUhADK9j8uWViZFmNJdh6PgXroB8trZD41s97ztXeLzZzTNVZn/GY75R8 3SewPmB3dvUHOyxj3hv2Y5NjynVxSarYvitpX2IvVJd0j8ZmFnfJ62+kicZVyMzhSN b3rbYOKJqdFH8BZzNOVc0eBecHxrPpava3AjXVQSjQjrwpMJKHesnZPOL0evariV/J HyJh+lwB5J2gA== Date: Thu, 8 Feb 2024 20:44:11 +0000 From: Conor Dooley To: Andy Shevchenko Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Miguel Ojeda , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robin van der Gracht , Paul Burton , Geert Uytterhoeven Subject: Re: [PATCH v1 14/15] dt-bindings: auxdisplay: Add Maxim MAX6958/6959 Message-ID: <20240208-morbidly-submerge-fcafe85bffc9@spud> References: <20240208165937.2221193-1-andriy.shevchenko@linux.intel.com> <20240208165937.2221193-15-andriy.shevchenko@linux.intel.com> <20240208-chute-bacteria-75425bd34dc9@spud> 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="sxJRa8heXZCzXt88" Content-Disposition: inline In-Reply-To: --sxJRa8heXZCzXt88 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 08, 2024 at 08:16:56PM +0200, Andy Shevchenko wrote: > On Thu, Feb 08, 2024 at 05:50:51PM +0000, Conor Dooley wrote: > > On Thu, Feb 08, 2024 at 06:58:57PM +0200, Andy Shevchenko wrote: > > > Add initial device tree documentation for Maxim MAX6958/6959. > >=20 > > Why "initial"? Are there elements this display that you've not > > documented yet?=20 >=20 > s/documented/implemented/ Oh no, I meant documented. Whether or not you implement support in the driver doesn't really matter, but you should endeavour to document as much of the hardware as possible. Certainly simple things like interrupts. > There are features of the hardware that may need additional properties. >=20 > > > +title: MAX6958/6959 7-segment LED display controller with keyscan > >=20 > > > +properties: > > > + compatible: > > > + const: maxim,max6959 > >=20 > > Where's the max6958's compatible? I don't see it in your driver either. >=20 > For now, see above, there is no need.=20 I don't know what I am supposed to see above. > Moreover, there is no need at all > as we have autodetection mechanism. I don't see why we should have two > compatible strings just for the sake of having them. >=20 > > It seems that the max6959 has some interrupt capabilities that are not > > available on the max6958, so a dedicated compatible seems suitable to > > me. >=20 > So, please clarify the DT's p.o.v. on the hardware that can be autodetect= ed. > Do we need to still have different compatible strings? What for? I don't > see the need, sorry for my (silly) questions. If there's an auto-detection mechanism, which is a valid justification, you need to put it in the commit message. If you don't it just looks like you're missing a compatible. The advantage of a dedicated compatible is restricting the properties that would only apply to either the 6958 or 6959 to just that device. You've only partially documented these devices though, so it is not clear how much of a divergence there'd actually be. cheers, Conor --sxJRa8heXZCzXt88 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZcU9GwAKCRB4tDGHoIJi 0hs+AQDCko8IQ57nsKd0xBsoOxTDO7hnzRgkrEyfG9eQFeWRpQEA78y+k53qmS8I JdySkG1FA4lAUXaiepc4F+RFVXbhYgo= =HrI2 -----END PGP SIGNATURE----- --sxJRa8heXZCzXt88--