Received: by 2002:a05:7412:361b:b0:f9:2edb:3e4d with SMTP id ie27csp62349rdb; Sun, 17 Dec 2023 14:46:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfl1GydNBZy+dcAZNfW4qkuhckZQxkoigPDBH+B8yv78bxqopTyTFMVL5SIjRQyL4u9ePV X-Received: by 2002:a17:906:2c10:b0:a23:5ba8:472a with SMTP id e16-20020a1709062c1000b00a235ba8472amr137099ejh.43.1702853195920; Sun, 17 Dec 2023 14:46:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702853195; cv=none; d=google.com; s=arc-20160816; b=wASf8V+KrKrk5cj6Q8kzhiWQBKHYJiUIsSXL71ul+2/FjJNvRGzQBRJdb56BTkCEVl c62PEjbEIUtuiSBqNLyO6vHCEWkztYSvOkxHKjAuD2TPYvbJE3FLb2kJIzDVCcI/QDWY xfKv1wkpBUa+BCSq5LOB7FiuVed8yiy3XfjuWGFC8QZUR4lyucVbavdzBu0qxT1UdkEo EgbTMHslQDuk9Aq/4etDYCqxEUZnjgmzI1BkP6ZM9cp6Xg2dVj1s9Npu4Z1MksRCJjBi pWH/qJ1Zzcd0FNegpxZtqVUTigKKFksI9Zn5mewuz0VfUDtuYhSLD9hwF4SG8p/tn3uN ItVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=ZuMkSqDphggFe82tZqaGer9Bq8n3w4NhlpIrSLDuh64=; fh=qpuzgF90QolVATuwX5W3gp+OXo112REo85CzD3QUW7g=; b=it3DYoaKmhhWL7CSY7OKxwTeYetIK0kPL/6+O4m2Fu8V4VEdCT5v17eSdU5U2GXFr0 qz/MWAOdrL3WOA7EOFVU5qeQC7ctcxxa8n8vSwM3yc0hLqXhEy9R1R81NuWY2TfaGZjG oDS+XlT7/ZpTmAAmbUNgrZiyCpvAyPjRDCX8xGdZKJpvDiMa2hmMwmoT7MzkoUNCYpmB mJ8Ui94xwmesDgUCOCw77zGri15pcia4jAicsaDtRcs93vlDNL/nHTKdSKc2HSof/09p +7BNYTkKWyXX3jqPgf6FkMQfV1oQsrOe+mmsC14wxCnicbgEtE0A55hGEX0S7c7KDS8p u1Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MnvU2z+v; spf=pass (google.com: domain of linux-kernel+bounces-2855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cf25-20020a170906b2d900b00a234b686f86si709479ejb.517.2023.12.17.14.46.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 14:46:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2855-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=@redhat.com header.s=mimecast20190719 header.b=MnvU2z+v; spf=pass (google.com: domain of linux-kernel+bounces-2855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 AA2101F2175D for ; Sun, 17 Dec 2023 22:46:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C90CF49F7A; Sun, 17 Dec 2023 22:46:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="MnvU2z+v" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 6438E44C67 for ; Sun, 17 Dec 2023 22:46:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702853184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZuMkSqDphggFe82tZqaGer9Bq8n3w4NhlpIrSLDuh64=; b=MnvU2z+vdVzJ4ZJXkirYvq36Hkvwx/qmECFdHoe5Q3enAS/1Dnkn9lxckYl2Wb7c3RmsCN NElBw1mnXhKKqlXepVRDIM0lNCW1vEastR2eAai32F/JDx1zEkzsIVifxeGVwoO9QLz7C7 SgTPSzQ05+nJXK7AArPfYpv9V6pq8mM= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-512-eJbr1JTnOGGtBF-qKlR06Q-1; Sun, 17 Dec 2023 17:46:22 -0500 X-MC-Unique: eJbr1JTnOGGtBF-qKlR06Q-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-40c495a9c7cso20917965e9.3 for ; Sun, 17 Dec 2023 14:46:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702853182; x=1703457982; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZuMkSqDphggFe82tZqaGer9Bq8n3w4NhlpIrSLDuh64=; b=PP+7ACm/voxCPPhNvzUPLch9pWLIb9Bjr7lXYL6lK5EBYF20kjjrOQH2JyA0l2hbsT DdwHatCeBJKIUnikgyhMWpDkNnz1dNl2Ryq1Rr7QD/tIXmFmdy1UiwzX790OAhBjdkE9 yOOIxKKZn8rHzh8X7+Q/SEOe8Bs7gAlUtVfSSNMbs9q/eZRIVUqx1QwSKtdGwgYldTZO nUjve2PZMsOeAGwfa3T8dkuGCwnYyx9nzTjz6FLy0dyOqu8OsSs2IPfVToq25EBLzxAX BxxJFbFurH6kMsUyRNhXPjA7qdTAiAmGbDGgWV99WmKjR/e6SJBGO24KxTD2sKsMLMmi F0Dw== X-Gm-Message-State: AOJu0YxUjbreYoioPNYC2QY4H6Hg9e+oKGgVlQeywJ6QzRD5ECp2d8If xMjd3gZMFOKDcyi3fxxzMjuRPypJMzAlEpf59RqFul+ISNaasA/I0n89aEu43b5UHbFus/gSFA1 y002YqE5zRBX1qk47P7u6s+Xg X-Received: by 2002:a05:600c:4f90:b0:40b:47b5:be4f with SMTP id n16-20020a05600c4f9000b0040b47b5be4fmr8011120wmq.26.1702853181860; Sun, 17 Dec 2023 14:46:21 -0800 (PST) X-Received: by 2002:a05:600c:4f90:b0:40b:47b5:be4f with SMTP id n16-20020a05600c4f9000b0040b47b5be4fmr8011114wmq.26.1702853181517; Sun, 17 Dec 2023 14:46:21 -0800 (PST) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id d5-20020a5d5385000000b0033662cf5e51sm3013673wrv.93.2023.12.17.14.46.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 14:46:21 -0800 (PST) From: Javier Martinez Canillas To: Conor Dooley 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 In-Reply-To: <20231217-catcall-turbulent-0a4072eaba43@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> <20231217-hunk-cross-4bf51740957c@spud> <87cyv4mqvs.fsf@minerva.mail-host-address-is-not-set> <20231217-catcall-turbulent-0a4072eaba43@spud> Date: Sun, 17 Dec 2023 23:46:20 +0100 Message-ID: <87a5q8moqr.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: text/plain Conor Dooley writes: Hello Connor, > On Sun, Dec 17, 2023 at 11:00:07PM +0100, Javier Martinez Canillas wrote: >> Conor Dooley writes: >> >> Hello Conor, >> >> > On Sun, Dec 17, 2023 at 10:33:24PM +0100, Javier Martinez Canillas wrote: >> >> [...] >> >> >> >> + 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? >> >> > >> >> >> >> Because these are only for the default width and height, there can be >> >> panels using the same controller but that have a different resolution. >> >> >> >> 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. >> > >> >> Are you sure? What I tried to say is that the SSD133x are just OLED >> controllers and manufacturers use those chips to attach a panel that >> has a certain resolution. >> >> While it makes sense to use all the supported width and height, some >> manufacturers chose to have a smaller panel instead (I used SSD1306 >> as an example because I knew about these but the same might be true >> for let's say SSD1331). >> >> Or saying another way, are you sure that every manufacturer selling >> RGB OLED panels using the SSD1331 chip will use the default resolution >> and users won't have to set a custom width and height ? > > That's not at all what I was saying. I just meant unconditionally set > the constraints on the property (in this case the default) since you > only have one compatible. Not unconditionally set the height and width. > > Apologies if if that was unclear. > Oh, I see that you meant now. Sorry for my confusion! And yes, I agree with you that doesn't make sense to make it conditional if there's only a single compatible. I'll drop that if condition on v2. Thanks a lot for your feedback. > Thanks, > Conor. > -- Best regards, Javier Martinez Canillas Core Platforms Red Hat