Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5282799rwd; Mon, 5 Jun 2023 00:56:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6jzbCDu3hVENpa8ydRAm8qLKT/hw2r+f78AlQmavLuLvr9Hqq/j6Ph7d6kIhh+HQK+tXXH X-Received: by 2002:a05:6a20:918f:b0:111:1bc4:cf0a with SMTP id v15-20020a056a20918f00b001111bc4cf0amr2916621pzd.52.1685951767818; Mon, 05 Jun 2023 00:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685951767; cv=none; d=google.com; s=arc-20160816; b=gP427lL1Zu901CNH+KFZs5kPBXghO2SBUDVTyAiyW4qBVHmHCkdWX1wjWY6834Fo+q CSxuMriUgQ6jjfS4K8Rt+vXDqcG6oFMWw/ZknCY9C6ySoYN/dpFQo+AV1WYAIkpAXEQA YeOEk6Z1Z9fJFV2B8UDFRdyi/j0RIp/ZgbPuICVlXaTX2AES73v9QPUtEW0NiCY2Vjn+ dozag1vX8P441/C2WP3I36ybgqD/IOjuZ3dNGZDL14hfIfy603AsILj1zc31WgDep+ji vB/IiVCOG4A25g22PlJARvo6tR4OOQbaZJxSmZSNOX5zeLsa/NWrfBW+EU3+9CmccvEK 9w5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=VGkR4tMfNbDgtB0o7CKTM6cPx5ZMqgLHeB2CGeYB4eI=; b=XfTJLB4faFgyiNzg7lZbA6wMkrxx4aHd3tLarnzrMEspq6X61gVu6yTcBtQZHj7rJ2 5xtQkW5Bx4WYWAvvZTaY7w+sZwhac5aYy7BNN1dCwc7VD0xMLGAjaJ+JaG+0ga1VV2/y Cb8HsnOVdkr2+IaENIQcdRYym81tA+O2hGQGU3yVLZ6eYVOshXHKCLp7f9ZLOXCyNqY6 /g3ywlQY0Rgu5NTdfiLnUDlaDEYOOhIHdQscGhmAMrJo1rM8WEv/pf/TxszUGsNE3uoG 03WZnC+Gb3burXJEI3FoZteZwVFOcbJ5sOR3BKVyFVsym5IuewCUL8mOQSOrpXvv4tla SkyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TYX7SqV0; 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 a12-20020aa795ac000000b0064490c20e80si4942535pfk.59.2023.06.05.00.55.55; Mon, 05 Jun 2023 00:56:07 -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=TYX7SqV0; 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 S229774AbjFEHtB (ORCPT + 99 others); Mon, 5 Jun 2023 03:49:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjFEHs4 (ORCPT ); Mon, 5 Jun 2023 03:48:56 -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 D3F00D3 for ; Mon, 5 Jun 2023 00:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685951289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=VGkR4tMfNbDgtB0o7CKTM6cPx5ZMqgLHeB2CGeYB4eI=; b=TYX7SqV0gLSXl80kbFoRRjPcWqY4Dt+VKU5ysZrQwn27kfypHNUrm8xxCyPQLNU//BNXN7 EbONR6ORgUhFtQt8rfsgZWGsZyuHiyMjVITAXcM47WNvkw1bzVvl8rs6pz2pFONssapvd+ fnSUIgPBHwCV8nx2Sp5h0r1Jp/DsN70= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-121--4dlYjgEPViTaSj0T3oCSA-1; Mon, 05 Jun 2023 03:48:08 -0400 X-MC-Unique: -4dlYjgEPViTaSj0T3oCSA-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-3f6cc1997fdso21954235e9.1 for ; Mon, 05 Jun 2023 00:48:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685951287; x=1688543287; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VGkR4tMfNbDgtB0o7CKTM6cPx5ZMqgLHeB2CGeYB4eI=; b=Vza7yj7NawzKQSP7eGzoLorS+3diAy5ohko5OLDLfT58zoEuJGZPkkDr90loT+Cf8C vECHmS5zPJtW7rVN1SXn+dV0Ghmnx38Vo5CMAsqrpfZ4PSOZcRoMfKlEPl5t6WQxZaa5 bej/9LrQ4vmRjPojdMwz59OHFSwxSn5WjPkKIBZVYp9UGCDiNwi/NF452CtogWecq3SB i2/KTAiaoVXOKXf600n4pz/bzKbmE3JRZGCumrvlxCYz8S0QwuxhG8oXB5jBZB17qlau AQyolcNlY1nOnSvpMJpoUJrK+OfIHtihAt5ZPuSehIuSMCUkw6Ux5kyia0clu9VeITux x2Pw== X-Gm-Message-State: AC+VfDwcXlBqrKVQqPEdP6+F99C35yOpcldYAAfSsKUQnHK0nFtFavXe OpwnacxUKdd2bp5rnV8w9RBSfLk6mg6ssFAVSwBCe2zZCyduGS0oyVX03MMzR7MAFk/dkeNbMT4 hnjbtseORksJI5eHhiQ5IuN3uUJ4DTBrX4NMdsxOjiWUpMQOa0P+IgLL9BI+O/F8UiI9SM5Lglk rc/mztLG8= X-Received: by 2002:a1c:4b04:0:b0:3f7:246e:cd2e with SMTP id y4-20020a1c4b04000000b003f7246ecd2emr5265806wma.23.1685951287329; Mon, 05 Jun 2023 00:48:07 -0700 (PDT) X-Received: by 2002:a1c:4b04:0:b0:3f7:246e:cd2e with SMTP id y4-20020a1c4b04000000b003f7246ecd2emr5265786wma.23.1685951286962; Mon, 05 Jun 2023 00:48:06 -0700 (PDT) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id q21-20020a1ce915000000b003f4fb5532a1sm9715192wmc.43.2023.06.05.00.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jun 2023 00:48:06 -0700 (PDT) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Thomas Zimmermann , Geert Uytterhoeven , Maxime Ripard , Javier Martinez Canillas , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 0/5] drm/ssd130x: A few enhancements and cleanups Date: Mon, 5 Jun 2023 09:47:48 +0200 Message-Id: <20230605074753.562332-1-javierm@redhat.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hello, While working on adding support for the SSD132X family of 4-bit grayscale Solomon OLED panel controllers, I noticed a few things in the driver that can be improved and make extending to support other chip families easier. I've split the preparatory patches in this series and will post the actual SSD132X support as a separate patch-set once this one is merged. Best regards, Javier Javier Martinez Canillas (5): drm/ssd130x: Make default width and height to be controller dependent dt-bindings: display: ssd1307fb: Remove default width and height values drm/ssd130x: Set the page height value in the device info data drm/ssd130x: Don't allocate buffers on each plane update drm/ssd130x: Remove hardcoded bits-per-pixel in ssd130x_buf_alloc() .../bindings/display/solomon,ssd1307fb.yaml | 8 +- drivers/gpu/drm/solomon/ssd130x.c | 124 ++++++++++++------ drivers/gpu/drm/solomon/ssd130x.h | 6 + 3 files changed, 93 insertions(+), 45 deletions(-) -- 2.40.1