{"id":806187,"url":"http://patchwork.ozlabs.org/api/1.2/patches/806187/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/E1dll8A-00044k-Gh@www.linuxtv.org/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/1.2/projects/37/?format=json","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":"<E1dll8A-00044k-Gh@www.linuxtv.org>","list_archive_url":null,"date":"2017-08-26T18:47:48","name":"[git:media_tree/master] media: dt-bindings: media: Binding document for Qualcomm Camera subsystem driver","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":true,"hash":"9c7723513c1742864010eef73506df09f6769d51","submitter":{"id":69764,"url":"http://patchwork.ozlabs.org/api/1.2/people/69764/?format=json","name":"Mauro Carvalho Chehab","email":"mchehab@s-opensource.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/E1dll8A-00044k-Gh@www.linuxtv.org/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/806187/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806187/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>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xfwgR62sMz9s9Y\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tSun, 27 Aug 2017 10:26:27 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751128AbdH0A0V (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tSat, 26 Aug 2017 20:26:21 -0400","from www.linuxtv.org ([130.149.80.248]:55147 \"EHLO www.linuxtv.org\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751121AbdH0A0U (ORCPT <rfc822;devicetree@vger.kernel.org>);\n\tSat, 26 Aug 2017 20:26:20 -0400","from mchehab by www.linuxtv.org with local (Exim 4.84_2)\n\t(envelope-from <mchehab@linuxtv.org>)\n\tid 1dll8A-00044k-Gh; Sun, 27 Aug 2017 00:08:46 +0000"],"X-Greylist":"delayed 1050 seconds by postgrey-1.27 at vger.kernel.org;\n\tSat, 26 Aug 2017 20:26:20 EDT","From":"Mauro Carvalho Chehab <mchehab@s-opensource.com>","Date":"Sat, 26 Aug 2017 18:47:48 +0000","Subject":"[git:media_tree/master] media: dt-bindings: media: Binding document\n\tfor Qualcomm Camera subsystem driver","To":"linuxtv-commits@linuxtv.org","Cc":"Hans Verkuil <hans.verkuil@cisco.com>, Rob Herring <robh+dt@kernel.org>, \n\tRob Herring <robh@kernel.org>, Todor Tomov <todor.tomov@linaro.org>,\n\tdevicetree@vger.kernel.org","Mail-followup-to":"linux-media@vger.kernel.org","Forward-to":"linux-media@vger.kernel.org","Reply-to":"linux-media@vger.kernel.org","Message-Id":"<E1dll8A-00044k-Gh@www.linuxtv.org>","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"This is an automatic generated email to let you know that the following patch were queued:\n\nSubject: media: dt-bindings: media: Binding document for Qualcomm Camera subsystem driver\nAuthor:  Todor Tomov <todor.tomov@linaro.org>\nDate:    Tue Aug 8 09:29:59 2017 -0400\n\nAdd DT binding document for Qualcomm Camera subsystem driver.\n\nCC: Rob Herring <robh+dt@kernel.org>\nCC: devicetree@vger.kernel.org\nSigned-off-by: Todor Tomov <todor.tomov@linaro.org>\nAcked-by: Rob Herring <robh@kernel.org>\nSigned-off-by: Hans Verkuil <hans.verkuil@cisco.com>\nSigned-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>\n\n .../devicetree/bindings/media/qcom,camss.txt       | 197 +++++++++++++++++++++\n 1 file changed, 197 insertions(+)\n\n---\n\n--\nTo unsubscribe from this list: send the line \"unsubscribe devicetree\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html","diff":"diff --git a/Documentation/devicetree/bindings/media/qcom,camss.txt b/Documentation/devicetree/bindings/media/qcom,camss.txt\nnew file mode 100644\nindex 000000000000..cadecebc73f7\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/media/qcom,camss.txt\n@@ -0,0 +1,197 @@\n+Qualcomm Camera Subsystem\n+\n+* Properties\n+\n+- compatible:\n+\tUsage: required\n+\tValue type: <stringlist>\n+\tDefinition: Should contain:\n+\t\t- \"qcom,msm8916-camss\"\n+- reg:\n+\tUsage: required\n+\tValue type: <prop-encoded-array>\n+\tDefinition: Register ranges as listed in the reg-names property.\n+- reg-names:\n+\tUsage: required\n+\tValue type: <stringlist>\n+\tDefinition: Should contain the following entries:\n+\t\t- \"csiphy0\"\n+\t\t- \"csiphy0_clk_mux\"\n+\t\t- \"csiphy1\"\n+\t\t- \"csiphy1_clk_mux\"\n+\t\t- \"csid0\"\n+\t\t- \"csid1\"\n+\t\t- \"ispif\"\n+\t\t- \"csi_clk_mux\"\n+\t\t- \"vfe0\"\n+- interrupts:\n+\tUsage: required\n+\tValue type: <prop-encoded-array>\n+\tDefinition: Interrupts as listed in the interrupt-names property.\n+- interrupt-names:\n+\tUsage: required\n+\tValue type: <stringlist>\n+\tDefinition: Should contain the following entries:\n+\t\t- \"csiphy0\"\n+\t\t- \"csiphy1\"\n+\t\t- \"csid0\"\n+\t\t- \"csid1\"\n+\t\t- \"ispif\"\n+\t\t- \"vfe0\"\n+- power-domains:\n+\tUsage: required\n+\tValue type: <prop-encoded-array>\n+\tDefinition: A phandle and power domain specifier pairs to the\n+\t\t    power domain which is responsible for collapsing\n+\t\t    and restoring power to the peripheral.\n+- clocks:\n+\tUsage: required\n+\tValue type: <prop-encoded-array>\n+\tDefinition: A list of phandle and clock specifier pairs as listed\n+\t\t    in clock-names property.\n+- clock-names:\n+\tUsage: required\n+\tValue type: <stringlist>\n+\tDefinition: Should contain the following entries:\n+                - \"camss_top_ahb\"\n+                - \"ispif_ahb\"\n+                - \"csiphy0_timer\"\n+                - \"csiphy1_timer\"\n+                - \"csi0_ahb\"\n+                - \"csi0\"\n+                - \"csi0_phy\"\n+                - \"csi0_pix\"\n+                - \"csi0_rdi\"\n+                - \"csi1_ahb\"\n+                - \"csi1\"\n+                - \"csi1_phy\"\n+                - \"csi1_pix\"\n+                - \"csi1_rdi\"\n+                - \"camss_ahb\"\n+                - \"camss_vfe_vfe\"\n+                - \"camss_csi_vfe\"\n+                - \"iface\"\n+                - \"bus\"\n+- vdda-supply:\n+\tUsage: required\n+\tValue type: <phandle>\n+\tDefinition: A phandle to voltage supply for CSI2.\n+- iommus:\n+\tUsage: required\n+\tValue type: <prop-encoded-array>\n+\tDefinition: A list of phandle and IOMMU specifier pairs.\n+\n+* Nodes\n+\n+- ports:\n+\tUsage: required\n+\tDefinition: As described in video-interfaces.txt in same directory.\n+\tProperties:\n+\t\t- reg:\n+\t\t\tUsage: required\n+\t\t\tValue type: <u32>\n+\t\t\tDefinition: Selects CSI2 PHY interface - PHY0 or PHY1.\n+\tEndpoint node properties:\n+\t\t- clock-lanes:\n+\t\t\tUsage: required\n+\t\t\tValue type: <u32>\n+                        Definition: The physical clock lane index. The value\n+                                    must always be <1> as the physical clock\n+                                    lane is lane 1.\n+\t\t- data-lanes:\n+\t\t\tUsage: required\n+\t\t\tValue type: <prop-encoded-array>\n+                        Definition: An array of physical data lanes indexes.\n+                                    Position of an entry determines the logical\n+                                    lane number, while the value of an entry\n+                                    indicates physical lane index. Lane swapping\n+                                    is supported.\n+\n+* An Example\n+\n+\tcamss: camss@1b00000 {\n+\t\tcompatible = \"qcom,msm8916-camss\";\n+\t\treg = <0x1b0ac00 0x200>,\n+\t\t\t<0x1b00030 0x4>,\n+\t\t\t<0x1b0b000 0x200>,\n+\t\t\t<0x1b00038 0x4>,\n+\t\t\t<0x1b08000 0x100>,\n+\t\t\t<0x1b08400 0x100>,\n+\t\t\t<0x1b0a000 0x500>,\n+\t\t\t<0x1b00020 0x10>,\n+\t\t\t<0x1b10000 0x1000>;\n+\t\treg-names = \"csiphy0\",\n+\t\t\t\"csiphy0_clk_mux\",\n+\t\t\t\"csiphy1\",\n+\t\t\t\"csiphy1_clk_mux\",\n+\t\t\t\"csid0\",\n+\t\t\t\"csid1\",\n+\t\t\t\"ispif\",\n+\t\t\t\"csi_clk_mux\",\n+\t\t\t\"vfe0\";\n+\t\tinterrupts = <GIC_SPI 78 0>,\n+\t\t\t<GIC_SPI 79 0>,\n+\t\t\t<GIC_SPI 51 0>,\n+\t\t\t<GIC_SPI 52 0>,\n+\t\t\t<GIC_SPI 55 0>,\n+\t\t\t<GIC_SPI 57 0>;\n+\t\tinterrupt-names = \"csiphy0\",\n+\t\t\t\"csiphy1\",\n+\t\t\t\"csid0\",\n+\t\t\t\"csid1\",\n+\t\t\t\"ispif\",\n+\t\t\t\"vfe0\";\n+\t\tpower-domains = <&gcc VFE_GDSC>;\n+\t\tclocks = <&gcc GCC_CAMSS_TOP_AHB_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_ISPIF_AHB_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI0PHYTIMER_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI1PHYTIMER_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI0_AHB_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI0_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI0PHY_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI0PIX_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI0RDI_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI1_AHB_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI1_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI1PHY_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI1PIX_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI1RDI_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_AHB_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_VFE0_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_CSI_VFE0_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_VFE_AHB_CLK>,\n+\t\t\t<&gcc GCC_CAMSS_VFE_AXI_CLK>;\n+                clock-names = \"camss_top_ahb\",\n+                        \"ispif_ahb\",\n+                        \"csiphy0_timer\",\n+                        \"csiphy1_timer\",\n+                        \"csi0_ahb\",\n+                        \"csi0\",\n+                        \"csi0_phy\",\n+                        \"csi0_pix\",\n+                        \"csi0_rdi\",\n+                        \"csi1_ahb\",\n+                        \"csi1\",\n+                        \"csi1_phy\",\n+                        \"csi1_pix\",\n+                        \"csi1_rdi\",\n+                        \"camss_ahb\",\n+                        \"camss_vfe_vfe\",\n+                        \"camss_csi_vfe\",\n+                        \"iface\",\n+                        \"bus\";\n+\t\tvdda-supply = <&pm8916_l2>;\n+\t\tiommus = <&apps_iommu 3>;\n+\t\tports {\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <0>;\n+\t\t\tport@0 {\n+\t\t\t\treg = <0>;\n+\t\t\t\tcsiphy0_ep: endpoint {\n+\t\t\t\t\tclock-lanes = <1>;\n+\t\t\t\t\tdata-lanes = <0 2>;\n+\t\t\t\t\tremote-endpoint = <&ov5645_ep>;\n+\t\t\t\t};\n+\t\t\t};\n+\t\t};\n+\t};\n","prefixes":["git:media_tree/master"]}