From: Stefan Wahren <wahrenst@gmx.net>
To: Shengyang Chen <shengyang.chen@starfivetech.com>,
devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org
Cc: neil.armstrong@linaro.org, quic_jesszhan@quicinc.com,
sam@ravnborg.org, airlied@gmail.com, daniel@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
florian.fainelli@broadcom.com,
bcm-kernel-feedback-list@broadcom.com, emma@anholt.net,
thierry.reding@gmail.com, changhuang.liang@starfivetech.com,
keith.zhao@starfivetech.com, jack.zhu@starfivetech.com,
linux-rpi-kernel@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 0/2] Add waveshare 7inch touchscreen panel support
Date: Fri, 24 Nov 2023 15:54:32 +0100 [thread overview]
Message-ID: <dab03c60-caa9-47e3-9dac-fa499227b67b@gmx.net> (raw)
In-Reply-To: <20231124104451.44271-1-shengyang.chen@starfivetech.com>
Hi Shengyang,
[fix address of Emma]
Am 24.11.23 um 11:44 schrieb Shengyang Chen:
> This patchset adds waveshare 7inch touchscreen panel support
> for the StarFive JH7110 SoC.
>
> Patch 1 add new compatible for the raspberrypi panel driver and its dt-binding.
> Patch 2 add new display mode and new probing process for raspberrypi panel driver.
>
> Waveshare 7inch touchscreen panel is a kind of raspberrypi panel
> which can be drived by raspberrypi panel driver.
>
> The series has been tested on the VisionFive 2 board.
surprisingly i was recently working on the official Raspberry Pi
touchscreen and was able to get it running the new way.
What do i mean with the new way. There is almost nothing special to the
Raspberry Pi touchscreen, so we should try to use/extend existing
components like:
CONFIG_DRM_PANEL_SIMPLE
CONFIG_TOUCHSCREEN_EDT_FT5X06
CONFIG_DRM_TOSHIBA_TC358762
The only special part is the Attiny on the connector PCB which requires:
CONFIG_REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
So the whole point is to avoid writing monolitic drivers for simple
panel like that.
There is a WIP branch based on top of Linux 6.7-rcX, which should
demonstrate this approach [1]. Unfortunately it is not ready for
upstreaming, but it has been tested on a Raspberry Pi 3 B Plus. Maybe
this is helpful for your case.
Actually i consider panel-raspberrypi-touchscreen.c as a dead end, which
shouldn't be extended.
Btw there are already DT overlays in mainline which seems to use the
Raspberry Pi 7inch panel (without touch function yet) [2].
[1] - https://github.com/lategoodbye/rpi-zero/commits/v6.7-7inch-ts
[2] -
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rpidsi.dtso?h=v6.6.2&id=6b4da1354fd81adace0cda448c77d8f2a47d8474
>
> Shengyang Chen (2):
> dt-bindings: display: panel: raspberrypi: Add compatible property for
> waveshare 7inch touchscreen panel
> gpu: drm: panel: raspberrypi: add new display mode and new probing
> process
>
> .../panel/raspberrypi,7inch-touchscreen.yaml | 4 +-
> .../drm/panel/panel-raspberrypi-touchscreen.c | 99 ++++++++++++++++---
> 2 files changed, 91 insertions(+), 12 deletions(-)
>
next prev parent reply other threads:[~2023-11-24 14:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 10:44 Shengyang Chen
2023-11-24 10:44 ` [PATCH v1 1/2] dt-bindings: display: panel: raspberrypi: Add compatible property for waveshare 7inch touchscreen panel Shengyang Chen
2023-11-24 12:31 ` Conor Dooley
2023-12-06 9:43 ` Shengyang Chen
2023-12-06 15:40 ` Conor Dooley
2023-12-07 3:48 ` Shengyang Chen
2023-12-07 9:34 ` Conor Dooley
2023-11-24 10:44 ` [PATCH v1 2/2] gpu: drm: panel: raspberrypi: add new display mode and new probing process Shengyang Chen
2023-11-24 14:54 ` Stefan Wahren [this message]
2023-11-24 16:04 ` [PATCH v1 0/2] Add waveshare 7inch touchscreen panel support Dave Stevenson
2023-12-06 8:55 ` Keith Zhao
2023-12-06 14:56 ` Dave Stevenson
2023-12-07 2:16 ` Keith Zhao
2023-12-06 9:53 ` Shengyang Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dab03c60-caa9-47e3-9dac-fa499227b67b@gmx.net \
--to=wahrenst@gmx.net \
--cc=airlied@gmail.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=changhuang.liang@starfivetech.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=emma@anholt.net \
--cc=florian.fainelli@broadcom.com \
--cc=jack.zhu@starfivetech.com \
--cc=keith.zhao@starfivetech.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=quic_jesszhan@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=shengyang.chen@starfivetech.com \
--cc=thierry.reding@gmail.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®