From patchwork Sun Apr 24 21:08:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 8921791 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A801D9F6CD for ; Sun, 24 Apr 2016 21:11:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D23C1201C7 for ; Sun, 24 Apr 2016 21:11:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EC3E6201EC for ; Sun, 24 Apr 2016 21:11:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753402AbcDXVLO (ORCPT ); Sun, 24 Apr 2016 17:11:14 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34198 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753283AbcDXVKZ (ORCPT ); Sun, 24 Apr 2016 17:10:25 -0400 Received: by mail-wm0-f65.google.com with SMTP id n3so20028242wmn.1 for ; Sun, 24 Apr 2016 14:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/ASqry9XwagXJJzEDGHGqWhoxZQpEc8guIVVykqnvyU=; b=rn6z5WiO8VQOq3kI4mvaj58SUjFxztsGwI7/Reub59ZJHPV4QnpXDhuZmkLV7+NgPo M3Kyw1zceSw4RdAA5Yrbg4O94aPxiyracHTrdLHnnEKFb9JUtYWQed4EC2rPggGlNBft JY83jTffe7GcPUVag68FebF+nXA/EZnfdMRNI5wYQU4zRj0t0kD5OkOQWpMQ0VrimLOX ZRdEiEjEAPadIIL8PX7NlfGn5iFH5xmU3trBTeeu3+kDNUFhF0VWLkZK9pdVP8K+UHXy LwhGAr4V6R0uY2HvkFiVTpjjRn+ciZX6fJu/Hsx4jSDAZC440TuhvoaJt6CTdvvjjFAt 4OJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/ASqry9XwagXJJzEDGHGqWhoxZQpEc8guIVVykqnvyU=; b=HhNL5iaXQRlsyWMHDu8CP+GXOC9vzfpUcw3SHaa58oIFB68+j+A8LHes+7m/qopGXj tbyEkCbfj0PWJRweqIllHVA2zJWjgXS7hzuzTUt/MrqLXCgMWaU1K/65eW1HrEMBSF/l PPOOgCz01ek7QsaqjG5hR6/YuWmFvLIIKg0Bd2Hqn/dr1+L8XcFHY5IjobLvm1+CRBeI nI24HA4T+IDxRD5RzZjTxy4p+dx88sGDwvdfEdVVRIZEjDnDF0PzHDKQ/c5CqxTI6EEX JqElYMaraqNLQ9EY2DtuFFUAOKZYikX1R19r8jsZFoN9s4q3hCYi9HkT1J0VmutFote8 kOWg== X-Gm-Message-State: AOPr4FWyxuVhWL8MmA2KyK5LMMXyjL+OBL2an1U2wIkF85aPQxVukWSutZrcjF/mtWxvug== X-Received: by 10.28.167.206 with SMTP id q197mr502506wme.85.1461532224059; Sun, 24 Apr 2016 14:10:24 -0700 (PDT) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id b2sm15440182wmb.9.2016.04.24.14.10.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 24 Apr 2016 14:10:23 -0700 (PDT) From: Ivaylo Dimitrov To: sakari.ailus@iki.fi Cc: sre@kernel.org, pali.rohar@gmail.com, pavel@ucw.cz, linux-media@vger.kernel.org Subject: [RFC PATCH 11/24] dt: bindings: v4l: Add bus-type video interface property Date: Mon, 25 Apr 2016 00:08:11 +0300 Message-Id: <1461532104-24032-12-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461532104-24032-1-git-send-email-ivo.g.dimitrov.75@gmail.com> References: <20160420081427.GZ32125@valkosipuli.retiisi.org.uk> <1461532104-24032-1-git-send-email-ivo.g.dimitrov.75@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sakari Ailus In the vast majority of cases the bus type is known to the driver(s) since a receiver or transmitter can only support a single one. There are cases however where different options are possible. Signed-off-by: Sakari Ailus Acked-by: Pavel Machek --- Documentation/devicetree/bindings/media/video-interfaces.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt index 9cd2a36..f5b61bd 100644 --- a/Documentation/devicetree/bindings/media/video-interfaces.txt +++ b/Documentation/devicetree/bindings/media/video-interfaces.txt @@ -76,6 +76,10 @@ Optional endpoint properties mode horizontal and vertical synchronization signals are provided to the slave device (data source) by the master device (data sink). In the master mode the data source device is also the source of the synchronization signals. +- bus-type: data bus type. Possible values are: + 0 - CSI2 + 1 - parallel / Bt656 + 2 - CCP2 - bus-width: number of data lines actively used, valid for the parallel busses. - data-shift: on the parallel data busses, if bus-width is used to specify the number of data lines, data-shift can be used to specify which data lines are