Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1500893img; Tue, 19 Mar 2019 08:57:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8yrGTprar/vLOVpl996vcye2TxA+ehGuLoMw7n6diIwpEcYvY5CwPzlSGKYKey0sXSvOS X-Received: by 2002:a17:902:b196:: with SMTP id s22mr3205350plr.33.1553011026739; Tue, 19 Mar 2019 08:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553011026; cv=none; d=google.com; s=arc-20160816; b=zQPf3duYNp1MUcEs51U96XFJ+u7esGcT6ScCrenObqp6RGI/SEIn+6H/6RTpfNSk0x PHfVp3n0xZiEckPYHfPjKI4sSvQyZGEss5bcTWzUSO/5DRQQ/XMHPz/baUIb37rOXMw8 3SAiF05sC1+kKoNW/FGR/dsyq0sKXrdpInTIhp24v3hNZrmecRsj24qxgyd4zJtQJtlo TMbmFfl+TKumjH2zoI1hwAwNnAIEq/C5ftPnEjlmkViMi0Q7grfwcG8JHbaCYFy4VtNq m5lL+2CbGUJdup180YTtTDgL9NAYBsRWCI5Bg/p34q5eIk/9O/JSxFFxf4+5Ivzy/OTl /mHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=tJdkKMzx57khJhiT8KF7IWd1ofjJGE7BV0nYD1UNYqI=; b=RuCmFmbuOW+ORBDJ76JoCmly+8jnHyuCWKs4AGn8D65RIxWIpfRsbE6EFgu0VBuMRZ hvc5KMVxyPPXjnrFCb4iUjcDsKl2jEeOJ5jdsNXDVVBHfd50x53Np+b00+qiOwfjFKbL Ohs5HLz1q2NXniAG8r+ESBpmzfIJv6lQdl3PFlKKUjly4iHUnS6IagTvzbBNu+TAjW+J 8X0RAd0Qb8D6OGBXNWtPrpLDhVkOUpplK3Tcp8HkKkmFi+/MpUbgLgLY69pQBmqs3WDk 7vwPTXIvKsUJRq7uLOpfgCBxBVquOLu4WULFCfByT2GNBVtQ982h5qrERpmg9NePSAmF 1tIw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y33si11572911pga.134.2019.03.19.08.56.51; Tue, 19 Mar 2019 08:57:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727904AbfCSP4B (ORCPT + 99 others); Tue, 19 Mar 2019 11:56:01 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:38453 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727054AbfCSPz7 (ORCPT ); Tue, 19 Mar 2019 11:55:59 -0400 Received: from localhost (aaubervilliers-681-1-92-153.w90-88.abo.wanadoo.fr [90.88.33.153]) (Authenticated sender: maxime.ripard@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id F2D9C100017; Tue, 19 Mar 2019 15:55:54 +0000 (UTC) From: Maxime Ripard To: Hans Verkuil , Sakari Ailus , Mauro Carvalho Chehab Cc: Thomas Petazzoni , Laurent Pinchart , linux-media@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Mark Rutland , Rob Herring , Frank Rowand , Maxime Ripard Subject: [PATCH v4 1/5] dt-bindings: media: Add Allwinner A10 CSI binding Date: Tue, 19 Mar 2019 16:55:44 +0100 Message-Id: <8b1291b572695e4baa67c144dd6deee0563b7586.1553010938.git-series.maxime.ripard@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Allwinner A10 CMOS Sensor Interface is a camera capture interface also used in later (A10s, A13, A20, R8 and GR8) SoCs. On some SoCs, like the A10, there's multiple instances of that controller, with one instance supporting more channels and having an ISP. Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 94 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml new file mode 100644 index 000000000000..97c9fc3b5050 --- /dev/null +++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml @@ -0,0 +1,94 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/allwinner,sun4i-a10-csi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 CMOS Sensor Interface (CSI) Device Tree Bindings + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +description: |- + The Allwinner A10 and later has a CMOS Sensor Interface to retrieve + frames from a parallel or BT656 sensor. + + +properties: + compatible: + oneOf: + - items: + - enum: + - allwinner,sun7i-a20-csi0 + - const: allwinner,sun4i-a10-csi0 + + - items: + - const: allwinner,sun4i-a10-csi0 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: The CSI interface clock + - description: The CSI module clock + - description: The CSI ISP clock + - description: The CSI DRAM clock + + clock-names: + items: + - const: bus + - const: mod + - const: isp + - const: ram + + resets: + description: The reset line driver this IP + maxItems: 1 + + pinctrl-0: + minItems: 1 + + pinctrl-names: + const: default + + port: + type: object + additionalProperties: false + + properties: + endpoint: + properties: + bus-width: + const: 8 + description: Number of data lines actively used. + + data-active: true + hsync-active: true + pclk-sample: true + remote-endpoint: true + vsync-active: true + + required: + - bus-width + - data-active + - hsync-active + - pclk-sample + - remote-endpoint + - vsync-active + + required: + - endpoint + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false +... -- git-series 0.9.1