From patchwork Fri Feb 28 01:01:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 208151 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20974C3F2C6 for ; Fri, 28 Feb 2020 01:02:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EC085246A5 for ; Fri, 28 Feb 2020 01:02:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=aosc.io header.i=@aosc.io header.b="d62hkHQ/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730450AbgB1BCX (ORCPT ); Thu, 27 Feb 2020 20:02:23 -0500 Received: from hermes.aosc.io ([199.195.250.187]:45214 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730148AbgB1BCX (ORCPT ); Thu, 27 Feb 2020 20:02:23 -0500 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id C17734B3D1; Fri, 28 Feb 2020 01:02:17 +0000 (UTC) From: Icenowy Zheng To: Dmitry Torokhov , Rob Herring , Bastien Nocera , Ondrej Jirman Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Icenowy Zheng , Rob Herring Subject: [PATCH v3 1/3] dt-bindings: input: touchscreen: add compatible string for Goodix GT917S Date: Fri, 28 Feb 2020 09:01:44 +0800 Message-Id: <20200228010146.12215-2-icenowy@aosc.io> In-Reply-To: <20200228010146.12215-1-icenowy@aosc.io> References: <20200228010146.12215-1-icenowy@aosc.io> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.io; s=dkim; t=1582851742; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding:in-reply-to:references; bh=Jg1jO+WxbhVjuN1AaAS0cnMrPopTgQ7H+WzftYXVnhY=; b=d62hkHQ/CqvF2ocRNpLb8ySENCyFTSBTm4iraT1oTlZP+qoahVoY9n0PBWdjPJC4pcE+C9 jsB1f8iG1xuHwQagRkJp1nkV35BynSvuUaIbp2eBjasgrLFILzo4J2oKTUzOJoybqupapb wQYQgVXxFEHYCZSuo8xj3gOktVSdJE8= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Goodix GT917S is a new touchscreen chip from Goodix. Add its compatible string to the device tree binding. Signed-off-by: Icenowy Zheng Acked-by: Rob Herring --- No changes in v3. Changes in v2: - Adapted for the new YAML-based binding. - Added Rob's ACK. Documentation/devicetree/bindings/input/touchscreen/goodix.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml b/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml index d7c3262b2494..109e5ca8d6e8 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml @@ -21,6 +21,7 @@ properties: - goodix,gt911 - goodix,gt9110 - goodix,gt912 + - goodix,gt917s - goodix,gt927 - goodix,gt9271 - goodix,gt928 From patchwork Fri Feb 28 01:01:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 208150 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3F34C3F2CF for ; Fri, 28 Feb 2020 01:02:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 91F06246A5 for ; Fri, 28 Feb 2020 01:02:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=aosc.io header.i=@aosc.io header.b="O+Zz1a9d" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730522AbgB1BCn (ORCPT ); Thu, 27 Feb 2020 20:02:43 -0500 Received: from hermes.aosc.io ([199.195.250.187]:45240 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730148AbgB1BCm (ORCPT ); Thu, 27 Feb 2020 20:02:42 -0500 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 6B34D4B417; Fri, 28 Feb 2020 01:02:37 +0000 (UTC) From: Icenowy Zheng To: Dmitry Torokhov , Rob Herring , Bastien Nocera , Ondrej Jirman Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Icenowy Zheng Subject: [PATCH v3 3/3] Input: goodix - Add support for Goodix GT917S Date: Fri, 28 Feb 2020 09:01:46 +0800 Message-Id: <20200228010146.12215-4-icenowy@aosc.io> In-Reply-To: <20200228010146.12215-1-icenowy@aosc.io> References: <20200228010146.12215-1-icenowy@aosc.io> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.io; s=dkim; t=1582851761; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding:in-reply-to:references; bh=ldQqQtKyIrexoj+n+YnOQ+C/FaixY7VIgOa75mkq0dk=; b=O+Zz1a9dFVeaaY2SPF8Yql7i9gp07yYlTf28RsUUfqqUvLS2IZlSSU5HYcb6JbVUvDhhiD rc65Z/9HVdQIOgwaLbJ4KuHCVyK7zqk756c/mLTYX3yv1gHATHUFE2Hc9sbnpyf5/fW0Jz 1DGrxfb2WDIoDr7mbokl6HEGkCc5mC0= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Goodix GT917S is a touchscreen chip from Goodix that is in the GT1x family. Add its support by assigning the gt1x config to it. Signed-off-by: Icenowy Zheng --- No changes in v3. Changes in v2: - Change according to v2 of PATCH 2. drivers/input/touchscreen/goodix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index 9aec1356b45e..810cb467650a 100644 --- a/drivers/input/touchscreen/goodix.c +++ b/drivers/input/touchscreen/goodix.c @@ -126,6 +126,7 @@ static const struct goodix_chip_id goodix_chip_ids[] = { { .id = "1151", .data = >1x_chip_data }, { .id = "5663", .data = >1x_chip_data }, { .id = "5688", .data = >1x_chip_data }, + { .id = "917S", .data = >1x_chip_data }, { .id = "911", .data = >911_chip_data }, { .id = "9271", .data = >911_chip_data }, @@ -1061,6 +1062,7 @@ static const struct of_device_id goodix_of_match[] = { { .compatible = "goodix,gt911" }, { .compatible = "goodix,gt9110" }, { .compatible = "goodix,gt912" }, + { .compatible = "goodix,gt917s" }, { .compatible = "goodix,gt927" }, { .compatible = "goodix,gt9271" }, { .compatible = "goodix,gt928" },