Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: qcom: pm6150: define USB-C related blocks

Define VBUS regulator and the Type-C handling block as present on the
Qualcomm PM6150 PMIC.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240220202147.228911-3-danila@jiaxyga.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Danila Tikhonov and committed by
Greg Kroah-Hartman
f81c2f01 dfb953f8

+46
+46
arch/arm64/boot/dts/qcom/pm6150.dtsi
··· 63 63 }; 64 64 }; 65 65 66 + pm6150_vbus: usb-vbus-regulator@1100 { 67 + compatible = "qcom,pm6150-vbus-reg, 68 + qcom,pm8150b-vbus-reg"; 69 + reg = <0x1100>; 70 + status = "disabled"; 71 + }; 72 + 73 + pm6150_typec: typec@1500 { 74 + compatible = "qcom,pm6150-typec, 75 + qcom,pm8150b-typec"; 76 + reg = <0x1500>, <0x1700>; 77 + interrupts = <0x0 0x15 0x00 IRQ_TYPE_EDGE_RISING>, 78 + <0x0 0x15 0x01 IRQ_TYPE_EDGE_BOTH>, 79 + <0x0 0x15 0x02 IRQ_TYPE_EDGE_RISING>, 80 + <0x0 0x15 0x03 IRQ_TYPE_EDGE_BOTH>, 81 + <0x0 0x15 0x04 IRQ_TYPE_EDGE_RISING>, 82 + <0x0 0x15 0x05 IRQ_TYPE_EDGE_RISING>, 83 + <0x0 0x15 0x06 IRQ_TYPE_EDGE_BOTH>, 84 + <0x0 0x15 0x07 IRQ_TYPE_EDGE_RISING>, 85 + <0x0 0x17 0x00 IRQ_TYPE_EDGE_RISING>, 86 + <0x0 0x17 0x01 IRQ_TYPE_EDGE_RISING>, 87 + <0x0 0x17 0x02 IRQ_TYPE_EDGE_RISING>, 88 + <0x0 0x17 0x03 IRQ_TYPE_EDGE_RISING>, 89 + <0x0 0x17 0x04 IRQ_TYPE_EDGE_RISING>, 90 + <0x0 0x17 0x05 IRQ_TYPE_EDGE_RISING>, 91 + <0x0 0x17 0x06 IRQ_TYPE_EDGE_RISING>, 92 + <0x0 0x17 0x07 IRQ_TYPE_EDGE_RISING>; 93 + interrupt-names = "or-rid-detect-change", 94 + "vpd-detect", 95 + "cc-state-change", 96 + "vconn-oc", 97 + "vbus-change", 98 + "attach-detach", 99 + "legacy-cable-detect", 100 + "try-snk-src-detect", 101 + "sig-tx", 102 + "sig-rx", 103 + "msg-tx", 104 + "msg-rx", 105 + "msg-tx-failed", 106 + "msg-tx-discarded", 107 + "msg-rx-discarded", 108 + "fr-swap"; 109 + status = "disabled"; 110 + }; 111 + 66 112 pm6150_temp: temp-alarm@2400 { 67 113 compatible = "qcom,spmi-temp-alarm"; 68 114 reg = <0x2400>;