€•Ý?Œ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Œ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”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hjhž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:”…””}”(hj"hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhŸh³h Khjhž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) } }”…””}”hj2sbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1j0hŸh³h K#hjhž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)”…””}”(hjKhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hjHhž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:”…””}”(hjYhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhŸh³h K3hjHhžhubj1)”}”(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()) } } }”…””}”hjgsbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1j0hŸh³h K6hjHhž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žhubj1)”}”(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²uh1j0hŸ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žhubj1)”}”(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²uh1j0hŸ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”…””}”(hj hž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:”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhŸh³h Krhjhžhubj1)”}”(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²uh1j0hŸ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”jhŒ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”}”(jBj?hýhújjjEjBjzjwjýjújÀj½jõjòj:j7uŒ nametypes”}”(jB‰hý‰j‰jE‰jz‰jý‰jÀ‰jõ‰j:‰uh}”(j?h¶húhÉjjjBjjwjHjúj}j½jŽjòjÃj7juŒ 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.