Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp210868rwd; Mon, 12 Jun 2023 12:18:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4+fKWDpwdTPIVuUMFr7Xge/ztOUIHVK7NfobCs2INwgrxJOfMJPgctshglP2v5Di/8HEpq X-Received: by 2002:a05:6a00:2193:b0:649:93a7:571b with SMTP id h19-20020a056a00219300b0064993a7571bmr12827588pfi.13.1686597525077; Mon, 12 Jun 2023 12:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686597524; cv=none; d=google.com; s=arc-20160816; b=qkBK6VOAgPUpHT7uR1XeZEvDcFGmER+WnI7QfAgzcfkRIqO8jTjUnJduKrvwPVoVBS wtSSML7KoQslN++iAPMeb02CAo2k+b/43DyjPAI7pC7ROFv+qLHl+gvpr2Fbs+OXWs/3 TtO9hcos4y6XZI86pqEAHMhUN85y2r0Wu77qGsOHuGyK7IuhFTTYyYY2tFt4srpt5JD/ 3jSWSVWc1LKXGnnbRuPtP+RVxDIVmr4tL9hy5gZHZomQDcb6wULSzhMMAOgAqs5FZMWR bqN1Kx26nrcU2f2VWlPKlkpApdCBOFbxSQ9AsYLRSGtVoJnf6o23ARBI9jE28PSr/Bgw 899g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=ytk4CBUD5ymgdb/TV8v27oVrKqeWA1Ac0y1484kVuMA=; b=YM4udKXBb4EExZRSQ2R90v7xnPgPu4iPx8hz7yPGVt2oQS4Aev/ECZDgNtOZIERlfg P7E9Nwpwld6RvAxCm+TXxJUPULtUsXCdI4KzUKCa3TcrCf1bqvFZFhFlT3p+ITOhV7wh DhQTBfSoVTyRuHCA8bXOsPvSwf7l36A2jr/b2qPcBADf0RGn5VchBmEUKk5gPit453q7 iVfdBrC0hLipF4W7dhNXzc5674Ot9dLI3DAhu0QKLYUJUS5y0sBmbc1YyOQyv5JjCntO Hj+w0wUrGtI2eIxkF88nFnHP13FD47Z79k7Iq+C/JdPvluahzCIa2/LjjKYOnrnUdKLH Turw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ns2DTuh9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x71-20020a63864a000000b0053468421910si7770901pgd.620.2023.06.12.12.18.33; Mon, 12 Jun 2023 12:18:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ns2DTuh9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238068AbjFLSbv (ORCPT + 99 others); Mon, 12 Jun 2023 14:31:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237745AbjFLSbL (ORCPT ); Mon, 12 Jun 2023 14:31:11 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAC011728 for ; Mon, 12 Jun 2023 11:30:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686594625; 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=ytk4CBUD5ymgdb/TV8v27oVrKqeWA1Ac0y1484kVuMA=; b=Ns2DTuh91AG7n9kAg7VJ675+fJ3EqI7ZPZhpG8UG1tmhhebeuzRJC4oqTHiGQKizRk6fly A1L2Zdyk5Df+V6BBVreZlr9dWUuSchui9W2TRgWSVZ9ec/1wWPpbkDptOZCTI71a4RASsJ ABdpwltxmK+D6g7rMXsCCVbCto6mMY8= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-557-KodHhvVXMCaNx7y8rqdjNg-1; Mon, 12 Jun 2023 14:30:24 -0400 X-MC-Unique: KodHhvVXMCaNx7y8rqdjNg-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-3f7e6582938so87826145e9.0 for ; Mon, 12 Jun 2023 11:30:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686594622; x=1689186622; 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=ytk4CBUD5ymgdb/TV8v27oVrKqeWA1Ac0y1484kVuMA=; b=k+sGqTX+3gal38NBXVSASqbsuLT2GwoYoOPATHEfQSsit6H0SQA6InssREdaRo39PX NU4YR+YkU9xG5k/Qlodi7r+gDfO3cG3XOiMF+FxJnctqndevpsNIHBuuQ9Uv8DHRwCZi b1AAYV9y77lSGjY6z1zmfz6Swt+FdePpeyicyiwY8jhl0L0VePt7k1bNXUdM12FisTK0 0A4Mx2xHxx1mcxsA1LM/dJUU0gwCfVJYd+LbiH/yvwetxKBSt3xbGMREQjHJVAhLb6Ie a2b7umztubm0U/Ozu8s8UXSGSbVQiyTq0b/cGwkFovjqaus3ITqEjWT1Ko36W23Iz5vn b3Lg== X-Gm-Message-State: AC+VfDwB/26QnLktIzTXA2yrsqGQazhzgeiOjXD5zPeoTLe0K+7AjQfX bWqTFIL8SejpXYIsJPirkLVsSXA6D0QNOUoSQILLTpoBlQfLC9NYDTGZmrf6S+6lwsbYuKfUiR/ e1K4fRw0so6a9PgiV+UQgBh4xUmyBZ6/S X-Received: by 2002:a05:600c:2297:b0:3f7:f544:4993 with SMTP id 23-20020a05600c229700b003f7f5444993mr8211865wmf.20.1686594622651; Mon, 12 Jun 2023 11:30:22 -0700 (PDT) X-Received: by 2002:a05:600c:2297:b0:3f7:f544:4993 with SMTP id 23-20020a05600c229700b003f7f5444993mr8211850wmf.20.1686594622317; Mon, 12 Jun 2023 11:30:22 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id r15-20020adfda4f000000b002fe96f0b3acsm13271835wrl.63.2023.06.12.11.30.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 11:30:21 -0700 (PDT) From: Javier Martinez Canillas To: Conor Dooley , Thomas Zimmermann Cc: devicetree@vger.kernel.org, Conor Dooley , linux-kernel@vger.kernel.org, Maxime Ripard , Rob Herring , Geert Uytterhoeven , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski Subject: Re: [PATCH v2 2/5] dt-bindings: display: ssd1307fb: Remove default width and height values In-Reply-To: <20230612-parade-sauciness-16225ce0a643@spud> References: <20230609170941.1150941-1-javierm@redhat.com> <20230609170941.1150941-3-javierm@redhat.com> <20230610-opposite-quality-81d4a1561c88@spud> <87r0qj19zs.fsf@minerva.mail-host-address-is-not-set> <20230610-unused-engaged-c1f4119cff08@spud> <87jzwa29ff.fsf@minerva.mail-host-address-is-not-set> <20230612-parade-sauciness-16225ce0a643@spud> Date: Mon, 12 Jun 2023 20:30:21 +0200 Message-ID: <87h6rc354y.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Conor Dooley writes: > On Mon, Jun 12, 2023 at 09:47:12AM +0200, Thomas Zimmermann wrote: >> Am 11.06.23 um 01:18 schrieb Javier Martinez Canillas: > >> > But I will be OK to drop the "solomon,ssd130?fb-i2c" compatible strings >> > from the DRM driver and only match against the new "solomon,ssd130?-i2c" >> > compatible strings. And add a different DT binding schema for the ssd130x >> > driver, if that would mean being able to fix things like the one mentioned >> > in this patch. > > If there are different compatibles, then it can always be sorted out > later iff it turns out to be a problem, since new devicetrees should not > be using the deprecated compatibles anyway. I didn't realise that those > deprecated compatibles existed, thanks for your patience. > No worries, thanks for raising this question. >> > In my opinion, trying to always make the drivers backward compatible with >> > old DTBs only makes the drivers code more complicated for unclear benefit. >> > >> > Usually this just ends being code that is neither used nor tested. Because >> > in practice most people update the DTBs and kernels, instead of trying to >> > make the DTB a stable ABI like firmware. >> > >> >> From my understanding, fixing the resolution is the correct thing to do >> here. Userspace needs to be able to handle these differences. > > Fixing meaning correcting, or fixing meaning using a fixed resolution? > Not clear to me what you mean, sorry. > Fixing meaning using as a default the correct maximum resolution for each OLED controller, rather than an arbitrary 96x16 resolution that was added just to be compatible with the panel that was tested the original driver. But after talking with Thomas and Maxime about this issue, I realized that it won't even cause an issue for theoretical users that may be relying on the previous default. Changing the default resolution to something smaller could cause an issue since a user expecting a bigger default would get their display output cut but changing to something bigger just means user-space being able to write more pixels than those that will be displayed. Because there isn't really a "resolution" configured in the chip, but just how many pixels a particular controller can drive. The new default is the maximum that each controller supports according to their documentation. -- Best regards, Javier Martinez Canillas Core Platforms Red Hat