zsphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget//translations/zh_CN/admin-guide/media/ipu6-isysmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget//translations/zh_TW/admin-guide/media/ipu6-isysmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget//translations/it_IT/admin-guide/media/ipu6-isysmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget//translations/ja_JP/admin-guide/media/ipu6-isysmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget//translations/ko_KR/admin-guide/media/ipu6-isysmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget//translations/sp_SP/admin-guide/media/ipu6-isysmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhI/var/lib/git/docbuild/linux/Documentation/admin-guide/media/ipu6-isys.rsthKubh)}(h4This data file has been placed in the public domain.h]h4This data file has been placed in the public domain.}hhsbah}(h]h ]h"]h$]h&]hhuh1hhhhhho/srv/docbuild/lib/venvs/build-kernel-docs/lib64/python3.9/site-packages/docutils/parsers/rst/include/isonum.txthKubh)}(hDerived from the Unicode character mappings available from . Processed by unicode2rstsubs.py, part of Docutils: .h]hDerived from the Unicode character mappings available from . Processed by unicode2rstsubs.py, part of Docutils: .}hhsbah}(h]h ]h"]h$]h&]hhuh1hhhhhhhhKubhsubstitution_definition)}(h*.. |amp| unicode:: U+00026 .. AMPERSANDh]h&}hhsbah}(h]h ]h"]ampah$]h&]uh1hhhhKhhhhubh)}(h+.. |apos| unicode:: U+00027 .. APOSTROPHEh]h'}hhsbah}(h]h ]h"]aposah$]h&]uh1hhhhKhhhhubh)}(h).. |ast| unicode:: U+0002A .. ASTERISKh]h*}hhsbah}(h]h ]h"]astah$]h&]uh1hhhhK hhhhubh)}(h+.. |brvbar| unicode:: U+000A6 .. BROKEN BARh]h¦}hjsbah}(h]h ]h"]brvbarah$]h&]uh1hhhhK hhhhubh)}(h0.. |bsol| unicode:: U+0005C .. REVERSE SOLIDUSh]h\}hjsbah}(h]h ]h"]bsolah$]h&]uh1hhhhK hhhhubh)}(h*.. |cent| unicode:: U+000A2 .. CENT SIGNh]h¢}hjsbah}(h]h ]h"]centah$]h&]uh1hhhhK hhhhubh)}(h&.. |colon| unicode:: U+0003A .. COLONh]h:}hj-sbah}(h]h ]h"]colonah$]h&]uh1hhhhK hhhhubh)}(h&.. |comma| unicode:: U+0002C .. COMMAh]h,}hj<sbah}(h]h ]h"]commaah$]h&]uh1hhhhKhhhhubh)}(h... |commat| unicode:: U+00040 .. COMMERCIAL ATh]h@}hjKsbah}(h]h ]h"]commatah$]h&]uh1hhhhKhhhhubh)}(h/.. |copy| unicode:: U+000A9 .. COPYRIGHT SIGNh]h©}hjZsbah}(h]h ]h"]copyah$]h&]uh1hhhhKhhhhubh)}(h... |curren| unicode:: U+000A4 .. CURRENCY SIGNh]h¤}hjisbah}(h]h ]h"]currenah$]h&]uh1hhhhKhhhhubh)}(h0.. |darr| unicode:: U+02193 .. DOWNWARDS ARROWh]h↓}hjxsbah}(h]h ]h"]darrah$]h&]uh1hhhhKhhhhubh)}(h,.. |deg| unicode:: U+000B0 .. DEGREE SIGNh]h°}hjsbah}(h]h ]h"]degah$]h&]uh1hhhhKhhhhubh)}(h... |divide| unicode:: U+000F7 .. DIVISION SIGNh]h÷}hjsbah}(h]h ]h"]divideah$]h&]uh1hhhhKhhhhubh)}(h,.. |dollar| unicode:: U+00024 .. DOLLAR SIGNh]h$}hjsbah}(h]h ]h"]dollarah$]h&]uh1hhhhKhhhhubh)}(h,.. |equals| unicode:: U+0003D .. EQUALS SIGNh]h=}hjsbah}(h]h ]h"]equalsah$]h&]uh1hhhhKhhhhubh)}(h1.. |excl| unicode:: U+00021 .. EXCLAMATION MARKh]h!}hjsbah}(h]h ]h"]exclah$]h&]uh1hhhhKhhhhubh)}(h9.. |frac12| unicode:: U+000BD .. VULGAR FRACTION ONE HALFh]h½}hjsbah}(h]h ]h"]frac12ah$]h&]uh1hhhhKhhhhubh)}(h<.. |frac14| unicode:: U+000BC .. VULGAR FRACTION ONE QUARTERh]h¼}hjsbah}(h]h ]h"]frac14ah$]h&]uh1hhhhKhhhhubh)}(h;.. |frac18| unicode:: U+0215B .. VULGAR FRACTION ONE EIGHTHh]h⅛}hjsbah}(h]h ]h"]frac18ah$]h&]uh1hhhhKhhhhubh)}(h?.. |frac34| unicode:: U+000BE .. VULGAR FRACTION THREE QUARTERSh]h¾}hjsbah}(h]h ]h"]frac34ah$]h&]uh1hhhhKhhhhubh)}(h>.. |frac38| unicode:: U+0215C .. VULGAR FRACTION THREE EIGHTHSh]h⅜}hjsbah}(h]h ]h"]frac38ah$]h&]uh1hhhhKhhhhubh)}(h=.. |frac58| unicode:: U+0215D .. VULGAR FRACTION FIVE EIGHTHSh]h⅝}hjsbah}(h]h ]h"]frac58ah$]h&]uh1hhhhKhhhhubh)}(h>.. |frac78| unicode:: U+0215E .. VULGAR FRACTION SEVEN EIGHTHSh]h⅞}hj,sbah}(h]h ]h"]frac78ah$]h&]uh1hhhhKhhhhubh)}(h2.. |gt| unicode:: U+0003E .. GREATER-THAN SIGNh]h>}hj;sbah}(h]h ]h"]gtah$]h&]uh1hhhhKhhhhubh)}(h9.. |half| unicode:: U+000BD .. VULGAR FRACTION ONE HALFh]h½}hjJsbah}(h]h ]h"]halfah$]h&]uh1hhhhK hhhhubh)}(h/.. |horbar| unicode:: U+02015 .. HORIZONTAL BARh]h―}hjYsbah}(h]h ]h"]horbarah$]h&]uh1hhhhK!hhhhubh)}(h'.. |hyphen| unicode:: U+02010 .. HYPHENh]h‐}hjhsbah}(h]h ]h"]hyphenah$]h&]uh1hhhhK"hhhhubh)}(h:.. |iexcl| unicode:: U+000A1 .. INVERTED EXCLAMATION MARKh]h¡}hjwsbah}(h]h ]h"]iexclah$]h&]uh1hhhhK#hhhhubh)}(h7.. |iquest| unicode:: U+000BF .. INVERTED QUESTION MARKh]h¿}hjsbah}(h]h ]h"]iquestah$]h&]uh1hhhhK$hhhhubh)}(hJ.. |laquo| unicode:: U+000AB .. LEFT-POINTING DOUBLE ANGLE QUOTATION MARKh]h«}hjsbah}(h]h ]h"]laquoah$]h&]uh1hhhhK%hhhhubh)}(h0.. |larr| unicode:: U+02190 .. LEFTWARDS ARROWh]h←}hjsbah}(h]h ]h"]larrah$]h&]uh1hhhhK&hhhhubh)}(h3.. |lcub| unicode:: U+0007B .. LEFT CURLY BRACKETh]h{}hjsbah}(h]h ]h"]lcubah$]h&]uh1hhhhK'hhhhubh)}(h;.. |ldquo| unicode:: U+0201C .. LEFT DOUBLE QUOTATION MARKh]h“}hjsbah}(h]h ]h"]ldquoah$]h&]uh1hhhhK(hhhhubh)}(h).. |lowbar| unicode:: U+0005F .. LOW LINEh]h_}hjsbah}(h]h ]h"]lowbarah$]h&]uh1hhhhK)hhhhubh)}(h1.. |lpar| unicode:: U+00028 .. LEFT PARENTHESISh]h(}hjsbah}(h]h ]h"]lparah$]h&]uh1hhhhK*hhhhubh)}(h4.. |lsqb| unicode:: U+0005B .. LEFT SQUARE BRACKETh]h[}hjsbah}(h]h ]h"]lsqbah$]h&]uh1hhhhK+hhhhubh)}(h;.. |lsquo| unicode:: U+02018 .. LEFT SINGLE QUOTATION MARKh]h‘}hjsbah}(h]h ]h"]lsquoah$]h&]uh1hhhhK,hhhhubh)}(h/.. |lt| unicode:: U+0003C .. LESS-THAN SIGNh]h<}hj sbah}(h]h ]h"]ltah$]h&]uh1hhhhK-hhhhubh)}(h+.. |micro| unicode:: U+000B5 .. MICRO SIGNh]hµ}hjsbah}(h]h ]h"]microah$]h&]uh1hhhhK.hhhhubh)}(h+.. |middot| unicode:: U+000B7 .. MIDDLE DOTh]h·}hj+sbah}(h]h ]h"]middotah$]h&]uh1hhhhK/hhhhubh)}(h/.. |nbsp| unicode:: U+000A0 .. NO-BREAK SPACEh]h }hj:sbah}(h]h ]h"]nbspah$]h&]uh1hhhhK0hhhhubh)}(h).. |not| unicode:: U+000AC .. NOT SIGNh]h¬}hjIsbah}(h]h ]h"]notah$]h&]uh1hhhhK1hhhhubh)}(h,.. |num| unicode:: U+00023 .. NUMBER SIGNh]h#}hjXsbah}(h]h ]h"]numah$]h&]uh1hhhhK2hhhhubh)}(h).. |ohm| unicode:: U+02126 .. OHM SIGNh]hΩ}hjgsbah}(h]h ]h"]ohmah$]h&]uh1hhhhK3hhhhubh)}(h;.. |ordf| unicode:: U+000AA .. FEMININE ORDINAL INDICATORh]hª}hjvsbah}(h]h ]h"]ordfah$]h&]uh1hhhhK4hhhhubh)}(h<.. |ordm| unicode:: U+000BA .. MASCULINE ORDINAL INDICATORh]hº}hjsbah}(h]h ]h"]ordmah$]h&]uh1hhhhK5hhhhubh)}(h-.. |para| unicode:: U+000B6 .. PILCROW SIGNh]h¶}hjsbah}(h]h ]h"]paraah$]h&]uh1hhhhK6hhhhubh)}(h-.. |percnt| unicode:: U+00025 .. PERCENT SIGNh]h%}hjsbah}(h]h ]h"]percntah$]h&]uh1hhhhK7hhhhubh)}(h*.. |period| unicode:: U+0002E .. FULL STOPh]h.}hjsbah}(h]h ]h"]periodah$]h&]uh1hhhhK8hhhhubh)}(h*.. |plus| unicode:: U+0002B .. PLUS SIGNh]h+}hjsbah}(h]h ]h"]plusah$]h&]uh1hhhhK9hhhhubh)}(h0.. |plusmn| unicode:: U+000B1 .. PLUS-MINUS SIGNh]h±}hjsbah}(h]h ]h"]plusmnah$]h&]uh1hhhhK:hhhhubh)}(h+.. |pound| unicode:: U+000A3 .. POUND SIGNh]h£}hjsbah}(h]h ]h"]poundah$]h&]uh1hhhhK;hhhhubh)}(h... |quest| unicode:: U+0003F .. QUESTION MARKh]h?}hjsbah}(h]h ]h"]questah$]h&]uh1hhhhKhhhhubh)}(h1.. |rarr| unicode:: U+02192 .. RIGHTWARDS ARROWh]h→}hjsbah}(h]h ]h"]rarrah$]h&]uh1hhhhK?hhhhubh)}(h4.. |rcub| unicode:: U+0007D .. RIGHT CURLY BRACKETh]h}}hj*sbah}(h]h ]h"]rcubah$]h&]uh1hhhhK@hhhhubh)}(h<.. |rdquo| unicode:: U+0201D .. RIGHT DOUBLE QUOTATION MARKh]h”}hj9sbah}(h]h ]h"]rdquoah$]h&]uh1hhhhKAhhhhubh)}(h0.. |reg| unicode:: U+000AE .. REGISTERED SIGNh]h®}hjHsbah}(h]h ]h"]regah$]h&]uh1hhhhKBhhhhubh)}(h2.. |rpar| unicode:: U+00029 .. RIGHT PARENTHESISh]h)}hjWsbah}(h]h ]h"]rparah$]h&]uh1hhhhKChhhhubh)}(h5.. |rsqb| unicode:: U+0005D .. RIGHT SQUARE BRACKETh]h]}hjfsbah}(h]h ]h"]rsqbah$]h&]uh1hhhhKDhhhhubh)}(h<.. |rsquo| unicode:: U+02019 .. RIGHT SINGLE QUOTATION MARKh]h’}hjusbah}(h]h ]h"]rsquoah$]h&]uh1hhhhKEhhhhubh)}(h-.. |sect| unicode:: U+000A7 .. SECTION SIGNh]h§}hjsbah}(h]h ]h"]sectah$]h&]uh1hhhhKFhhhhubh)}(h*.. |semi| unicode:: U+0003B .. SEMICOLONh]h;}hjsbah}(h]h ]h"]semiah$]h&]uh1hhhhKGhhhhubh)}(h,.. |shy| unicode:: U+000AD .. SOFT HYPHENh]h­}hjsbah}(h]h ]h"]shyah$]h&]uh1hhhhKHhhhhubh)}(h(.. |sol| unicode:: U+0002F .. SOLIDUSh]h/}hjsbah}(h]h ]h"]solah$]h&]uh1hhhhKIhhhhubh)}(h,.. |sung| unicode:: U+0266A .. EIGHTH NOTEh]h♪}hjsbah}(h]h ]h"]sungah$]h&]uh1hhhhKJhhhhubh)}(h0.. |sup1| unicode:: U+000B9 .. SUPERSCRIPT ONEh]h¹}hjsbah}(h]h ]h"]sup1ah$]h&]uh1hhhhKKhhhhubh)}(h0.. |sup2| unicode:: U+000B2 .. SUPERSCRIPT TWOh]h²}hjsbah}(h]h ]h"]sup2ah$]h&]uh1hhhhKLhhhhubh)}(h2.. |sup3| unicode:: U+000B3 .. SUPERSCRIPT THREEh]h³}hjsbah}(h]h ]h"]sup3ah$]h&]uh1hhhhKMhhhhubh)}(h4.. |times| unicode:: U+000D7 .. MULTIPLICATION SIGNh]h×}hjsbah}(h]h ]h"]timesah$]h&]uh1hhhhKNhhhhubh)}(h0.. |trade| unicode:: U+02122 .. TRADE MARK SIGNh]h™}hj sbah}(h]h ]h"]tradeah$]h&]uh1hhhhKOhhhhubh)}(h... |uarr| unicode:: U+02191 .. UPWARDS ARROWh]h↑}hjsbah}(h]h ]h"]uarrah$]h&]uh1hhhhKPhhhhubh)}(h... |verbar| unicode:: U+0007C .. VERTICAL LINEh]h|}hj)sbah}(h]h ]h"]verbarah$]h&]uh1hhhhKQhhhhubh)}(h*.. |yen| unicode:: U+000A5 .. YEN SIGN h]h¥}hj8sbah}(h]h ]h"]yenah$]h&]uh1hhhhKRhhhhubhsection)}(hhh](htitle)}(h8Intel Image Processing Unit 6 (IPU6) Input System driverh]h8Intel Image Processing Unit 6 (IPU6) Input System driver}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjIhhhhhKubh paragraph)}(h-Copyright |copy| 2023--2024 Intel Corporationh](h Copyright }(hj^hhhNhNubh©}(hj^hhhNhNubh 2023--2024 Intel Corporation}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhK hjIhhubjH)}(hhh](jM)}(h Introductionh]h Introduction}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjthhhhhK ubj])}(hThis file documents the Intel IPU6 (6th generation Image Processing Unit) Input System (MIPI CSI2 receiver) drivers located under drivers/media/pci/intel/ipu6.h]hThis file documents the Intel IPU6 (6th generation Image Processing Unit) Input System (MIPI CSI2 receiver) drivers located under drivers/media/pci/intel/ipu6.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjthhubj])}(hFThe Intel IPU6 can be found in certain Intel SoCs but not in all SKUs:h]hFThe Intel IPU6 can be found in certain Intel SoCs but not in all SKUs:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjthhubh bullet_list)}(hhh](h list_item)}(h Tiger Lakeh]j])}(hjh]h Tiger Lake}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h Jasper Lakeh]j])}(hjh]h Jasper Lake}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h Alder Lakeh]j])}(hjh]h Alder Lake}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h Raptor Lakeh]j])}(hjh]h Raptor Lake}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h Meteor Lake h]j])}(h Meteor Lakeh]h Meteor Lake}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]bullet*uh1jhhhKhjthhubj])}(h[Intel IPU6 is made up of two components - Input System (ISYS) and Processing System (PSYS).h]h[Intel IPU6 is made up of two components - Input System (ISYS) and Processing System (PSYS).}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjthhubj])}(hThe Input System mainly works as MIPI CSI-2 receiver which receives and processes the image data from the sensors and outputs the frames to memory.h]hThe Input System mainly works as MIPI CSI-2 receiver which receives and processes the image data from the sensors and outputs the frames to memory.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjthhubj])}(hXThere are 2 driver modules - intel-ipu6 and intel-ipu6-isys. intel-ipu6 is an IPU6 common driver which does PCI configuration, firmware loading and parsing, firmware authentication, DMA mapping and IPU-MMU (internal Memory mapping Unit) configuration. intel_ipu6_isys implements V4L2, Media Controller and V4L2 sub-device interfaces. The IPU6 ISYS driver supports camera sensors connected to the IPU6 ISYS through V4L2 sub-device sensor drivers.h]hXThere are 2 driver modules - intel-ipu6 and intel-ipu6-isys. intel-ipu6 is an IPU6 common driver which does PCI configuration, firmware loading and parsing, firmware authentication, DMA mapping and IPU-MMU (internal Memory mapping Unit) configuration. intel_ipu6_isys implements V4L2, Media Controller and V4L2 sub-device interfaces. The IPU6 ISYS driver supports camera sensors connected to the IPU6 ISYS through V4L2 sub-device sensor drivers.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK hjthhubhnote)}(haSee Documentation/driver-api/media/drivers/ipu6.rst for more information about the IPU6 hardware.h]j])}(haSee Documentation/driver-api/media/drivers/ipu6.rst for more information about the IPU6 hardware.h]haSee Documentation/driver-api/media/drivers/ipu6.rst for more information about the IPU6 hardware.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK'hjPubah}(h]h ]h"]h$]h&]uh1jNhjthhhhhNubeh}(h] introductionah ]h"] introductionah$]h&]uh1jGhjIhhhhhK ubjH)}(hhh](jM)}(hInput system driverh]hInput system driver}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjphhhhhK+ubj])}(hXThe Input System driver mainly configures CSI-2 D-PHY, constructs the firmware stream configuration, sends commands to firmware, gets response from hardware and firmware and then returns buffers to user. The ISYS is represented as several V4L2 sub-devices as well as video nodes.h]hXThe Input System driver mainly configures CSI-2 D-PHY, constructs the firmware stream configuration, sends commands to firmware, gets response from hardware and firmware and then returns buffers to user. The ISYS is represented as several V4L2 sub-devices as well as video nodes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK-hjphhubkfigure kernel_figure)}(hhh]hfigure)}(hhh](himage)}(h.. kernel-figure:: ipu6_isys_graph.svg :alt: ipu6 isys media graph with multiple streams support IPU6 ISYS media graph with multiple streams support h]h}(h]h ]h"]h$]h&]alt3ipu6 isys media graph with multiple streams supporturi%admin-guide/media/ipu6_isys_graph.svg candidates}j#jsuh1jhjhhhKubhcaption)}(h3IPU6 ISYS media graph with multiple streams supporth]h3IPU6 ISYS media graph with multiple streams support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK5hjubeh}(h]id3ah ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjphhhhhNubj])}(h8The graph has been produced using the following command:h]h8The graph has been produced using the following command:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK7hjphhubh literal_block)}(h(fdp -Gsplines=true -Tsvg < dot > dot.svgh]h(fdp -Gsplines=true -Tsvg < dot > dot.svg}hjsbah}(h]h ]h"]h$]h&]hhforcelanguagenonehighlight_args}uh1jhhhK9hjphhubjH)}(hhh](jM)}(hCapturing frames with IPU6 ISYSh]hCapturing frames with IPU6 ISYS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjhhhhhK>ubj])}(hIPU6 ISYS is used to capture frames from the camera sensors connected to the CSI2 ports. The supported input formats of ISYS are listed in table below:h]hIPU6 ISYS is used to capture frames from the camera sensors connected to the CSI2 ports. The supported input formats of ISYS are listed in table below:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK@hjhhubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{0.8cm}|p{4.0cm}|p{4.0cm}|uh1j hhhKChjhhubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKduh1j"hjubhthead)}(hhh]hrow)}(hhh]hentry)}(hhh]j])}(h!IPU6 ISYS supported input formatsh]h!IPU6 ISYS supported input formats}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKHhj:ubah}(h]h ]h"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&]uh1j3hj0ubah}(h]h ]h"]h$]h&]uh1j.hjubhtbody)}(hhh](j4)}(hhh]j9)}(hhh]j])}(hRGB565, RGB888h]hRGB565, RGB888}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKJhjeubah}(h]h ]h"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&]uh1j3hj_ubj4)}(hhh]j9)}(hhh]j])}(h UYVY8, YUYV8h]h UYVY8, YUYV8}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKLhjubah}(h]h ]h"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&]uh1j3hj_ubj4)}(hhh]j9)}(hhh]j])}(hRAW8, RAW10, RAW12h]hRAW8, RAW10, RAW12}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKNhjubah}(h]h ]h"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&]uh1j3hj_ubeh}(h]h ]h"]h$]h&]uh1j]hjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjhhhNhNubhtarget)}(h.. _ipu6_isys_capture_examples:h]h}(h]h ]h"]h$]h&]refidipu6-isys-capture-examplesuh1jhKhjhhhhubjH)}(hhh](jM)}(hExamplesh]hExamples}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjhhhhhKSubj])}(hHere is an example of IPU6 ISYS raw capture on Dell XPS 9315 laptop. On this machine, ov01a10 sensor is connected to IPU ISYS CSI-2 port 2, which can generate images at sBGGR10 with resolution 1280x800.h]hHere is an example of IPU6 ISYS raw capture on Dell XPS 9315 laptop. On this machine, ov01a10 sensor is connected to IPU ISYS CSI-2 port 2, which can generate images at sBGGR10 with resolution 1280x800.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKUhjhhubj])}(hUsing the media controller APIs, we can configure ov01a10 sensor by media-ctl [#f1]_ and yavta [#f2]_ to transmit frames to IPU6 ISYS.h](hNUsing the media controller APIs, we can configure ov01a10 sensor by media-ctl }(hjhhhNhNubhfootnote_reference)}(h[#f1]_h]h1}(hj hhhNhNubah}(h]id1ah ]h"]h$]h&]autoKjf1docnameadmin-guide/media/ipu6-isysuh1j hjresolvedKubh and yavta }(hjhhhNhNubj )}(h[#f2]_h]h2}(hj$hhhNhNubah}(h]id2ah ]h"]h$]h&]jKjf2jjuh1j hjjKubh! to transmit frames to IPU6 ISYS.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKYhjhhubj)}(hX# Example 1 capture frame from ov01a10 camera sensor # This example assumes /dev/media0 as the IPU ISYS media device export MDEV=/dev/media0 # Establish the link for the media devices using media-ctl media-ctl -d $MDEV -l "\"ov01a10 3-0036\":0 -> \"Intel IPU6 CSI2 2\":0[1]" # Set the format for the media devices media-ctl -d $MDEV -V "ov01a10:0 [fmt:SBGGR10/1280x800]" media-ctl -d $MDEV -V "Intel IPU6 CSI2 2:0 [fmt:SBGGR10/1280x800]" media-ctl -d $MDEV -V "Intel IPU6 CSI2 2:1 [fmt:SBGGR10/1280x800]"h]hX# Example 1 capture frame from ov01a10 camera sensor # This example assumes /dev/media0 as the IPU ISYS media device export MDEV=/dev/media0 # Establish the link for the media devices using media-ctl media-ctl -d $MDEV -l "\"ov01a10 3-0036\":0 -> \"Intel IPU6 CSI2 2\":0[1]" # Set the format for the media devices media-ctl -d $MDEV -V "ov01a10:0 [fmt:SBGGR10/1280x800]" media-ctl -d $MDEV -V "Intel IPU6 CSI2 2:0 [fmt:SBGGR10/1280x800]" media-ctl -d $MDEV -V "Intel IPU6 CSI2 2:1 [fmt:SBGGR10/1280x800]"}hj>sbah}(h]h ]h"]h$]h&]hhjjnonej}uh1jhhhK\hjhhubj])}(hOnce the media pipeline is configured, desired sensor specific settings (such as exposure and gain settings) can be set, using the yavta tool.h]hOnce the media pipeline is configured, desired sensor specific settings (such as exposure and gain settings) can be set, using the yavta tool.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKjhjhhubj])}(he.gh]he.g}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKmhjhhubj)}(h# and that ov01a10 sensor is connected to i2c bus 3 with address 0x36 export SDEV=$(media-ctl -d $MDEV -e "ov01a10 3-0036") yavta -w 0x009e0903 400 $SDEV yavta -w 0x009e0913 1000 $SDEV yavta -w 0x009e0911 2000 $SDEVh]h# and that ov01a10 sensor is connected to i2c bus 3 with address 0x36 export SDEV=$(media-ctl -d $MDEV -e "ov01a10 3-0036") yavta -w 0x009e0903 400 $SDEV yavta -w 0x009e0913 1000 $SDEV yavta -w 0x009e0911 2000 $SDEV}hjjsbah}(h]h ]h"]h$]h&]hhjjnonej}uh1jhhhKohjhhubj])}(hNOnce the desired sensor settings are set, frame captures can be done as below.h]hNOnce the desired sensor settings are set, frame captures can be done as below.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKxhjhhubj])}(he.gh]he.g}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKzhjhhubj)}(hyavta --data-prefix -u -c10 -n5 -I -s 1280x800 --file=/tmp/frame-#.bin \ -f SBGGR10 $(media-ctl -d $MDEV -e "Intel IPU6 ISYS Capture 0")h]hyavta --data-prefix -u -c10 -n5 -I -s 1280x800 --file=/tmp/frame-#.bin \ -f SBGGR10 $(media-ctl -d $MDEV -e "Intel IPU6 ISYS Capture 0")}hjsbah}(h]h ]h"]h$]h&]hhjjnonej}uh1jhhhK|hjhhubj])}(hWith the above command, 10 frames are captured at 1280x800 resolution with sBGGR10 format. The captured frames are available as /tmp/frame-#.bin files.h]hWith the above command, 10 frames are captured at 1280x800 resolution with sBGGR10 format. The captured frames are available as /tmp/frame-#.bin files.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjhhubj])}(hqHere is another example of IPU6 ISYS RAW and metadata capture from camera sensor ov2740 on Lenovo X1 Yoga laptop.h]hqHere is another example of IPU6 ISYS RAW and metadata capture from camera sensor ov2740 on Lenovo X1 Yoga laptop.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjhhubj)}(hXvmedia-ctl -l "\"ov2740 14-0036\":0 -> \"Intel IPU6 CSI2 1\":0[1]" media-ctl -l "\"Intel IPU6 CSI2 1\":1 -> \"Intel IPU6 ISYS Capture 0\":0[1]" media-ctl -l "\"Intel IPU6 CSI2 1\":2 -> \"Intel IPU6 ISYS Capture 1\":0[1]" # set routing media-ctl -R "\"Intel IPU6 CSI2 1\" [0/0->1/0[1],0/1->2/1[1]]" media-ctl -V "\"Intel IPU6 CSI2 1\":0/0 [fmt:SGRBG10/1932x1092]" media-ctl -V "\"Intel IPU6 CSI2 1\":0/1 [fmt:GENERIC_8/97x1]" media-ctl -V "\"Intel IPU6 CSI2 1\":1/0 [fmt:SGRBG10/1932x1092]" media-ctl -V "\"Intel IPU6 CSI2 1\":2/1 [fmt:GENERIC_8/97x1]" CAPTURE_DEV=$(media-ctl -e "Intel IPU6 ISYS Capture 0") ./yavta --data-prefix -c100 -n5 -I -s1932x1092 --file=/tmp/frame-#.bin \ -f SGRBG10 ${CAPTURE_DEV} CAPTURE_META=$(media-ctl -e "Intel IPU6 ISYS Capture 1") ./yavta --data-prefix -c100 -n5 -I -s97x1 -B meta-capture \ --file=/tmp/meta-#.bin -f GENERIC_8 ${CAPTURE_META}h]hXvmedia-ctl -l "\"ov2740 14-0036\":0 -> \"Intel IPU6 CSI2 1\":0[1]" media-ctl -l "\"Intel IPU6 CSI2 1\":1 -> \"Intel IPU6 ISYS Capture 0\":0[1]" media-ctl -l "\"Intel IPU6 CSI2 1\":2 -> \"Intel IPU6 ISYS Capture 1\":0[1]" # set routing media-ctl -R "\"Intel IPU6 CSI2 1\" [0/0->1/0[1],0/1->2/1[1]]" media-ctl -V "\"Intel IPU6 CSI2 1\":0/0 [fmt:SGRBG10/1932x1092]" media-ctl -V "\"Intel IPU6 CSI2 1\":0/1 [fmt:GENERIC_8/97x1]" media-ctl -V "\"Intel IPU6 CSI2 1\":1/0 [fmt:SGRBG10/1932x1092]" media-ctl -V "\"Intel IPU6 CSI2 1\":2/1 [fmt:GENERIC_8/97x1]" CAPTURE_DEV=$(media-ctl -e "Intel IPU6 ISYS Capture 0") ./yavta --data-prefix -c100 -n5 -I -s1932x1092 --file=/tmp/frame-#.bin \ -f SGRBG10 ${CAPTURE_DEV} CAPTURE_META=$(media-ctl -e "Intel IPU6 ISYS Capture 1") ./yavta --data-prefix -c100 -n5 -I -s97x1 -B meta-capture \ --file=/tmp/meta-#.bin -f GENERIC_8 ${CAPTURE_META}}hjsbah}(h]h ]h"]h$]h&]hhjjnonej}uh1jhhhKhjhhubeh}(h](examplesjeh ]h"](examplesipu6_isys_capture_exampleseh$]h&]uh1jGhjhhhhhKSexpect_referenced_by_name}jjsexpect_referenced_by_id}jjsubeh}(h]capturing-frames-with-ipu6-isysah ]h"]capturing frames with ipu6 isysah$]h&]uh1jGhjphhhhhK>ubeh}(h]input-system-driverah ]h"]input system driverah$]h&]uh1jGhjIhhhhhK+ubjH)}(hhh](jM)}(h Referencesh]h References}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjhhhhhKubhfootnote)}(h*https://git.ideasonboard.org/media-ctl.gith](hlabel)}(hhh]h1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj hhhNhNubj])}(hj h]h reference)}(hj h]h*https://git.ideasonboard.org/media-ctl.git}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurij uh1j hj ubah}(h]h ]h"]h$]h&]uh1j\hhhKhj ubeh}(h]jah ]h"]f1ah$]h&]jajKjjuh1j hhhKhjhhubj )}(h&https://git.ideasonboard.org/yavta.gith](j )}(hhh]h2}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj5 hhhNhNubj])}(hj7 h]j )}(hj7 h]h&https://git.ideasonboard.org/yavta.git}(hjI hhhNhNubah}(h]h ]h"]h$]h&]refurij7 uh1j hjF ubah}(h]h ]h"]h$]h&]uh1j\hhhKhj5 ubeh}(h]j3ah ]h"]f2ah$]h&]j.ajKjjuh1j hhhKhjhhubeh}(h] referencesah ]h"] referencesah$]h&]uh1jGhjIhhhhhKubeh}(h]6intel-image-processing-unit-6-ipu6-input-system-driverah ]h"]8intel image processing unit 6 (ipu6) input system driverah$]h&]uh1jGhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(jLN generatorN datestampN source_linkN source_urlN toc_backlinksj8footnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}(hhhhhhj jjjj*jj9j-jHj<jWjKjfjZjujijjxjjjjjjjjjjjjjjjjj jjjj)jj8j,jGj;jVjJjejYjtjhjjwjjjjjjjjjjjjjjjjj jjj j(jj7j+jFj:jUjIjdjXjsjgjjvjjjjjjjjjjjjjjjjj jjj j'jj6j*jEj9jTjHjcjWjrjfjjujjjjjjjjjjjjjjjjjjjj j&jj5j)jDj8usubstitution_names}(amphߌaposhasthbrvbarj bsoljcentj*colonj9commajHcommatjWcopyjfcurrenjudarrjdegjdividejdollarjequalsjexcljfrac12jfrac14jfrac18jfrac34j frac38jfrac58j)frac78j8gtjGhalfjVhorbarjehyphenjtiexcljiquestjlaquojlarrjlcubjldquojlowbarjlparjlsqbjlsquoj ltjmicroj(middotj7nbspjFnotjUnumjdohmjsordfjordmjparajpercntjperiodjplusjplusmnjpoundjquestjquotj raquojrarrj'rcubj6rdquojEregjTrparjcrsqbjrrsquojsectjsemijshyjsoljsungjsup1jsup2jsup3jtimesjtradejuarrj&verbarj5yenjDurefnames}(f1]j af2]j$aurefids}(j]jaj]j aj3]j$aunameids}(jq jn jmjjjjjjjjjjji jf j2 jja j3u nametypes}(jq jmjjjjji j2 ja uh}(jn jIjjjtjjpjjjjjjjj j.j$jf jjj j3j5 jju footnote_refs}(j" ]j aj$ ]j$au citation_refs} autofootnotes](j j5 eautofootnote_refs](j j$esymbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j KsRparse_messages]transform_messages]hsystem_message)}(hhh]j])}(hhh]h@Hyperlink target "ipu6-isys-capture-examples" is not referenced.}hjT sbah}(h]h ]h"]h$]h&]uh1j\hjQ ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1jO uba transformerN include_log]-Documentation/admin-guide/media/ipu6-isys.rst(NNNNta decorationNhhub.