From nobody Mon Sep 28 13:19:03 2026 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 BA150411660 for ; Fri, 21 Aug 2026 07:12:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787296356; cv=none; b=SH41HnURQDoTzBvJ+CYTJRksascq7Oc0FrumjVXe0qgRajfoIVrEZbNLYRw73OpF/j/I+QCTXGhNcPNvaxLC5D9G9NgRXt2pLiJmAVI9Plf/4ZmMQlLr0h4kN1t601/6Z4Lo7+8c9jLQ5kdS/tYeoJ0x9ku9TFpe492BCLEWNCI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787296356; c=relaxed/simple; bh=tvgIcEmwbkn7e2pPKun/10FnYGAhaEA1A5qBEsJ80ug=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QyVYnVA7hNahxmn5Pr5NcdSi7H82sZiXjpOxLNf763jN9JpH/iThaaFvdqOawRNvlvXFSNrT1CZrZtkvD6ZUzNdbiiSIcbNifTrPbDKo8/UE2C5nIx2ro7GGbMeaSSP6hOZ8HdA6DJh7ywAD5cliBHkzy03UXyEFFdpQVQOlx8M= 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=c7OkXzEg; arc=none smtp.client-ip=209.85.208.51 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="c7OkXzEg" Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-6a38098734bso1494618a12.1 for ; Fri, 21 Aug 2026 00:12:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1787296350; x=1787901150; 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=csXrgEgazCRDtxpVG8iq7b2VnqPzoGLj29Ecu+sqIh4=; b=c7OkXzEgPk2NR158Cj1SzIHoTsobjOaxgCooSZ6p6v/HohlHBs7rvWLRXA9wpwR3Zj xPAgGgxMYK2hx4awmjdOCPOzIq7PgxhfNfcOpNkWnoik7PpVHHyb4TYsfNCGOdDvg/Xh KaPW04pt+2Vs0otxrYFrhDmPdHr7BmqNnUobnPQZvOgnkVEO8XdBCzN5RD1WnDx/5QDp vHBZnsz+Qs63FW3vIFol+D/3KSoCKEfxme87Mxraus3De0+26WwRInEEWDXmSfZ4YgM+ zRwD7Pi7iW+KrTkbJkNAydA0nWFoMtbqtA4oi58C2W4j5i/jS77HsO6eSCGZhN9BishE vy9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787296350; x=1787901150; 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=csXrgEgazCRDtxpVG8iq7b2VnqPzoGLj29Ecu+sqIh4=; b=qUcugYOTirzsihSZhTHLVf7JicEWPJ0j6U3H9/msrfwRbXGO+/y0H2guTBpmBFS5oT 4dylh8WaoN9pBgBrw8Rzud4dgeFcl2bpU8vvOH/NGiwth4m3FDLph2BsFJ2zsRNNCVA2 +t0K/kzS3ThRVVCNiQcusI1rISJb1nQ/XF6aqkRVZpsSJ0sV6fwkh3QulrGK9DwGAu96 WQhjXGeOBCoBZp8IFT5D1imIV5cai+6n86N73DPehQXq1lQ7L6fp1CrQ8AqNG/TfzQBY 8j7B/qgaP7IXTxiWEg5joV0vz7YgznuhDrcR9JwWHZ8Yi4sRdvdUFfmtIkjbdJP+s2LP 2l5A== X-Forwarded-Encrypted: i=1; AHgh+RqqsRvfsiN627ejl1/eTxePolzYJz4mIdHU+h6J3f4JOLyKxKwLT8fNtFsZGgJPcXFIviImA+x1Wm9nSzU=@vger.kernel.org X-Gm-Message-State: AFuF++kGQ7if4laeKpNzwPSPBLeUHGcZIV4rjaMLg4dyImMuMhGUXfuO kV8uYnLVuVNKZmqBZzJi7lPiKVmaNgnuEFhhRjEGzidI+E1vRsHl3zbC2DxInukP0oI= X-Gm-Gg: AR+sD13e7cHdw7PJuHcD3BXRRoIhGOTgxPE706QTr8QrO5dv5+VHfm4uNdr9I+Yb05q 79VrqdKMWl0Xcb8c1E3QRztyzGvZYm0z+Bz0vsV62s+Yf4VE+PX+VRtDgpP8Do0egYWau0RFzYS 9Y4vFZ+81CiWwji5lD6qvymzy//dCCjHooO5MfoJIp3GLIaLZT6S/UV2zN1uVATDLG6Ck+A2ls2 gC8/3zCOc3pEe73F4bwi5BvkUkbtIaI7D80RHor2sQweDQRN2Ac2waNx1vtIGru/qO1QIkPiLJM +kbOvjBQYcbfw3ZfQUH7ysVmFcv1QZgEZDHlZyFwSVHhb5Z//r2+kjDDuI8/peW6Hpb3LGlHzBW 8F93BDGybHhrmkV54DZqnfHcOaWjAVu2wniXbZ/8RY32X73P7r5Gbx/piKRjyWcV4EVLinDo4OC j8Q+zp8+WVP4jCIuL/aNO/1Dbnh+HSA15tgYVmSBDoaXkPoh/DtEIsooI4TSBYPeE0yIjYluULa n7BClQNxVYYLTqdw7ZUOosRScUzw1www+JFB4D9QNk= X-Received: by 2002:a17:907:961d:b0:c24:469d:5653 with SMTP id a640c23a62f3a-c246a653373mr384101466b.21.1787296347585; Fri, 21 Aug 2026 00:12:27 -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-c24589e04b5sm339431866b.5.2026.08.21.00.12.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 00:12:27 -0700 (PDT) From: Luca Weiss Date: Fri, 21 Aug 2026 09:12:18 +0200 Subject: [PATCH 1/3] dt-bindings: touchscreen: trivial-touch: Add Himax HX83112A 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 Message-Id: <20260821-fp4-hx83112a-v1-1-474941bd8860@fairphone.com> References: <20260821-fp4-hx83112a-v1-0-474941bd8860@fairphone.com> In-Reply-To: <20260821-fp4-hx83112a-v1-0-474941bd8860@fairphone.com> To: Job Noorman , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , 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=1787296346; l=1037; i=luca.weiss@fairphone.com; s=20250611; h=from:subject:message-id; bh=tvgIcEmwbkn7e2pPKun/10FnYGAhaEA1A5qBEsJ80ug=; b=5UI9BRap8wYkbwAe4UYWWdiFDrjr2MCLWHh+epySaUfuTZuusa3nS5sWs8RdUGwP9akCuISd7 BhB+PXXHX/BBwllIwqdRqub7ah+wgkBTgqZCRFQekyjkihxPc1LYIKO X-Developer-Key: i=luca.weiss@fairphone.com; a=ed25519; pk=O1aw+AAust5lEmgrNJ1Bs7PTY0fEsJm+mdkjExA69q8= Describe the compatible for the Himax HX83112A touchscreen controller, which doesn't need any special resources not described in the trivial-touch bindings. Signed-off-by: Luca Weiss Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/input/touchscreen/trivial-touch.yaml | 2= ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/trivial-to= uch.yaml b/Documentation/devicetree/bindings/input/touchscreen/trivial-touc= h.yaml index 6316a8d32f39..a4b535bdbd6c 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/trivial-touch.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/trivial-touch.yaml @@ -18,6 +18,8 @@ properties: - azoteq,iqs525 # Himax hx83100a touchscreen controller - himax,hx83100a + # Himax hx83112a touchscreen controller + - himax,hx83112a # Himax hx83112b touchscreen controller - himax,hx83112b # Hynitron cstxxx series touchscreen controller --=20 2.55.0 From nobody Mon Sep 28 13:19:03 2026 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 2F78E395ACB for ; Fri, 21 Aug 2026 07:12:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787296352; cv=none; b=L1tE8Vmp7lVLs64dkzXJE7jycMlG2BonlqUnhck/u0alG3YnqU6bAWaPJcfbTEYsehzNUTnrEpkgopleebcuQZVq3knHl606cC2MPUUx9zsvbl3zjuTTFx+kw3Utrzu2bAhdpxw3T1brCrD9ow1l7aDYFIbPFGN+CRVYfnl9fd0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787296352; c=relaxed/simple; bh=fiy4GcFZdsC9yxetlH5+plrNHl5cqFDQooXiediiUNk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=o+Y5EoxmfgXh5ONlRvkJFzKgG4suH9vhrEeto9shKrrNMj3pXraghaVw4NlrbI8w113kf67wLNTlxZmQTEfMiSYT+A7KHS4mQqc6JqPrCgQg+wc01RhxWImmXpitxdNUx5oex8R+ElFCkc64CsSagnoGT4H0puZkgiErctEzp/8= 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=43dfNpDj; arc=none smtp.client-ip=209.85.218.49 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="43dfNpDj" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-c15f020a223so101027266b.1 for ; Fri, 21 Aug 2026 00:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1787296348; x=1787901148; 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=TnFsJCxkFM/wIQ0nrP+EeILR/FRzepb2V/4lDFq/FBo=; b=43dfNpDj7etKUvarBjFCNceUORIxr9OwLRJdY5A3V4ufPdhXu92eZE3y7eyJd+Vxd/ lSasRrsfjMbSo3LF47XUYQqTgWzKPvNcdDRi1rh4c/acqjJUr80axHTLRW59RaLdgRoW nQzfFR9wljpDsV17UWrKu+fTtZp78dOnc/h7ajxHDk6OnCd16jbGfzvqEVUe6co+jXFD zntaiLyr57lGe7LHb2R3jCEySQKRWJpcvHOormROHR1VQ+pxaSrOpEgAdLAkcuSr6Kx1 vL5/n9sTZByyroDFCqE4uJOQT6Zmmgt7Su/TIvUyRVgVGgQf9Z0d8akKNR0vg/bfFmk6 Gz6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787296348; x=1787901148; 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=TnFsJCxkFM/wIQ0nrP+EeILR/FRzepb2V/4lDFq/FBo=; b=SMG1oUPf7slgPs5J20ItjSC4oOOwhH5LTs0bsvw73Yl/oQUt5dNBeq33FSQWiVkQBs K7R+fhswd9kL0+T6R3iXCDgK5XbaQbWsejNy9iLNiPNTvsOIVNqk9PgUNc9fnlZAyyKg V7yn+OSCv7MIiNSk6Jj5kgksMoDkvQSmr4DjwxamS4ThCKt/3yAXLAkgMX42/oaP1MDQ fHia+8nWA02y+N48voiPNay9hv15E4boZes7t6n/iwxUMp2Vd3fDP1Y4rYHGsgm786bL j4cyFPcmQFZ6z0XXLgEeYC9EJMaYQ4hgPSJnO9Ml4P7DNtFhbMlzaNSldvA2sjLh6I3/ P2Kg== X-Forwarded-Encrypted: i=1; AHgh+Rpir5D3XHX2Y0tcg2pK8u7CCbQ2NKq3wILuUxEUPzr0ZODCMRkB9dsDK1OJOjVhx3txs6knJJYvTBeM4MU=@vger.kernel.org X-Gm-Message-State: AFuF++k9/mx83OlS7oKXS7IOoyqwj4LzPoGpeM3iWKEct92OH81kUJJq J7CFeKYVuhr1+rSxa8voouxrv/opWYd7w2McuB/9r9H25cf0iMw8wG5H8FRUaMirS6E= X-Gm-Gg: AR+sD12/1ZDNQjnlXaXBUJxJgvI/xAjyIEQ5/U0J4l1WTVtU2JqjG4jg4rbJgOfCpZb mpEQ4w67/Y7ZjrhNwpIvxY+xqx+NXgGc+hoEwVfS6iG5/37oH2MccE3Ah0Oxawyd6YK6FP0Sdx7 VVdxEV4mRs5mdjBs/vIIcY3TXVVDvAGS0PcV5JNP6Z446VidTFJKoJ3mdnUiuCVxrGIXzpi3HbW gUPaYp7P4kXeX1dz5S2tUgLOL6Kze9cgQHwsPfoL+Gol59vovDdC8B/F7oeRh9QlUonVLjeiu+x gc6OmYK2sfZvbt1gmqtQ3KZhv1gXQrPHvvhJtwNyc91XsYzMu3GeZcALudXpseb0IaB3IA9siP8 NEWwOFe8DIi+YPBaScFjkD5yA2+jvW5qryhVb37BKK4nVf0xMLgnD2FciN0XwhLNsj8SyK/dVWV rsMVXhsIkSCv/QxP0O2Loo5YfFHXnzhbTajsJEUXO1aa+rYnjkAMI0RSsfoGN1ElPRU4HHZ40A1 WSFkrmtj2RQJz6S0gZ4HMgqrsM5LO9VQANg5CGJuks= X-Received: by 2002:a17:906:6a25:b0:c16:12ff:dc8d with SMTP id a640c23a62f3a-c246a69a22fmr393921866b.14.1787296348403; Fri, 21 Aug 2026 00:12:28 -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-c24589e04b5sm339431866b.5.2026.08.21.00.12.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 00:12:28 -0700 (PDT) From: Luca Weiss Date: Fri, 21 Aug 2026 09:12:19 +0200 Subject: [PATCH 2/3] Input: himax_hx83112b - Add HX83112A support 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 Message-Id: <20260821-fp4-hx83112a-v1-2-474941bd8860@fairphone.com> References: <20260821-fp4-hx83112a-v1-0-474941bd8860@fairphone.com> In-Reply-To: <20260821-fp4-hx83112a-v1-0-474941bd8860@fairphone.com> To: Job Noorman , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , 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=1787296346; l=3188; i=luca.weiss@fairphone.com; s=20250611; h=from:subject:message-id; bh=fiy4GcFZdsC9yxetlH5+plrNHl5cqFDQooXiediiUNk=; b=7WvOSkB+YtikXSJZsjpEaaIeJ0pySPNkReYF4txiBimvkVap6UafneVGgaHcvM8K6ID8XIcbf M/ujWmt7PrHB6ANQxRMzVAZd3fHvWIZrngnt2rc6gx7b00XtZ+dFBca X-Developer-Key: i=luca.weiss@fairphone.com; a=ed25519; pk=O1aw+AAust5lEmgrNJ1Bs7PTY0fEsJm+mdkjExA69q8= The HX83112A touch controller works nearly identical to other supported chips, we just need a small dance before we can start using the touchscreen. For that a new 'init' callback is introduced to facilitate that. Assisted-by: Gemini:gemini-3.1-pro Signed-off-by: Luca Weiss --- drivers/input/touchscreen/himax_hx83112b.c | 46 ++++++++++++++++++++++++++= ++++ 1 file changed, 46 insertions(+) diff --git a/drivers/input/touchscreen/himax_hx83112b.c b/drivers/input/tou= chscreen/himax_hx83112b.c index 0aa67dfacbad..cc8b904d88e6 100644 --- a/drivers/input/touchscreen/himax_hx83112b.c +++ b/drivers/input/touchscreen/himax_hx83112b.c @@ -62,6 +62,7 @@ struct himax_ts_data; struct himax_chip { u32 id; int (*check_id)(struct himax_ts_data *ts); + int (*init)(struct himax_ts_data *ts); int (*read_events)(struct himax_ts_data *ts, struct himax_event *event, size_t length); }; @@ -364,6 +365,12 @@ static int himax_probe(struct i2c_client *client) return error; } =20 + if (ts->chip->init) { + error =3D ts->chip->init(ts); + if (error) + return error; + } + error =3D himax_input_register(ts); if (error) return error; @@ -395,10 +402,47 @@ static int himax_resume(struct device *dev) =20 static DEFINE_SIMPLE_DEV_PM_OPS(himax_pm_ops, himax_suspend, himax_resume); =20 +static int hx83112a_init(struct himax_ts_data *ts) +{ + int error; + u32 buf[2]; + + /* + * By default, the chip boots into safe mode. We clear the FW ISR + * register and perform a second hardware reset to boot normally. + */ + buf[0] =3D 0x9000005c; + buf[1] =3D 0x00000000; + error =3D regmap_bulk_write(ts->regmap, HIMAX_AHB_ADDR_BYTE_0, buf, 2); + if (error) + return error; + + himax_reset(ts); + + /* Give the MCU time to reload firmware */ + msleep(100); + + /* Enable the touch algorithm */ + buf[0] =3D 0x1000748c; + buf[1] =3D 0xa55aa55a; + error =3D regmap_bulk_write(ts->regmap, HIMAX_AHB_ADDR_BYTE_0, buf, 2); + if (error) + return error; + + return 0; +} + static const struct himax_chip hx83100a_chip =3D { .read_events =3D hx83100a_read_events, }; =20 +static const struct himax_chip hx83112a_chip =3D { + .id =3D 0x83112a, + .check_id =3D himax_check_product_id, + .init =3D hx83112a_init, + .read_events =3D himax_read_events, +}; + static const struct himax_chip hx83112b_chip =3D { .id =3D 0x83112b, .check_id =3D himax_check_product_id, @@ -407,6 +451,7 @@ static const struct himax_chip hx83112b_chip =3D { =20 static const struct i2c_device_id himax_ts_id[] =3D { { .name =3D "hx83100a", .driver_data =3D (kernel_ulong_t)&hx83100a_chip }, + { .name =3D "hx83112a", .driver_data =3D (kernel_ulong_t)&hx83112a_chip }, { .name =3D "hx83112b", .driver_data =3D (kernel_ulong_t)&hx83112b_chip }, { /* sentinel */ } }; @@ -415,6 +460,7 @@ MODULE_DEVICE_TABLE(i2c, himax_ts_id); #ifdef CONFIG_OF static const struct of_device_id himax_of_match[] =3D { { .compatible =3D "himax,hx83100a", .data =3D &hx83100a_chip }, + { .compatible =3D "himax,hx83112a", .data =3D &hx83112a_chip }, { .compatible =3D "himax,hx83112b", .data =3D &hx83112b_chip }, { /* sentinel */ } }; --=20 2.55.0 From nobody Mon Sep 28 13:19:03 2026 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 DC6AF40F73A for ; Fri, 21 Aug 2026 07:12:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787296353; cv=none; b=iWRp4o0za+QyO1oSjvYY9cijYo288rpNgxyWdHEnvf9sBqgRazmZFtC0+mJYYYxAVP3huyLsojcAM9KG9CCXWMEG9RQUIXYLLva3bknybFHnaRLmsltMTh6zMSCuBHXasbpQ47cd/w9MTFxIX41BEk17cvZ4iK8836Ww/0Ea0wU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787296353; c=relaxed/simple; bh=Ce71U+Lyj7zFttVA4Kn65SW6c32KT53zyzKRPu/mOUM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=d7T1MhPuC67c4esXC3tHS6DB/BG5PX+8Z0b4RPi2H0S29halCBHhvBnir0EnlMKjIFLKNOFx7BVWqBCtwBXrk+SJ02zoIQCqF0UBE13SNdf5/fb6dQvmWdIT8pMzNrCm3YKKIvpCBUnEFzq05urEcuB7iL+5ZfbOH7rlnXitHZg= 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=ZlrxrRH8; arc=none smtp.client-ip=209.85.218.45 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="ZlrxrRH8" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-c15f020a223so101028766b.1 for ; Fri, 21 Aug 2026 00:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1787296349; x=1787901149; 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=09WuqDumRufpTv9AnStx+lDfstjiG5sO30YMgz+/VHI=; b=ZlrxrRH8PG+Mlvy+JTBJBJivgUoAFSsWHVsINndOu9KbgDMFIbvLP3cHnzX7sOrJLK pEd8ANlcwS8/IediH5tNt61QgzcHTHkNXDpfSOBxW05yy8AN2KQTFK5EZb0C60soGrhd cvwHbuHwB+y+QCw0Ips0UivRRe6Y1xAoHfqzCeFRtkE+Px2VNDPAsuw1jYDKx0gHZf3z MDgcQ55zyVt9yvntPqKsTtbkkN253+nx33B84UrXPq6TjtvmaRJHrIfmN0/f8YthDpFw GSpJCwUSrw2wnh+e/yAvLFlXzVfstlaOlVB0wTBODmYBbYh+2IRqIWOZALoyb7+5zdN1 zPgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787296349; x=1787901149; 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=09WuqDumRufpTv9AnStx+lDfstjiG5sO30YMgz+/VHI=; b=E+1gK/acyKIpHfB6+8RulLhZlrO+M9hnY515SACY6yD1NixBwJ3uiiexmmC6aJaQKw MT5T0oMIoiibu4JsCXFNNU+/OSdxPX9QDA5L0DUISve4/XYLdlrdu55YSR887vo9ghuK fyAdPzXh/oP0GrWklVz7Aj6/eFzpXJaekNj6VjH/D8D8NacCRrAK1HPy1SNQZEpGcE6G IZv+uNbU03fSdbmjPMGIdAeqO9QENRISOzhA72KcVpwVBtEFeIlm/zP3F04LhUYci3Dz XUxfLGEoGueE6bwjyR/8vFROL/b2mn1zmkCxLuqx1FdKbZ1HfLZjZWPUudd+BJGelyJ6 T9CA== X-Forwarded-Encrypted: i=1; AHgh+RrKmCvJo5EhMa9aDCSoNEBSo/VUOUgCsf70telXWeTbD6d5tPc01tW/cwaIHIxgY9VWErKpJB4l7RsNuqQ=@vger.kernel.org X-Gm-Message-State: AFuF++ndejWJQwd9HHEikbNJLaOuX1WU3NyRdZOLbN1z2BfJE011XcZS TVa1jSK0/u3L1DQ32ZDond8UZ3KC8YW3Tu9Dg8OYB9H4Hqlg/7U6I6hYKfSraR22CcA= X-Gm-Gg: AR+sD11W/DiCe2FlfVF6lcDQ2f8mAPRJSKVe6FVXgDRpF2xMEt/KYyTMogGQJRhXkMP y2u3PShUfq9gY/1I8/mpNJmafbcXXrWeVRYTa7S3An1TM7llsMMfqCEsGno7blCKiFeQzFkhAp6 lk7oTXAdpDhz8eRiPE/XOLpakHmbdI+oDFao5snT9h2HMCzCWba15kD9XNRtPlRrKWV1uLYd/Bi LkvA/4usdx4Rcm0WZMMakJogVXPyGRI+3Qk5cy7YEo1OiMuhBq0ZI9lgjNOQQM/ygD+AB7jQemO kAKC1fMlZePoBjeg1Pf8/WNlgnVdnh59fw0+Q4X30vnnUpJjwNtd1M+OArdtaqEMK8Urv16J0uP /Ueb00DJi6rApk8yAnnuRcor89TfahjdFesrmjhBpVk8vrZ4VNNM0yN6MT4GIqmSjZ/1MUrwGh8 DMofir8iMdIHnkj7jE6zZcF6cyTLERlAyvbLz/qNi4MbNJIUjNEqbj8vxICkxU7WwD2tlgnqOd5 aZxvppNh+lUJJu34vxNIJPpletMc1GuDHgeQGo/z1o= X-Received: by 2002:a17:907:1c1f:b0:c20:31d1:a899 with SMTP id a640c23a62f3a-c246a4ad97emr419311366b.4.1787296349036; Fri, 21 Aug 2026 00:12:29 -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-c24589e04b5sm339431866b.5.2026.08.21.00.12.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 00:12:28 -0700 (PDT) From: Luca Weiss Date: Fri, 21 Aug 2026 09:12:20 +0200 Subject: [PATCH 3/3] arm64: dts: qcom: sm7225-fairphone-fp4: Enable touchscreen 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 Message-Id: <20260821-fp4-hx83112a-v1-3-474941bd8860@fairphone.com> References: <20260821-fp4-hx83112a-v1-0-474941bd8860@fairphone.com> In-Reply-To: <20260821-fp4-hx83112a-v1-0-474941bd8860@fairphone.com> To: Job Noorman , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , 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=1787296346; l=1373; i=luca.weiss@fairphone.com; s=20250611; h=from:subject:message-id; bh=Ce71U+Lyj7zFttVA4Kn65SW6c32KT53zyzKRPu/mOUM=; b=ShyNO9D6xW1RkbEp+BIy/OyUkLlvVM5Iu6qL4MNIYii4HOCsU2rcM5jSRafguIYleAndUwYIb 6x1KlT8oc9IDDcP2ggi9i9ShfFSfvXnSmYe+2q/vzChlv/IVtJKv9Da X-Developer-Key: i=luca.weiss@fairphone.com; a=ed25519; pk=O1aw+AAust5lEmgrNJ1Bs7PTY0fEsJm+mdkjExA69q8= Add a node and pinctrl for the Himax HX83112A touchscreen found on this phone. Signed-off-by: Luca Weiss Reviewed-by: Abel Vesa Reviewed-by: David Heidelberg Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 21 +++++++++++++++++++= +- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64= /boot/dts/qcom/sm7225-fairphone-fp4.dts index 23f950067a08..ff609f7e1796 100644 --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts @@ -626,7 +626,19 @@ &i2c8 { clock-frequency =3D <400000>; status =3D "okay"; =20 - /* HX83112A touchscreen @ 48 */ + touchscreen@48 { + compatible =3D "himax,hx83112a"; + reg =3D <0x48>; + + interrupts-extended =3D <&tlmm 22 IRQ_TYPE_EDGE_FALLING>; + reset-gpios =3D <&tlmm 21 GPIO_ACTIVE_LOW>; + + touchscreen-size-x =3D <1080>; + touchscreen-size-y =3D <2340>; + + pinctrl-0 =3D <&touchscreen_default>; + pinctrl-names =3D "default"; + }; }; =20 &i2c10 { @@ -1117,6 +1129,13 @@ platform { &tlmm { gpio-reserved-ranges =3D <13 4>, <56 2>; =20 + touchscreen_default: touchscreen-default-state { + pins =3D "gpio21", "gpio22"; + function =3D "gpio"; + drive-strength =3D <8>; + bias-pull-up; + }; + qup_uart1_sleep_cts: qup-uart1-sleep-cts-state { pins =3D "gpio61"; function =3D "gpio"; --=20 2.55.0