Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp808008pxb; Fri, 22 Apr 2022 11:34:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwX+NsVn1pEslfA3epvnw73yGOLdOCd4xuutMPOZTujRxlDGzD9y6lAByWnRWK4teQy6Hnb X-Received: by 2002:a05:6a00:2186:b0:4f7:5544:1cc9 with SMTP id h6-20020a056a00218600b004f755441cc9mr6125196pfi.62.1650652491460; Fri, 22 Apr 2022 11:34:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650652491; cv=none; d=google.com; s=arc-20160816; b=KNHNQz0oCaFzKytWvLrxzNmx2P9NaqT+6oGNWJCpfRii/GJb1THcwkp8fKxJxcpLEi IJipfHiyb76WPcBKhc9reDmNK5t6kML25UQGOcQYJFFcDc2rqcA2R9RARY8l6j9oE7Wk 0UuBFRfDPO8dgDPMaUYhZ73x4/zW3Z9tSvPlOaU4zDawzv/XomCfp4aI8hUXnMxgLTa6 VK4ErES04UJZSSoriYVRoY5D6Nj0YatsTNtV9bfCaIFdMPCy+QG3JqVzRsXGwoBryFJS 474mV/rY+qLkZeXdwjkF830wryFA83T4hJ918WVYYNaGi+ROFXGGfrxpuFzrTUvEbXOy cv4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FfvZeTRNWckDlgHBgrRnP8vO9xLgQkwJZ3UffHHgW6w=; b=Ibi6Sbjd35zuXkvF3kXnLttZCd7DAygE4KhtinKjvy4k2rwY2H09MImY4kdZGK17XO JTFQNJSSK5mnD/5DHlZqztbIoXRB0tXXSfYk1mrmdxr3r+JQiJX3unuK1diENGu6DSS5 CYl+N8gcDSsrM9K4iZX9MUsfgkul4HV8YRD9ApOzEbSlLPyVhkjCee+8aF2d9GNae7so Sm0i/2ZAIv6HK1vvAI0t78oWK0NczwVJW/iYguQ7WMdbxBlbhFk6Z6pUYzqYb4TC3oWr VlSMK6/Fq2z5/jVtHl9samQBIRjxKgdHzxQJK0KjtflUt9JlXw+/q6ylO8sbNIpxLybo 1Yow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=YqLfMnNR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d16-20020a170903231000b001585910d6a4si5041896plh.235.2022.04.22.11.34.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 11:34:51 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=YqLfMnNR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DF5CFEA1E1; Fri, 22 Apr 2022 11:04:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442222AbiDUVq4 (ORCPT + 99 others); Thu, 21 Apr 2022 17:46:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442184AbiDUVqj (ORCPT ); Thu, 21 Apr 2022 17:46:39 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5EAC4ECD3; Thu, 21 Apr 2022 14:43:39 -0700 (PDT) Received: from g550jk.arnhem.chello.nl (a246182.upc-a.chello.nl [62.163.246.182]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 2AB70CDE54; Thu, 21 Apr 2022 21:43:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1650577388; bh=o3wdUNgBE3wuRROncA9CScyhhBAu3iR9aZM8k1nZ2kY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=YqLfMnNR5mub1LUgcnvmCzVJOnZb7bNNbWBT0vplGEjzN8Qvl8Gh9jq0Rub3RHwqy 6OyVPaDwgjJcXBXRdtyQFmhQOIgVrgTNvNG9td5Nuoil8bYmxkpvidvURdAHDJNjDE d2FFiaRcmxMWiBNvJbM1tFjLkvSE9xaRK+U4L83E= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] ARM: dts: msm8974-FP2: Configure charger Date: Thu, 21 Apr 2022 23:42:42 +0200 Message-Id: <20220421214243.352469-2-luca@z3ntu.xyz> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220421214243.352469-1-luca@z3ntu.xyz> References: <20220421214243.352469-1-luca@z3ntu.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD,RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Set the relevant properties on the smbb charger to allow the device to charge properly. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts index 8f07d8e363aa..34266126d5a2 100644 --- a/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts +++ b/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts @@ -397,6 +397,16 @@ &sdhc_2 { pinctrl-1 = <&sdc2_off>; }; +&smbb { + usb-charge-current-limit = <1500000>; + qcom,fast-charge-safe-current = <1500000>; + qcom,fast-charge-current-limit = <1500000>; + qcom,fast-charge-safe-voltage = <4380000>; + qcom,fast-charge-high-threshold-voltage = <4350000>; + qcom,auto-recharge-threshold-voltage = <4240000>; + qcom,minimum-input-voltage = <4450000>; +}; + &tlmm { panel_pin: panel { te { -- 2.36.0