From patchwork Tue Oct 24 18:35:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Gerhold X-Patchwork-Id: 15826 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2133621vqx; Tue, 24 Oct 2023 11:36:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFsRTaFi03XYtkV0fnvbyzG+Oq85UHx3OKSQLcFfjVlHgtf7IGqhCGX4zcFt/CnnKouY/Qj X-Received: by 2002:a17:90a:202:b0:273:ec96:b6f9 with SMTP id c2-20020a17090a020200b00273ec96b6f9mr10708190pjc.25.1698172576968; Tue, 24 Oct 2023 11:36:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698172576; cv=pass; d=google.com; s=arc-20160816; b=xGWXDZwbrFrHnVBu2kF22i2ODRGQ/jpPWI9/SFr+c47DxthI68q1nFylk+R3n6a2Op Xo8cmToExih1FzNz9B3Oehfr4HRyD6mDklFbos7+RdCytPnY0Z2Qfvn75eAo+1JIYTE+ agyUTbRG5TzjXC+NRu3PXKJbe8WReo5PV8yXVoKVKRnSIqMobzU8wNG41IHzPc1C4ACI Ed0XY8jJ+jQ2eXUWsyJ26+rLLqjd0PcBNa0bkhJd9xloaME9ByiraJhji3kyARpE/fCm 7g/PfZsjesllYDXETJLP0boWmPfvhvsCjHXdaFP8GIy9omYXH18ie5DQGgAb2HskTc+0 Yb0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature:dkim-signature; bh=b/As5E+nbaLOA8ytnd3mEnj7+r75cDnqULM0+ZGli3M=; fh=H4F8PtkBoYP1ArzA3bm8hSQ/P8f+7HD296M+UpmB+dE=; b=HaaUGOsQxzVkWUkFcYeTLxuA7pXpehZIjoCdi8xyAPJR+OA3NsbmC8ULzrxbZb/fqx Y1TJWNGdQplekcamYGGwalKE5FnjQw6XRx3I7rFtinAHhcUWK0bg/bY1Hyq6Zt0JJbwc N36K9lQ1zjOXiDRRN5FATjkIvGMRG8jTEojpKETbzHGcaxA5jLqgL+qBi4saDDx9se5F EEk/okT+25O/68L9Shn8Qb/nrjCOf4ct702t1RR+vtLLkoJ72OXQGmK1j3BY+nBvufx4 lsZy5ebIjiu1bTR4m8HKzqV5MX6p1CT1Oc/9Qwt+C21VS/Mf+vFnkoHenj/TrkPtdYwL fHFg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gerhold.net header.s=strato-dkim-0002 header.b=nvYWrKbY; dkim=neutral (no key) header.i=@gerhold.net; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id h23-20020a17090adb9700b002769b4b64e7si11306615pjv.20.2023.10.24.11.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 11:36:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gerhold.net header.s=strato-dkim-0002 header.b=nvYWrKbY; dkim=neutral (no key) header.i=@gerhold.net; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id A689D80278CF; Tue, 24 Oct 2023 11:36:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344042AbjJXSgI (ORCPT + 27 others); Tue, 24 Oct 2023 14:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344151AbjJXSgG (ORCPT ); Tue, 24 Oct 2023 14:36:06 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [81.169.146.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6E2910E2; Tue, 24 Oct 2023 11:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698172553; cv=none; d=strato.com; s=strato-dkim-0002; b=jB8R16IvRzvvTDAPSq6QdtZpKSuH8zsHYk2tkmmy17qgXf1FA7DlaMtwOvF8WnEtUw E1yAnyg5vIGe9gS2zbPPfZUghLi19G0FytmioOmAZssgsH6EYGvSwkWw65DFOcehoxvT ybFzXdKhYnLCXoOclKnjlAvImAS5HS5HUHuaQKkDNgZJvAAcyN3dIFUUce94CVYAZTNA VFqiazlREZ/5HRrx7mk3NOyfTnclxxrnmd5DquHM055cgvWrk0/qiYipQTbBcliFKF9m 6NZ4NNVyIpqWug0JwHEL/rOdTxGidHEhvxlrDX7KIKiF739/BlA32LxcNU4AyJC53aLW qcLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1698172553; s=strato-dkim-0002; d=strato.com; h=Cc:To:Message-Id:Date:Subject:From:Cc:Date:From:Subject:Sender; bh=b/As5E+nbaLOA8ytnd3mEnj7+r75cDnqULM0+ZGli3M=; b=n6ic96GmoPvMDM1DJb3DvB9/AFyZfsdQu5LAWycDHrhqy9rRzgfPRO3Ap/nfDt/yqx SexM4XdfSHesmeR4u3w6Cb8+j2QXcNvVT8YVCaZK/283f6SerceV3TTtNQf9dMEFV1Ob plVRvRcPIAry5o0ZV+ChcJXGBGG8i1+wUSfqvzupFVHPQItXoyhGSAiCSyjZMujSnDjb 4J7kRVvphf3zdkDI8HlG72LIOJC2hF1RtTcs03whw75U92uxjpnVEAd0ZZYF3bhPJJJl CDfM8JuJIOJKPY+deEwyB3F44AgAV2etz6b17owIna+IO1rfSthQiU+mG6h+0m7heXfg iluA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1698172553; s=strato-dkim-0002; d=gerhold.net; h=Cc:To:Message-Id:Date:Subject:From:Cc:Date:From:Subject:Sender; bh=b/As5E+nbaLOA8ytnd3mEnj7+r75cDnqULM0+ZGli3M=; b=nvYWrKbYvU00LywrC3/vXukEUrS4rswD7oxpMArtOw4S+LpjwxEQOqkUHmPvZXUEKX 8cq9W6IOJFWRDndGLpi/TeI7Aow+YGv2xsbixcDlc7a+vQOwzclwXcubAiqn12kYUCvA iS0o9y7xfGXjSHPcXk/gkKvto164kW5DT4N3/8zdXd0wqHl+KT39sgLdIe92XnuBKTAY 8STfUWD4HwNDT97pltzn3lJ4LO5Od8Qd2s4fvjPzH2/Kv1TsXLdpyImB7BE3gNgHprY3 kymALtjMvkaryVs8XqF5Z1FbqBdowDx5CFDzmuGTSyUo2sBpG7FmCWocQ0v9D3RBHmx2 jpjg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1698172553; s=strato-dkim-0003; d=gerhold.net; h=Cc:To:Message-Id:Date:Subject:From:Cc:Date:From:Subject:Sender; bh=b/As5E+nbaLOA8ytnd3mEnj7+r75cDnqULM0+ZGli3M=; b=Ad7+yHlP/WFBhZpfIXCBq8nDt5ODwQYviJROyyIVmWDM9/OoTjl8ofE3g/MMIEwmwj 3ZGUV6r42dZy0CxVgQDA== X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVOQjVd4CteZ/7jYgS+mLFY+H0JAn8u4p39TY=" Received: from [192.168.244.3] by smtp.strato.de (RZmta 49.9.0 DYNA|AUTH) with ESMTPSA id j34a49z9OIZrRxg (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 24 Oct 2023 20:35:53 +0200 (CEST) From: Stephan Gerhold Subject: [PATCH v3 0/2] Input: add Himax HX852x(ES) touchscreen driver Date: Tue, 24 Oct 2023 20:35:44 +0200 Message-Id: <20231024-hx852x-v3-0-a1890d3a81e9@gerhold.net> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAIAOOGUC/1WMQQ6CMBBFr0JmbU07Q4G68h7GhcBAmxgwLWkwh LtbMBpdvp//3gKBveMAp2wBz9EFNw4J6JBBY29Dz8K1iQElkqxUIexcaZwF5Ua2WJZEiJDOD8+ dm/fQ5ZrYujCN/rl3o9rWd8Io+iSiElKYRnHddZoKrs89ezve2+PAE2yRiD8iya+ISWx0hcrkZ Y2o/8V1XV8TmxIp1wAAAA== To: Dmitry Torokhov Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jeff LaBundy , Christophe JAILLET , Jonathan Albrieux , Stephan Gerhold , Krzysztof Kozlowski X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 24 Oct 2023 11:36:12 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778482019667278981 X-GMAIL-MSGID: 1780663008349934839 Add DT schema and driver for the Himax HX852x(ES) touch panel controller, with support for multi-touch and capacitive touch keys. Signed-off-by: Stephan Gerhold --- Changes in v3: - Fix device_property_count_u32() error handling (Jeff) - Properly handle errors in hx852x_suspend (Jeff) - Simplify error handling in hx852x_read_config() (Jeff) - Close i2c_msg array with trailing comma (Jeff) - Clean up error handling in hx852x_power_off() - Link to v2: https://lore.kernel.org/r/20230930-hx852x-v2-0-c5821947b225@gerhold.net Changes in v2: - dt-bindings: Swap required:/additionalProperties: (Krzysztof) - Use dev_err_ratelimited() for error in IRQ thread (Christophe) - Use dev_err_probe() consistently (Christophe) - Improve error handling of hx852x_power_off()/hx852x_stop() (Jeff) - Add linux/of.h and linux/mod_devicetable.h include (Jeff) - Fix %d -> %u in some format strings (Jeff) - Fix other small comments from Jeff - Link to v1: https://lore.kernel.org/r/20230913-hx852x-v1-0-9c1ebff536eb@gerhold.net --- Jonathan Albrieux (1): Input: add Himax HX852x(ES) touchscreen driver Stephan Gerhold (1): dt-bindings: input: touchscreen: document Himax HX852x(ES) .../bindings/input/touchscreen/himax,hx852es.yaml | 81 ++++ MAINTAINERS | 7 + drivers/input/touchscreen/Kconfig | 10 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/himax_hx852x.c | 500 +++++++++++++++++++++ 5 files changed, 599 insertions(+) --- change-id: 20230816-hx852x-3490d2773322 Best regards,