From nobody Fri Sep 25 23:53:14 2026 Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com [209.85.128.171]) (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 5071049552C for ; Mon, 7 Sep 2026 12:29:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788784164; cv=none; b=ILe4YhMf6EOINOjgqt9sxgdE2yseVkGIIl3U/N5DduXVqlyI2mr4evupHIqzwB1QqATOwcdS/WZ4ixONV5mfI1aPbE566CA9tAEigKRwzWBmjJ/PPJThgT37cdORXl3I87t2vOi1dWRIbCG9KdEgvSc9XshBU+THEoUfyzNchmI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788784164; c=relaxed/simple; bh=Ot25WLyqVRhsBXv9+FeXxetochqDJHUpqUPvyel2wpg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Q2aAbPxWFf0B9ZOt3udMEm4Cse+SZMOmoxaMo5t9NljjNI+EbxYlJl/KJCnDEWGWMYrOrcL/eOIV5+BxMqOhq1tqwSfQHDeI2GSxxD1zP2J+OhpItrjjewLAiCoTRiNyJSofqdD+lxB9/jhlm5OpLzVusLhH2Xw8QRtjgSNa7X8= 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=Sn+yLEwg; arc=none smtp.client-ip=209.85.128.171 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="Sn+yLEwg" Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-8726acc5eadso22306387b3.0 for ; Mon, 07 Sep 2026 05:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788784158; x=1789388958; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=E15zTz6LSPQ0+KOjqcr732bl7v4sHhRkFWWTNxNbp1E=; b=Sn+yLEwgWmdhSx7HuDYyyh3JG3XfyR3YL5z76XD0N7mow0r2y+FxosGcND0dRQcQnC MIUKVA+JXIOH5qMlhHRP4jXZr2bjIgo9Dy7TWUABo1KOmn9T8UkQ5O3qURvbjW3rFutJ loMZEZ6uZGU5lJfQrDkcuqw4PJ8G0arDg4QokLCX2DC2SYfDABCIw45EnvSU027swpAP Lvxt5SaIPqMd8xF/dfVrP2LioUJfACguN0PJRSmIOfTl7eA2Zp58l/lhS+WhYS4oWPNv QA3bU279XXckipIQIfMZwQwH2nW1kgWB5NPvk+460KuLfelYoIJi2swDJ4HIPOwiy/so oIbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788784158; x=1789388958; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=E15zTz6LSPQ0+KOjqcr732bl7v4sHhRkFWWTNxNbp1E=; b=Stop8VfZ01nbj4wMntt+g94kEAERPiPUKICsadLuh+VSStXzs4Zwxnnr8d8m2gQpo/ kvrgyDLaRiWb31j9kMnQxxmzCu0smJid69m75+D+kDXwdSODX92Jum1uMq2wMij/6pMS OJLg3DXzxR7/NGVV9tUgiNw969gYOQnxJgd98Y6D851+UhpB7D4b87QALoEqjGwmYs8I /UAmnlRw95RSJZAtl9cC1WIFR0bzMyNiR7fp+z3onbhC/3ioHp/AoC/vPfY8nrPYbcPD CeWrbDebu6OnDWoAWrj8w3IW92aT7IvSgVTVUqsPaM+eWcM63P4kzzrXbpHdl9UbS5HW v9xA== X-Forwarded-Encrypted: i=1; AKwUvBzoESJ8eHIEg79oKR72lp1ZIho6JdNpGNmLRGyY5hzToCuNKJ6wExnC2210xhPQvNSnGW6xQ9oGRyf71HA=@vger.kernel.org X-Gm-Message-State: AFuF++lVX6yg498O5lSn2WodLo5T+k/7V4S5WYKIp9TBTfPxnBqnOcNE HAtNEL6F27a5q/UZu6PbIwExPE/J2UIYSYocFB/zidtfd1je7Q+8NzrS1X5dYfM= X-Gm-Gg: AYBFou3eE2196NCfE465N09N3UIIBcRKb3D3rAtFbsJPWSmg4cfvWrmGzELUP9WMRwu SDJyTpuIH9w5f4lbrIv8p0JzbsNmNoS6YiWkvaN7rBm/15kKGyengxRCxVM7/f3013cHC3iMR5a sn48CyHTJmLvHfE2eWAC0yi9sFlv2E9ta+fgTpT0VSi6A4Ej+Bm9gwngXrknB8ut0oYEz9J+rR9 1mzX6CrnGDYxUkSAyuTyhOO8fmmTTv3RH561muC2R79hFGuPlbIAeUg0LA0t+77xrazib9tloEe tgixbcbth3qWXPS0k+uif/Ktn5Lz4Fn6WyEauPOTnXZgLZspiVPiZLKbiw996IM95fkFu6lH9Wz cYOafAUQEk7BP/aqCg5XPt0wyYfy0AgzNPnBTP7BlJD1hMmrimJGKI8t/NVoWgHYlcZ3xFWWh2A XAdCa6/kmxidtZNQXNmTLMR7pkoJtbs0Vlv1mnJSl8k2h+Bh2zVq/hXGqTWNvbB73xyMk/Ofzqc d9uQu8Bo1Rk+3/4/5Gh2Sfxo441sapwRDViCQ4= X-Received: by 2002:a05:690c:e18c:10b0:858:6dab:206f with SMTP id 00721157ae682-87124c827c4mr65766617b3.5.1788784157765; Mon, 07 Sep 2026 05:29:17 -0700 (PDT) Received: from localhost.localdomain ([186.158.238.108]) by smtp.gmail.com with ESMTPSA id 00721157ae682-8714bb0efc1sm70511967b3.45.2026.09.07.05.29.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2026 05:29:16 -0700 (PDT) From: =?UTF-8?q?Nicol=C3=A1s=20Antinori?= To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: =?UTF-8?q?Nicol=C3=A1s=20Antinori?= , Brigham Campbell , Christophe JAILLET , Jori Koolstra , Shuah Khan , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linux.dev, Krzysztof Kozlowski Subject: [PATCH v4 1/3] dt-bindings: display: add Chipwealth CH1115 OLED Controller Date: Mon, 7 Sep 2026 09:23:29 -0300 Message-ID: X-Mailer: git-send-email 2.47.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Chipwealth CH1115 is a controller for monochrome dot matrix OLED panels. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Nicol=C3=A1s Antinori --- Notes: - Patch series based on 7.3-rc1 - Carried "Reviewed-by: Krzysztof Kozlowski <...>" from v3 since this patch did not change. .../bindings/display/chipwealth,ch1115.yaml | 81 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 83 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/chipwealth,ch= 1115.yaml diff --git a/Documentation/devicetree/bindings/display/chipwealth,ch1115.ya= ml b/Documentation/devicetree/bindings/display/chipwealth,ch1115.yaml new file mode 100644 index 000000000000..6b037c40242e --- /dev/null +++ b/Documentation/devicetree/bindings/display/chipwealth,ch1115.yaml @@ -0,0 +1,81 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/chipwealth,ch1115.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Chipwealth CH1115 Display Controller + +maintainers: + - Nicol=C3=A1s Antinori + +description: + Chipwealth CH1115 is a controller for monochrome dot matrix OLED + panels. + + https://datasheet4u.com/download/1576606/CH1115.html + +allOf: + - $ref: panel/panel-common.yaml# + +properties: + compatible: + const: chipwealth,ch1115 + + reg: + maxItems: 1 + + chipwealth,inverted: + type: boolean + description: + Display pixels are inverted, i.e. 0 is white and 1 is black. + + chipwealth,offset: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 63 + default: 0 + description: + Display start line offset. Specifies the vertical alignment and row = shift + along the Y-coordinate. + + width-mm: true + height-mm: true + flip-horizontal: true + flip-vertical: true + panel-timing: true + +required: + - compatible + - reg + - width-mm + - height-mm + - panel-timing + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + display@3c { + compatible =3D "chipwealth,ch1115"; + reg =3D <0x3c>; + width-mm =3D <12>; + height-mm =3D <8>; + chipwealth,offset =3D <8>; + panel-timing { + clock-frequency =3D <0>; + hactive =3D <88>; + vactive =3D <48>; + hfront-porch =3D <0>; + hback-porch =3D <0>; + hsync-len =3D <0>; + vsync-len =3D <0>; + vfront-porch =3D <0>; + vback-porch =3D <0>; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Docum= entation/devicetree/bindings/vendor-prefixes.yaml index 73acf72c01f6..16a4a7a158ab 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -331,6 +331,8 @@ patternProperties: description: ChipOne "^chipspark,.*": description: ChipSPARK + "^chipwealth,.*": + description: Chip Wealth Technology, Ltd. "^chongzhou,.*": description: Shenzhen Chongzhou Electronic Technology Co., Ltd "^chrontel,.*": -- 2.47.3 From nobody Fri Sep 25 23:53:14 2026 Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com [209.85.128.182]) (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 6984649EC6E for ; Mon, 7 Sep 2026 12:29:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788784171; cv=none; b=Xk2mv7Nj4aYRxvyJz31dUYoSWev3Hs8Y+wWI3ryStQdasdfkWrjKgD+oOs8Wm1TsgeQXSL9fKWp+V+V1NoXgo+G0oFeSspCDSTbDgfAcv05Y/PArAb4Ovv+PEyhj+WMtb0G0zuOnloKM5EgJGbAUnZK2UkDvnOKw5ZTIKXLa3vQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788784171; c=relaxed/simple; bh=lCSXGrUFCILHzwYYelQ7T+jBC5mSXT+9HiXX3qP/7dM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FMxY6yvPHTNn2CrAmgIWewA1NoR//OnTdeOGHlq+9Id/9bCtFI7XRculO1tZZDet55eRFGBGeyYNabD8XEyJ9rJ7oQvGbB48Yyvf7F7o3dc4LgcwT47NuSm16FwwthOioGepx/s5J0pHk2esTegFlT6B1oPjWGbDKC4W/3mTLXQ= 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=CO/RrV5o; arc=none smtp.client-ip=209.85.128.182 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="CO/RrV5o" Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-855c26cf490so22281797b3.0 for ; Mon, 07 Sep 2026 05:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788784164; x=1789388964; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=Ca9aMK+HG+jUYl6gtfQJ690ovU7PYTmx4YTI23D+z/M=; b=CO/RrV5o4iJgruUJ2m30YcekhIL2eYqW8hkioykyRE/MypTxO6HaizIHZDdhwB72Xl q8WHdy5WeU+VDX6uqnYgD3YuIcQ9A+8zjTHn/I0gUyqx5csd5GK2pagURe3tDbRtRMLT PPACPrnOhvCE0t8Ifql8q8EBE4F3krNxPKfpHkJA0yszzSSHuok04afBC7oAuzot+2Cs 6wnAyL6d3s+adz5EtFU7m1MrkRvRzpxPbS3ho+MoouCh3VqJ0bWJ89YHCfulDPyIUOya ArpLPWbSg9A6iFWtDazAdKYSAo/JZdqlWq0kkqGNPjK/JfuXwfgboL54vgDNgjZ+801g hbHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788784164; x=1789388964; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Ca9aMK+HG+jUYl6gtfQJ690ovU7PYTmx4YTI23D+z/M=; b=qDUJPzd0TRIb4TFSEdyZ4kTSVxgHce+rwwfDPA7syOs8Q/wujB74dtLIsH2L9OJA5d 6GaNzHV3WVcwu1ucGEG3KhFQTXm7snvHTtn7+YEEx9pPFd313dUI8qp3LuSoef2JBKTl qnRM+SNZw6Dx/Gukwjj8Yk9BmaqPC25iYn4cY6S9dEJNUB9TPG9KjK1A/hnNoP07B8+c sj25/sY+xJ4xg89B/ETpy2TkIk1LxQ9ccx/VtvmVQdSfdtltMXWOOT1Bn2Ydq9FjTzux XD7o+sx8lrUmh8G6yAZ8i3WPhgCvGw2+h2o/jorHSoH0H98Py9Wcpu9gx+CoDMRn4lFJ RRpQ== X-Forwarded-Encrypted: i=1; AKwUvBx9cBSk0arbtKKK3IKBU1yByQpqH7rXjBy2AlYE4XuOu5Cc3sVic07NzQMj77MkwErz1GdYZsetnxIZc3s=@vger.kernel.org X-Gm-Message-State: AFuF++kuj5FbSVCvn505Nc5ElcPHyVNcSpFsOr/g7TQL1u3WIHRifHuV eH5SSCn2raMWoNwl+cMRve5MRH3jKEvL+QgUmwtsIdZ8YFndAI/XUjE= X-Gm-Gg: AYBFou1OqBhDKNlVvc5QLceVwxJzeKvb422uKjwf9rTgqgNSkMRcFwLrTGVHSrQSw5B 2zlOmOUxWE7JhIiYSGuJTmvxcM58l9RM8RRHWVOyHSLjJDiN2UyTgzvs4ZAYn2Y5CadBWLBOwT8 5bCKPYduEBvPguUYb2NLJEjSgJ6pHaZPaO4+XLZNlub4G8OJK2v6JLhFEmirRxBsfsE/p9tsJC0 JEYVpJbfAim7QBtwLd9vOrhJM8xdVbZ+uNCShTQnCf0ZNr/whKG1u3Mk1z+yAQ+94fSqEdtEJF9 sTXoDfAtq3lhwM47xtQrEYt/C1I5gL++LlKwV7LX6nbRdF0kKCDER4Xs7zCtqm84DkSFQbnkrz4 me1copw1o4SXlXkGu/eIq3wOy6sPYvk8riyjp+ZejDuhUssEUObNYJ1b6BonO2AxmJPpcmBqJYi HmTAvEgxFgyW+Fdb75O6IIMZOibohEYVGClaIbSgtb/ymzrp0bRcZG2HgUbEF+jkpAIo+R3LyRX KjRpYsuZhaW5Inga+SOjD7ikjAhje9g4HCJ4HP7Ww9vCj6VDg== X-Received: by 2002:a05:690c:e3c8:b0:80f:8faa:b8e0 with SMTP id 00721157ae682-87123a00f9fmr80434077b3.8.1788784163752; Mon, 07 Sep 2026 05:29:23 -0700 (PDT) Received: from localhost.localdomain ([186.158.238.108]) by smtp.gmail.com with ESMTPSA id 00721157ae682-8714bb0efc1sm70511967b3.45.2026.09.07.05.29.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2026 05:29:23 -0700 (PDT) From: =?UTF-8?q?Nicol=C3=A1s=20Antinori?= To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: =?UTF-8?q?Nicol=C3=A1s=20Antinori?= , Brigham Campbell , Christophe JAILLET , Jori Koolstra , Shuah Khan , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linux.dev Subject: [PATCH v4 2/3] drm/ch1115: add support for Chipwealth CH1115 OLED controller Date: Mon, 7 Sep 2026 09:23:30 -0300 Message-ID: <98e626a67deffe6573297308d5e7ef9170f7fe41.1788711082.git.nico.antinori.7@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Chipwealth CH1115 is a controller for monochrome dot matrix OLED panels. Add DRM support for this chip using i2c bus. Signed-off-by: Nicol=C3=A1s Antinori --- Notes: - Patch series based on 7.3-rc1 drivers/gpu/drm/Kconfig | 1 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/chipwealth/Kconfig | 16 + drivers/gpu/drm/chipwealth/Makefile | 3 + drivers/gpu/drm/chipwealth/ch1115-i2c.c | 885 ++++++++++++++++++++++++ 5 files changed, 906 insertions(+) create mode 100644 drivers/gpu/drm/chipwealth/Kconfig create mode 100644 drivers/gpu/drm/chipwealth/Makefile create mode 100644 drivers/gpu/drm/chipwealth/ch1115-i2c.c diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index ba242a8318a8..7aa3ca225434 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -307,6 +307,7 @@ source "drivers/gpu/drm/aspeed/Kconfig" source "drivers/gpu/drm/ast/Kconfig" source "drivers/gpu/drm/atmel-hlcdc/Kconfig" source "drivers/gpu/drm/bridge/Kconfig" +source "drivers/gpu/drm/chipwealth/Kconfig" source "drivers/gpu/drm/etnaviv/Kconfig" source "drivers/gpu/drm/exynos/Kconfig" source "drivers/gpu/drm/fsl-dcu/Kconfig" diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 1e21c2ae8730..1160659aa0bf 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -238,6 +238,7 @@ obj-$(CONFIG_DRM_SPRD) +=3D sprd/ obj-$(CONFIG_DRM_LOONGSON) +=3D loongson/ obj-$(CONFIG_DRM_POWERVR) +=3D imagination/ obj-$(CONFIG_DRM_VERISILICON_DC) +=3D verisilicon/ +obj-y +=3D chipwealth/ # Ensure drm headers are self-contained and pass kernel-doc hdrtest-files :=3D \ diff --git a/drivers/gpu/drm/chipwealth/Kconfig b/drivers/gpu/drm/chipwealt= h/Kconfig new file mode 100644 index 000000000000..1cc5adc1e28e --- /dev/null +++ b/drivers/gpu/drm/chipwealth/Kconfig @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0-only +config DRM_CH1115_I2C + tristate "DRM support for Ch1115 OLED panels (I2C BUS)" + depends on DRM && I2C + select DRM_CLIENT_SELECTION + select DRM_GEM_SHMEM_HELPER + select DRM_KMS_HELPER + select REGMAP_I2C + select VIDEOMODE_HELPERS + help + Chipwealth CH1115 is a controller for monochrome dot matrix OLED + panels. + + DRM Driver for Ch1115 OLED panels connected via I2C. + + If M is selected the module will be called ch1115-i2c. diff --git a/drivers/gpu/drm/chipwealth/Makefile b/drivers/gpu/drm/chipweal= th/Makefile new file mode 100644 index 000000000000..dc915b7d5e93 --- /dev/null +++ b/drivers/gpu/drm/chipwealth/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_DRM_CH1115_I2C) +=3D ch1115-i2c.o diff --git a/drivers/gpu/drm/chipwealth/ch1115-i2c.c b/drivers/gpu/drm/chip= wealth/ch1115-i2c.c new file mode 100644 index 000000000000..ddcf25d19b5e --- /dev/null +++ b/drivers/gpu/drm/chipwealth/ch1115-i2c.c @@ -0,0 +1,885 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * DRM driver for Ch1115 panels + * + * Copyright (C) 2026 Nicol=C3=A1s Antinori + * + * Datasheet: https://datasheet4u.com/download/1576606/CH1115.html + * + * Based on + * - drivers/gpu/drm/sitronix/st7571-i2c.c + * - drivers/gpu/drm/sitronix/st7571.c + * Copyright (C) 2025 Marcus Folkesson + */ + +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include