€•Ê@Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ5/translations/zh_CN/firmware-guide/acpi/intel-pmc-mux”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/zh_TW/firmware-guide/acpi/intel-pmc-mux”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/it_IT/firmware-guide/acpi/intel-pmc-mux”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/ja_JP/firmware-guide/acpi/intel-pmc-mux”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/ko_KR/firmware-guide/acpi/intel-pmc-mux”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/pt_BR/firmware-guide/acpi/intel-pmc-mux”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/sp_SP/firmware-guide/acpi/intel-pmc-mux”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒO/var/lib/git/docbuild/linux/Documentation/firmware-guide/acpi/intel-pmc-mux.rst”h´KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒIntel North Mux-Agent”h]”hŒIntel North Mux-Agent”…””}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒ Introduction”h]”hŒ Introduction”…””}”(hhàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÝh²hh³hÇh´KubhŒ paragraph”“”)”}”(hXzNorth Mux-Agent is a function of the Intel PMC firmware that is supported on most Intel based platforms that have the PMC microcontroller. It's used for configuring the various USB Multiplexer/DeMultiplexers on the system. The platforms that allow the mux-agent to be configured from the operating system have an ACPI device object (node) with HID "INTC105C" that represents it.”h]”hX€North Mux-Agent is a function of the Intel PMC firmware that is supported on most Intel based platforms that have the PMC microcontroller. It’s used for configuring the various USB Multiplexer/DeMultiplexers on the system. The platforms that allow the mux-agent to be configured from the operating system have an ACPI device object (node) with HID “INTC105C†that represents it.”…””}”(hhðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K hhÝh²hubhï)”}”(hXThe North Mux-Agent (aka. Intel PMC Mux Control, or just mux-agent) driver communicates with the PMC microcontroller by using the PMC IPC method (drivers/platform/x86/intel_scu_ipc.c). The driver registers with the USB Type-C Mux Class which allows the USB Type-C Controller and Interface drivers to configure the cable plug orientation and mode (with Alternate Modes). The driver also registers with the USB Role Class in order to support both USB Host and Device modes. The driver is located here: drivers/usb/typec/mux/intel_pmc_mux.c.”h]”hXThe North Mux-Agent (aka. Intel PMC Mux Control, or just mux-agent) driver communicates with the PMC microcontroller by using the PMC IPC method (drivers/platform/x86/intel_scu_ipc.c). The driver registers with the USB Type-C Mux Class which allows the USB Type-C Controller and Interface drivers to configure the cable plug orientation and mode (with Alternate Modes). The driver also registers with the USB Role Class in order to support both USB Host and Device modes. The driver is located here: drivers/usb/typec/mux/intel_pmc_mux.c.”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KhhÝh²hubeh}”(h]”Œ introduction”ah ]”h"]”Œ introduction”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒ Port nodes”h]”hŒ Port nodes”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒGeneral”h]”hŒGeneral”…””}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj%h²hh³hÇh´Kubhï)”}”(hXFor every USB Type-C connector under the mux-agent control on the system, there is a separate child node under the PMC mux-agent device node. Those nodes do not represent the actual connectors, but instead the "channels" in the mux-agent that are associated with the connectors::”h]”hXFor every USB Type-C connector under the mux-agent control on the system, there is a separate child node under the PMC mux-agent device node. Those nodes do not represent the actual connectors, but instead the “channels†in the mux-agent that are associated with the connectors:”…””}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khj%h²hubhŒ literal_block”“”)”}”(hŒ…Scope (_SB.PCI0.PMC.MUX) { Device (CH0) { Name (_ADR, 0) } Device (CH1) { Name (_ADR, 1) } }”h]”hŒ…Scope (_SB.PCI0.PMC.MUX) { Device (CH0) { Name (_ADR, 0) } Device (CH1) { Name (_ADR, 1) } }”…””}”hjFsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jDh³hÇh´K#hj%h²hubeh}”(h]”Œgeneral”ah ]”h"]”Œgeneral”ah$]”h&]”uh1hÈhjh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒ"_PLD (Physical Location of Device)”h]”hŒ"_PLD (Physical Location of Device)”…””}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj\h²hh³hÇh´K1ubhï)”}”(hŒ†The optional _PLD object can be used with the port (the channel) nodes. If _PLD is supplied, it should match the connector node _PLD::”h]”hŒ…The optional _PLD object can be used with the port (the channel) nodes. If _PLD is supplied, it should match the connector node _PLD:”…””}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K3hj\h²hubjE)”}”(hŒæScope (_SB.PCI0.PMC.MUX) { Device (CH0) { Name (_ADR, 0) Method (_PLD, 0, NotSerialized) { /* Consider this as pseudocode. */ Return (\_SB.USBC.CON0._PLD()) } } }”h]”hŒæScope (_SB.PCI0.PMC.MUX) { Device (CH0) { Name (_ADR, 0) Method (_PLD, 0, NotSerialized) { /* Consider this as pseudocode. */ Return (\_SB.USBC.CON0._PLD()) } } }”…””}”hj{sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jDh³hÇh´K6hj\h²hubeh}”(h]”Œpld-physical-location-of-device”ah ]”h"]”Œ"_pld (physical location of device)”ah$]”h&]”uh1hÈhjh²hh³hÇh´K1ubhÉ)”}”(hhh]”(hÎ)”}”(hŒ)Mux-agent specific _DSD Device Properties”h]”hŒ)Mux-agent specific _DSD Device Properties”…””}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj‘h²hh³hÇh´KDubhÉ)”}”(hhh]”(hÎ)”}”(hŒ Port Numbers”h]”hŒ Port Numbers”…””}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj¢h²hh³hÇh´KGubhï)”}”(hX+In order to configure the muxes behind a USB Type-C connector, the PMC firmware needs to know the USB2 port and the USB3 port that is associated with the connector. The driver extracts the correct port numbers by reading specific _DSD device properties named "usb2-port-number" and "usb3-port-number". These properties have integer value that means the port index. The port index number is 1's based, and value 0 is illegal. The driver uses the numbers extracted from these device properties as-is when sending the mux-agent specific messages to the PMC::”h]”hX4In order to configure the muxes behind a USB Type-C connector, the PMC firmware needs to know the USB2 port and the USB3 port that is associated with the connector. The driver extracts the correct port numbers by reading specific _DSD device properties named “usb2-port-number†and “usb3-port-numberâ€. These properties have integer value that means the port index. The port index number is 1’s based, and value 0 is illegal. The driver uses the numbers extracted from these device properties as-is when sending the mux-agent specific messages to the PMC:”…””}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KIhj¢h²hubjE)”}”(hŒ¾Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package() { Package () {"usb2-port-number", 6}, Package () {"usb3-port-number", 3}, }, })”h]”hŒ¾Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package() { Package () {"usb2-port-number", 6}, Package () {"usb3-port-number", 3}, }, })”…””}”hjÁsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jDh³hÇh´KRhj¢h²hubeh}”(h]”Œ port-numbers”ah ]”h"]”Œ port numbers”ah$]”h&]”uh1hÈhj‘h²hh³hÇh´KGubhÉ)”}”(hhh]”(hÎ)”}”(hŒ Orientation”h]”hŒ Orientation”…””}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj×h²hh³hÇh´K[ubhï)”}”(hX|Depending on the platform, the data and SBU lines coming from the connector may be "fixed" from the mux-agent's point of view, which means the mux-agent driver should not configure them according to the cable plug orientation. This can happen for example if a retimer on the platform handles the cable plug orientation. The driver uses a specific device properties "sbu-orientation" (SBU) and "hsl-orientation" (data) to know if those lines are "fixed", and to which orientation. The value that these properties have is a string value, and it can be one that is defined for the USB Type-C connector orientation: "normal" or "reversed"::”h]”hX•Depending on the platform, the data and SBU lines coming from the connector may be “fixed†from the mux-agent’s point of view, which means the mux-agent driver should not configure them according to the cable plug orientation. This can happen for example if a retimer on the platform handles the cable plug orientation. The driver uses a specific device properties “sbu-orientation†(SBU) and “hsl-orientation†(data) to know if those lines are “fixedâ€, and to which orientation. The value that these properties have is a string value, and it can be one that is defined for the USB Type-C connector orientation: “normal†or “reversedâ€:”…””}”(hjèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K]hj×h²hubjE)”}”(hŒÊName (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package() { Package () {"sbu-orientation", "normal"}, Package () {"hsl-orientation", "normal"}, }, })”h]”hŒÊName (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package() { Package () {"sbu-orientation", "normal"}, Package () {"hsl-orientation", "normal"}, }, })”…””}”hjösbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jDh³hÇh´Kghj×h²hubeh}”(h]”Œ orientation”ah ]”h"]”Œ orientation”ah$]”h&]”uh1hÈhj‘h²hh³hÇh´K[ubeh}”(h]”Œ(mux-agent-specific-dsd-device-properties”ah ]”h"]”Œ)mux-agent specific _dsd device properties”ah$]”h&]”uh1hÈhjh²hh³hÇh´KDubeh}”(h]”Œ port-nodes”ah ]”h"]”Œ port nodes”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒ Example ASL”h]”hŒ Example ASL”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjh²hh³hÇh´Kpubhï)”}”(hŒeThe following ASL is an example that shows the mux-agent node, and two connectors under its control::”h]”hŒdThe following ASL is an example that shows the mux-agent node, and two connectors under its control:”…””}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Krhjh²hubjE)”}”(hXÿScope (_SB.PCI0.PMC) { Device (MUX) { Name (_HID, "INTC105C") Device (CH0) { Name (_ADR, 0) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package() { Package () {"usb2-port-number", 6}, Package () {"usb3-port-number", 3}, Package () {"sbu-orientation", "normal"}, Package () {"hsl-orientation", "normal"}, }, }) } Device (CH1) { Name (_ADR, 1) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package() { Package () {"usb2-port-number", 5}, Package () {"usb3-port-number", 2}, Package () {"sbu-orientation", "normal"}, Package () {"hsl-orientation", "normal"}, }, }) } } }”h]”hXÿScope (_SB.PCI0.PMC) { Device (MUX) { Name (_HID, "INTC105C") Device (CH0) { Name (_ADR, 0) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package() { Package () {"usb2-port-number", 6}, Package () {"usb3-port-number", 3}, Package () {"sbu-orientation", "normal"}, Package () {"hsl-orientation", "normal"}, }, }) } Device (CH1) { Name (_ADR, 1) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package() { Package () {"usb2-port-number", 5}, Package () {"usb3-port-number", 2}, Package () {"sbu-orientation", "normal"}, Package () {"hsl-orientation", "normal"}, }, }) } } }”…””}”hj;sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jDh³hÇh´Kuhjh²hubeh}”(h]”Œ example-asl”ah ]”h"]”Œ example asl”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´Kpubeh}”(h]”Œintel-north-mux-agent”ah ]”h"]”Œintel north mux-agent”ah$]”h&]”uh1hÈhhh²hh³hÇh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÍNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j|Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jVjSjjjjjYjVjŽj‹jjjÔjÑj jjNjKuŒ nametypes”}”(jV‰j‰j‰jY‰jމj‰jÔ‰j ‰jN‰uh}”(jShÊjhÝjjjVj%j‹j\jj‘jÑj¢jj×jKjuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.