From patchwork Mon May 7 15:56:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 10384429 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 784296037F for ; Mon, 7 May 2018 15:57:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63EEE289BC for ; Mon, 7 May 2018 15:57:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 588AC289F0; Mon, 7 May 2018 15:57:42 +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, 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 3E827289BC for ; Mon, 7 May 2018 15:57:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752782AbeEGP5h (ORCPT ); Mon, 7 May 2018 11:57:37 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37249 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752303AbeEGP5e (ORCPT ); Mon, 7 May 2018 11:57:34 -0400 Received: by mail-wm0-f66.google.com with SMTP id l1-v6so16338052wmb.2 for ; Mon, 07 May 2018 08:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+x0bAEsmv7inIq+1mNI95oLPU8nfMQ0rHpCgtJvHgl0=; b=PUk5E4IcptpDtya76SaTXhvcpnI2k0kPMFp6gWbpxzxmKr0ZsiGzLRiyss+0YQ62ui KhiAUiHt2+LGp+zK8STPogcJktyHBmJdqusIBKc4z6D4R+PCEkjFh1dUfRo0arD43ji1 vlP5lD6WhogOWLUuDHXxUOnO37akq+LmlmuKo= 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=+x0bAEsmv7inIq+1mNI95oLPU8nfMQ0rHpCgtJvHgl0=; b=moNFRrO3sswEMUeeF0UFWhIWVjxtd/ntUSRuGtODk1JacX7VIMXwCwsZNFJPh3yBkK CgIA7lVUpROTw+Kn7iFmjXJHS0+QEFSH0DsX4QK3eHBPp2rdoLdcqNanRjuejBZ/JDsh cq7y5z7QmaCNjAG2TOiH3L+0mC0n+VGZXPyDl9e8hdkhK7YXBPJRYVHIZxd7x5cgr6qK /vYLmwzOlNAv1OXdjHdgcc8WSoXmDJCT2LkHbMMB89EXGJK2LlBW/OesOtf0+ocPuO5s xZSbejK+MGjhOqSYVNCJcyGxQRyTWmR71AFjn24W5cHgYakC9Qat/ehwtntHoknpcF+7 vbow== X-Gm-Message-State: ALKqPwcwHjIuiwFmoAypQJIWW0kYq7WsJQLmhYKzAbvwhDNMiuDP6acj 2Tf1f7apkv2AvtCAKNT1oJXj4x5AJYw= X-Google-Smtp-Source: AB8JxZr1sPVzAZh5ew48p/YUMRq8CVOlB3P+Jts/NjBbI7pBnjZleAHzW8CsGcStpD5ucfyCGtk7UQ== X-Received: by 2002:a1c:6d97:: with SMTP id b23-v6mr1176075wmi.86.1525708653000; Mon, 07 May 2018 08:57:33 -0700 (PDT) Received: from arch-late.local (a109-49-46-234.cpe.netcabo.pt. [109.49.46.234]) by smtp.gmail.com with ESMTPSA id y42-v6sm32294807wry.21.2018.05.07.08.57.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 08:57:32 -0700 (PDT) From: Rui Miguel Silva To: mchehab@kernel.org, sakari.ailus@linux.intel.com, hverkuil@xs4all.nl, Rob Herring Cc: linux-media@vger.kernel.org, Fabio Estevam , devicetree@vger.kernel.org, Ryan Harkin , Rui Miguel Silva Subject: [PATCH 1/4] media: ov2680: dt: add voltage supplies as required Date: Mon, 7 May 2018 16:56:52 +0100 Message-Id: <20180507155655.1555-2-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180507155655.1555-1-rui.silva@linaro.org> References: <20180507155655.1555-1-rui.silva@linaro.org> 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 The ov2680 needs to control 3 regulators for the voltage supplies and that was missing by the first description, added their description and example here. Signed-off-by: Rui Miguel Silva --- Documentation/devicetree/bindings/media/i2c/ov2680.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/i2c/ov2680.txt b/Documentation/devicetree/bindings/media/i2c/ov2680.txt index 0e29f1a113c0..e5d8f130309d 100644 --- a/Documentation/devicetree/bindings/media/i2c/ov2680.txt +++ b/Documentation/devicetree/bindings/media/i2c/ov2680.txt @@ -4,6 +4,9 @@ Required Properties: - compatible: should be "ovti,ov2680". - clocks: reference to the xvclk input clock. - clock-names: should be "xvclk". +- DOVDD-supply: Digital I/O voltage supply. +- DVDD-supply: Digital core voltage supply. +- AVDD-supply: Analog voltage supply. Optional Properties: - powerdown-gpios: reference to the GPIO connected to the powerdown pin, @@ -18,7 +21,7 @@ Endpoint node required properties for CSI-2 connection are: - remote-endpoint: a phandle to the bus receiver's endpoint node. - clock-lanes: should be set to <0> (clock lane on hardware lane 0). - data-lanes: should be set to <1> (one CSI-2 lane supported). - + Example: &i2c2 { @@ -28,6 +31,9 @@ Example: clocks = <&osc>; clock-names = "xvclk"; powerdown-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; + DOVDD-supply = <&sw2_reg>; + DVDD-supply = <&sw2_reg>; + AVDD-supply = <®_peri_3p15v>; port { ov2680_mipi_ep: endpoint {