Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp4175611imc; Thu, 14 Mar 2019 14:20:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYktqtlXBpLN84BQtNTD9H/FB86qG6Nr4V11GBYzdnOZbw+zOqkP+4/SUw2on8hP4DTdF2 X-Received: by 2002:a63:6e8d:: with SMTP id j135mr20326pgc.160.1552598408795; Thu, 14 Mar 2019 14:20:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552598408; cv=none; d=google.com; s=arc-20160816; b=q+uU1THE0eEuMwwhwG4PrT2lDiOIpO7UMyodlOe0gYewpK+2pKphgNYwZk4vfx2gJV vkWO7A/KiQW9Foku7pWRZI8HTPobXl86X7R+KS9EhNVndi3zYR/INnqNcnFxxgd3kJd3 iSCA4ov0aoPF19edgVVighxnHi7HLxXw/4+ZCM/LtZ0V7uRQsaZejpLpXuBFzUDt8PYr s4RiirLU/0mziv1kmh53+QGWkUel/evq89JD3nD29ewpN5IV+Re2XXA5fNhDQKrHLq8B yJAjIUvypV9DK0aI3DeYw1gsUtqdI4HWjewEHbt4YkHRdYBZ9a6faurzVoE8jCAsFG89 1wVg== 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=bZwTI6BNgjWKVKHnQ+vBwp55Emwiq44j6Bq+1b39gyQ=; b=b1AbUuZGgRIpxaI4rNB7tg53mKdwWQLC+6J66RyWHD3wkH0uO8bySg8dcVsqGE5wsN BrOJiVr7KUzqnV6oZ7+8zbWaAcpH9wbVCUS9x+w1iAfuuk4w3ZAsRWyZ00oNJzZUf4qr 8xtlMd6A1wBr/2j6SQs+xsBu24wCjJT16t9qIdPAdfcPK9ae8BPVDZZkm5wWHwvun8GF wfH9kVcAXNdJuSJhVr0mtk0pnpCdribEzhDXkYBKh7j1DH6D6Byvm4PXZ3uZlxp9ygIO 9fWN4/bVK5kLVu5Vholn7MMzbwkyJ2GIyFFNecUOOC13m6cvYeEEdwUvWiYSMUp+8iEK VpOQ== 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 n20si77146pgb.78.2019.03.14.14.19.52; Thu, 14 Mar 2019 14:20:08 -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 S1728004AbfCNVR7 (ORCPT + 99 others); Thu, 14 Mar 2019 17:17:59 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:51273 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726399AbfCNVR7 (ORCPT ); Thu, 14 Mar 2019 17:17:59 -0400 X-Originating-IP: 90.89.68.76 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (Authenticated sender: maxime.ripard@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 6A41F40005; Thu, 14 Mar 2019 21:17: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 v3 1/5] dt-bindings: media: Add Allwinner A10 CSI binding Date: Thu, 14 Mar 2019 22:17:45 +0100 Message-Id: <6d73b7f5688e9e8424f09e11f12302268939d917.1552598161.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 | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 115 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..30c5dc1406cf --- /dev/null +++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml @@ -0,0 +1,115 @@ +# 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 + +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: + additionalProperties: false + + properties: + endpoint: + properties: + bus-width: + const: 8 + description: + Number of data lines actively used. + + data-active: + description: Polarity of the data lines, 0 for active low, + 1 for active high. + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - enum: [0, 1] + + hsync-active: + description: Active state of the HSYNC signal, 0 for + active low, 1 for active high. + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - enum: [0, 1] + + pclk-sample: + description: Sample data on the rising (1) or falling (0) + edge of the pixel clock signal + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - enum: [0, 1] + + remote-endpoint: + $ref: '/schemas/types.yaml#/definitions/phandle' + description: Phandle to an endpoint subnode of a remote + device node. + + vsync-active: + description: Active state of the VSYNC signal, 0 for + active low, 1 for active high. + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - enum: [0, 1] + + 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