Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3816803ybn; Fri, 27 Sep 2019 11:48:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjWsX5y7S7m3BraV5k5/GSZRAjoqHuusFiAfT6ht/LVa6yU19lV8UK4uvOo89iVvKi6EF+ X-Received: by 2002:a50:a7e4:: with SMTP id i91mr6392099edc.9.1569610114163; Fri, 27 Sep 2019 11:48:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569610114; cv=none; d=google.com; s=arc-20160816; b=CeyNHqtESBaRkH6gI67PB0k/qHH2sst7SIw5E1Mecs/PvVlWWeN9lUvuQ+wR5LMMGE 0dk4iEAKmoHvt9xfU9IUqnOLG1sz8JnUheXkmCNThOxQsCvdex0VGfIuxKQmkpV0YYIL PFIT988IRnDabA4p01AymAwrm7+arjBx9IWdxIienM4z83w00MqngrV/7fwgaWYoVsJt QtxOMJtwJpT82/gfKDmWyDmGB4ovDGGa7h8cgtWAJ/g7watPHTPZxRly2thxj2b2SSjz FiM1Hmat9VC/4b882Q3Y742XUf40gcZVGoTiu7AmElI+bpWfoF1w+QWyyQJZ/rFOydtB Ygtg== 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=r6LwEruPm5l4y2o3OnL1GB+d2mHbAkCg6/wyb8egeu8=; b=yKMnxVE4OA9w4p36MtJWphrK7wkU6HmLXGOa8pcOtUB/Td4eFQGHEcmNQsL1PJzDbA kIRw7SAtVeZ0xzZ9xDN7ZQKlVFV7FDHXCo/G7w3Op7SnY07RYGGpz1Uk0PbZI1WzF5I0 uIZHXvX+GUXo7Vla2RW/FhT7DO7FVBBFrTBbRkSVwulv8XQrixB4KGjpYYUB+Lnr/g/y LTycPk6uZ2o1LogdmyXfEe8Ttnd8cvBuJNtZQoYmWk//ntkU3SqP8u3mvJ3wv2fKXVqC AfQYzcvDqVVYQGw9teHJyDd1E090xL/OmOxKOgIxfXw3wlIccTgB8f1PiB6i7jBL8MDi rEig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=btR3AXi8; 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 v17si2101979eda.256.2019.09.27.11.48.09; Fri, 27 Sep 2019 11:48:34 -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=btR3AXi8; 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 S1728645AbfI0Spi (ORCPT + 99 others); Fri, 27 Sep 2019 14:45:38 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:46754 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728515AbfI0SpW (ORCPT ); Fri, 27 Sep 2019 14:45:22 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8RIjK60094646; Fri, 27 Sep 2019 13:45:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569609920; bh=r6LwEruPm5l4y2o3OnL1GB+d2mHbAkCg6/wyb8egeu8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=btR3AXi8A0NVJpXFWkNUtp/Jsg7c5FcFHhYM8x4mASraX60dX7RDWAHjPQVB48hH8 D6DnY/hqbqxr0l3BrkPmcb40ran9lxH2lWKluxpY5y+pvBrpqokWc5gWF1iXlABpBP K/NMV40MJS+BBZpCR9G/zT1wItaLHpkuAjWZ/kWo= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8RIjKmY074980 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 27 Sep 2019 13:45:20 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 27 Sep 2019 13:45:12 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE108.ent.ti.com (157.170.170.38) 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; Fri, 27 Sep 2019 13:45:12 -0500 Received: from uda0869644b.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8RIjEVa122194; Fri, 27 Sep 2019 13:45:20 -0500 From: Benoit Parrot To: Hans Verkuil , Sakari Ailus CC: , , , Benoit Parrot Subject: [Patch v4 5/8] media: dt-bindings: ov2659: add powerdown/reset-gpios optional property Date: Fri, 27 Sep 2019 13:47:19 -0500 Message-ID: <20190927184722.31989-6-bparrot@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190927184722.31989-1-bparrot@ti.com> References: <20190927184722.31989-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 --- 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