Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3848141imm; Tue, 17 Jul 2018 11:17:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdscCVAocnsFiPmVlTG4Y09BvsK5pYm4XI92BEHGUxnRWiVD3cAtutYM/LGdIl3rOhw+fG5 X-Received: by 2002:a17:902:5501:: with SMTP id f1-v6mr1537633pli.219.1531851444612; Tue, 17 Jul 2018 11:17:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531851444; cv=none; d=google.com; s=arc-20160816; b=eu7f3dRsmubCjpf4bUuv/xIxRbFh1VVVEZUCi1ssffEuGbvxXiHDI8hOqvBHe9855a GiQEK/sl9GjQQtcg6vpBXi3bFtjeVGqcc7nctFBwdFo6BCSyh1GDNKbmPr/RcBXR06V6 hi/TplgmXCswNNlnosmlVhnSnm73YQDyu89fZAC9Mb/UtWTdOf1+1tveAV9XuTT6tZyL mT2MiUpOKy93Tn8EFDB3EsBhNv4M6f3GfStaiXop7Zra4SyxqYnqxpoNgzL13yQfbtHJ TAzmmZDqWcI3q5fFr8uxSWycV6uBBQXIjcPCoz10OMseAns0F5nv6v6AgMiez9B9ZnEs 7/pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=CvNnfLWCqYNeIcUT2xixkxWSw/wffCJt1xoSRZ87wRU=; b=FBTZvjXG4O20DZjTTBnY9hjeHJMs08pDqqqqIhydn4uCT6HlqUCaP/IJCJwAO61MMB fRbwxr84XKldFEASyM73qMI1Af0ANVvIQQv2bWU9fWWlD2YNFbjIVSJiwHkGBCMvowaz nXSmTfNZmrTKTl22zYo3Y0vW9yAliB5BTklOelEC0cwEXPxvGEtIv7GRum34DRXQI3A6 xw6ED81UoRkma4bNiSDLeC6NRiKQ7fkxSyNqZgxII8sZ3Bp06I3innCFc+aDWUCbYidP qu1CPRYlwtl8g/c0OASapYnB5QMhOaBQ9GG9QKHRIrhY8NxZgtKQq6HOjRB1mrqrHwoj cYzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qzkoq3cK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p2-v6si1595306pli.289.2018.07.17.11.17.09; Tue, 17 Jul 2018 11:17:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qzkoq3cK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729973AbeGQSuZ (ORCPT + 99 others); Tue, 17 Jul 2018 14:50:25 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:38430 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729709AbeGQSuZ (ORCPT ); Tue, 17 Jul 2018 14:50:25 -0400 Received: by mail-lf0-f68.google.com with SMTP id a4-v6so1539863lff.5; Tue, 17 Jul 2018 11:16:35 -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:mime-version :content-transfer-encoding; bh=CvNnfLWCqYNeIcUT2xixkxWSw/wffCJt1xoSRZ87wRU=; b=qzkoq3cKPJ51/NxtW9nH7gn9o+tB29LMnNZ7n4qVi8bJllecWgCKlt3I9CBPbutSS7 WFGSRzMnXveXQiYWVajn4WeEBwZ/CPJnXXWG8cbi8/67tNyY9IWoiWBuP0MshIlQkQYo me3jaxfmakJW4NNH7BQTIDmSbFsfs89JPN1Q+7xaEUCKGIxZL3aW9IpjR65zGQT232E3 B/5Ds6f7DzppuBFXSlkT+QrUVKrix0IZ5kf51zn3Bh0mRD7MENDEP5vl+YnF21l/UlC0 UzAdDH25OU9IFcfp9iA/lJdpKAeVd6is4POYXP42Dgv13B5thVZ4s7dUzpmycjOiAV2p GrKw== 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:mime-version :content-transfer-encoding; bh=CvNnfLWCqYNeIcUT2xixkxWSw/wffCJt1xoSRZ87wRU=; b=DSoUB+MB94Yw7yZB3WO6q5TMxxL0DnKHFdHkX38kDg39SBNUDTKE11sjNRZIjUPaGy Zyf4317Ejiow7m9sqivUY2jNo/K0qr53U/jnmZxiXJB5uDetQ/8JGqAM17iTXzhHabyD 0i6sXD0K4MyEcxVJaxvLP6yltPlP53AOlUHoGxZJu9zwsekIlLzWh67+TGnZxm0f7Ojy T3CbWYgYnCtX5xOpqr2tpv25PiEs2GdnConPFewvJ7RqPmLbqzQNOi4MbObkqm2sdOSH otTPPTOBcgUcRKcPTPaSky9CaGODVoDYYR9hKEZJapg5tsWnRmuZOtuq86SDPMrMmB1c hbRw== X-Gm-Message-State: AOUpUlHU2UptAMyza/uvdtwlEq5HvrjTwvk9HFf/QioOw7axp1oK99di ofLRE6sjQinSCzSbq2Loc3k= X-Received: by 2002:a19:1003:: with SMTP id f3-v6mr2014974lfi.116.1531851394309; Tue, 17 Jul 2018 11:16:34 -0700 (PDT) Received: from localhost.localdomain (user-94-254-174-73.play-internet.pl. [94.254.174.73]) by smtp.googlemail.com with ESMTPSA id u19-v6sm260911lje.51.2018.07.17.11.16.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Jul 2018 11:16:33 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Chmiel?= 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=20Chmiel?= Subject: [PATCH v2 0/2] Input: atmel_mxt_ts: Add support for optional regulators Date: Tue, 17 Jul 2018 20:16:24 +0200 Message-Id: <1531851386-17840-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This two patches add optional regulator support to atmel_mxt_ts. First patch adds regulators to driver. Second patch updates documentation. Changes from v1: - Enable regulators only if reset_gpio is present. - Switch from devm_regulator_get_optional to devm_regulator_get. Paweł Chmiel (2): Input: atmel_mxt_ts: Add support for optional regulators. Input: atmel_mxt_ts: Document optional voltage regulators .../devicetree/bindings/input/atmel,maxtouch.txt | 8 ++++ drivers/input/touchscreen/atmel_mxt_ts.c | 46 +++++++++++++++++++++- 2 files changed, 52 insertions(+), 2 deletions(-) -- 2.7.4