From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55D0F3451A7 for ; Wed, 10 Jun 2026 16:44:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781109897; cv=none; b=Dos9Ybkn40hBWkKUGzfLSvUXT+njyDKjcEpsU2WXWaeOQwsPZppolpcrs+KhmscMrva6cMlO+TlwKRAp9cSXJKBweq9ClHMwNqieerLmy54yz6ddePp9X0HoCvMMt2ox7Yfwt3ASzZzuwNLqjegFZLcDdUnNf+JA1Kn7f7erUVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781109897; c=relaxed/simple; bh=M9xAM1mwjtNIZt7W5ObpY/pTN2GDy+yV0dPmPQmqBTI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CaWvPEtRDXxh6+P85IcvZUcMIggCHdVevnBGTtYsAYp9pto509kumlWNPXyUmch1jQqnxh+w9VwjOXJHiqGOr8EiPzbmA/BqzblbutQBikh9/QmIA7CNpMhZ7cK292II44aG2jA7y4IapL3Hfc8tz1C3F90j0lbjKVIxUUFzokI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=exB4AQwT; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="exB4AQwT" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-45fd464d51fso3886655f8f.3 for ; Wed, 10 Jun 2026 09:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781109895; x=1781714695; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=x0ZhyVKPYXfouIkDEL5h/2950Heo1BZVs//qWyHlTrY=; b=exB4AQwTIRVpcTujs3IshgspoccSQcf7LYOv9JtyOY789uUfr+JByF/tQFKGF58ceO BHiJU4OLfSVAx8/GWVbnlEe7MQcBpje7R03ysliDqhF6GsVnRloCEOk4UdNZf9OdPgQ/ qL0jIXD1bxtCYRrvkxTXE2eW98Qqevf4LVfGeUECvrZy5QfFaA4ThBOt7wg295EmoZp6 5f/9M7PQQ+SfhdHrfxKJPtkcMuAZLxTbgQ0SqQQ0sc34xtycm7TWXMMEavY83Ha4gtuS aFQeqQvemCBq5tjSo2U/gUP46BZKaaG2X1eflQhkEE+COlMc6EMN64egmHKI08tR6x4Q fjzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781109895; x=1781714695; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=x0ZhyVKPYXfouIkDEL5h/2950Heo1BZVs//qWyHlTrY=; b=XLhwChXd0jEs/QZhUFGmAL2nKL4H1wGAyUj6fihZ9mFgJL5W4yEDsc85iSTdKc5drz 5UMqgxyq3HfLXVYLZDWXXbZWPis/SPNLpz177b/gPqMy7QRBa24kQLRS1aZ1jscIFRiY EBuxeJQQPt6FcRbXcIjcD/VS/iQ8T8PdSu0gY7+C4JKLMnySkJQTRXGqEV2ETLmhV48s RnJXtywsZ+RNd1SxVR8+8Wr+YCks99Sr9JLkbXWzOHVMuEBjcWEgsh/PpWBPNibDRsew LtLbc9dBbOnaa43wQGFLyuMdDwpYYkcYpDOMMix5wkcxuHc529JfpGxuTy+GwXxM7Bu0 6uug== X-Forwarded-Encrypted: i=1; AFNElJ887PPGf1ZAwzhuYM9wGMU2u1HzD9D9VFvd8O831KPI8+Io9nTbYs4eW3f46AqcYJWh3AlmD4pspn61Cbs=@vger.kernel.org X-Gm-Message-State: AOJu0YzKqMHobNEk4nThlvt2OD8FiJ14BHu8ys2sollRHqH9K47DEcNw CFyfQ9VveDS1hl8J/hqilKUYjGp3ieLCNzChJpp6TQAAOqqCIC50piu2 X-Gm-Gg: Acq92OFoUmNWlrDKNHV6omKkrdMOLT/w+M9o8z+vzkKVe31it6WHbI9mQ0O020/WvAf fwbmHbTqfLe0novKo55RKYrpe9TY2kEZvfz97aeYJZquMXxUyJGetHfFWZbE/saVoVlicakbf3c L1JOZrEwIA8ucVcsTHKNjCS2wD9FYxxwK+ELhxTnCxNCzpyf60tFAyGPEk/icH9u/En7ZiHqf9B ysIABRG8oEa2zV1Ex4xMNBP5iJ+CJx9AUAbEtLwLh+Rb81kEcaLdTWYw76pU+15cRMPX/JIfTpq 0Jf8ZV/J2wfYQdUHJRM5yCvUsG6nQBEtWqs8mEppnniGmORZwyu8zgohCG+V61WxMQSocZ2FIDW 9GIzhCwpRcicsPm4uhU+Zl6l6ynxLo+Xk3yOBbV1+Cof5yxRzTY+YlpdiEms29ccQIJsEJkm19a yQqNeRyTuUN2nMUOsDSluVOPnwiD0tfztim8W5oZTz X-Received: by 2002:a5d:4b12:0:b0:45d:b14b:2409 with SMTP id ffacd0b85a97d-460302dcb6cmr29120193f8f.2.1781109894630; Wed, 10 Jun 2026 09:44:54 -0700 (PDT) Received: from anthony ([2a06:c701:9cfb:2900:12ff:e0ff:fea5:3d2e]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-46028a6dcbdsm61156733f8f.7.2026.06.10.09.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 09:44:53 -0700 (PDT) From: Amit Barzilai To: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch Cc: javierm@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Amit Barzilai Subject: [PATCH 0/2] drm: Add driver for the Solomon SSD1351 OLED controller Date: Wed, 10 Jun 2026 19:44:26 +0300 Message-ID: <20260610164428.180091-1-amit.barzilai22@gmail.com> X-Mailer: git-send-email 2.54.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 This series adds a new DRM/KMS driver for the Solomon SSD1351, a 128x128 65k-color RGB OLED controller driven over a 4-wire SPI bus. The SSD1351 currently has no DRM driver; the only in-tree support is the legacy fbtft fb_ssd1351. The driver advertises XRGB8888 to userspace and converts to big-endian RGB565 on flush via drm_fb_xrgb8888_to_rgb565be(), building on the GEM SHMEM and atomic modeset/shadow-plane helpers with damage-clipped partial updates. The SSD1351 is implemented as a standalone driver rather than as part of ssd130x. ssd130x converts XRGB8888 down to a packed <= 8bpp hardware format (mono, grayscale, or 256-colour RGB332); the SSD1351 is driven in its native 65k-colour RGB565 and does not fit that pixel pipeline. For the record, the generic mipi_dbi helpers do not apply either: the SSD1351 pixel path uses non-DCS opcodes (window 0x15/0x75 and write-RAM 0x5c rather than DCS 0x2a/0x2b/0x2c). Smoke-tested on a Raspberry Pi 4 driving a 128x128 SSD1351 panel: the display initialises and shows correct colours. The panel's sub-pixel colour order is set in the controller's remap register, hardcoded to match the tested module (as the ili9341/ili9163/mi0283qt tinydrm drivers do for their panels). Patch 1 adds the device tree binding; patch 2 adds the driver together with the Kconfig/Makefile glue and a MAINTAINERS entry. Amit Barzilai (2): dt-bindings: display: Add Solomon SSD1351 OLED controller drm/solomon: Add SSD1351 OLED display driver .../bindings/display/solomon,ssd1351.yaml | 47 ++ MAINTAINERS | 7 + drivers/gpu/drm/solomon/Kconfig | 14 + drivers/gpu/drm/solomon/Makefile | 1 + drivers/gpu/drm/solomon/ssd1351.c | 556 ++++++++++++++++++ 5 files changed, 625 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/solomon,ssd1351.yaml create mode 100644 drivers/gpu/drm/solomon/ssd1351.c base-commit: 83e8d8bbffa8161e94f3aeee4dd09a35062a78c8 -- 2.54.0