From patchwork Tue Jul 31 15:18:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10550899 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 4E3C913B8 for ; Tue, 31 Jul 2018 15:18:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E0772B0E1 for ; Tue, 31 Jul 2018 15:18:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3194C2B0E2; Tue, 31 Jul 2018 15:18:34 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 9FCD12B0EA for ; Tue, 31 Jul 2018 15:18:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732543AbeGaQ7O (ORCPT ); Tue, 31 Jul 2018 12:59:14 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38799 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732464AbeGaQ7O (ORCPT ); Tue, 31 Jul 2018 12:59:14 -0400 Received: by mail-lj1-f195.google.com with SMTP id p6-v6so14055630ljc.5; Tue, 31 Jul 2018 08:18:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ozyljyZE5/C7EY8axOryS5s7IqJ0ZZxO+Vl7BYdn5iY=; b=VRuh8ctHjQjGIBoqE2jaQ97QN9brDFtuKJs6VBAaft+92mB5NlGc7MPgMhJZ7XP5ok JUEEva1RAP5kiPT7f8kLrDmMTzRCfVenhKNbmEWjw5grD1Z0Khs7f+Ob3AcdLpUYimph 1hYPzjEJFjjak1KuwMExPVsu4RDqrNflT82WQg7BckKpAlb4d/X10obykr82m+pr9DZO Fb6DCATN8uUerapCXH0PV4xlG+kHfdrBe1scP66OkJ1YkMyjWLT90OGbLKvXuYqHdlCH iVwlwIbFoyXfVsAQDIZNqHfobLAFtJ6HJUHX2tKVmJ1BsflLmlEguDVqGYXThQe6yr0A pSXg== 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=ozyljyZE5/C7EY8axOryS5s7IqJ0ZZxO+Vl7BYdn5iY=; b=STneEy693EQQ011Xg/m7XW6nUiA3WduxpwNT+/nQ8aFlm2rdeurimc1q+D4TNr0fIs 8kj7lpjuRPPkqQHHzH4/yBrD5tHi8frVaqgt7okWLHNIilHtN2EUukO0jjVEomBleYox Z+oTkBW3Ipj3ZrV8BJn5czYlaDidGhEu2Xcyv9DVW3Zpn9am4pgFNo0+VL7X65ulOF6K aaNLJAr6pzwXTHQsKEgbwsbmExg5lmgCvBqxolIygpeKbdxzQH55NczwsIoJ5cspmpJj CZ6fm5k6eVb/Y4XRsjKnjJlodKFRaFvB6+TwuFSqKXyZdHOFxNcVLGdHHdku155d1EOY c8wA== X-Gm-Message-State: AOUpUlHPqkO3W7gM/WTM5l3drExthDF/QctK7GGHiOaqmKK+qDeeUcvr /fmofM/f/GxRAvtPxrCYNqPHQHs5IxE= X-Google-Smtp-Source: AAOMgpcl1yxJL5lSenU9P6c/GEPj7+8QwNHgltsab8X96sMwEmy/V2177dO5mfnPo+WcyMlRdUY1LA== X-Received: by 2002:a2e:8:: with SMTP id 8-v6mr16647901lja.112.1533050304738; Tue, 31 Jul 2018 08:18:24 -0700 (PDT) Received: from localhost.localdomain (user-94-254-173-71.play-internet.pl. [94.254.173.71]) by smtp.googlemail.com with ESMTPSA id p88-v6sm2606209ljp.90.2018.07.31.08.18.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Jul 2018 08:18:24 -0700 (PDT) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: nick@shmanahar.org Cc: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Pawe=C5=82_Chmiel?= Subject: [PATCH v3 3/3] Input: atmel_mxt_ts: Document optional voltage regulators Date: Tue, 31 Jul 2018 17:18:11 +0200 Message-Id: <1533050291-11502-4-git-send-email-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533050291-11502-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> References: <1533050291-11502-1-git-send-email-pawel.mikolaj.chmiel@gmail.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 Document new optional voltage regulators, which can be used to power down/up touchscreen. Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- Changes from v1: - Added reviewed-by --- Documentation/devicetree/bindings/input/atmel,maxtouch.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt index c88919480d37..17930ecadad3 100644 --- a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt +++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt @@ -31,6 +31,12 @@ Optional properties for main touchpad device: - reset-gpios: GPIO specifier for the touchscreen's reset pin (active low) +- avdd-supply: Analog power supply. It powers up the analog channel block + of the controller to detect the touches. + +- vdd-supply: Digital power supply. It powers up the digital block + of the controller to enable i2c communication. + Example: touch@4b { @@ -38,4 +44,6 @@ Example: reg = <0x4b>; interrupt-parent = <&gpio>; interrupts = ; + avdd-supply = <&atsp_reg>; + vdd-supply = <&tsp_reg>; };