Re: [PATCH] arm64: dts: fsl: librem5: Limit the USB to 5V

From: Shawn Guo
Date: Sun Jun 23 2019 - 22:08:35 EST


On Thu, Jun 20, 2019 at 11:04:39AM -0600, Angus Ainslie (Purism) wrote:
> The charge controller can handle 14V but the PTC on the devkit can only
> handle 6V so limit the negotiated voltage to 5V.
>
> Signed-off-by: Angus Ainslie (Purism) <angus@xxxxxxxx>

Prefix 'arm64: dts: librem5: ...' should be fine, so I changed it and
applied the patch.

Shawn

> ---
> arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> index 3f4736fd3cea..ec85ada77955 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> @@ -353,7 +353,7 @@
> sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM |
> PDO_FIXED_DUAL_ROLE |
> PDO_FIXED_DATA_SWAP )
> - PDO_VAR(5000, 12000, 2000)>;
> + PDO_VAR(5000, 3000, 3000)>;
> op-sink-microwatt = <10000000>;
>
> ports {
> --
> 2.17.1
>