On Fri, Sep 30, 2022 at 12:54:34PM +0200, Krzysztof Kozlowski wrote: > On 28/09/2022 23:48, Chris Morgan wrote: > > From: Chris Morgan <macromorgan@xxxxxxxxxxx> > > > > Add documentation for the Hynitron cstxxx touchscreen bindings. > > Hynitron makes a series of touchscreen controllers, however for > > now this is expected to only be compatible with the cst3xx series. > > Drop redundant (second) bindings from subject. Acknowledged. > > > > > Signed-off-by: Chris Morgan <macromorgan@xxxxxxxxxxx> > > --- > > .../input/touchscreen/hynitron,cstxxx.yaml | 65 +++++++++++++++++++ > > 1 file changed, 65 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/hynitron,cstxxx.yaml > > > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/hynitron,cstxxx.yaml b/Documentation/devicetree/bindings/input/touchscreen/hynitron,cstxxx.yaml > > new file mode 100644 > > index 000000000000..c98d14e9844a > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/input/touchscreen/hynitron,cstxxx.yaml > > @@ -0,0 +1,65 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevicetree.org%2Fschemas%2Finput%2Ftouchscreen%2Fhynitron%2Ccstxxx.yaml%23&data=05%7C01%7C%7C15d98f57ab8a4668227508daa2d22a4f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638001320776366532%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qn5TpFejnoa7B3eo6vM3FkKwoi8kAWo1IgxMlKWCkJM%3D&reserved=0 > > +$schema: https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevicetree.org%2Fmeta-schemas%2Fcore.yaml%23&data=05%7C01%7C%7C15d98f57ab8a4668227508daa2d22a4f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638001320776366532%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zdV1diLy%2FujTHO6DB2%2BqMp47Eafi4Uz%2FK1kChij4CiQ%3D&reserved=0 > > + > > +title: Hynitron cstxxx series touchscreen controller bindings > > Drop "bindings" > Acknowledged. > > + > > +description: | > > + Bindings for Hynitron cstxxx series multi-touch touchscreen > > + controllers. > > + > > +maintainers: > > + - Chris Morgan <macromorgan@xxxxxxxxxxx> > > + > > +allOf: > > + - $ref: touchscreen.yaml# > > + > > +properties: > > + compatible: > > + enum: > > + - hynitron,cst3xx > > Isn't the panel CST3240? No wildcards in compatibles. > The controller IC I'm using is CST348. This driver SHOULD also work with a CST340 and a CST356 (untested though). Should I just have 3 compatible strings then, one for each IC? I could also just have cst340 as the compatible and note it should work for the 3 ICs listed. > > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + maxItems: 1 > > + > > + reset-gpios: > > + maxItems: 1 > > + > > Best regards, > Krzysztof > Once again, thank you for your input.