Received: by 2002:a05:7412:361b:b0:f9:2edb:3e4d with SMTP id ie27csp31030rdb; Sun, 17 Dec 2023 12:52:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMebRjbir22tFx9AqwJF9W/YC4bpmo7epaKGw5Eg9XkQAsqLx6LEf6MFNBw67NlkDaQiXD X-Received: by 2002:a05:6214:20ca:b0:67f:457c:21ac with SMTP id 10-20020a05621420ca00b0067f457c21acmr813355qve.48.1702846356621; Sun, 17 Dec 2023 12:52:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702846356; cv=none; d=google.com; s=arc-20160816; b=KzC4LphgAvBMfwiHLWIbuHINsKUeMGYtuoSgMzGxhNQmzOQU6/98eIEjvfvnTmKtM4 ZP7ZorUtH+QduGuyKFF0nKJ9OV33DDhtB8a73KR5KMbSmHBSxRfbbnTunTx9nwR8+tRA N5R64P5LvgONeYPbbgMqJlDebTEjGQpNIeSAWsI3ina5H7+/qDWK6Pu/oAnAchXM+6+v Nsok++gQhZxBw90t+0IKd0MPSX7KhlYlqCiEagRQmerp4jOXN+lml6vNWnFkk6iu+X7y m3Y6DS5hO0opCc+dR2+SK2n2+Qrr6AWEdMoWSyT2Bct0ohuEZTzB0LraxJyJW6OFmtGu b3cQ== ARC-Message-Signature: i=1; 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=fZY4kPDgIzdYTplKUkoFvmCMuOKsaPCYAkTladOFgqc=; fh=auQQ+rWtzr/gEX92pMPucao8LjJ3yGaxTbdLImuCc3k=; b=U/MStduxsAhte+vCOYgfrOtZaNm+bK+bKXp3oZNziivUJCT+U2JCVl7Cq71YeDnviX 6e0KIjk6Aynd+m5FwMXDkoMJRd3QyMF8XVyC+TnDi6oCkuC4JRyuJak9i8azcUKdR9De vvaa2Kh9tKX6zHDsKCMBWf3l77UG9OVHHz/kQw+kSHfB0uDMAn/PUVlnjcNmq5EMDPlj u6dlQDvkdBvr0rCc/blv6QkkyunC7mG3br3eDl4lzSKZuGjN1fSkjDczAlOrEpokHFyL 7tiZIpMzD9WB3J8sVAo6lASvKqpq5EoZ/0DjFk2ulkd9LjWNGy/OUPcaG4l078i3tBJ7 m8HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WJYeMndj; spf=pass (google.com: domain of linux-kernel+bounces-2804-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2804-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o15-20020a0ccb0f000000b0067efe972feasi3134275qvk.227.2023.12.17.12.52.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 12:52:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2804-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=WJYeMndj; spf=pass (google.com: domain of linux-kernel+bounces-2804-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2804-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 5A1201C20FC1 for ; Sun, 17 Dec 2023 20:52:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AD02481D3; Sun, 17 Dec 2023 20:52:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WJYeMndj" X-Original-To: linux-kernel@vger.kernel.org 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 6D979481B7; Sun, 17 Dec 2023 20:52:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50317C433C8; Sun, 17 Dec 2023 20:52:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702846348; bh=QZQeR7+cmdaZ25HquXncvbA8GkAKTHnMuVHURT1RTW8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WJYeMndjYAHRUb5DIgrE73sgH6cCgJgPn3HWmWmgcdnbyVv5sMwxSuLTEotn5eSjQ D2tDqW8OMwyDzL8h39TXrikx2aA4nb9Yty38fBI3fxqtq5R6HgX31gRHQ++Fi/BUbq aQ+yGk/c5S8qixlRVGgsgAzzV5arRGEcx+Z7RX/ZONmqITSWIIMnK3BvSF/iDL9Vrz /9NKrJZjm9WkjAvMEN823qSHl+TdbF21jVW4WfqE+t3TXhFEjIjVDKAK29LIpS41Oj Nubkk8zF2czicG24wwGaS4x92wD259TvlgJ03/7zl5lgrLL1zkeo2O3R92ON3Q6Lu0 VXtgMHr1NfGKg== Date: Sun, 17 Dec 2023 20:52:22 +0000 From: Conor Dooley To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, Maxime Ripard , Thomas Zimmermann , Rob Herring , Peter Robinson , Geert Uytterhoeven , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Maarten Lankhorst , Rob Herring , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 1/2] dt-bindings: display: Add SSD133x OLED controllers Message-ID: <20231217-bacteria-amusable-77efb05770a4@spud> References: <20231217100741.1943932-1-javierm@redhat.com> <20231217100741.1943932-2-javierm@redhat.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-sha256; protocol="application/pgp-signature"; boundary="HF0go/XKn24LL76Q" Content-Disposition: inline In-Reply-To: <20231217100741.1943932-2-javierm@redhat.com> --HF0go/XKn24LL76Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 17, 2023 at 11:07:03AM +0100, Javier Martinez Canillas wrote: > Add a Device Tree binding schema for the OLED panels based on the > Solomon SSD133x family of controllers. >=20 > Signed-off-by: Javier Martinez Canillas > --- >=20 > .../bindings/display/solomon,ssd133x.yaml | 63 +++++++++++++++++++ > 1 file changed, 63 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd= 133x.yaml >=20 > diff --git a/Documentation/devicetree/bindings/display/solomon,ssd133x.ya= ml b/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml > new file mode 100644 > index 000000000000..eee8d8c9ca35 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml > @@ -0,0 +1,63 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/solomon,ssd133x.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Solomon SSD133x OLED Display Controllers > + > +maintainers: > + - Javier Martinez Canillas > + > +properties: > + compatible: > + enum: > + - solomon,ssd1331 > + > +required: > + - compatible > + - reg > + > +allOf: > + - $ref: solomon,ssd-common.yaml# > + > + - if: > + properties: > + compatible: > + contains: > + const: solomon,ssd1331 > + then: > + properties: > + width: > + default: 96 > + height: > + default: 64 Do you envisage a rake of devices that are going to end up in this binding? Otherwise, why not unconditionally set the constraints? Cheers, Conor. --HF0go/XKn24LL76Q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZX9fhgAKCRB4tDGHoIJi 0nZxAP9pT/ccPBJYrxczjDS0WHcjCAxC4mgf7EWpR9GMyB6OZgD+NL3uf89+ZHzM obuRpn37wflN/lO+6u+cQFe0RY5IHQY= =pmCw -----END PGP SIGNATURE----- --HF0go/XKn24LL76Q--