Loading Documentation/devicetree/bindings/usb/nxp5150a.txt 0 → 100644 +21 −0 Original line number Diff line number Diff line NXP PTN5150A - CC Logic chip for USB Type-C applications Required properties: - compatible: should contain "nxp,5150a" - reg: The device 7-bit I2C address - interrupts: interrupt number that is used for interrupts from the device. Optional properties: - vbus-out-gpio: gpio for enabling VBUS output (e.g. when entering host mode) Example device node: &i2c4 { nxp_5150a: nxp5150a@1d { compatbile = "nxp,5150a"; reg = <0x1d>; interrupt-parent = <&msm_gpio>; interrupts = <35 2>; vbus-out-gpio = <&msm_gpio 3 1>; }; }; arch/arm64/boot/dts/qcom/qcs405-pinctrl.dtsi +14 −0 Original line number Diff line number Diff line Loading @@ -988,6 +988,20 @@ }; }; nxp_i2c_intr: nxp_i2c_intr { mux { pins = "gpio35"; function = "gpio"; }; config { pins = "gpio35"; drive-strength = <2>; bias-pull-up; input-enable; }; }; usb3_id_det_default: usb2_id_det_default { config { pins = "gpio116"; Loading arch/arm64/boot/dts/qcom/qcs405.dtsi +10 −0 Original line number Diff line number Diff line Loading @@ -1460,6 +1460,16 @@ dpdm-supply = <&usb2_phy0>; qcom,otg-enable; }; usb_typec: usb_typec@3d { compatible = "nxp,5150a"; reg = <0x3d>; interrupt-parent = <&tlmm>; interrupts = <35 IRQ_TYPE_LEVEL_LOW>; pintctrl-names = "default"; pinctrl-0 = <&nxp_i2c_intr>; status = "disabled"; }; }; &pms405_gpios { Loading arch/arm64/configs/vendor/qcs405-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -351,6 +351,7 @@ CONFIG_USB_DWC3=y CONFIG_USB_DWC3_MSM=y CONFIG_USB_SERIAL=y CONFIG_USB_EHSET_TEST_FIXTURE=y CONFIG_USB_TYPEC_MUX_NXP5150A=y CONFIG_NOP_USB_XCEIV=y CONFIG_MSM_SNPS_FEMTO_PHY=y CONFIG_USB_MSM_SSPHY=y Loading arch/arm64/configs/vendor/qcs405_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -367,6 +367,7 @@ CONFIG_USB_DWC3=y CONFIG_USB_DWC3_MSM=y CONFIG_USB_SERIAL=y CONFIG_USB_EHSET_TEST_FIXTURE=y CONFIG_USB_TYPEC_MUX_NXP5150A=y CONFIG_NOP_USB_XCEIV=y CONFIG_MSM_SNPS_FEMTO_PHY=y CONFIG_USB_MSM_SSPHY=y Loading Loading
Documentation/devicetree/bindings/usb/nxp5150a.txt 0 → 100644 +21 −0 Original line number Diff line number Diff line NXP PTN5150A - CC Logic chip for USB Type-C applications Required properties: - compatible: should contain "nxp,5150a" - reg: The device 7-bit I2C address - interrupts: interrupt number that is used for interrupts from the device. Optional properties: - vbus-out-gpio: gpio for enabling VBUS output (e.g. when entering host mode) Example device node: &i2c4 { nxp_5150a: nxp5150a@1d { compatbile = "nxp,5150a"; reg = <0x1d>; interrupt-parent = <&msm_gpio>; interrupts = <35 2>; vbus-out-gpio = <&msm_gpio 3 1>; }; };
arch/arm64/boot/dts/qcom/qcs405-pinctrl.dtsi +14 −0 Original line number Diff line number Diff line Loading @@ -988,6 +988,20 @@ }; }; nxp_i2c_intr: nxp_i2c_intr { mux { pins = "gpio35"; function = "gpio"; }; config { pins = "gpio35"; drive-strength = <2>; bias-pull-up; input-enable; }; }; usb3_id_det_default: usb2_id_det_default { config { pins = "gpio116"; Loading
arch/arm64/boot/dts/qcom/qcs405.dtsi +10 −0 Original line number Diff line number Diff line Loading @@ -1460,6 +1460,16 @@ dpdm-supply = <&usb2_phy0>; qcom,otg-enable; }; usb_typec: usb_typec@3d { compatible = "nxp,5150a"; reg = <0x3d>; interrupt-parent = <&tlmm>; interrupts = <35 IRQ_TYPE_LEVEL_LOW>; pintctrl-names = "default"; pinctrl-0 = <&nxp_i2c_intr>; status = "disabled"; }; }; &pms405_gpios { Loading
arch/arm64/configs/vendor/qcs405-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -351,6 +351,7 @@ CONFIG_USB_DWC3=y CONFIG_USB_DWC3_MSM=y CONFIG_USB_SERIAL=y CONFIG_USB_EHSET_TEST_FIXTURE=y CONFIG_USB_TYPEC_MUX_NXP5150A=y CONFIG_NOP_USB_XCEIV=y CONFIG_MSM_SNPS_FEMTO_PHY=y CONFIG_USB_MSM_SSPHY=y Loading
arch/arm64/configs/vendor/qcs405_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -367,6 +367,7 @@ CONFIG_USB_DWC3=y CONFIG_USB_DWC3_MSM=y CONFIG_USB_SERIAL=y CONFIG_USB_EHSET_TEST_FIXTURE=y CONFIG_USB_TYPEC_MUX_NXP5150A=y CONFIG_NOP_USB_XCEIV=y CONFIG_MSM_SNPS_FEMTO_PHY=y CONFIG_USB_MSM_SSPHY=y Loading