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: 135100 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3327130lji; Mon, 7 May 2018 08:57:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoSNSXiThlp1NmXV/lCC1cfKyAKLA2fA87dKJLvHkM2dG67hWOsCS3oiBfDSyxIBttQ2zC9 X-Received: by 2002:a24:fe44:: with SMTP id w65-v6mr1844001ith.87.1525708660664; Mon, 07 May 2018 08:57:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525708660; cv=none; d=google.com; s=arc-20160816; b=MZB5vmFHv6eqs4UrzIWkuntFg4LZJcSi47q/PE0rMgrXstO3l3AaQjjfgCdB3PBRJX 427NICR1hSspcIBRgIib3Gj74wmR/kMstpru7bdLiQkue2B33ChLVbRpK+zViT43I7i8 uXDG1OhjInWHBJMU4E5XzxfC9217dYsEdo9wxU+ysczVXPbOnciSnimLuCwqG1mPiqiQ Sk8qaRjM/9o13KD/aniUhnJA1qsjYAfMCl0i/La7rdUfNLQB/Q1EjfnaBGbAYOYKpe30 on2VVk9OvHOwVngRBdTNPby7scshOmV+qGK4vT8TGNXbb6Y9IR+jF8Jd/R5tbjefb9N9 gClA== 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:arc-authentication-results; bh=L0KrQJUX/USzCnLuAgRDSfPJN85+IlJ77B8258UE/cY=; b=OhhprxlyHyDFbFWn4g7zwzGs9/mP0s9QOW6AbDYfwv2unFTOmAZA8SBiYcjIeHN7Fh 38Ps6RsgT3EeOHUr/ivoc3gVHW6qN+477kiEcIFxdMVJHBijbBeJe933+EXFf2IT+Dk0 G5TNLIOvm0OTElBUbGw0h87lYAsITZxgSLW3GLsRizG6FqpUchy3yMAXGFBewOscmLmh dQn60Mrfyg8iHNoxHjFwaUuI6E3NJrR1+K6c2pq12JXC5J+IkiBBg5C7S3ohuTaeai3s LP+UR3MmrN2ePllkQYhhJdZnoJ3C6grj0eL9xvQ/0mFP+c+uAHk+xBepx3/p1x31ZfhV IsAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PUk5E4Ic; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f21-v6si19619791iob.61.2018.05.07.08.57.40; Mon, 07 May 2018 08:57:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PUk5E4Ic; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752784AbeEGP5h (ORCPT + 6 others); Mon, 7 May 2018 11:57:37 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33785 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752624AbeEGP5e (ORCPT ); Mon, 7 May 2018 11:57:34 -0400 Received: by mail-wm0-f66.google.com with SMTP id x12-v6so15692932wmc.0 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=BDXrlduNPlBBMwnewAQrwWzmJTFuLkZTi4dqmnHwJRIjAp/lPowroSLRpEcelaV5Ar m5hM3ThYYJ1iaDuLmDHQHFbgwLSkrDIwQWssoe5yOX/iD4Ucvaad8SWQHa1dO0pbJiI/ eeqBNBCIZtN9Sjf3v1/dusswYd3SMzbHHeZ/4TDmXPM6KfKHuVO5UomlC7Y4uPBZoftK K+HrhjSDxVRIfkxov2yeW+fRk4F1tKUbpmTrYS6LdyLVJtdPNWeeTXafg+pQdFjSvHl8 D/MKK2p/6KdB9G8BhwJg0oG5pQFwAxgDFYRwZ3CO2FC9z+nrzDDJPW6f6B4OS2uiX+8c rcSg== X-Gm-Message-State: ALKqPwc/+TR8d2Ie0fmj+H+CViqctraHkgXR9fGPU8xfKsSNRDUra7Qo xmhG1srfUJwcRlkvB4JmqbR7/A== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(-) -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 {