From nobody Mon Sep 28 12:33:11 2026 Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (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 A9394249EB for ; Fri, 21 Aug 2026 14:38:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787323121; cv=none; b=T/doZyARlUnyFmRhtIjN47pdGysJATLhgGR4Lc4qnM1TD3xgxLT0OU11JN2QRccTytOgQI6TywirUkancz4KJbyxJc0wZ7O1tjnd3dGVFAIn16yN4TfU12muFqWzqj1RSV8oHYZi366dm9+6QymmmqivrKw8u8n1aopA79qDyt4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787323121; c=relaxed/simple; bh=yDkWoEFDM+6E+tOGZ/Pf2E1ikfxC7ajm6i/wChJMl5A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rp7Qvs6r2/P3m9FZZIvR0cbBpbeiXbNPF6C2ee1mBzeGlZXJHeol/hPQkL7tlblgnPiIpN2E3UP87ptgl2c7DOUWwBMQuOmQr/UR+TLxKDTh+bguz9+uLUpHFSE3AgDdBk53gzmlcKKbcTgFr7LXQ/N3vTuGfPZFOfj/GzJ/r50= 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=KDT98qsm; arc=none smtp.client-ip=209.85.128.174 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="KDT98qsm" Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-8200ca16f26so15795847b3.3 for ; Fri, 21 Aug 2026 07:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787323113; x=1787927913; 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=FpnrrgVBkCseeH30s/+2qScfilYBiNsJRVekRnVKb/Y=; b=KDT98qsmhdmf4F0SEegqSexqjR1iYsyCon39Q/cviDdTMY9rRgnXLlBJaHoqRH42// wRHp+4A25iHCXZiOevgLb9ofFoQ6d40T+wL31jlvqUZIv+gVUmHUi6E6oc0SA1QXW6g1 O0V/cI/2B8HaUzcK2+tYExOJt2YQHPeBIOaN2vbKaXy6QA4VGJo40OdcskFyjWDaRfzs 1U/dM82ZyeyzWKNVDFoIz7IF63K0fzs7aggRV2jXPUkW7txJKQZia63EYrp/bpn+nVuu +of8oSelOm57ljY1Btbermw5KGsNVIXSLlpNWLBcU3TW1nfNLTmmkuj8nuKVieGt/Uiu cXaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787323113; x=1787927913; 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=FpnrrgVBkCseeH30s/+2qScfilYBiNsJRVekRnVKb/Y=; b=MNzWZNjD8oz/lun++x25bm2tNGdamPosxtsubdGrkSFa5ezmUKQtJ29BYiLSCb0err JjBOfgUpfp+AICvl7LeZ8/dknjdU39nb7iYA3kB/BgbdJ2+jSwEUk/IdMLX9j6ysr48Y yHfbgNa5eWL3F5grmkSEdeJqut5vyjWcQkE+mTYwEJYqbdjDgEK7a9G0IES8AWU7ZGac Cn/YJzil44619RWaxz1oDI97hz8m7aNiDjP3H9v2gC+WrmPIwFF7Rbh5YmM4tHgFNaK2 +TBOitoWQ2TICJNovhp0kPY7rEH87W4vLmgUNVm/ujRt6VEMXfMH1MINbwzdPNj/3ovG N9Qg== X-Forwarded-Encrypted: i=1; AHgh+Rr1+TihY9sRnsXsIwdcg4/gTVUuONxHuihtLupPnldHcT+VAXLWHrlKFEehHi2bZ4CBHscvi1ugLNknJ/E=@vger.kernel.org X-Gm-Message-State: AFuF++mv/z5uJ659ad2pbnVJeWjEbKA+lkizeCpgTPt9wKb42sekOgOh 032NSn1Rjz0e/or0gec2GE2MN25zVtOkDW8ZTRaADX9fKw/8flh2K5Q= X-Gm-Gg: AR+sD10uEvjCVfuFGjuG4QFy5COvPS8qaSrjarx4ZuRuCmS4XIqEWzvXiSWzeAJvPFs IGTn2EzGhpDqDCo7EivSoWBNr3F3rvuZd+DZI5RbNpwg1XRl+rnWAOSAz/8BBlaGk3Xi7ZG46iw 0kivL/f+jphGDBfGnxeL4R+bS9B5sO7dnvouMOioU0r0bKV4//nC0fnBX2AIogyiMs8prbctoDH 8TDSqowetxAwDTHpdTBhyg+H7jsoBrKUAuSuRnhmo53+ar+FGXBx6/+QtgLJUIkNvh/dsPYChJa N1sM2sDqoQI+88G/z3G3TvDLGLnTGBWRWxHc8nuMwFYDk1oqoD4WTkHS5dyi8sRCO4N+3N2HWpG Q2AdP8YnTI69vFr7aRZRzE3ApI3NNynQpCYpu3lxVxs8BSiURXpkZTTW6gnXD02l6FKC3sSmv1N 8/peUmDESxbQUkGvnHXO0MV+RCWu7tE1MdMUJWiIdJi1I1Z4MYiqImf2c81O2nJ28MdE2E5h6+C qSoKAn14Mocrx+Cvbfrzt543Cu7tazrLgZ1Ctfa X-Received: by 2002:a05:690c:e20c:10b0:81f:d515:8c06 with SMTP id 00721157ae682-849f61ddfc9mr21942087b3.29.1787323112427; Fri, 21 Aug 2026 07:38:32 -0700 (PDT) Received: from localhost.localdomain ([186.158.238.108]) by smtp.gmail.com with ESMTPSA id 00721157ae682-845188b28f2sm41868277b3.38.2026.08.21.07.38.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 07:38:32 -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 v2 1/3] dt-bindings: display: add Chipwealth CH1115 OLED Controller Date: Fri, 21 Aug 2026 11:34:16 -0300 Message-ID: <379eb0dbb4a911d80a3af680f647cf13ae0ece32.1787321297.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 --- NOTE: patch series based in kernel v7.2 .../bindings/display/chipwealth,ch1115.yaml | 89 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 91 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..9d9c43722131 --- /dev/null +++ b/Documentation/devicetree/bindings/display/chipwealth,ch1115.yaml @@ -0,0 +1,89 @@ +# 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,invert: + 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 + description: + Display start line offset. Specifies the vertical alignment and row = shift along the + Y-coordinate. + + chipwealth,contrast: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 255 + description: + Panel contrast. + + 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>; + status =3D "okay"; + + display@3c { + compatible =3D "chipwealth,ch1115"; + reg =3D <0x3c>; + width-mm =3D <12>; + height-mm =3D <8>; + chipwealth,contrast =3D <127>; + 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 Mon Sep 28 12:33:11 2026 Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (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 0863D3ABDA4 for ; Fri, 21 Aug 2026 14:38:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787323125; cv=none; b=XDjGvLYMbYluL94yl8ISX3CxO+sW5WhcFfpEMXoyQitvZYdBAuliEl0+gpMN0nlNMz7rXU4OY+8KLMjh+jtJEDPpAngFmP5QY6fS46xlIVYVacIEWN8bSLM2Ifrh3v0mtyllXzdf+jdpmt5RsK+M7gOYG71Aa+HwOLaArLXM/8o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787323125; c=relaxed/simple; bh=7ICS5o4EbrtvCnlOoekPK7UKzNIiAyUu1jsIcvgoRFM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sxCaIbQFC24DEMCOPtCNNzU/t+GP8JEteBlk1iZJp0TGMhLRuX1rB3XCG3o1SftgnsyYFr5W0KH7Ecx5oYELxGngbvFxTqnx5NbemKZL5T9waduJ7gl+S97xTPCVbtedPJkWobzslrDT7cyD0YOBuEEa0Amiy0Rnhu1xUiUJyLo= 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=KHBQpQet; arc=none smtp.client-ip=209.85.128.180 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="KHBQpQet" Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-8201447e8cdso15686767b3.3 for ; Fri, 21 Aug 2026 07:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787323118; x=1787927918; 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=4dHc2nZnvTamMN93xkQNQqwvQqANHJkANz8dxesiroA=; b=KHBQpQet6WfDSAONGznvAbf01UrQTn++FRP9QqXFPq/M6RQZEwViE0r9TM9xCgFKDZ T0+HJzg86xP4U/PjsC7BVXdtoaSsOPcJMAfK3EVhCYVHElcxz2c2nDJtE9tLTYMlmnFg 3CYtT0kdZWHB4ESu7o4X++G+VRkbuRNdYshG3BS+dCNl7OqQFdqXWKqPbjfcs9QRbmlK xl0AaS3DbdS6gsb9o9zBWyTHQlAT/ykGVNRX4Qd/tNpayj4UcnPH/g5N44ZF+0E2oUlU D/BtnSDMM31wc2/SghQLMMuaJhokNxVH4mBZLFFVyqagkqjdWfLEtUlhNePHFWSLsE65 kf5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787323118; x=1787927918; 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=4dHc2nZnvTamMN93xkQNQqwvQqANHJkANz8dxesiroA=; b=YvBBhS5sXigeisN1NNeVFf4fmM9ckbGaLVQRSG2mOMaI2Jd7t1bhHX4ius/hEqM0I+ userVx6rfjKiK/D3F2RRul65nDtnkK4YEL7/Eujq41fWoLw8WhCC/LtA5iu9AtHBQVcy 0ox6WNago5twjtpHBvXyvjMUFcCtoXTTa6VAyB0b8K5x2RFVHHu/nhaBaacE4rgCErw4 OTB1ChHiPjKqUSgJwrXwpd+ZKgYmoWD9Svf6xJUFKdnwXb8LE75RXH4ZPjZ5bkpORRlf c5vr3Dt2uJNgF8tjQZ2qB7rBPQpAJZAvSgnWYUH91PoYjtxscO1cvlfozjiL3Rx/5QZp TOmw== X-Forwarded-Encrypted: i=1; AHgh+Rpaal6/g5lCpX/9tMkdnW3Qks1ecZd78ieMPLFavKanjDumbchY/yBjHicLT5itFKYm8c9pPUdB+OxrzkU=@vger.kernel.org X-Gm-Message-State: AFuF++m9k/QZjzl5UbVxF7IIBsiDcXDzsWLPiSl1ON7FRHh/uPlhi4vZ nNE8lGweeMe+U0iB8fyBmqGtnWSvKNzKqAwEOI995/8DHjhOzz8660A= X-Gm-Gg: AR+sD11h82UQmYNiiwrakjcFWhERzFOQzPCcD/LYfAFRMHc1empZudZRIz//Snf49PQ +vHgzw8DYOjGMCRWyqYWywPbVnk6jMJl4ANQRFK9X/6HthkEDjh4h9Yl/wXxK1gRWZ6UKzXFnWb nXowWtOn3EYqLd1BSdN0d/XTuciZ9ZUX4E9prVNUS9ukYq2KT6aRo7G0uruux5jaWZNKW3QWMdb QwPTioiHH+2YbPJYn1y1FF5dQkGXQ3+rpRp1OJN43tKc7rojdIcptQlx9QJjBx13R7+xdyfnLtO tn8ebMVs90PLXKUt5KA6q2gJAL+AOiOv0h2rgB6xN+lChsJdW62QZo6t0mPpKzqTuZsc01Yygur J7IKOc/yybb/T3Qd1XcTA5H+Qz7+8EjBuBi7dvb4KWTO2/EemmWHv9/x2ZRWilTaQu4vnlO4wyQ WDn6BqJjbkTgWz3uSnif5AVRpQjdpkRGEN294GioxxPD67+nxCPpNJymvw/n+m569ZCB2G3+Q5i zRynvQ7R78sI1V7tiHUyj/GCcMsve19NMFbKTtWwjOhOn0RVC4= X-Received: by 2002:a05:690c:e3cd:b0:81e:b981:3eb5 with SMTP id 00721157ae682-849f449e26dmr24685467b3.23.1787323117642; Fri, 21 Aug 2026 07:38:37 -0700 (PDT) Received: from localhost.localdomain ([186.158.238.108]) by smtp.gmail.com with ESMTPSA id 00721157ae682-845188b28f2sm41868277b3.38.2026.08.21.07.38.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 07:38:37 -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 v2 2/3] drm/ch1115: add support for Chipwealth CH1115 OLED controller Date: Fri, 21 Aug 2026 11:34:17 -0300 Message-ID: <362d7027fc2b558e4b35a154e7d12489bd88dbeb.1787321297.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 --- 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 | 854 ++++++++++++++++++++++++ 5 files changed, 875 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..2d1d15e3c7fd --- /dev/null +++ b/drivers/gpu/drm/chipwealth/ch1115-i2c.c @@ -0,0 +1,854 @@ +// 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