Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp41440imm; Thu, 20 Sep 2018 13:46:23 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYNi70NObCww+2gRdmdUwXlEbxmM713DQ19v0Q53vd6C5VxXnhnHUm3zPY1UPJxtEr3ZDK/ X-Received: by 2002:a63:6a89:: with SMTP id f131-v6mr39180591pgc.165.1537476383497; Thu, 20 Sep 2018 13:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537476383; cv=none; d=google.com; s=arc-20160816; b=Fniy/vbs0JmOBcPZdxnaIxyQ3QLapmP79C6l4KniFWufgdKJAUTLXJYiMJ70gQ3Aeg dxJpGwuJlFZJPm3lk/XB+myZizgUmkUYhIr5ZqC+Tw3LWCyVObuZ+IIxafetPXzci+o9 VivJd5Ii+C970TvApaiZ9vRoQhOvQx+Pt2AW80vGKt3Vt2kveKlj43OLeApnd9VJonoW Xh3pKhZC+pCV8XZtZZctM3TW6EBcrGJQprjwIOyezqQyZrUGXnORy4hhjdrbCLKLGK12 QBSa82mPgjYhbHzORmqLjWOpEGjs4Ohf8bvvzV0Js3wpLxpVFeL/eAbBNYt9dxvJqfZ5 aQ/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=VLIItdANeR2HXKjAG9ooHkEQ/2j2hSQ7yUwph6rZVTY=; b=XngZfnhrWDCMvM8t9CVAtkrTOTULfNpEBRzuI5FyneoMytWEC9jjcxl9bF5p9B9+M3 Z2fqT5SdAgFrQUsln24jb1KGwL9zO/4ZZLygJ4i0CghjfD7P+zVdqgdQcHULL2FnSJN2 ETW2hAV+UAbRdgo5vpyeYJRjLSY7FoqOTwcH58jTEQ0OdtwfEOPbAeNk3wcNUxYhy6C8 Kk0PzmtFbNaxyj6ZtcvG9UM9f+GaAuoERYuNpW1CrBfcNSi/wu8C9McJcnQ3FOkYqK1O +cMImCWy5EJejQH3Hs0HoZ+JgRuipD8Ypm4On3wmn7wxrMjtQkm2B37ZIxizmepFz4lQ 4m+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sJVKb7Gn; 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 r130-v6si23416250pgr.456.2018.09.20.13.46.07; Thu, 20 Sep 2018 13:46:23 -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=sJVKb7Gn; 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 S2388456AbeIUCbJ (ORCPT + 99 others); Thu, 20 Sep 2018 22:31:09 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:46972 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726128AbeIUCbI (ORCPT ); Thu, 20 Sep 2018 22:31:08 -0400 Received: by mail-lj1-f195.google.com with SMTP id 203-v6so9629856ljj.13; Thu, 20 Sep 2018 13:45:48 -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=VLIItdANeR2HXKjAG9ooHkEQ/2j2hSQ7yUwph6rZVTY=; b=sJVKb7GnxRPtd57abFhTfa4+FwN93PPqVDdFEobTRTpkt1Y77Iqno7qQX7yMrz0DCk A2z2nHgV7zJwsjCHt5C29azHNmRvvEnFPk7XZ+GUksTlPhTkGPAr/YqUkNqXQOQQcVnS yAXXNGwO+bc6dmwNprarufLUkGdRUbIQwds+v7qR4F+K6pT2uhep+0T9uTByeTQmdlbx SlcGDkq4nY5ooQwhHpf1XMnC8VhWPX43bu0onS81Bxw4I+xUxk2+dGBkbS57k3x5JqWX 8lli1mCzhrVCkl+sXZLinp9c/GALiipToiuwH9eEj9J1QCCv3OdNe1CeXa522TSmteaS LkMQ== 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=VLIItdANeR2HXKjAG9ooHkEQ/2j2hSQ7yUwph6rZVTY=; b=igY3fEMK4vBcJWSpkG7Qkwm7kQWN7kjAsg1imyAFgNcbqHAkhQDAnw8wXyR6knx5X8 KNwv+ZlsfCC1PQtSQvS+WLmsTcbQc5dR7NadkfauqoRXLjKtARwFvDP3YiNomRfkrCAa 3q4Nhcfq60AJU+EF9Sn6U0ZWYt3s2QDZsIc0rF9mQlDWg9aQeJDJKpZeLF1iJkJtn7v+ V7MrTis1Urb1hsLDnS8eawGJ5yIt3HoXIiCqFLymMeRQ+3eMV3RgQtc6jYziRs6Vq0V2 4R2oosPrVvRRV/O14iYWUKXGzzYp/WJUJClPirc6Wa1Te3WeSqCiutRO0YlkzvR7TbAu A3NQ== X-Gm-Message-State: APzg51DiCWQdJ8qASOYlywbWS8YlIImpuDhh+NS7zoMhbLa13C+OrCT8 I/e9mX5Qz/0gGels1gWicxc= X-Received: by 2002:a2e:5614:: with SMTP id k20-v6mr28859557ljb.48.1537476347254; Thu, 20 Sep 2018 13:45:47 -0700 (PDT) Received: from piling.lan (80-71-134-83.u.parknet.dk. [80.71.134.83]) by smtp.gmail.com with ESMTPSA id r23-v6sm4470355ljc.15.2018.09.20.13.45.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Sep 2018 13:45:46 -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 v3] 2/6] [media] ad5820: DT new optional field enable-gpios Date: Thu, 20 Sep 2018 22:45:36 +0200 Message-Id: <20180920204540.28832-2-ricardo.ribalda@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180920204540.28832-1-ricardo.ribalda@gmail.com> References: <20180920204540.28832-1-ricardo.ribalda@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Documentation/devicetree/bindings/media/i2c/ad5820.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/ad5820.txt b/Documentation/devicetree/bindings/media/i2c/ad5820.txt index 5940ca11c021..9ccd96d3d5f0 100644 --- a/Documentation/devicetree/bindings/media/i2c/ad5820.txt +++ b/Documentation/devicetree/bindings/media/i2c/ad5820.txt @@ -8,6 +8,12 @@ Required Properties: - VANA-supply: supply of voltage for VANA pin +Optional properties: + + - enable-gpios : GPIO spec for the XSHUTDOWN pin. Note that the polarity of +the enable GPIO is the opposite of the XSHUTDOWN pin (asserting the enable +GPIO deasserts the XSHUTDOWN signal and vice versa). + Example: ad5820: coil@c { @@ -15,5 +21,6 @@ Example: reg = <0x0c>; VANA-supply = <&vaux4>; + enable-gpios = <&msmgpio 26 GPIO_ACTIVE_HIGH>; }; -- 2.18.0