From patchwork Tue Oct 2 11:13:56 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: 10623381 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 3D96E15A6 for ; Tue, 2 Oct 2018 11:14:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27D772876C for ; Tue, 2 Oct 2018 11:14:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C179287D5; Tue, 2 Oct 2018 11:14:08 +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 AA38D2876C for ; Tue, 2 Oct 2018 11:14:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727428AbeJBR4r (ORCPT ); Tue, 2 Oct 2018 13:56:47 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:41327 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727321AbeJBR4r (ORCPT ); Tue, 2 Oct 2018 13:56:47 -0400 Received: by mail-lf1-f66.google.com with SMTP id q39-v6so1094304lfi.8; Tue, 02 Oct 2018 04:14:00 -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=iIOABefwrBl7Un/NGeVmLllW3tfQ8OLYZAOyYXAzdxc=; b=FZMWRC9yub6JCDx/wLue1Kg9xybXY8WE/vWd8eaNhiz6QWW7XUevWHE0t4SA1ykjx7 4Z5mzwG9XxvvWK1ryaHxPL+tevA3rp7w1NE6ZzHCaAH3mAXsI+3bVNmyS6kpaq2Jdgi9 IyBSUaDQ7zHSVOzU6/powSXwFydZ2t2Jls+UzImENr6YagpqFq2jeNRebAdARwPfAAp9 Af0NjA4lmsfl9XtAg5T9VbW1dSDygFUnXSavUL4Uoqapc430odaOP54bv60mTWjDmeO0 e3o2mapnOtkgGJH5RIad3DvLpKyIxFpS/0Yz8Llqsp5S/itwJir3qWLQsl3aGilp7wZO uexg== 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=iIOABefwrBl7Un/NGeVmLllW3tfQ8OLYZAOyYXAzdxc=; b=t4XD/DDUXVMbQQ48OJinAlJyz83ma+gb5nGq6rUmvbKjJYURwL6JWonYhRT8G5dk3O VWF9EHJtF1wEsZV8KTKF7LOWH0y0L6nYsxvDm1Fn2tc2LqL8ntX0vMw0qe7lB7amDSdG kWfvIBKTa2eheskZwpWoFPUuReih/UCitu5X4aoSfX7slKrAg3K4eqyYZ+4efnMebL13 wzQ+hfCpaxvwVrzioYXtFuyIwYuZgPn+rdG8riDM6gqVcNvEkprD5DRURT8NaK+V2tlM KuV7L70fHyC8AdIO5g4xMuZyFuFSk72oKsTJr3Blx9Wxh/ry/utDjIX1DgM+CdMrZzYs zP9Q== X-Gm-Message-State: ABuFfohlKcOx20+vqrNT92J79LXH0N7wpAZoDVQYc6WB7XnUXi4dlXdq iDpYaCbIurFMrTXkPU70w3o= X-Google-Smtp-Source: ACcGV6255EazAZr6fk/Um4e6sGD+oAy/pjhhz7FtRFB21BorVCpkqzTvSEe07IlNNMs5Rf2JeoP7qQ== X-Received: by 2002:a19:c951:: with SMTP id z78-v6mr7817498lff.150.1538478839488; Tue, 02 Oct 2018 04:13:59 -0700 (PDT) Received: from neopili.qtec.com (cpe.xe-3-0-1-778.vbrnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id h27-v6sm3169023lfl.31.2018.10.02.04.13.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 04:13:58 -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 v6 2/6] [media] ad5820: DT new optional field enable-gpios Date: Tue, 2 Oct 2018 13:13:56 +0200 Message-Id: <20181002111356.32298-1-ricardo.ribalda@gmail.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 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 Acked-by: Pavel Machek Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring --- 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..db596e8eb0ba 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. The XSHUTDOWN signal is +active low, a high level on the pin enables the device. + Example: ad5820: coil@c { @@ -15,5 +20,6 @@ Example: reg = <0x0c>; VANA-supply = <&vaux4>; + enable-gpios = <&msmgpio 26 GPIO_ACTIVE_HIGH>; };