From patchwork Wed May 24 17:38:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 685428 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 00DADC7EE39 for ; Wed, 24 May 2023 17:39:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230214AbjEXRjJ (ORCPT ); Wed, 24 May 2023 13:39:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233242AbjEXRjH (ORCPT ); Wed, 24 May 2023 13:39:07 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 145AE93 for ; Wed, 24 May 2023 10:39:06 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f6042d605dso10706825e9.2 for ; Wed, 24 May 2023 10:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684949944; x=1687541944; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=RR01uBFzZdPUUX3JVQ6JzzMApgf7t8zSCotM2Vr6DfE=; b=NV1qpvnBgye9ZjFXBz970aa6CK8ZWRiHkKqSZWZ6jjYRz3Dn5o7IF6qTkVO7wam7qI FucNoA1cp8QYE036W3qtUEEG3M9e5tEDAVOa4OR+u4NXTNTKlW8uk5wG7MCfM7eusP88 0+U5UgXybGpI/LiwBAUtXbWDLM1h9UVtJ/A2aCHelMN4MvW4YZFB8/Lgs6QSdvZFyuH0 MU3hlj0j76IkuM6AB7NztBfBzy7A2SF80wXmpv7gkaf+GfTtgzSLM4FwSwWekS2u+r6g Zlo31nUMx9T7otxDekXjK00CVAlC++qQODywrfZi7VfJa45iTafM+Jv5bVW1nFwNgBib sdJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684949944; x=1687541944; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RR01uBFzZdPUUX3JVQ6JzzMApgf7t8zSCotM2Vr6DfE=; b=BtUn/medehOXasUrjnI6KnKkDm3s+f8g0ThzrvUTuWzBo6vCXkpK2YIO00cMTo/v0L k5CCp4nP6eQjFuShykGuHRUHVwPpeVsOwfqPZQ4mGaieYFMhoyxsK5qdUi5iWph3NnIy 184XzIC5TabUlzl3X/kf3ZeIdJAkoXKtNKMUEVNJAxCB1QvSZhiuCKzEvi43mSH3UGQ5 TZMioHShz0ut8t7fJ/qgIkgNEb5NrNA2YvJhjqaeTOpZJPEJJ5dhlNS+yuU4LobVuh3O qe91DTDWMxyV8hoPnH0GMBzv1lHUoh4Tm9Pdeh7QSD4uOpSS3qShjBdE7OLtB4iwOO1S 5xlQ== X-Gm-Message-State: AC+VfDwP/x9e/evkuvHW96jRC8StcOCa9dEkZdFtBLBHKpsyMECf9CVY PPD88QS9lodKhIMh008m77oix2Ir/Eze6qwiGAGPtg== X-Google-Smtp-Source: ACHHUZ7lGjFpPEdzrGt+uPJitZe2L4rMiROkyzoA2nMDVS/6Aiy51kLhLEuRijt/7UyHsRGSri0AOA== X-Received: by 2002:a05:600c:2195:b0:3f4:28db:f5ff with SMTP id e21-20020a05600c219500b003f428dbf5ffmr331402wme.35.1684949944686; Wed, 24 May 2023 10:39:04 -0700 (PDT) Received: from lion.localdomain (cpc76484-cwma10-2-0-cust274.7-3.cable.virginm.net. [82.31.201.19]) by smtp.gmail.com with ESMTPSA id l17-20020a7bc451000000b003f4fb5532a1sm2993053wmi.43.2023.05.24.10.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 10:39:04 -0700 (PDT) From: Caleb Connolly Date: Wed, 24 May 2023 18:38:53 +0100 Subject: [PATCH 2/6] arm64: dts: qcom: pmi8998: enable rradc by default MIME-Version: 1.0 Message-Id: <20230524-pmi8998-charger-dts-v1-2-f9334afc4505@linaro.org> References: <20230524-pmi8998-charger-dts-v1-0-f9334afc4505@linaro.org> In-Reply-To: <20230524-pmi8998-charger-dts-v1-0-f9334afc4505@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, Caleb Connolly X-Mailer: b4 0.13-dev-46309 X-Developer-Signature: v=1; a=openpgp-sha256; l=2801; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=ABo4IHoKMSALk1kEhP6hlLi4WF/PAYKRLRTRnFZsdiE=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBkbku1V60J/yS7Bi3fZ024ovpm6xnREWE+PT2X3 LSNCCYRKJOJAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZG5LtQAKCRAFgzErGV9k trNFD/950X/nEoI/Q8KwReuv0GftjTf1B3pfCkuGmokAXLsX4BmkwLtnvx2DLFBMNaWFlkb5z2z QSiO0gV+jpde39k+dSsr3N+k7p835sxCokp7Ff2tHueGoB9AWa2UemAC6pxHuoHOBRYW5cQfgF2 hQMNjsxi6vBgOk5LEQC47XEUUop7nqisJXASnofcnHLpv3zBfuQFBnRE1Nn1y1Zh1uaK1n7tnJq SqPMtf2j2u4JR7iVtrmr75VPXkaIzMQFjfsaskQcaAmyC1JpHC4QNyZ1eCy1MiyakN7L/YKwPxM fxbpLJ7ctGsAiRxSiA6CnuWlY2m/+t98CbikUBW0ZQ7K8YmXrkoEQZxh2eEo3Ig4yZPj1rIQ1pF AFd+8dWN2bnKHcLT6HV5bQvzDgZBW9S+V2yXZGw+/pWL6XbFbjdGl4j1+pk0Y7aLFZ0O44Tnck+ cM6X4XcawTmAe2GHgaRgAOaPqh0khQB44Wadq1XcWFet9xJbsEHDGtxAarCfas0S2xXBGBFs347 5AWRrDkZAfWxGWO9AqtUq1Vx5TCDahlRWsj1//R5sfZEbtFfqvyEVSZyt5DeJIqxq0TdSpkakS2 cUhej/o2r/6H3Niu6hhf5yLEL0PJM9Xvn+GpQbMGBD3zxHJHY7x3ePgcXEKZeuIl9HllMbyqxi0 wxAzyMIPuqQHJBQ== X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There is no need for the RRADC to be disabled by default, lets just enable it by default and not clutter up DT. Signed-off-by: Caleb Connolly Acked-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi | 4 ---- arch/arm64/boot/dts/qcom/pmi8998.dtsi | 2 -- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ---- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 4 ---- arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 4 ---- 5 files changed, 18 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi index 062d56c42385..68e634f8212c 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi @@ -279,10 +279,6 @@ vol_keys_default: vol-keys-state { }; }; -&pmi8998_rradc { - status = "okay"; -}; - &qusb2phy { status = "okay"; diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qcom/pmi8998.dtsi index ffe587f281d8..be6f60bfc26c 100644 --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi @@ -23,8 +23,6 @@ pmi8998_rradc: adc@4500 { compatible = "qcom,pmi8998-rradc"; reg = <0x4500>; #io-channel-cells = <1>; - - status = "disabled"; }; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index e14fe9bbb386..66087af02d74 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -649,10 +649,6 @@ led@5 { }; }; -&pmi8998_rradc { - status = "okay"; -}; - /* QUAT I2S Uses 4 I2S SD Lines for audio on LT9611 HDMI Bridge */ &q6afedai { dai@22 { diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index 5c384345c05d..55ee8dcf27c3 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -480,10 +480,6 @@ pinconf { }; }; -&pmi8998_rradc { - status = "okay"; -}; - &q6afedai { qi2s@22 { reg = <22>; diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi index 5ed975cc6ecb..1915643f1c49 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi @@ -346,10 +346,6 @@ &pm8998_resin { status = "okay"; }; -&pmi8998_rradc { - status = "okay"; -}; - /* QUAT I2S Uses 1 I2S SD Line for audio on TAS2559/60 amplifiers */ &q6afedai { dai@22 { From patchwork Wed May 24 17:38:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 685427 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 F0F40C7EE2D for ; Wed, 24 May 2023 17:39:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235564AbjEXRjK (ORCPT ); Wed, 24 May 2023 13:39:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231759AbjEXRjJ (ORCPT ); Wed, 24 May 2023 13:39:09 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D09B312F for ; Wed, 24 May 2023 10:39:07 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3f60410106cso9959085e9.1 for ; Wed, 24 May 2023 10:39:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684949946; x=1687541946; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rSmVapjGY4609B8VseiXBSPMlIsV3BDKD/4/5pbhv2g=; b=PjsfoV/3p9Z8SJvDkWm5jDBR5q1bDXVC/jfq0BgRSjKqxrEqRNYu5ooIdQJ13AgLoD NjcvF4HsHtrW01hPfLEDX1vNixaL3nHCfSUn+Cm6i2soP3hZM1SCBnMnm75+31Y6C+XB pP55kPiKnzH0rxF2al1Fx+B3F5osph2qtfpp8Thob3E/aECGAcnX5Tl41Oh0RF2RTV4v FJNQZcDam3OsS45osKZN54SvEfYNBSEAkMYMuNlJaCeh2pffb8DaOW4UDBC4KZUkQ+tr z3p/87boRdrDu3pl6sp18NqsAIRGHp8egqiSuMbd1bYOQ/ZDYHTW+6NN2S8PDajrUFPG ov5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684949946; x=1687541946; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rSmVapjGY4609B8VseiXBSPMlIsV3BDKD/4/5pbhv2g=; b=mDX39qcyGJw3Iaro9NUdhR8YFn72qUtUGaVJrM0aaCfzShXkaZQgM8jmREcvCmdJ+F 7EZaxAR1GzulH3xCCmw9ETlgWAgW+we0eRB7PqWW45o9KKCDOSAo/Qui/gE5y1TnYfKF miw/0YS0a0BTHCdSBst5bCrVqPLRy/WOay2au5NEFAIq7tXch/1NYM8YwsIobRTcccKF eSYhXOzotaFzYGFY1KPjEItlhVcsB0OtBCJDq0nxw/NgOpiVBAn/cDCvoTk7tKFK7GhC gYz2pzTrTRpe5c3Sx3qrsHXeb/ajWEWMciy3MoiaB9Np/rP6Rl2y3HhpA0m5FjL8MlxM qRYw== X-Gm-Message-State: AC+VfDzGaMXQGWug2IcB3RvzZlABu6kTifvsjOjSQfjdZF5m0/w352Jd Hha0lI5Vhf1El89mJvDjOelpoQ== X-Google-Smtp-Source: ACHHUZ4wwkp/KxiFRRPQd5u+yMrkpkupW7CD1t5UcZ+t2Ku41ciiE00aSn/ZkkklOnRerxtIERZstQ== X-Received: by 2002:a05:600c:2244:b0:3f6:3497:aaaf with SMTP id a4-20020a05600c224400b003f63497aaafmr349544wmm.9.1684949946396; Wed, 24 May 2023 10:39:06 -0700 (PDT) Received: from lion.localdomain (cpc76484-cwma10-2-0-cust274.7-3.cable.virginm.net. [82.31.201.19]) by smtp.gmail.com with ESMTPSA id l17-20020a7bc451000000b003f4fb5532a1sm2993053wmi.43.2023.05.24.10.39.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 10:39:06 -0700 (PDT) From: Caleb Connolly Date: Wed, 24 May 2023 18:38:55 +0100 Subject: [PATCH 4/6] arm64: dts: qcom: sdm845-oneplus: enable pmi8998 charger MIME-Version: 1.0 Message-Id: <20230524-pmi8998-charger-dts-v1-4-f9334afc4505@linaro.org> References: <20230524-pmi8998-charger-dts-v1-0-f9334afc4505@linaro.org> In-Reply-To: <20230524-pmi8998-charger-dts-v1-0-f9334afc4505@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, Caleb Connolly X-Mailer: b4 0.13-dev-46309 X-Developer-Signature: v=1; a=openpgp-sha256; l=1853; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=AyeJbiuz3WEehh/6aaynrQbFEhw+gvf37a7oFpCMTYc=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBkbku1+gZPetbUZ7jelvBoX68tW8gbMQJ+dzApY NJwImcTiXiJAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZG5LtQAKCRAFgzErGV9k tinmEACRG4PJdNl/KaCPPbReZP0swb9ejYOVCnhjImZXLy40+lSDHwkVFsSIVA1un4kb34SItMY pCBZTi9RwBLL+LTif9Fn4vpO4pWu3/tXGguuKsqXTN8NTQjz5BR8i5rK0w3gw2H2l5ykj1pYxkS SWwmgK87Lp092KW0tz5fwI61OSF/RPiVRWlQkLpdeo/NtPILkzdVvmTF7uSEV2/ZQFMLVNJgZYN ejpyk1TNZbiZ3uces1omYRkKWHfj1HAQ31nx8RhFFz51hsqCcAKqUwGNuKwlMRhqDTxCrXeTHf6 EJcguM1g6qO2VS0hpKqUjzO+9d+bYgTO5GD88mQa+CdjEXXl7fDpAlldDf5BlqChr3wSVPr125O Q27pHsnGKOFsytSvumNbb8mvJZPvkwkPASZ1PbYSrFWLF1PObLlyBYkURc9BtcDva0FIoFYN16B cEyDIl8McOK8dhG5UgKiJzi9BcGDJIheHGDn4z9Edzf7GdTYGixlCtK7L20pxfzXYYNqvMvLeTj FCxeioH55uMCPtCdhA6CkhSAE5Jsuoa/5NP3Hma8JfNXvc+4STSKhDja1CqupN6xC++qK4S/Lqj BAOAR7jkc/Sn2V+EQaSfkCKDztR7B6kqaB0nRrgy8pS7qQ1wgsTRrS+p88xctw1U6Aw+fH30C18 O/AzgtGa+n0UFJA== X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Enable the pmi8998 charger on both devices, enabling charging speeds above the default 500mA limit the bootloader sets. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 4 ++++ arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts | 4 ++++ arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index 55ee8dcf27c3..364adf416c4f 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -480,6 +480,10 @@ pinconf { }; }; +&pmi8998_charger { + status = "okay"; +}; + &q6afedai { qi2s@22 { reg = <22>; diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts index 6cdda971bb4b..623a826b18a3 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts @@ -51,6 +51,10 @@ max98927_codec: max98927@3a { }; }; +&pmi8998_charger { + monitored-battery = <&battery>; +}; + &sound { model = "OnePlus 6"; audio-routing = "RX_BIAS", "MCLK", diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts index d82c0d4407f0..9471ada0d6ad 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts @@ -47,6 +47,10 @@ &sound { "AMIC5", "MIC BIAS3"; }; +&pmi8998_charger { + monitored-battery = <&battery>; +}; + /* * The TFA9894 codec is currently unsupported. * We need to delete the node to allow the soundcard From patchwork Wed May 24 17:38:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 685426 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 56D5EC7EE43 for ; Wed, 24 May 2023 17:39:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235868AbjEXRjM (ORCPT ); Wed, 24 May 2023 13:39:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231280AbjEXRjK (ORCPT ); Wed, 24 May 2023 13:39:10 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF114119 for ; Wed, 24 May 2023 10:39:08 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3f60410106cso9959255e9.1 for ; Wed, 24 May 2023 10:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684949947; x=1687541947; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=EFRpfOgAemmobrPyj5/6+5l5ZSGSv9HGDmWDnbrjeGI=; b=o43bHwJTVhFwhegLH1AWD+ExeObFKxgkmYvQjhUH4jqymDaoiyC6Oga33WNk6DQtgL aWFVYNwXscZvIem4sfnMJygP28lm+qYaFNq0fEAkiYOXnkOhS+2uTjw+HA6ffE3TnHsF Gm3/pw5kCAs3d/3VmhnODQhLfNEj20pbVbZ7jGCq8YZoP6DfMIui3EohJ9TUMOh8SMqL 2zl8dz7Qhn9idsz0u6VhKWVFlMGmg03VVo73GzNauDHOI9sbrXPKlOPRDf4lEo5w2GnD ilUX6Nfg4g4eEaAXGWQj7Gg7mFp3+YP2S1vdVQpfy1uz0ObdRy02SaQ31rFkeTSnDKhm GPGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684949947; x=1687541947; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EFRpfOgAemmobrPyj5/6+5l5ZSGSv9HGDmWDnbrjeGI=; b=FoZcnioMc9mfBRYviDWaHWw1jgMTSMjDhT1QKOcqXzRYDK+Kiuh6x2t7e67N8isLeJ npz8InscdR1qnqEK/5n4SLIA2LqTqAj+3qM19P19wcpSbCT8nAys9GhnY5PxGkXB7qoT Zl5Yj2IoKpMEcB5rre7lDq4v7BC6pssazF7EGuaW03if4fx1Lt/F4dYU7mKC7cWyEjzR Hi5EVwAy77Clo1ALQFAAIdDt7dq/VQGAoZTYxpNCo3yEien20m4AdDYzITWlTgk/9mVh ARD7plMjfNYig+AEIcpVZhUYM4vODkJFNpAsdijUouPWj2mvD/1gyBFQv+weVXm/4mLv P2AQ== X-Gm-Message-State: AC+VfDxDBwZSzJRM84RslfJBwJbOOQei3YKTZzJVkSAAvPS9Ynibz7lu KaVJRNAEHRlc/yCTMSRj22c3uXf8KBF1IvsPkUDMhw== X-Google-Smtp-Source: ACHHUZ4iFybeQrsZ+JMvAZvBqeQKewZ3WRIkvssf0mWHctBFt2dBfZLDMilLnAGsjFtxHwUFmzc7QQ== X-Received: by 2002:a7b:cd1a:0:b0:3f6:8f5:f9ee with SMTP id f26-20020a7bcd1a000000b003f608f5f9eemr395095wmj.26.1684949947204; Wed, 24 May 2023 10:39:07 -0700 (PDT) Received: from lion.localdomain (cpc76484-cwma10-2-0-cust274.7-3.cable.virginm.net. [82.31.201.19]) by smtp.gmail.com with ESMTPSA id l17-20020a7bc451000000b003f4fb5532a1sm2993053wmi.43.2023.05.24.10.39.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 10:39:06 -0700 (PDT) From: Caleb Connolly Date: Wed, 24 May 2023 18:38:56 +0100 Subject: [PATCH 5/6] arm64: dts: qcom: sdm845-shift-axolotl: enable pmi8998 charger MIME-Version: 1.0 Message-Id: <20230524-pmi8998-charger-dts-v1-5-f9334afc4505@linaro.org> References: <20230524-pmi8998-charger-dts-v1-0-f9334afc4505@linaro.org> In-Reply-To: <20230524-pmi8998-charger-dts-v1-0-f9334afc4505@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, Caleb Connolly X-Mailer: b4 0.13-dev-46309 X-Developer-Signature: v=1; a=openpgp-sha256; l=935; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=c0cAnT6j/U4OJJbr0Wl5brf37cZLiHaOow4CrkWfhbY=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBkbku1umekLdHjw8bIs+aMGv9ctSrY9Nqh9HcSO NJ7+qTRxWKJAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZG5LtQAKCRAFgzErGV9k tthBD/0crRgaEynYAsNVQj7qHYTajULPqAjtj2SYQr/pGzyJTpPzcL0q3wlIvbT2nWH/QgKIN4t Ek2kNG8fxMYiPP3i02nuSjPjiKEzFg0SP6pOVkg/CZqcXywfbXhjLtvc0ENvyiWJlq316uV/gMh +U5yU4xaUSGdiww7GiUaKBSidLrcJwC/eyS1b8wzqazLJWxuf8cFShelt2YEcLgfUdf89efwSfP CSjSIVfsOmOgoYJYAmB5UwccjxqLviP9FZOdj/TmaTh7dlBsn9Q47JiFSUQd3K/iKeR+fnBcBns BM6Y+ZGd89rl97rr5YKwvir7VaeTROb+Mz8Eh7WGxTNwD3QnHHhcGpFIS+WEHuyT6vPzcaXVE2x zT6/iZU+tV+as03M4VQXto4A+x2AYOko6M0AhcqMMndFGO6qjhKcvvOhx6FrKWcV3LmhM7ns/hz qhFL60Db9Vtbk/+OE8lEh4ptP1AW/oFilUP+DhhuJDZbO+rT73BAWUxdo+xVOfVFRJyV4FUGBWl 9Atnv6e5wI7nD3iB7rigUIbb821PXAPyuafmepdfYLKm/5w4ZOtnUbJuI6zSo4LjwfTQiM3npft cNvf98cF20AlQVNCRgnVlh468Ayxx0BGDsdav9yR0kEtzyvx6V1645M4HudDFLi4ecbP27Env8p ZNFiilj2NfP9NLA== X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Enable the PMI8998/smb2 charger, and denote the secondary SMB1355 charger which is used for parallel charging. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts index 0ad891348e0c..bb0f55c52a95 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts @@ -494,6 +494,10 @@ touchscreen@38 { }; }; +&i2c10 { + /* SMB1355@0x0C */ +}; + &ipa { qcom,gsi-loader = "self"; memory-region = <&ipa_fw_mem>; @@ -522,6 +526,11 @@ pinconf { }; }; +&pmi8998_charger { + status = "okay"; + monitored-battery = <&battery>; +}; + &pm8998_resin { linux,code = ; status = "okay";