Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp166551rdb; Tue, 19 Dec 2023 12:34:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IFi3mlwqiP4H0SF8q/dFgmyQQOL8P8veikPB78QfgxGVMv8JaZdtbAACf8Q3ziNFUTAGICN X-Received: by 2002:a17:906:5305:b0:a25:1ace:2c11 with SMTP id h5-20020a170906530500b00a251ace2c11mr580262ejo.12.1703018087095; Tue, 19 Dec 2023 12:34:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703018087; cv=none; d=google.com; s=arc-20160816; b=grlglcoKPSWpeGde8MhLw/nC7GH3JdOXtQyPS0TOdW43G7mZSPkLh3XY9OSLKsshgG bXNUvHgxWhMR1Kdl/bN5ZOzykeM0Sg/NAb3Zf3VClala9fTUNkSeovTAhIWLrfcWDvGX hWwriJiiQoxtb/ZCsyer5fwqEc6hB8PNRuLY6MFDbeBNnSL9XZrsvXznPlnkVzuX21sG rKosiOR7X7qOFrEGrBBQgcbrNRzUDjXN9waaQSdhoiuLcm0YsD0ovB9PJvgD8wnF6dLd pWUqnzFErdjGYeNoNS982LLHL/ZnYUbqR5cj6UnkKIyxawc8KonTaNjUvUpYtsTme12X RaOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=G3PrML/moN4j55SwG+/o34m/ejkpgfVZcKcfEFV4pS4=; fh=mqnjmawRPkm26cJRs0Gl/fHnrnbLN2+NGYrDpMBvKo4=; b=FkF/By0M0m0sKr81MmVh8BlyVLVAEzH2KDALeo0Zw2lYij7jj7YJv24qdXo409e6oJ Ux7aEk6Scnv56c3ac6MgUbKqe6ajEjpTqtH6wMCHesQx+9KRCMi0ILD0hzHesn0fN4Ra f7AEWPukqQQ9KVj5vYsJt78eWz3YHZnvA2B5AEnO5kKYWZaD3zZj/UsKMs25ijY2ArSU yr5ObYGIs7vFC+oRXBNOmFjGqJ+17EitHCk7yT6ASwJwwGHJkQITxSLV49iK3t8/w/ed 2jqCuxuWcOhalyFOEgjNs2UD0NkvMd/MUeY/wPCghwq4+UdgiQYb9SD1EikH6x0LPAky 8wFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XKzFCZ55; spf=pass (google.com: domain of linux-kernel+bounces-5924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5924-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 s25-20020a170906355900b00a24901b5313si720567eja.26.2023.12.19.12.34.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 12:34:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5924-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=XKzFCZ55; spf=pass (google.com: domain of linux-kernel+bounces-5924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5924-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 CC7E01F27A14 for ; Tue, 19 Dec 2023 20:34:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00FFA39AE2; Tue, 19 Dec 2023 20:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XKzFCZ55" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 BEF9E39AC5 for ; Tue, 19 Dec 2023 20:34:36 +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=1703018075; 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=G3PrML/moN4j55SwG+/o34m/ejkpgfVZcKcfEFV4pS4=; b=XKzFCZ55iq9OZ5Larnz62035GsxsYIZXYe9qkZEYMa+aelvzagg6e4ckdhnWIvooIzh+qT t56TYNu1zvaTxeHEpJr4guSbntIJj/gAiXCh73asNBuMxF3v1HXs9hssE2yXsDt/O666MY NV+uQCf43WCwJSOpVmQIRZdDdK9UTh0= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-597-Uk7SUyICME6juZX-Mi5Bag-1; Tue, 19 Dec 2023 15:34:34 -0500 X-MC-Unique: Uk7SUyICME6juZX-Mi5Bag-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-40c464a1e5cso38382455e9.3 for ; Tue, 19 Dec 2023 12:34:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703018073; x=1703622873; 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=G3PrML/moN4j55SwG+/o34m/ejkpgfVZcKcfEFV4pS4=; b=ROrSHqQYyCAh/njfLsTFCLANSaqqLiAxIpcTPB+RD3UDP5qXR7kEPIklagxj6sHBCb SLjiZSlHinjhpGufINnA2WqzqLC8iht9rK+HUx66rWer5OUb8VYJpbXc29eSTylcQow3 BPaHC10Vi2fbVjVHcT7zv4tGlvOA1q94sX5tKHjJeltw9ZlRgmGbBiwXLFzkaiC4q3c6 Eaa6LfU8KpDRGBsDwvjN5Fv8XJ1fJXf6yPaJelzYZ8DN9zI55juzYiIZ1A42w8vZfbMr g/8TjWAvdlhqpVo3v0BXer+lgWzai6hPDtSgdk8qLLEMU84diU/N1U6jOopTJTkrjKFM E3EA== X-Gm-Message-State: AOJu0YwKe2mugDVOu51TpvOHV4cS9PduZ2qFJvhYfbrEb4irCc9VX9Ik TcScIxKipbvioc0H5WW+8Pe4T4sahNit4/dD1wxzZZnHQfHn9IkFQHJcvagEZ6qbrtcE0wtTqzO 1ZFMq/Y9KQCCHlgoKNhLbNC0LYB+k/1ThUqSKlEMv7D4n7sUfLwgxi26uN9EWW9deaibykJXAKT d5kcN5um4= X-Received: by 2002:a05:600c:34d3:b0:40d:1744:6cd8 with SMTP id d19-20020a05600c34d300b0040d17446cd8mr1763010wmq.234.1703018072885; Tue, 19 Dec 2023 12:34:32 -0800 (PST) X-Received: by 2002:a05:600c:34d3:b0:40d:1744:6cd8 with SMTP id d19-20020a05600c34d300b0040d17446cd8mr1762989wmq.234.1703018072538; Tue, 19 Dec 2023 12:34:32 -0800 (PST) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id i7-20020a05600c354700b0040d2805d158sm3965414wmq.48.2023.12.19.12.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 12:34:31 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Geert Uytterhoeven , Maxime Ripard , Peter Robinson , Rob Herring , Conor Dooley , Jocelyn Falempe , Krzysztof Kozlowski , Thomas Zimmermann , Javier Martinez Canillas , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Maarten Lankhorst , Rob Herring , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH v3 0/4] drm/solomon: Add support for the SSD133x controller family Date: Tue, 19 Dec 2023 21:34:05 +0100 Message-ID: <20231219203416.2299702-1-javierm@redhat.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hello, This patch-set adds support for the family of SSD133x Solomon controllers, such as the SSD1331. These are used for RGB Dot Matrix OLED/PLED panels. This is a v3 that addresses issues pointed out in v2: https://lore.kernel.org/dri-devel/20231218132045.2066576-1-javierm@redhat.com/ The patches were tested on a Waveshare SSD1331 display using glmark2-drm, fbcon, fbtests and the retroarch emulator. The binding schema were tested using the `make W=1 dt_binding_check` target. Patch #1 and #2 are fixes for the DT binding schema of the existing SSD130x and SSD132x families. Patch #3 adds a DT binding schema for the SSD133x controllers and patch #4 extends the ssd130x DRM driver to support the SSD133x controller family. Best regards, Javier Changes in v3: - Move solomon,ssd-common.yaml ref before the properties section and width/height constraints after the other properties (Conor Dooley). Changes in v2: - Unconditionally set the width and height constraints (Conor Dooley). - Fix indentation in the DTS examples (Krzysztof Kozlowski). Javier Martinez Canillas (4): dt-bindings: display: ssd1307fb: Add vendor prefix to width and height dt-bindings: display: ssd132x: Add vendor prefix to width and height dt-bindings: display: Add SSD133x OLED controllers drm/ssd130x: Add support for the SSD133x OLED controller family .../bindings/display/solomon,ssd1307fb.yaml | 20 +- .../bindings/display/solomon,ssd132x.yaml | 12 +- .../bindings/display/solomon,ssd133x.yaml | 57 +++ drivers/gpu/drm/solomon/ssd130x-i2c.c | 5 + drivers/gpu/drm/solomon/ssd130x-spi.c | 7 + drivers/gpu/drm/solomon/ssd130x.c | 370 ++++++++++++++++++ drivers/gpu/drm/solomon/ssd130x.h | 5 +- 7 files changed, 459 insertions(+), 17 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd133x.yaml -- 2.43.0