Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 992fb922 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "defconfig: Enable NXP CC MUX driver for QCS405"

parents ed2b3be8 1a3d4e72
Loading
Loading
Loading
Loading
+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>;
	};
};
+14 −0
Original line number Diff line number Diff line
@@ -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";
+10 −0
Original line number Diff line number Diff line
@@ -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 {
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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