Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp6926486ybn; Mon, 30 Sep 2019 06:06:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2Lm6i1A5fkehsZztcd4sVl1IpK7p0A9PABxXjE+yzid31K/bLNLOSmwrheR8Ms+/8mcyI X-Received: by 2002:aa7:d988:: with SMTP id u8mr19378436eds.116.1569848804727; Mon, 30 Sep 2019 06:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569848804; cv=none; d=google.com; s=arc-20160816; b=PyXh7kCKHIKjr6H05vDHFR6ObE3nGmsmqh3rj6rEAPblVvU0d0MtjdSxKlnOnWIWvu nj+QXvGChP2HdP9BHPpqn3blHSIbhHOOT9GWPJG9qN11WqdEuNNmIDRTWuX1Ltw5dMZQ FCreiRJ4X8PTrw2I6Bz7GVFtdomlJ4X8PBzXzzQS/66QZqAdXD6yLpwl2V+svr13BZjY Jo0UdgAySdRqkRJFs+PtO5FycN5Nt1231afsg7V1F1R6BkWiJmEb+JCG2NBOv9A6bq52 xAeGJuWmqwI23qJZmDFk8pZf0xszIDkDO4afXFVSS025iiPqyFYU47+r+XKjdM4m4h4f /Pcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=jGn0e5yQpHyqnMkhc94PEeJAa7eN4O58cXsAHJJwBak=; b=HYan3WFU5xqUUCNEgGYnWwGW5Q/JaqH06bbpBfwwE8Z8x+ayDMqmhrcZwp+rTKM2U2 lM6p5g5Oqh9ONpv10nzqXIvmiyqMXP1I9xUqfHCPB0aH0yfFWBu7cumYbO6GTodhp7UE B7ZdZr/LIn5PaWi1d1DlZBwaV5B5CAzjFMgb8w7t9r0Nv2cJJHjcQSG9rwojaVFeXTNp kjzerByfUVS8Tgorv3hDF+LHdmUqV9QTiUPaKq/0C+kHIYGfR9URq7dDTzjL/SO9onuD XqLdpHUgswZYwlzWU9jKTGNqT7U+HXLR5pABAchJ6cWKdtNKz+JuptC9ESkJ5I5N3ixa 44Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bFRQ31I+; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l22si7018899ejz.239.2019.09.30.06.06.20; Mon, 30 Sep 2019 06:06:44 -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=@ti.com header.s=ti-com-17Q1 header.b=bFRQ31I+; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731268AbfI3NEr (ORCPT + 99 others); Mon, 30 Sep 2019 09:04:47 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:46426 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730929AbfI3NEq (ORCPT ); Mon, 30 Sep 2019 09:04:46 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8UD4h6R110339; Mon, 30 Sep 2019 08:04:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569848683; bh=jGn0e5yQpHyqnMkhc94PEeJAa7eN4O58cXsAHJJwBak=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=bFRQ31I+EuI6jct7jd5TBkacaXtP1MTEARqer8ZHHhSy3MX1z4ID1LWbW96aCIPTo 5g5V2MzLpgdIm7qIYDjB2ABD1hqJq33CM1s9kevwArBGZ2idR7E5cdHTkKTCv4Y+Oj uuR/QfauhLsBuvrsOBPzOp7o6rP4JV7Lg62oCiEs= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8UD4hm1084410 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 30 Sep 2019 08:04:43 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 30 Sep 2019 08:04:33 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Mon, 30 Sep 2019 08:04:33 -0500 Received: from uda0869644b.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8UD4Zik115624; Mon, 30 Sep 2019 08:04:43 -0500 From: Benoit Parrot To: Hans Verkuil , Sakari Ailus CC: , , , Benoit Parrot Subject: [Patch v5 5/8] media: dt-bindings: ov2659: add powerdown/reset-gpios optional property Date: Mon, 30 Sep 2019 08:06:41 -0500 Message-ID: <20190930130644.8704-6-bparrot@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190930130644.8704-1-bparrot@ti.com> References: <20190930130644.8704-1-bparrot@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add powerdown-gpios and reset-gpios to the list of optional properties for the OV2659 camera sensor. Signed-off-by: Benoit Parrot Acked-by: Lad, Prabhakar Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/media/i2c/ov2659.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/ov2659.txt b/Documentation/devicetree/bindings/media/i2c/ov2659.txt index cabc7d827dfb..92989a619f29 100644 --- a/Documentation/devicetree/bindings/media/i2c/ov2659.txt +++ b/Documentation/devicetree/bindings/media/i2c/ov2659.txt @@ -12,6 +12,12 @@ Required Properties: - clock-names: should be "xvclk". - link-frequencies: target pixel clock frequency. +Optional Properties: +- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any. + Active high with internal pull down resistor. +- reset-gpios: reference to the GPIO connected to the resetb pin, if any. + Active low with internal pull up resistor. + For further reading on port node refer to Documentation/devicetree/bindings/media/video-interfaces.txt. @@ -27,6 +33,9 @@ Example: clocks = <&clk_ov2659 0>; clock-names = "xvclk"; + powerdown-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; + port { ov2659_0: endpoint { remote-endpoint = <&vpfe_ep>; -- 2.17.1