[PATCH v2 3/3] arm64: dts: imx8mq-evk: add typec node
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Thu Aug 1 04:53:30 PDT 2024
On Thu, Aug 01, 2024 at 02:49:07PM GMT, Xu Yang wrote:
> The first port of USB with type-C connector, which has dual data
> role and dual power role.
>
> Signed-off-by: Xu Yang <xu.yang_2 at nxp.com>
>
> ---
> Changes in v2:
> - modify endpoint label
> ---
> arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 93 ++++++++++++++++++++
> 1 file changed, 93 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
> index 7507548cdb16..8169ed7c7968 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
> @@ -6,6 +6,7 @@
>
> /dts-v1/;
>
> +#include <dt-bindings/usb/pd.h>
> #include "imx8mq.dtsi"
>
> / {
> @@ -27,6 +28,20 @@ pcie0_refclk: pcie0-refclk {
> clock-frequency = <100000000>;
> };
>
> + ptn36043: typec-mux {
> + compatible = "nxp,ptn36043", "gpio-sbu-mux";
PTN36043 isn't an SBU mux.
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_typec_mux>;
> + select-gpios =<&gpio3 15 GPIO_ACTIVE_LOW>;
space after the equal sign.
> + orientation-switch;
> +
> + port {
> + usb3_data_ss: endpoint {
> + remote-endpoint = <&typec_con_ss>;
Where do SS lines go after the mux? Please describe them in DT.
> + };
> + };
> + };
> +
> reg_pcie1: regulator-pcie {
> compatible = "regulator-fixed";
> pinctrl-names = "default";
--
With best wishes
Dmitry
More information about the linux-arm-kernel
mailing list