From: Krzysztof Kozlowski <krzk@kernel.org>
To: Caleb Connolly <caleb@postmarketos.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Jessica Zhang <quic_jesszhan@quicinc.com>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Henrik Rydberg <rydberg@bitmath.org>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH v2 2/8] dt-bindings: input: touchscreen: document synaptics TCM oncell
Date: Mon, 1 Jul 2024 08:52:33 +0200 [thread overview]
Message-ID: <aea7fa07-b1c9-4386-891f-5e23fb6baf32@kernel.org> (raw)
In-Reply-To: <20240630-oneplus8-v2-2-c4a1f8da74f1@postmarketos.org>
On 30/06/2024 20:36, Caleb Connolly wrote:
>
> diff --git a/Documentation/devicetree/bindings/input/touchscreen/syna,tcm-oncell.yaml b/Documentation/devicetree/bindings/input/touchscreen/syna,tcm-oncell.yaml
> new file mode 100644
> index 000000000000..6e366c9446f8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/touchscreen/syna,tcm-oncell.yaml
Filename like compatible, so syna,s3908.yaml
> @@ -0,0 +1,68 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/input/touchscreen/syna,tcm-oncell.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Synaptics TCM Oncell i2c touchscreen
> +
> +maintainers:
> + - Caleb Connolly <caleb@postmarketos.org>
> +
> +allOf:
> + - $ref: touchscreen.yaml#
> +
> +properties:
> + compatible:
> + enum:
> + - syna,s3908
> +
> + reg:
> + maxItems: 1
> +
> + interrupts-extended:
Instead, just interrupts:
> + maxItems: 1
> +
> + reset-gpios:
> + maxItems: 1
> + description: Reset GPIO the chip is connected to.
> +
> + vdd-supply:
> + description: a phandle for the regulator supplying 3V power.
> +
> + vcc-supply:
> + description: a phandle for the regulator supplying IO power.
> +
> +additionalProperties: false
This goes after "required:" block.
> +
> +required:
> + - compatible
> + - reg
> + - interrupts-extended
> + - reset-gpios
> + - vdd-supply
> + - vcc-supply
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> + #include <dt-bindings/gpio/gpio.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + clock-frequency = <400000>;
Drop
> + status = "okay";
Drop
> +
> + touchscreen@4b {
> + compatible = "syna,s3908";
> + reg = <0x4B>;
> +
> + interrupts-extended = <&tlmm 39 0x2008>;
Not a correct interrupt flag, I think.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-07-01 6:52 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-30 18:36 [PATCH v2 0/8] qcom: initial support for the OnePlus 8T Caleb Connolly
2024-06-30 18:36 ` [PATCH v2 1/8] dt-bindings: panel: document Samsung AMB655X Caleb Connolly
2024-06-30 19:55 ` Rob Herring (Arm)
2024-06-30 18:36 ` [PATCH v2 2/8] dt-bindings: input: touchscreen: document synaptics TCM oncell Caleb Connolly
2024-07-01 6:52 ` Krzysztof Kozlowski [this message]
2024-06-30 18:36 ` [PATCH v2 3/8] dt-bindings: arm: qcom: add OnePlus 8 series Caleb Connolly
2024-06-30 18:36 ` [PATCH v2 4/8] drm: mipi: add mipi_dsi_generic_write_multi_type() Caleb Connolly
2024-07-01 20:15 ` Dmitry Baryshkov
2024-07-12 21:39 ` Jessica Zhang
2024-07-16 23:37 ` Caleb Connolly
2024-06-30 18:36 ` [PATCH v2 5/8] drm/mipi-dsi: add set column/page multi helpers Caleb Connolly
2024-07-01 20:02 ` Dmitry Baryshkov
2024-06-30 18:36 ` [PATCH v2 6/8] drm/panel: add driver for samsung amb655x Caleb Connolly
2024-07-01 20:32 ` Dmitry Baryshkov
2024-07-02 9:42 ` Caleb Connolly
2024-07-02 11:13 ` Dmitry Baryshkov
2024-06-30 18:36 ` [PATCH v2 7/8] Input: touchscreen: add Synaptics TCM oncell S3908 Caleb Connolly
2024-07-03 2:09 ` kernel test robot
2024-06-30 18:36 ` [PATCH v2 8/8] arm64: dts: qcom: add OnePlus 8T (kebab) Caleb Connolly
2024-07-11 8:52 ` Konrad Dybcio
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=aea7fa07-b1c9-4386-891f-5e23fb6baf32@kernel.org \
--to=krzk@kernel.org \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=caleb@postmarketos.org \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dmitry.torokhov@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=quic_jesszhan@quicinc.com \
--cc=robh@kernel.org \
--cc=rydberg@bitmath.org \
--cc=tzimmermann@suse.de \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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;
as well as URLs for NNTP newsgroup(s).