Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3048065pxb; Mon, 4 Apr 2022 06:38:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQmZOo/t0P30BCjsilI30mv53JMFs56QbBEXucuoPEqtIUM6D1vcts/6yAEHYljyoWsVxA X-Received: by 2002:a17:90b:3447:b0:1c6:fe01:675c with SMTP id lj7-20020a17090b344700b001c6fe01675cmr25931765pjb.59.1649079515527; Mon, 04 Apr 2022 06:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649079515; cv=none; d=google.com; s=arc-20160816; b=hhyZE0U8y+ZVbnI/OOWNRYmVsjWsQB2JHQwHPlo2JJQcuS7uUPWIVKmjycKi2xmcvk P+wP/nVezJFw3uwiimLG1tASAL+8MU1feXZYQXd3S/OjiDne++pm+bUMwl9KY6X6p9Pq Azg1ybFEP4g+XDwmeF3+pnhxiXF4Rf80sriaCneuYPJ3gyKUgP4Agtwx5ZueiJ/n2LoL fao9yVUgCE9sOVLXCtV6+dgizFRSQU9JaAjrLlNnfv33CUEm+GXQh0x2iXC2XSYcR6qe kiUb0pqK7eYYKJkZqXVabTVqkKiB0hM5FvxMVgAdzOLbtPJfiifiuIxV8CiBvRD6JmXZ qFJA== 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=5EcbH8C06sbTvlj74VImlROx9fT7kiTAHj1cznf1og8=; b=VyiMUxiR2dTl6U4lrdTWJ2GLUFzfYAL2o7EveVcnmyJUHS5eRb4GbCmJjIfWxszTZf /OPFfMYMo+Y0WQpKU/DriEWmzijFrfJwUaRP2Wke0RTEjuEexT3Ahl1Qj/5jilywfs0Y bH2UM4Lwxl6j8aFbgP1ii9NafvhkkzYk8rY5TYhTjeyBOhXmDMtTUMu4EgJj0XFJIzZG F20luqXFXroaL46CCelzQR2Siz2xV8MgQv6bMziDmBpvPA3iXXF+lvc6oXU5XVlWn0Xs S5o7BJcobClLUXyomx98j5DZdinCPL9wtgcpuWEvRPuAX+npkUTKO7mrJmgyhjrcsNZ9 212A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HVostgqO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k16-20020a056a00169000b004fa9bb60b22si10298531pfc.120.2022.04.04.06.38.20; Mon, 04 Apr 2022 06:38:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HVostgqO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352534AbiDAU3j (ORCPT + 99 others); Fri, 1 Apr 2022 16:29:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352931AbiDAU3A (ORCPT ); Fri, 1 Apr 2022 16:29:00 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A7CB91AC1 for ; Fri, 1 Apr 2022 13:27:09 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id u26so4243528eda.12 for ; Fri, 01 Apr 2022 13:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5EcbH8C06sbTvlj74VImlROx9fT7kiTAHj1cznf1og8=; b=HVostgqO9ijPRrzVm+/N5vnVlDc2a2ADFntKm8u891rPiZ8JwpXJXqj1vML4NLcsWN leXSL75FtMkwb3dDyr6CwwYW+y8BO+aeRhGie9oWTpB160LiIgjSMTBA77YuyyPG/+Kh lIZYXCg9twtkNLgx67c6S4PmAEk5g/LaSzAS/MeMwz33o/jPtQDGspqjMG+94jIknCvb LjnIJB8CK7Jc5Nz0NZ+S21Tpc3gjQjzQecuSHPeIJDPykGYe6iD0M9derVY06C0l2Fqy go8wIi9p2IIs+EYLihONFAKgMGaUO3i3BkB8R8+HNAKVPNmBVXFKBsO6Fq9bH1BFVxRp FTPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5EcbH8C06sbTvlj74VImlROx9fT7kiTAHj1cznf1og8=; b=iW7Xbo9GbwEmW4fvcCTFndauYJaLAHnQdIgng6pyJ3SKc53ROAuwHcuBOgjTzCLfeo qzntuQYLSmJUIogYyjLbheX6KUHR3MBktPPtBYNBMkkeQZok0WX+Q2Bf5otIkID4EBu3 Rm/1YMiCXtzocXQsYahT3s3ZF38suvdy3COqxCZVB50/jQNMslWJnYrdC4gNf651rMU1 7z6mX80oGQqZT9j4m5HoK8MSTcIULmFGnhMkGedIH/Kk70B5qd33IhyMmYpQuDQ7+agg SYB/hZcE/s/Wk+EhT7fdP1QmcbR5wTUFbGsRrJmJs7J3Dm2W6yiH3OSIFCpyzjT9+Puz gZCw== X-Gm-Message-State: AOAM531jSfAMdZGJfrUi5uhYCmVAiShnZkHK3EC3LEQtcM7LJyLvKl/j SQ/00mpJmpgP3k+OJ7aoTFgd4Dt1bMN+kw== X-Received: by 2002:a05:6402:4247:b0:419:3990:3db6 with SMTP id g7-20020a056402424700b0041939903db6mr22428286edb.193.1648844827858; Fri, 01 Apr 2022 13:27:07 -0700 (PDT) Received: from localhost.localdomain (cpc78119-cwma10-2-0-cust590.7-3.cable.virginm.net. [81.96.50.79]) by smtp.gmail.com with ESMTPSA id k14-20020a50e18e000000b0041b6f23f7f6sm1619346edl.22.2022.04.01.13.27.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 13:27:07 -0700 (PDT) From: Caleb Connolly To: caleb.connolly@linaro.org, Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Amit Pundir , Sumit Semwal Subject: [PATCH 3/6] arm64: dts: sdm845-oneplus: enable smb2 Date: Fri, 1 Apr 2022 21:26:40 +0100 Message-Id: <20220401202643.877609-4-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220401202643.877609-1-caleb.connolly@linaro.org> References: <20220401202643.877609-1-caleb.connolly@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Enable the smb2 charger to expose usb attach/detach events, charging stats etc. 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 3f1b05603701..afc8b0c3aed7 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -461,6 +461,10 @@ pinconf { }; }; +&pmi8998_smb2 { + status = "okay"; +}; + &pmi8998_rradc { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts index bf2cf92e8976..b0fb2f8ca6d8 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts @@ -32,3 +32,7 @@ &display_panel { &bq27441_fg { monitored-battery = <&battery>; }; + +&pmi8998_smb2 { + monitored-battery = <&battery>; +}; diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts index 1b6b5bf368df..3e3c757fe6f2 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts @@ -33,6 +33,10 @@ &bq27441_fg { monitored-battery = <&battery>; }; +&pmi8998_smb2 { + monitored-battery = <&battery>; +}; + &rmi4_f12 { touchscreen-y-mm = <148>; }; -- 2.35.1