From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (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 1745637475C for ; Fri, 11 Sep 2026 15:16:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139779; cv=none; b=ReATZQTrWM4QeK04tCDtapIihkmSs9bMvNnK8f/DTYkmTxlOAbOXmi5p/xwW5dgAYRYf6+vu0l/bOtrEDS9gMC/u5ZHO8I4fjdMdphRVhRZf5CEl5LoFNSqOuvrHW9WlSocLkM2P28iLFNTJujzTLt4OLWh/32Z1UQMjmVXQhDw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789139779; c=relaxed/simple; bh=8AhNBKZpnaYUD2pQxjChPO5qgquyOMhWXmxX3P9/qnM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Lxq6tdytksNiyyoxvnZ9HOn1XgNvM+n4prEAL1R7lL+2oQWvGp/DIN/XKMK3ntT+2mgLau7mWJqDQH9zD3xn3S50sapWuHgSieAUYqmHkDuC0zbucuuCcdBOGpanTk/9krgaJObO/6StiXcjfIY2wPqTgiKSaN9pm29eumjjqt0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=H6mxH4D4; arc=none smtp.client-ip=209.85.208.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="H6mxH4D4" Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-6a9a4dc8afeso1646847a12.3 for ; Fri, 11 Sep 2026 08:16:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1789139775; x=1789744575; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=QuBzPHoSnBjRL86Zizr+XKaGzMxevhAgb2XWxWkSVN8=; b=H6mxH4D4VnGGfHmT0ag9DjctgtlupAtfzOAbpqHc+0+Y4krVg52rRNWmeTeM9yWdYU P3IBSloqqNkx0n9xCzcsW2AfeElvPyyg2ZdZKYLOZJD9ALJxuRUKzbSZ1mai7JctKyF9 +SlmrE4NLlzFGY4sF17j5vqylen+JWu/+mkzC/TCcuf9A9LmtZ2iZUbzGAIR6kzMcUM8 B0fqdjUxnnnI/Nr3IU10O/+slWjmfKuCoEmWR9+3XyRTwcc4eOjJGg2IKBm+HgBhfPrf y1tdx+2qsY77+V2JCTe76pp5hYyjzNkNYHmeQBSyiFg/66F1W+TB7mrfrwfHFmwNAHIi ob6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789139775; x=1789744575; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=QuBzPHoSnBjRL86Zizr+XKaGzMxevhAgb2XWxWkSVN8=; b=mC5OzEDDSJWcrTk01F8YGcYJyiBlttuxxyMU3XjOPoQsXFAfKT84U+NfGE5/eakB1C Q9knok8DMcHcJp7gvKnIpNLoUaxf9VFmBXJiwUqcnvFMSzbAETvmlEeOtNc+qmffrXxS 6Y3EUiwJQ+X9IzJqgqq6/6saVxmxWEmj6pMQfiwV7IP6H4WQ/b7QYYYLSS1S5jCtR08E UJjBb1HqQ/YfsKWzIQSH2aoO4fxT/DtwLQ5HyBPL/3x/yEaO0iOWdRnTolydODe52urD Xa3MJTIUNrWQwtu7Jef24xUV2jINiSGbdWKtQN1CIyNIFW8Grg4TsEZnhltuxYORLURN B+aQ== X-Forwarded-Encrypted: i=1; AKwUvBwN1wJ3qwvF14D3QKTBIjym1F2O3qkjTctWqoMcj0uXiAgRP+3P5l/1mYD822uxLQ5UVS/FNB/Nfh37@vger.kernel.org X-Gm-Message-State: AFuF++m6KMoErzc6Y59CPCfAGsDYgNm3/qK7OWBERgzk7pdEZckd/4iH iigFPyzZsl6xPwg3L5XHGF87KA+a+Xo+EdKWPbEE7T98R9CSXPeOKlbMVrPuboKQ5DQ= X-Gm-Gg: AYBFou3OwbopQ1XA1ceLFBXhr14B3rBMsEmnoopWkwMIX7fVfXI/stZwFwfm5wlpsXS V2SCIhEV6kD1+cDZ6ZQIxBVfePz46YGkY4AVGzTBvTpks6HbRe2aBM+rtbKGDMIqLfV509NlNUC cg5k5EzEunVWFfHRPrX7deCm+VCl1wlFcecSylFBzkLVcBB2mVMGRuAcPOhlnYnwFXyhVS3qp1T ws4pWYF9fTy7RMdmEth0xJFWLLS86IH9iwv/ZLDGWW/2Wuhwv4DA4YNYijnZpdGbTe1U8ajy1V9 RhVnjGirwROwlVi5BJoez9RGLajrRb72EKLqzHVsFxWcOAlMaUPzLcyg309Ko74lkl+8j8aDX1t WPvnJwjt0tb/MGDLCdT+q25+/LcVLwUfbUNDqA3/20LFrNVdF0TgAt+s1+QrwK/mMTiv+TN628Q V7BbDWlryhUzMYL81C/Y5gru9+Ia4sdQEmmjxpXX1a+1xR0fXeW//4OkYsiAZlq9yrWtqVMuCxs et+q7sB5NEOgE4rAHw1yNd7EQ+1D9kry+OamfIb+m76YLqy5qzswg== X-Received: by 2002:a17:906:6290:b0:c29:6400:ef8e with SMTP id a640c23a62f3a-c296671348bmr202563666b.42.1789139775315; Fri, 11 Sep 2026 08:16:15 -0700 (PDT) Received: from [172.16.220.101] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c29660ba623sm94656766b.45.2026.09.11.08.16.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 08:16:14 -0700 (PDT) From: Luca Weiss Date: Fri, 11 Sep 2026 17:16:09 +0200 Subject: [PATCH 1/3] dt-bindings: input: touchscreen: document ESWIN EPH8621 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260911-eswin-eph8621-v1-1-db447ff9e445@fairphone.com> References: <20260911-eswin-eph8621-v1-0-db447ff9e445@fairphone.com> In-Reply-To: <20260911-eswin-eph8621-v1-0-db447ff9e445@fairphone.com> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Luca Weiss X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789139772; l=2508; i=luca.weiss@fairphone.com; s=20250611; h=from:subject:message-id; bh=8AhNBKZpnaYUD2pQxjChPO5qgquyOMhWXmxX3P9/qnM=; b=klm5WaCMDKqec15ANu9XtYr2/JmBMK+XJPgebCb8nmQlHNdiQ6PGH2kPZYx1us0RzXLSKLfl8 5FNQAJ9XfH7C1PKqsY0VAh3Ov1W/+d4FyTZ6HK7k8FY5F5hY90iGJ/+ X-Developer-Key: i=luca.weiss@fairphone.com; a=ed25519; pk=O1aw+AAust5lEmgrNJ1Bs7PTY0fEsJm+mdkjExA69q8= Document the ESWIN EPH8621 touchscreen controller, which can operate in SPI mode. Other touchscreen controllers from the EPH861X family (and potentially also EPH8621) can also operate in I2C mode, this was not added yet. Signed-off-by: Luca Weiss --- .../bindings/input/touchscreen/eswin,eph8621.yaml | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/eswin,eph8621.yaml b/Documentation/devicetree/bindings/input/touchscreen/eswin,eph8621.yaml new file mode 100644 index 000000000000..03f981ba19e4 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/eswin,eph8621.yaml @@ -0,0 +1,79 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/eswin,eph8621.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ESWIN EPH8621 touchscreen controller + +maintainers: + - Luca Weiss + +allOf: + - $ref: touchscreen.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + enum: + - eswin,eph8621 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + avdd-supply: + description: Power supply regulator on AVDD pin + + vddio-supply: + description: Power supply regulator on VDDIO pin + + spi-max-frequency: true + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-swapped-x-y: true + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - avdd-supply + - vddio-supply + - touchscreen-size-x + - touchscreen-size-y + +examples: + - | + #include + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + touchscreen@0 { + compatible = "eswin,eph8621"; + reg = <0>; + + avdd-supply = <&vreg_l22b>; + vddio-supply = <&vreg_l9b>; + + interrupts-extended = <&tlmm 19 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&tlmm 20 GPIO_ACTIVE_LOW>; + + spi-max-frequency = <2000000>; + + touchscreen-size-x = <1116>; + touchscreen-size-y = <2484>; + touchscreen-inverted-x; + }; + }; + +... -- 2.55.0