From patchwork Thu Sep 20 16:19:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Ribalda Delgado X-Patchwork-Id: 10608041 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 21723161F for ; Thu, 20 Sep 2018 16:19:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 116772DFA9 for ; Thu, 20 Sep 2018 16:19:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 057972DFFE; Thu, 20 Sep 2018 16:19: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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 AAD992DFA9 for ; Thu, 20 Sep 2018 16:19:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731463AbeITWDg (ORCPT ); Thu, 20 Sep 2018 18:03:36 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:39114 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbeITWDf (ORCPT ); Thu, 20 Sep 2018 18:03:35 -0400 Received: by mail-ed1-f65.google.com with SMTP id h4-v6so8353435edi.6; Thu, 20 Sep 2018 09:19:20 -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; bh=ss5zDbLVVTieLcNOaPlahFyyALIdwzonzBdsnOHzuL4=; b=uDTpu5M3khv84mZ9i/0+iUa0iLQIStswIeuYmSJdv1KLDXrABsLNPjM8SmnMUZ4R70 uOktf47tKmT8TxSiLBMioCuN/qaFpOjTKUZ/MDRQ6IhP/k8qM4GzIl5TttEaWuFLvqSh nw5TVNtX0dj3iw/zjQstD/FmvTWE09quBh5lrJHWP1xoOf0N3REEFmRln+AotDEUX8kF 7sKpijA47l05akqsFApj0N1gTQJJ/87hDjJIFi/Ccqo7pJyPLv6G66zIggL57bip5IAS eF2dDFMqsHhJDtTCpe3PLDsixHn5H79gjqw598TgQafhhFvQ50k0Q+w0rIWR66vKqYJ/ 5zlw== 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; bh=ss5zDbLVVTieLcNOaPlahFyyALIdwzonzBdsnOHzuL4=; b=ZnuIynbcXVbdQeqIZP4+mv8bOgIqinn7gZeZMG0EnVIhjkJYGHGANjMtbeatGa6tlc RMv2aw5HSQSXBye6XUY6wm92e546EcobJaaAlexuMCjiz0ExiLDTxK79k4F8LCc5Ab8v kLeGbJ1Q62dYjGTowA6cjzQieUwBLv3PB7nKr9I7iswzK7pe8RzjaRe/pFMPLEDXGea/ lnk12IU0+iffjdnxVaoUeKdxzjmCYUyHiMMgWDgTzPaBCp6+UUHt73rAy6Bras9TvJ07 IX1S0ZMH3ypJF8k7tvlrJxQEUVm4wcRPsGXfPhll2GOsrMLq7kVnPTtERkbGG0jvpXYs MfPQ== X-Gm-Message-State: APzg51Ck8SrH1VK1x3ho6cCYR+3QX5Sgvwlt/5bgpB3zsZBktuTaS389 LER3mtIUzIVBVsB4mJQ2xVw= X-Google-Smtp-Source: ANB0VdYNpPtb3R9tC0IbiOhQFNC6xXSV5UIMD9O9nboizYNCGvfblIULjF58+oGAFjLRUfxP/LnrGQ== X-Received: by 2002:aa7:d141:: with SMTP id r1-v6mr5509240edo.83.1537460360179; Thu, 20 Sep 2018 09:19:20 -0700 (PDT) Received: from piling.lan (80-71-134-83.u.parknet.dk. [80.71.134.83]) by smtp.gmail.com with ESMTPSA id h40-v6sm958144edh.88.2018.09.20.09.19.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Sep 2018 09:19:18 -0700 (PDT) From: Ricardo Ribalda Delgado To: Pavel Machek , Sakari Ailus , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Verkuil , Laurent Pinchart Cc: Ricardo Ribalda Delgado , devicetree@vger.kernel.org Subject: [PATCH 3/4] [media] ad5820: DT new optional field enable-gpios Date: Thu, 20 Sep 2018 18:19:11 +0200 Message-Id: <20180920161912.17063-3-ricardo.ribalda@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180920161912.17063-1-ricardo.ribalda@gmail.com> References: <20180920161912.17063-1-ricardo.ribalda@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document new enable-gpio field. It can be used to disable the part without turning down its regulator. Cc: devicetree@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado --- Documentation/devicetree/bindings/media/i2c/ad5820.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/ad5820.txt b/Documentation/devicetree/bindings/media/i2c/ad5820.txt index 5940ca11c021..07d577bb37f7 100644 --- a/Documentation/devicetree/bindings/media/i2c/ad5820.txt +++ b/Documentation/devicetree/bindings/media/i2c/ad5820.txt @@ -8,6 +8,11 @@ Required Properties: - VANA-supply: supply of voltage for VANA pin +Optional properties: + + - enable-gpios : GPIO spec for the XSHUTDOWN pin. If specified, it will be + asserted when VANA-supply is enabled. + Example: ad5820: coil@c { @@ -15,5 +20,6 @@ Example: reg = <0x0c>; VANA-supply = <&vaux4>; + enable-gpios = <&msmgpio 26 GPIO_ACTIVE_HIGH>; };