Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/813482/?format=api
{ "id": 813482, "url": "http://patchwork.ozlabs.org/api/patches/813482/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/9ad8b23d5c394b64ed02f9a5ebc49209696a5ace.1505314390.git.dave.stevenson@raspberrypi.org/", "project": { "id": 37, "url": "http://patchwork.ozlabs.org/api/projects/37/?format=api", "name": "Devicetree Bindings", "link_name": "devicetree-bindings", "list_id": "devicetree.vger.kernel.org", "list_email": "devicetree@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<9ad8b23d5c394b64ed02f9a5ebc49209696a5ace.1505314390.git.dave.stevenson@raspberrypi.org>", "list_archive_url": null, "date": "2017-09-13T15:07:47", "name": "[v2,2/4,media] dt-bindings: Document BCM283x CSI2/CCP2 receiver", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "4ac47791b710d046f6ffd4a082d86694101cb643", "submitter": { "id": 72357, "url": "http://patchwork.ozlabs.org/api/people/72357/?format=api", "name": "Dave Stevenson", "email": "dave.stevenson@raspberrypi.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/9ad8b23d5c394b64ed02f9a5ebc49209696a5ace.1505314390.git.dave.stevenson@raspberrypi.org/mbox/", "series": [ { "id": 2936, "url": "http://patchwork.ozlabs.org/api/series/2936/?format=api", "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=2936", "date": "2017-09-13T15:07:47", "name": "BCM283x Camera Receiver driver", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/2936/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/813482/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/813482/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<devicetree-owner@vger.kernel.org>", "X-Original-To": "incoming-dt@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming-dt@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tsecure) header.d=raspberrypi.org header.i=@raspberrypi.org\n\theader.b=\"LR0/D1ue\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi-org.20150623.gappssmtp.com\n\theader.i=@raspberrypi-org.20150623.gappssmtp.com header.b=\"VsvT2bEn\"; \n\tdkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xslZh5BWGz9sPk\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tThu, 14 Sep 2017 01:14:52 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752458AbdIMPOs (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tWed, 13 Sep 2017 11:14:48 -0400", "from mx07-00252a01.pphosted.com ([62.209.51.214]:37818 \"EHLO\n\tmx07-00252a01.pphosted.com\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1751882AbdIMPOk (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Wed, 13 Sep 2017 11:14:40 -0400", "from pps.filterd (m0102628.ppops.net [127.0.0.1])\n\tby mx07-00252a01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8DF58Bs023539\n\tfor <devicetree@vger.kernel.org>; Wed, 13 Sep 2017 16:08:47 +0100", "from mail-wm0-f71.google.com (mail-wm0-f71.google.com\n\t[74.125.82.71])\n\tby mx07-00252a01.pphosted.com with ESMTP id 2cv5pysxkv-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128\n\tverify=OK)\n\tfor <devicetree@vger.kernel.org>; Wed, 13 Sep 2017 16:08:47 +0100", "by mail-wm0-f71.google.com with SMTP id m127so1058333wmm.3\n\tfor <devicetree@vger.kernel.org>;\n\tWed, 13 Sep 2017 08:08:47 -0700 (PDT)", "from dave-VirtualBox.pitowers.org ([217.33.127.173])\n\tby smtp.googlemail.com with ESMTPSA id\n\tn71sm1127985wmg.20.2017.09.13.08.08.45\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 13 Sep 2017 08:08:45 -0700 (PDT)" ], "X-Greylist": "delayed 358 seconds by postgrey-1.27 at vger.kernel.org;\n\tWed, 13 Sep 2017 11:14:40 EDT", "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.org;\n\th=from : to : cc :\n\tsubject : date : message-id : in-reply-to : references : in-reply-to\n\t:\n\treferences; s=pp; bh=0HyA+WlZPUApiYBcDcQLyg1zWD4AcwR+lrIGJFr0EJQ=;\n\tb=LR0/D1ueARS9Ype/wIMY1mb2zvkuawnGblkKrSRtF5vXO9aAI/OF4ZUNvBokyWvJ+xhG\n\tQG54Bm07V+umKACe2jrUL9ZcaqufT/g5wDaKXYCPGpg8PeaeaG2OirNk91Hjg2cmt/wz\n\tJWXbbhmorU6FaSTGlbDKU54hrrA/sk3KZ14fEt0il4McezFNPR8+zXdQUorce0fBU4mH\n\tsmpsHGoaAaN7+0HeYpB8VeJanQax4PgqYo0TydLo7ojXAUG9kd72EyBQOwiANMZylcRl\n\tqF5PHqf0csfcQULb233AfpaYBaaPAoUcB+DtbUQJUMJhr6ZB855Q9pPk7tIQAdLsyymG\n\tOQ== ", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:in-reply-to:references;\n\tbh=0HyA+WlZPUApiYBcDcQLyg1zWD4AcwR+lrIGJFr0EJQ=;\n\tb=VsvT2bEna7PnzMHyvXF/53KBLDwEOqXHohm4NmufhMjI+NAqIilxmH425lvyPkr7Ju\n\tcroz/6OvegtN5/GAwKxilREcso6Cr13Rutt6GSB1oam37Ug1Dk6MRuehBF0re+j/zs8h\n\tWYCntRIwnw+FIhFprUrh6fPPyEm/B57ctWEDnEELBIQRd3/uhBseCLuHxY1vZ0IQZowY\n\tQuiRJSlcUrDRJof7X7AgXgD569KD34PcRNaMG0xMaZda3r4TdEjxuW+gExc5pQb9R/N5\n\tgJnjhkqxkVywkptfGtWiLIWD8aXCxsJ5VqjOZkv/NgC/w9gI0fWSYkHHcONd1KdUlj5V\n\tlxSw==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:in-reply-to:references;\n\tbh=0HyA+WlZPUApiYBcDcQLyg1zWD4AcwR+lrIGJFr0EJQ=;\n\tb=d3iVc+clUFUYypmVH+v9kNA7M0vJ+CZ06wk4Q1Jqi5tOvw23BCXEfKwGWIXZiYqmlx\n\tOHAFdzEjwqgDtrerVdSrDP5o26SiUMdDiupbStZ3TqjYWBV9kIlIxWOMHktfKRUhzzRh\n\t6NKKvjJSi48/g/f0OSodiF5t7jNLERnhNX3rwXDrsPNRBvbRZ8nDGgUo7zO2l3HnobRm\n\t3iJ/A1mK7FlNi86IurdmLKA59oKi/rTw1fJG5/VA4hLZszFXmY6DmsSl9i+9hohZqJqR\n\tMkn/KCvCgD1P/Xu7E98meauU0BBAjZki7zY0lvUXJm7L3bJuYyP9zvyoPpz/QQYxhZOh\n\tkH+w==", "X-Gm-Message-State": "AHPjjUgMO040byx7vcqIL2y0PSvPwyNc5yf1WhdLoCftZr6DvsEBaIbI\n\t8ktiMWPkDael4qOm1HR+HywthNv4U0AO8bMrTur0EgP9ZvxJee5EqOJyqZAv4BVdg0AqPQs9ozu\n\tKNLR4Ve6Ya8mI", "X-Received": [ "by 10.223.130.166 with SMTP id 35mr16196856wrc.249.1505315326899;\n\tWed, 13 Sep 2017 08:08:46 -0700 (PDT)", "by 10.223.130.166 with SMTP id 35mr16196831wrc.249.1505315326632;\n\tWed, 13 Sep 2017 08:08:46 -0700 (PDT)" ], "X-Google-Smtp-Source": "ADKCNb6rBuE5UzyaMRX6Sy00Qj6hR/6Wh0w+6jPU16vS3/Ckm/QmDDBNk973Mm0nap9VFH2nTE7kyA==", "From": "Dave Stevenson <dave.stevenson@raspberrypi.org>", "To": "Mauro Carvalho Chehab <mchehab@kernel.org>,\n\tRob Herring <robh+dt@kernel.org>, Hans Verkuil <hans.verkuil@cisco.com>, \n\tEric Anholt <eric@anholt.net>, Stefan Wahren <stefan.wahren@i2se.com>,\n\tSakari Ailus <sakari.ailus@iki.fi>,\n\tlinux-media@vger.kernel.org, linux-rpi-kernel@lists.infradead.org,\n\tdevicetree@vger.kernel.org", "Cc": "Dave Stevenson <dave.stevenson@raspberrypi.org>", "Subject": "[PATCH v2 2/4] [media] dt-bindings: Document BCM283x CSI2/CCP2\n\treceiver", "Date": "Wed, 13 Sep 2017 16:07:47 +0100", "Message-Id": "<9ad8b23d5c394b64ed02f9a5ebc49209696a5ace.1505314390.git.dave.stevenson@raspberrypi.org>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": [ "<cover.1505140980.git.dave.stevenson@raspberrypi.org>", "<cover.1505314390.git.dave.stevenson@raspberrypi.org>" ], "References": [ "<cover.1505140980.git.dave.stevenson@raspberrypi.org>", "<cover.1505314390.git.dave.stevenson@raspberrypi.org>" ], "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-13_04:, , signatures=0", "X-Proofpoint-Spam-Details": "rule=outbound_spam_notspam policy=outbound_spam\n\tscore=0 priorityscore=1501\n\tmalwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0\n\tclxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0\n\tclassifier=spam adjust=0 reason=mlx scancount=1\n\tengine=8.0.1-1707230000\n\tdefinitions=main-1709130236", "Sender": "devicetree-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<devicetree.vger.kernel.org>", "X-Mailing-List": "devicetree@vger.kernel.org" }, "content": "Document the DT bindings for the CSI2/CCP2 receiver peripheral\n(known as Unicam) on BCM283x SoCs.\n\nSigned-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>\n---\n .../devicetree/bindings/media/bcm2835-unicam.txt | 107 +++++++++++++++++++++\n 1 file changed, 107 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/media/bcm2835-unicam.txt", "diff": "diff --git a/Documentation/devicetree/bindings/media/bcm2835-unicam.txt b/Documentation/devicetree/bindings/media/bcm2835-unicam.txt\nnew file mode 100644\nindex 0000000..2ee5af7\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/media/bcm2835-unicam.txt\n@@ -0,0 +1,107 @@\n+Broadcom BCM283x Camera Interface (Unicam)\n+------------------------------------------\n+\n+The Unicam block on BCM283x SoCs is the receiver for either\n+CSI-2 or CCP2 data from image sensors or similar devices.\n+\n+There are two camera drivers in the kernel for BCM283x - this one\n+and bcm2835-camera (currently in staging).\n+\n+This driver is purely the kernel controlling the Unicam peripheral - there\n+is no involvement with the VideoCore firmware. Unicam receives CSI-2\n+(or CCP2) data and writes it into SDRAM. There is no additional processing\n+performed.\n+It should be possible to connect it to any sensor with a\n+suitable output interface and V4L2 subdevice driver.\n+\n+bcm2835-camera uses the VideoCore firmware to control the sensor,\n+Unicam, ISP, and various tuner control loops. Fully processed frames are\n+delivered to the driver by the firmware. It only has sensor drivers\n+for Omnivision OV5647, and Sony IMX219 sensors, and is closed source.\n+\n+The two drivers are mutually exclusive for the same Unicam instance.\n+The firmware checks the device tree configuration during boot. If\n+it finds device tree nodes called csi0 or csi1 then it will block the\n+firmware from accessing the peripheral, and bcm2835-camera will\n+not be able to stream data.\n+It should be possible to use bcm2835-camera on one camera interface\n+and bcm2835-unicam on the other interface if there is a need to.\n+\n+Required properties:\n+===================\n+- compatible\t: must be \"brcm,bcm2835-unicam\".\n+- reg\t\t: physical base address and length of the register sets for the\n+\t\t device.\n+- interrupts\t: should contain the IRQ line for this Unicam instance.\n+- clocks\t: list of clock specifiers, corresponding to entries in\n+\t\t clock-names property.\n+- clock-names\t: must contain an \"lp_clock\" entry, matching entries\n+\t\t in the clocks property.\n+\n+Unicam supports a single port node. It should contain one 'port' child node\n+with child 'endpoint' node. Please refer to the bindings defined in\n+Documentation/devicetree/bindings/media/video-interfaces.txt.\n+\n+Within the endpoint node, the following properties are mandatory:\n+- remote-endpoint\t: links to the source device endpoint.\n+- data-lanes\t\t: An array denoting how many data lanes are physically\n+\t\t\t present for this CSI-2 receiver instance. This can\n+\t\t\t be limited by either the SoC itself, or by the\n+\t\t\t breakout on the platform.\n+\t\t\t Lane reordering is not supported, so lanes must be\n+\t\t\t in order, starting at 1.\n+\n+Lane reordering is not supported on the clock lane, so the optional property\n+\"clock-lane\" will implicitly be <0>.\n+Similarly lane inversion is not supported, therefore \"lane-polarities\" will\n+implicitly be <0 0 0 0 0>.\n+Neither of these values will be checked.\n+\n+Example:\n+\tcsi1: csi@7e801000 {\n+\t\tcompatible = \"brcm,bcm2835-unicam\";\n+\t\treg = <0x7e801000 0x800>,\n+\t\t <0x7e802004 0x4>;\n+\t\tinterrupts = <2 7>;\n+\t\tclocks = <&clocks BCM2835_CLOCK_CAM1>;\n+\t\tclock-names = \"lp_clock\";\n+\n+\t\tport {\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <0>;\n+\n+\t\t\tcsi1_ep: endpoint {\n+\t\t\t\tremote-endpoint = <&tc358743_0>;\n+\t\t\t\tdata-lanes = <1 2>;\n+\t\t\t};\n+\t\t};\n+\t};\n+\n+\ti2c0: i2c@7e205000 {\n+\n+\t\ttc358743: csi-hdmi-bridge@0f {\n+\t\t\tcompatible = \"toshiba,tc358743\";\n+\t\t\treg = <0x0f>;\n+\t\t\tstatus = \"okay\";\n+\n+\t\t\tclocks = <&tc358743_clk>;\n+\t\t\tclock-names = \"refclk\";\n+\n+\t\t\ttc358743_clk: bridge-clk {\n+\t\t\t\tcompatible = \"fixed-clock\";\n+\t\t\t\t#clock-cells = <0>;\n+\t\t\t\tclock-frequency = <27000000>;\n+\t\t\t};\n+\n+\t\t\tport {\n+\t\t\t\ttc358743_0: endpoint {\n+\t\t\t\t\tremote-endpoint = <&csi1_ep>;\n+\t\t\t\t\tclock-lanes = <0>;\n+\t\t\t\t\tdata-lanes = <1 2>;\n+\t\t\t\t\tclock-noncontinuous;\n+\t\t\t\t\tlink-frequencies =\n+\t\t\t\t\t\t/bits/ 64 <297000000>;\n+\t\t\t\t};\n+\t\t\t};\n+\t\t};\n+\t};\n", "prefixes": [ "v2", "2/4", "media" ] }