Received: by 2002:a05:7412:361b:b0:f9:2edb:3e4d with SMTP id ie27csp45785rdb; Sun, 17 Dec 2023 13:43:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IFEqkrquNu7U/2dpeoq95YurSMtY4iFJdesRGeEmk+FLwDVYDBK03mAeKKjpn/I8ZaJAyNQ X-Received: by 2002:a05:620a:5588:b0:77e:fba3:7578 with SMTP id vq8-20020a05620a558800b0077efba37578mr17041838qkn.112.1702849426866; Sun, 17 Dec 2023 13:43:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702849426; cv=none; d=google.com; s=arc-20160816; b=JRCcThaH6IBaswF3/fIpkEfJUOn7Z5n6nGsCqN/cGozHZ+uHh/vX8MHZ4jCRzEIQIH 2nuRdlLO1rxsqQ8EYnfi6ATUYy1Bj95gCgAViRca2u3F4fUdr9nKMak20jD01+KAiKvR BTxk7H4sdfhQC8RaLFm934CTJo6eQtU12sLJM+oX6bNiDlXnIkw05NaG3rrLptMwwthZ KG1XFgxXTaJsi6bZZ5H0mcOjY2dCi7K32ceWkyHYFz9eLhBhON03LhRxecKoILR+30mN lmDrES/2JiGudbsnr25nHadY4aBFyBwWrqAMbmumAd0rN0Q7evP+nJ/J0mIIApXw2zki IeKA== 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=BozSXLkO0q63X13mCZSfQi3++aYJ57+O8QwAaOnjvME=; fh=auQQ+rWtzr/gEX92pMPucao8LjJ3yGaxTbdLImuCc3k=; b=rNtR8EzNmpYDKoTDHXo7R9O6F06OYqctAY/UW1rhPmgJCvo/YYkh8L8qH7v6hP68Cd dWcqAWFvgbKVT2cM6lH8EzMGepXCPrgti0+inXbTkVJuzHXy6Yp7ZTkMMjkD4v+9Frf7 TFRtssV+AjvihEKzN0eLZW8aA3Vo7Xiox0M7JzaYno6FAwqbmUdxYge2UYrwGYTAinpu fKGZC+Ldq9z1KjQYTRSTMdbqogFvfSyGoH5WZB11O9oj5Iwc1pIq5ZDjiUCb6fHW2P5f hh98RosBJgfCxKjtlVuj+uLksTEYGttZL37gSDo8bIz6/TQcDBSKGcZHkmnTa0Fv6Sca /IMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=twzqiBMv; spf=pass (google.com: domain of linux-kernel+bounces-2829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2829-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bm41-20020a05620a19a900b0077f6c434ea3si18353701qkb.474.2023.12.17.13.43.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 13:43:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=twzqiBMv; spf=pass (google.com: domain of linux-kernel+bounces-2829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2829-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 8E9E81C21308 for ; Sun, 17 Dec 2023 21:43:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EF5248CE7; Sun, 17 Dec 2023 21:43:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="twzqiBMv" 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 BF13E49F6A; Sun, 17 Dec 2023 21:43:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FF3CC433C8; Sun, 17 Dec 2023 21:43:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702849419; bh=ttHVxZrSl0fzPqXZ/8WzdupCtgmAwzVZdpIUtIeSJd0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=twzqiBMvBBonVZLV/2nXWJRdlkicH/UcNNNRecOo0pRinoOSn3+4ywPuL+byA3TI7 jL2VhDL/HvKCO0JHjCDpR82blUWfrx1uoQ60IAsrTVQaXxGgIxdaEhV7nqkAFp6igE xBDvqZVnDNI9ETHGAfNtpk5Yi55EZdPX0YIlY2XbgkIbqv4lImAxt73kELE2nv+Gfw n1D2yywvZvdV8svhzqB9JAuzG7qO1Oyxg0gGTbmy1UWAWYs/Fqzi5PBJYdUrmWTc2u KKK0MOc69dsL96sHo7YPi/0nN77KnQfDSeshj/Ld1vYnJD0Yr4xDeFUKKkS8NPYnig YWLf1Sx096RHw== Date: Sun, 17 Dec 2023 21:43:33 +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-hunk-cross-4bf51740957c@spud> References: <20231217100741.1943932-1-javierm@redhat.com> <20231217100741.1943932-2-javierm@redhat.com> <20231217-bacteria-amusable-77efb05770a4@spud> <87fs00ms4b.fsf@minerva.mail-host-address-is-not-set> 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="uvs7ymLunVDhuv2O" Content-Disposition: inline In-Reply-To: <87fs00ms4b.fsf@minerva.mail-host-address-is-not-set> --uvs7ymLunVDhuv2O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 17, 2023 at 10:33:24PM +0100, Javier Martinez Canillas wrote: > Conor Dooley writes: >=20 > Hello Connor, >=20 > > On Sun, Dec 17, 2023 at 11:07:03AM +0100, Javier Martinez Canillas wrot= e: >=20 > [...] >=20 > >> +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? > > >=20 > Because these are only for the default width and height, there can be > panels using the same controller but that have a different resolution. >=20 > For example, there are panels using the SSD1306 controller that have > 128x32 [0], 64x32 [1] or 128x64 [2] resolutions. This, as you know, does not matter here. > But answering your question, yes I think that more devices for this > SSD133x family are going to be added later. Looking at [3], there is > at least SSD1333 that has a different default resolutions (176x176). That's fair enough though. I'd probably err on the side of introducing this complexity when the other users actually show up though. >=20 > I think that even the SSD135x family could be supported by the same > modsetting pipeline, but I need to get one to figure it out. >=20 > [0]: https://es.aliexpress.com/item/1005003648174074.html > [1]: https://www.buydisplay.com/white-0-49-inch-oled-display-64x32-iic-i2= c-ssd1306-connector-fpc > [2]: https://es.aliexpress.com/item/1005001582340858.html?gatewayAdapt=3D= glo2esp > [3]: https://www.solomon-systech.com/product-search/?technology=3Doled-di= splay >=20 > > Cheers, > > Conor. >=20 > --=20 > Best regards, >=20 > Javier Martinez Canillas > Core Platforms > Red Hat >=20 --uvs7ymLunVDhuv2O Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZX9rhQAKCRB4tDGHoIJi 0urZAQDdCk0O4EIhlmjwki+Jl0RqsfAslhFufBpKGUbKX4BvywD7Bb1X9ZmooXs8 SNyUI6YvgDljaImUgx8KU/1k38YgfQA= =0pmm -----END PGP SIGNATURE----- --uvs7ymLunVDhuv2O--