From nobody Sat Sep 26 21:59:32 2026 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (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 55FC137C908 for ; Sat, 29 Aug 2026 06:38:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787985494; cv=none; b=CukKmPGNAZoaPxtytOyIxB+9f7CR9FEABWBzOsPzNCQHDCvX5/5o3ELz5+ADLERaqwab71YbzynDe3ZCFGpr+VzduAr6wRrrQ1PP6IvGBedUy/LIDZ8EKpbkU4xfe1WPYj9cFdnfCVzdhTykCebrdUFReFmr37+JcMVu63mXhhA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787985494; c=relaxed/simple; bh=V7NprEA1ziEcZPTYiWf9422D/TQaqQQsBWcrswswXHY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PjAPL7z20SIAjI072ErJEVcoNaifSPLyVBWT4hwhPG8CtM2p8Yu89WK7zkBx9THNY8PQVbo1wbAFUTF6X3LQNZeIWGBDFokjOEnR4+iSNbzDEVWuvDupJCs3jNEzrwMh2ZKlxoKlYoIdsggr5bZy5ZHoQBWfixtMB6k+WdYt4yA= 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=rqFA2xP0; arc=none smtp.client-ip=209.85.215.178 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="rqFA2xP0" Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-cc1ceadbd16so1709858a12.2 for ; Fri, 28 Aug 2026 23:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787985493; x=1788590293; 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=tmcfXCWyqYWXrP5NL+KMYMRkQ9XRom7Vi8Cv0Onf708=; b=rqFA2xP0dHNHUIBZmPAQIUXJO1vSsJeM2wi7REXrQcEPIgTNIm3p10tGSKSM5kanHW 63LfPlAtW1o+WhRx0QJwi2qxap7AIAgzo6vAaXuGnQuwoXc/RydwRx8pMro/DDV0i8qn 6gkQsyeortQ7T46TDt12+VEJRW1oA/c7N6fUumI7j3a3xlpFAnfdWehHQ6tCDJBGhHbj JFRS7fL0uLbRw5U8pLGQ9kb7cXAZdQaFJyKdzdno38Pg5WcVsBg54GhUyWXsTZbuVnpU aqquYQbKS/owEfLNT0hGmPou29N1+4L0xm6zDb2PJHOgRbh/EI/20E43A9EAFOAm0Sl2 Gbgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787985493; x=1788590293; 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=tmcfXCWyqYWXrP5NL+KMYMRkQ9XRom7Vi8Cv0Onf708=; b=hVwwu7AKZf78hWglV99eJGzi4Ikxu5icBoHtshXZQT5OUEb86H7lj2pGiTJrv0PGFp p/VB1uwKe/8erQVsQIfmsYFZjkmHIpNAVp5TYRWTrosutIciyn3IqWIJzSagcNRiwV+l sx1C2ENJoGzpt5wS56M6KVZu5gN/Ww6E1tmPyRqVUpwgUWsoveorrkPxgVQcauAcGthe 1iDxccBZzFdC/r8cFJpneIUx9xaJDKjNKFdIPjLUPwhSRQJDk+a7U3+/5vi8z3UxKYir IynfYt4WnoNMR3Un4MF1PE7Z80S5590IQgcA+8gzRCTDTV42p34sig0y83Sx91V+cVMx q0Yw== X-Forwarded-Encrypted: i=1; AHgh+Rp7eMrl82oKRi8k4iodmYmW6HbnTNh1kamZhNNLoTifqv/V7kMbbCDYNuqOAOojn1er+pmbApuQV3kt+rQ=@vger.kernel.org X-Gm-Message-State: AFuF++lU4AjDGLGS7jiJcGJbpQzRMHMsdE0LTjRghHl2wqcgEg9Z+zXh baYiGVZxPQ1pnXpkdgng67wZpcwPJwDpVwlfEQ7HUVEUJnoPwBfxNxM= X-Gm-Gg: AR+sD118ywdky22XVHTwB0doGP32Y0mbSz7vYteaGNOlZJZerGwSKikx1TCZkPDlSRF yNszUS7WeHK1HAS/pzLFGaHPYIbt/tJnzXp5dFMkNrBIWvJwYbMkQ75oELif2BGizBcLUv7eTnN WGCuluGGu03GbFpg90AaejRRrzE0RfLq5OWWAKzS9oQt62NtFRNA7Er1TmWcKQh36sVKUmSSGs6 AyyyiljlJLaB/FERbVG3Z0q/tza/Uu/iT1YxvPvDyA80AwcFBHWxW1L8cZQgB/aydbeleiV2eRv oo2/38FQAwkW3dcr1X8xP855mHoq+NVU44/6Du5f6aLZ/SAApm/LluK1fH2aVgnpaHHCCjNJEF7 5f/4rjAh8MrUYzyPRdsVbaLpNdAY298vtgonYx3xNbEbdWRBinTyP6eZMme6B/2IHPtwCynKo/w aOBhe2XtFsq6ENUb044yeVmcbn4Mdy6aQh4z9z+ql7xlyQAZinQVcYyKnPaiqA7EPhqDIWKBWm2 9VAltfdfRz4qy1aF04/om9EHn3oK3SG+u1GphQ= X-Received: by 2002:a05:6a21:594:b0:3bf:49c8:f7b with SMTP id adf61e73a8af0-3d2681a3f3cmr23957289637.13.1787985492691; Fri, 28 Aug 2026 23:38:12 -0700 (PDT) Received: from localhost.localdomain ([186.158.238.108]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0d1abbdsm10957539c88.2.2026.08.28.23.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 23:38:12 -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 , 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 v3 1/3] dt-bindings: display: add Chipwealth CH1115 OLED Controller Date: Sat, 29 Aug 2026 03:32:13 -0300 Message-ID: <5e1a01043e1935d59d48630dc6211652e64b108a.1787973729.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. Signed-off-by: Nicol=C3=A1s Antinori Reviewed-by: Krzysztof Kozlowski --- NOTE: patch series based in kernel v7.2 .../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 d2ba67c4c8e0..1d158ac83ce9 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -325,6 +325,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 Sat Sep 26 21:59:32 2026 Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.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 ED8C932ED54 for ; Sat, 29 Aug 2026 06:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787985500; cv=none; b=Nb9OCoImF5w8ZpQWGuN3pFxknAAwuSZxUOgBSSbJLbxhlbk6AIXVd8CnmiVuDpcsK3bxTsEK7TtCh/W3+pYAwpilaXr75w3hmSJChNFgEyLvqtsfP5yB7k3gqs+B0wXgEE3o71BmcWr3fu112aH0cUZle7gKZYSX97rL6u05iYE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787985500; c=relaxed/simple; bh=ncty3bhaK7m20M0BHfrLMurV1QDVLZA+MYi2wLU/+L8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Gok+HZymirwnnvBvTeeAZcawZXnfNLweZ1D9PnM0Oq82jbILYJJf6viXWIe4rDf3uvatQLPQzG+F63brzOdX5MHNGSAFJZQz7k/ztSh9hbXjEmFyhPx5jHt2FO4ZgEQB0xGyTmElROskVL8Ml6ckKKfJNTomF2wp6xi+4OEXC1M= 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=jGiv5NkI; arc=none smtp.client-ip=209.85.215.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="jGiv5NkI" Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-cbe6295f05bso2227294a12.1 for ; Fri, 28 Aug 2026 23:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787985497; x=1788590297; 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=kC1AAbsUk2/rHcnV3Kf69R69oFpMKt/cWDAnFeBQjlY=; b=jGiv5NkIobpuhB85RSA3Sws9so5dGxBvLr6nV87pTAbUYyNXnMF4XbsBrVi8d1IsGY cgTFYKdnd2d5h5gWaWSzcFGvLpxfvLrnjf2i7pbJgIavgYUz/gYAi3Ad/SgQ6aVGpjQP 5E+kxb4eaXNzeluVOk/PcmClpSRK4Eil5Zidn+uoMnZRx8+7RysKxNvpR7Bm7lJm0gjR 3Iti4fHs2KqViuIjbpGSFlH9KsSYsQI+emHJtyiWm6APQkYXe3lV02Hd+r4WfL618deP eDobbTAxyeO7mV6/7z1dRxkOOn33VO7l+IOEd/gWox/XnogUt2QDq2XGCxFZ752GSRhm KCAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787985497; x=1788590297; 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=kC1AAbsUk2/rHcnV3Kf69R69oFpMKt/cWDAnFeBQjlY=; b=XUnu+2W18li7lfYtsl6Q9pvzf9cHaNvlYmEwrLrq+Nz//B1VYJcVo40ytgZxM8pgb5 H5AO4greqztACRe9EIL8n728N0hAY8/9Y+18k70Poyrjohhgunfg5TCD5th3ymXqQ3Uw WR4GFTTVgf2tNNp4gsoL4TGMe0gzvoI8xlZvDr7QEFxWBS6ig1bC9e6bvFcZS1ONh5D3 ArwSE2LIKrUYmZgqCz3OA3Q2bwV+N69iAckCtF2PttFV3eDjmIFi95Jb2hh4Q+PiMfV2 6737taAMP38sl8RYdb57NNfJUUZZHaU2axIhVSdCd40NDzQc8JZlAsMF3GBEF/ln8aoN 9Nog== X-Forwarded-Encrypted: i=1; AKwUvBwEb1F2HsIZZ61zbHG0SHg7dDldBsYzJw51FacqkteEEa0aPSdOC9KSSan3/VUD4ZPvynlyZ3twFyjUkPQ=@vger.kernel.org X-Gm-Message-State: AFuF++lt9BwVn+DTCd5vTUKAzqKNbLKR2ODj7c92DzNobtAjbRPMfHRQ DgT5BCef8LJ6MmzAIWLVNrp2hGmokiA+2Bq6vV7POha7NWaJZITGBHw= X-Gm-Gg: AYBFou1+8l3Z5jXoQQYCvEhIIYS2iEYqmfdmOmUl7aYU7hA8kTwWCezqXdboyHAWVci LJPB1aymol+9qt0eziLl9v/jY0JRu73Wb+pypubXT06qwMs18Zg32b2Bh78bVHkHlcwJJ+UMWCc 6tPYh95KQ0AHUzUGdrhsaZRXGIDl5RUQQ+LuZoWUwprD3gaKMfX9N4kuDrPMoOqJNmVJfwqPQHm I7Dfkc4DqZjAfsTUqNlZT7T9VyzV09v0o5QJirDrILDpm3+0rYGUnT6B5LmciYeDgoSvJPi45Kn 9MmjCfv2YKlT/u0udisscFSrLHZpZUK+hkJpjl7XAeTKPOZE8405plUjup2NP1ufhf16OhmS14x jzeKY3U+0Ntx7R/6c9LyQn9goQeB9Ym5wZeKw5f4L9Iv0g6Il309fcsNy49u0C+GagOyaQ08+Ay GL8/JgTARBivl0sZ5Lv1TcbVCP/g8SB2ZkuMlg1tvPljqmSFQbGv8WqAkuHdaiaGU+aOJHuI+vH loy1Nk6mqHXKVs1cbNt1PyD3dsJaF7AoObB/LI= X-Received: by 2002:a17:90a:d40d:b0:398:baa7:4c2f with SMTP id 98e67ed59e1d1-398baa764bamr508177a91.5.1787985497161; Fri, 28 Aug 2026 23:38:17 -0700 (PDT) Received: from localhost.localdomain ([186.158.238.108]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0d1abbdsm10957539c88.2.2026.08.28.23.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 23:38: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 , 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 v3 2/3] drm/ch1115: add support for Chipwealth CH1115 OLED controller Date: Sat, 29 Aug 2026 03:32:14 -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. Add DRM support for this chip using i2c bus. Signed-off-by: Nicol=C3=A1s Antinori --- NOTE: patch series based in kernel v7.2 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 | 887 ++++++++++++++++++++++++ 5 files changed, 908 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 58c8729ab5a9..9ef738f549ec 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..fe864bffe761 --- /dev/null +++ b/drivers/gpu/drm/chipwealth/ch1115-i2c.c @@ -0,0 +1,887 @@ +// 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