From patchwork Mon Dec 3 10:15:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10709097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C142E13BF for ; Mon, 3 Dec 2018 10:16:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B1F612B068 for ; Mon, 3 Dec 2018 10:16:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A60BC2B06A; Mon, 3 Dec 2018 10:16:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55DBA2B068 for ; Mon, 3 Dec 2018 10:16:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726292AbeLCKQ3 (ORCPT ); Mon, 3 Dec 2018 05:16:29 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40509 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726273AbeLCKQ2 (ORCPT ); Mon, 3 Dec 2018 05:16:28 -0500 Received: by mail-wr1-f65.google.com with SMTP id p4so11474101wrt.7 for ; Mon, 03 Dec 2018 02:16:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sYIR92ZSRt6P2LabORDc+r2SZD6NGN2vTfFdELLfLf4=; b=qC8oqrq55XITG+IaBKgDlrqKba/eWXMICT8ZW/Rcc4w4V6RiseMUjyfrfmbtTpyUDd 0mBjZRf+m3qaDu0DTvoS/QChJeSM09sBOq9ACkMw0YHJ6WxFEYFT8xBCcWPVTdkEU7AA dTa0Ib7KnK7tI8rzBqeja78V/ZEzDQy+/L0sM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sYIR92ZSRt6P2LabORDc+r2SZD6NGN2vTfFdELLfLf4=; b=IqmviMZDrwv+UWHm/GgddO9z+gl92ohX4JiLGpdpUwlOMifHbp8IPHef0Bkj7HNoyE CLiu7H8D/YZDOwSCsfuhwBnb4E0zQ3LTdufHyAGCkVSGZ492xB/NdvS9y8sml64BOHuU JNZzyjgxvOE4jRSghvjqprQE2Z7tk+bRCajiRbPW3tBDCmzspxkJggxMVvRyngE1hsNC 1yHNxd6gbwdPRNefW5NnG52VF0hL2v91uudWwcr6RDzkjAsl5UojNsME8GgQpSKgOSci CWKM46kOjpz/rrX2wCaE4W8+Sas6L0x/bLk99TOuEGTEbJ30rW+ofzasxhvk4B+T37XT q9Dw== X-Gm-Message-State: AA+aEWbDAsJBHoYTLiQXmUC08xvDqY29nnOsl5W0e5qkCZWzG6HmsUpL sAe2YwUbuIN9GEB8zgeqHfA/Mg== X-Google-Smtp-Source: AFSGD/Vm4W738LcPT1s/CT/dGj4WK/IiXywz4IEpkGYPcV0L5ZaqAwwt1Y6p2GtyZ5p6627XpfOOdg== X-Received: by 2002:adf:83a7:: with SMTP id 36mr13550244wre.13.1543832163368; Mon, 03 Dec 2018 02:16:03 -0800 (PST) Received: from localhost.localdomain (conf.hotelmediterraneo.com. [2.228.78.71]) by smtp.gmail.com with ESMTPSA id f192sm5832158wmd.12.2018.12.03.02.16.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 02:16:02 -0800 (PST) From: Jagan Teki To: Maxime Ripard , Rob Herring , Chen-Yu Tsai , Dmitry Torokhov , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , linux-sunxi@googlegroups.com Cc: Jagan Teki Subject: [PATCH 7/9] dt-bindings: input: touchscreen: goodix: Add GT5663 compatible Date: Mon, 3 Dec 2018 15:45:45 +0530 Message-Id: <20181203101547.16835-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181203101547.16835-1-jagan@amarulasolutions.com> References: <20181203101547.16835-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP GT5663 is capacitive touch controller with customized smart wakeup gestures, the existing goodix driver will work by phandle vcc-supply regulator. So, document compatible and example node for the same. Signed-off-by: Jagan Teki --- .../bindings/input/touchscreen/goodix.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/goodix.txt b/Documentation/devicetree/bindings/input/touchscreen/goodix.txt index 604766e347ce..1898d3dde8e1 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/goodix.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/goodix.txt @@ -3,6 +3,7 @@ Device tree bindings for Goodix GT9xx series touchscreen controller Required properties: - compatible : Should be "goodix,gt1151" + or "goodix,gt5663" or "goodix,gt911" or "goodix,gt9110" or "goodix,gt912" @@ -42,3 +43,15 @@ Example: /* ... */ }; + + touchscreen@5d { + compatible = "goodix,gt5663"; + reg = <0x5d>; + vcc-supply = <®_ldo_io0>; + interrupt-parent = <&pio>; + interrupts = <7 4 IRQ_TYPE_EDGE_FALLING>; + irq-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* CTP-INT: PH4 */ + reset-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; /* CTP-RST: PH8 */ + touchscreen-inverted-x; + touchscreen-inverted-y; + };