From patchwork Mon May 15 13:36:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 683743 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FBC0C7EE2D for ; Mon, 15 May 2023 13:37:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241640AbjEONhB (ORCPT ); Mon, 15 May 2023 09:37:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242071AbjEONhA (ORCPT ); Mon, 15 May 2023 09:37:00 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6322B268D for ; Mon, 15 May 2023 06:36:57 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-30626f4d74aso8329496f8f.0 for ; Mon, 15 May 2023 06:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684157816; x=1686749816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CuPqCRZb0IOEal0w8tbJWxx13wX54OyCGod52wMQWCk=; b=JcqSgDTM/ySOQ6/P9BjOLEW38jMM3ftKOp0CVNl8sMYHi00RIyYW3hOH5uF3wn8Pf1 9sAis0eIBR4dNi3OXIc3peSjeZk7gw6jCwRacBFT1/dWn5opHkeL2R0WREjy9e9s78r9 Pxo8ePtyXfqqHoFrn/mbrtCv9USwIFw5dbyxAMTwilrtR6H3+1gh9VtWyEH7cYkLky0u SwSlAHPWh6atOT6/TeuSbbe3oJYIQtv4nDrak/zVdD9QzxRHmsXBQuscAFfz9ADFpBTA f8tlJFa0tQtqkpdboXjk0/IiNiSNhdsDMfmgAnhWFb0OZaRz1JROfirW+Q/TyUcAVI6H t81A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684157816; x=1686749816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CuPqCRZb0IOEal0w8tbJWxx13wX54OyCGod52wMQWCk=; b=TwFVGLrv14pY9lBFvg2i/NscxTOcLpNUSFY/3GQoK2pcGMYednr5gp8D50MP+vF5CC wBe046aj4vFDeHzkk7o8TISAzim1U3zQ3HLIW83kDG+6Luzd2pmKsfv5wYIxL9yvYvXt sXb3mY+eoLvRholFjgpEQH8ltZiP7ZGD2TdwFtRtpQHm6YpLNpJsB+/nn6UL5Q65Z/Tn uPLBUY+fvTF36HoRLmql1B9es2FcFPvLoPsPyx9y87Aeu9CzPDesacn8yZtFkjCt70+B OSWC0wzqgt5fxWHXKxYBZcdnA2SzFMhr2/65cNbiT1jkQ9HpU273qvmz2oe8K6+o6ou+ qctg== X-Gm-Message-State: AC+VfDzI/DUphdPOWJywqHQQnSUL7+ZuPCJAfgDZ2V3VfqT8u6m/834S 5laSEgxisIPBSNfCNhkgbFU6bA== X-Google-Smtp-Source: ACHHUZ4lYvQ3HrSBEi/Fhlmj/Ybw2dRoWy7eedfFwF1cjPr6nJxYzAjJlWjW3kDlNyIvwRnIF67QAA== X-Received: by 2002:adf:d0c7:0:b0:306:372d:7891 with SMTP id z7-20020adfd0c7000000b00306372d7891mr23840447wrh.59.1684157815859; Mon, 15 May 2023 06:36:55 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id o17-20020a5d4091000000b003078a3f3a24sm28856634wrp.114.2023.05.15.06.36.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 06:36:55 -0700 (PDT) From: Bryan O'Donoghue To: linux@roeck-us.net, heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org, andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, luca.weiss@fairphone.com, lujianhua000@gmail.com, linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: konrad.dybcio@linaro.org, caleb.connolly@linaro.org, bryan.odonoghue@linaro.org, subbaram@quicinc.com, jackp@quicinc.com, robertom@qti.qualcomm.com Subject: [PATCH v8 08/11] arm64: dts: qcom: qrb5165-rb5: Switch on Type-C VBUS boost Date: Mon, 15 May 2023 14:36:40 +0100 Message-Id: <20230515133643.3621656-9-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230515133643.3621656-1-bryan.odonoghue@linaro.org> References: <20230515133643.3621656-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Switch on VBUS for the Type-C port. We need to support a higher amperage than the bootloader set 2 Amps. Reviewed-by: Konrad Dybcio Signed-off-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index dd924331b0eea..b326bdeeb7742 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -1338,3 +1338,9 @@ &qup_spi0_data_clk { drive-strength = <6>; bias-disable; }; + +&pm8150b_vbus { + regulator-min-microamp = <500000>; + regulator-max-microamp = <3000000>; + status = "okay"; +};