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: 1006774 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="qC8oqrq5"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 437grK4rDFz9sCX for ; Mon, 3 Dec 2018 21:16:17 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726300AbeLCKQ3 (ORCPT ); Mon, 3 Dec 2018 05:16:29 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34486 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbeLCKQ2 (ORCPT ); Mon, 3 Dec 2018 05:16:28 -0500 Received: by mail-wr1-f68.google.com with SMTP id j2so11509855wrw.1 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=Pbj9i07SDexvvMrXY8eRRs6TIkKaDVZZIinKdnRCkWlTLXZdKtuDcKsQ7AO0YtOHfD X/ZMaDcinEXCXLOZQwJl2Xg917CLoquM35sNveBZ02yCM635qROvXMFzBkBzq3Obd0A1 pT7YBCAtKafIMFOzdJWdT2SBolG+cAQ85ZguzkovCYpmvS9qflxOxF2zAuYTqa1GO6Ta y2766mFy2wjBqjx/8dl60B7RV5vK9ZEJh2XQMDhLr8phGpTWdJ8WlF5ULSJ4DxhLcQYa bCPBDaVUu8rskZ3DmzRfqOFoAxpDbYW1QfvRSH+95YPW2YL1i30NkmO3FeizsVj5WMmL eaWA== X-Gm-Message-State: AA+aEWbOzdPEnqOrgBC9v38rhHrBLMLJrF9OS6XfjGCplRpJE3sTU2+b 94xAoyqtV6bxBC+yuhtIMSQ03w== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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; + };