Message ID | 20231219203416.2299702-1-javierm@redhat.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-5924-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2211297dyi; Tue, 19 Dec 2023 12:34:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNKv/6e38sXak0X7DK8z7OAc1KSUBHHfhsr5uhOonqnaCL/anb9kGZE6K3/53SuQAyf2ik X-Received: by 2002:ac8:7e88:0:b0:425:4043:50e1 with SMTP id w8-20020ac87e88000000b00425404350e1mr29452089qtj.112.1703018094774; Tue, 19 Dec 2023 12:34:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703018094; cv=none; d=google.com; s=arc-20160816; b=i69xvPb+b+7A2VX0TI0b+u4Xh8LEm8LoSEkBByjX+zrXj3M+YN0Ybx3VWEoxhDyTtM woI8i/flAj60lbJ7MvcP2lXaPf7TWZjRqmUvd0YHRJF7tix97dNEOhUuPdUYjUmSQ/MM PdyGYblfx9Vb6uQPhx116lgPifd5fOf39xk0USsPtTYYc4jlTjm8bsXUWD92elnHujTM 6X+QpGbtHsQw2aKJ1Tu25qfxt2TB4AxbUOadJOBx0zQKe+UqBqw5J6+qoe0ulVOhF1zW v/JwDyDRclMMrLFJphJ2f6i5KR5N3T16m5NAV409v8OpxhtsqHAPJuR+nonltkZiWIYE RlWQ== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5924-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s14-20020a05622a018e00b004275196a0eesi8147829qtw.46.2023.12.19.12.34.54 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 12:34:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5924-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5924-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 917411C2460E for <ouuuleilei@gmail.com>; Tue, 19 Dec 2023 20:34:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF8E139FD3; Tue, 19 Dec 2023 20:34:40 +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 <linux-kernel@vger.kernel.org>; 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 <linux-kernel@vger.kernel.org>; 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 <javierm@redhat.com> To: linux-kernel@vger.kernel.org Cc: Geert Uytterhoeven <geert@linux-m68k.org>, Maxime Ripard <mripard@kernel.org>, Peter Robinson <pbrobinson@gmail.com>, Rob Herring <robh@kernel.org>, Conor Dooley <conor@kernel.org>, Jocelyn Falempe <jfalempe@redhat.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Thomas Zimmermann <tzimmermann@suse.de>, Javier Martinez Canillas <javierm@redhat.com>, Conor Dooley <conor+dt@kernel.org>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Rob Herring <robh+dt@kernel.org>, 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785743901646011485 X-GMAIL-MSGID: 1785743901646011485 |
Series |
drm/solomon: Add support for the SSD133x controller family
|
|
Message
Javier Martinez Canillas
Dec. 19, 2023, 8:34 p.m. UTC
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