Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp93752rdh; Mon, 18 Dec 2023 05:28:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9+8B1QC7tbGrH87dw0gmcCy/TfAdr8qMdx0I/V2sKf4Ktz6E3vu3VAKTO6JGkHI7X/ah+ X-Received: by 2002:a05:6214:1781:b0:67a:aae3:ead8 with SMTP id ct1-20020a056214178100b0067aaae3ead8mr17114753qvb.119.1702906089659; Mon, 18 Dec 2023 05:28:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702906089; cv=none; d=google.com; s=arc-20160816; b=cAo3TCD7NZxgaxr6NalyEd4mN8MZhKpxv0Ax1TNNqTHe7Hz849c32xV2cA3RMSnPfg 50+V0Zns2esOx32cUoSGvNYZlNYqP78+6d27/WN6PpIHVO4uIHO6r2G3sZxyuPLsKQCt A+LxI2CLOLI6OUUjNU8GTFuiIVMcpvBBzAO2ogLZDERcL42qutpuGBigwLZTA3BsRACK 3toP0w674sRdMu1CN8nf+F7mhLCp8sngSZjjGGtV6tabBsEsjOis6s9BIsgSbuzDwLeq mWJXQJc/XYeSHbqhNDnkMvXa6MMD8A4VsweKcB3c5mUBuupKfBSYwGviCckIXMmc9+Bl KkMw== 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=QgMgRDSHYmMiI0OrgNFQA61j2Lc6QloANV8tk9hWb9Q=; fh=Ty68pxBBriQNqMpR91HQMaZ9KkK5r/kLdLBgpV5fHJo=; b=Vst/oTbmXGtao8e9plJ5O4CmZ2J8CVYLEMf9b9Iu1hx/pjGAlqlrbC4afbw1RwVDF/ QLgFvQ6mE1xfsztaSJnR/FZg+vARA9nLzxU1czpA0LYSYNsxes4lyTjrQD7TO8GOgr+Q UIQNZI5meNykap1vrIOFpbSjviP2AY4meLhafiCWmc2DiQm3vPojLzlXX/OcM+xTGKyx op4kNtx4rfUfqD8HzB+qnIwCdze/bSof1q+BeTqKawG0sTrwnHdU9oeLIixdI2Ca/rlY N2XfjZidNB76r5VfBQD6DiKKpe0NfN8TlGUdJYrVTL87TJbtkm8JhF0r230O9pcxvz0N 3bcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QC0VV93f; spf=pass (google.com: domain of linux-kernel+bounces-3744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3744-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m14-20020a0cf18e000000b00679e94355f5si2568843qvl.278.2023.12.18.05.28.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 05:28:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QC0VV93f; spf=pass (google.com: domain of linux-kernel+bounces-3744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3744-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6A3C31C24BDC for ; Mon, 18 Dec 2023 13:28:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46C721D15F; Mon, 18 Dec 2023 13:21:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QC0VV93f" 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 8B683129EF6 for ; Mon, 18 Dec 2023 13:21:29 +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=1702905688; 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=QgMgRDSHYmMiI0OrgNFQA61j2Lc6QloANV8tk9hWb9Q=; b=QC0VV93fu0e2ezdrjD6+AhsdhmqdgjeA+Acf2zYF0Oi4NEOpvzm0Cgd0mo+X46XkUI2vot 4O3IGwG8sQ29UpBgnirEVg4BTRnfZ2CBqNMHHLtZrLegOIHbQ9TGsOdzE5eGNplkr0qPpK iGnm3BF+ZXpT2U/mUZFe8rBSabnMWOg= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-394-mi0tCaJxP7-4kqc0eoU7sA-1; Mon, 18 Dec 2023 08:21:27 -0500 X-MC-Unique: mi0tCaJxP7-4kqc0eoU7sA-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-3365791d24eso1704132f8f.1 for ; Mon, 18 Dec 2023 05:21:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702905685; x=1703510485; 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=QgMgRDSHYmMiI0OrgNFQA61j2Lc6QloANV8tk9hWb9Q=; b=JrEFuRnUNK25vIcac3eQTJABLilQ1YFFss9sg4twVaj7QXEW6d288WNv+dLK/DBrXw SQdKc4TSQ/NT0PwMldEKvEVN/P5ii+2s6ND4U7UJvCu4A6GRBFbTRZwSI+P6HzWG+F3Y qwlOCaUJFYwtBoHMR34Hrfq6QKvsErYgOLliLfgS/NDK0l6cvgv/VBM7bLXS6zSXQ50r jKruzUIMEKgffhfa4aYx4IXhr3D3cUwmxVMPv+XDa+hIUwgUmPTuQUhEVEnPixRiXX6h xu1TVssbceP9UQsXiRHTB3kTEPCRsqEpB6KckDdKicAAhbv1NJWKtQMmAncPvJoxsj1V Tqhw== X-Gm-Message-State: AOJu0Yz0aJrIbrcRh/eGm8043UYV390megrKkp8mb6tC3viOZQY2sK8z ZyYcR0n+PtuVRqIIhtnMGYEftVTLfNRkejyXVzE9EMPzRoiNKV/XUGz3532wGFrqCZm5Jo63v2V U1Jyk1dOuSGXsqceP2aghNZyvEOqyo7WVgZdnR3KFfJEXlU/ajfO4DO/pLzd+tnROwgygCwo+2b FwJgn0LWw= X-Received: by 2002:a05:6000:ccf:b0:333:4c30:dae4 with SMTP id dq15-20020a0560000ccf00b003334c30dae4mr7208830wrb.45.1702905685368; Mon, 18 Dec 2023 05:21:25 -0800 (PST) X-Received: by 2002:a05:6000:ccf:b0:333:4c30:dae4 with SMTP id dq15-20020a0560000ccf00b003334c30dae4mr7208796wrb.45.1702905684680; Mon, 18 Dec 2023 05:21:24 -0800 (PST) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id j4-20020adfea44000000b00336471bc7ffsm12370217wrn.109.2023.12.18.05.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 05:21:24 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Maxime Ripard , Jocelyn Falempe , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Thomas Zimmermann , Peter Robinson , Rob Herring , 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 v2 0/2] drm/solomon: Add support for the SSD133x controller family Date: Mon, 18 Dec 2023 14:20:34 +0100 Message-ID: <20231218132045.2066576-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 v2 that addresses issues pointed out in v1: https://lore.kernel.org/lkml/20231217100741.1943932-2-javierm@redhat.com/T/ The patches were tested on a Waveshare SSD1331 display using glmark2-drm, fbcon, fbtests and the retroarch emulator. Patch #1 adds a DT binding schema for the SSD133x controllers and patch #2 extends the ssd130x DRM driver to support the SSD133x controller family. Best regards, Javier Changes in v2: - Unconditionally set the width and height constraints (Conor Dooley). - Fix indentation in the DTS examples (Krzysztof Kozlowski). Javier Martinez Canillas (2): dt-bindings: display: Add SSD133x OLED controllers drm/ssd130x: Add support for the SSD133x OLED controller family .../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 +- 5 files changed, 443 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd133x.yaml -- 2.43.0