Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3434817pxb; Mon, 4 Apr 2022 16:55:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3YVGk7ESDOxN5BOUPkEoibBLJehuDakBIpYe8gLy7SL4HCCfgtXRzbRyj/+Rrhs7Tmph3 X-Received: by 2002:a17:902:8483:b0:156:a18b:59ca with SMTP id c3-20020a170902848300b00156a18b59camr712910plo.122.1649116515778; Mon, 04 Apr 2022 16:55:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649116515; cv=none; d=google.com; s=arc-20160816; b=RGc8xkY1F0kZ8hXBvKZQsT+eboXYwyrgt8k6QvV0921V5PkZa8zyTCQbr2irBCVh8A q+A0fDDGxMgVgTPPjbQFobEBoRy2wuQS0D990qJVe00NLmhFAVhAfsTkA4JmJ7FwX5aW 64UZXvtjHGQQSne13JDvJnnZhH0FIrfwV/Mml4GEZE9Ch0mMS3tVeZkNmRDcLCUIU3zR hZejMmLiN+C4j3jU7HqgAIRqlTxbhMqSlZsK0+H/5sCmtKbquMCpMi8Pnnp1a8bQ+8GF 7MJpK+WZ/CVo4tqfEbxGG8qSsJql/Bq4mxwTed4GGvirYnT9Zw92JlxBo7ttW5ieiGSw 7Xew== 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=jc3RgWHjY2p/tsxxVAzB8ba7RaDO2fJGXxeAES8PpOI=; b=nRjrTOeKf+ZTajMHw83feVJaVzM831nsz0DE117zc7z1mmR6HEKY9opLR77t+EYViz YkYbc0Xzt5wBjeht2e5dBqe+R7of/xWnxF2LhsNV4i3crQzKudXko99xV6bTlcQ9KI6V Y7EoQkB9Ng5ZCqDrlH3h70xZ5/+EVeuQkP7YA51G+77m7t6tZWPLtIFUMUH01c7FD4CP BEMLdn3ChA7eSVOmNL76N+WZejp2S+97p32uUU1xlUNYbH43NY0XNvD7hlN+ln/m42Dt 5NJelxLnUeckxsCfcx7vFzIxe/IXxuXrKJvpvyVD3xou88japaKbPp8y+ySC+TC7bGDu 72yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SVDXGE3X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a12-20020a1709027d8c00b00153b2d16512si10130159plm.282.2022.04.04.16.55.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 16:55:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SVDXGE3X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2B6DE60046; Mon, 4 Apr 2022 16:37:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352388AbiDAU3N (ORCPT + 99 others); Fri, 1 Apr 2022 16:29:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352918AbiDAU27 (ORCPT ); Fri, 1 Apr 2022 16:28:59 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F1019154E for ; Fri, 1 Apr 2022 13:27:08 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id i27so1059552ejd.9 for ; Fri, 01 Apr 2022 13:27:08 -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=jc3RgWHjY2p/tsxxVAzB8ba7RaDO2fJGXxeAES8PpOI=; b=SVDXGE3XLq/KSmiUjaRHGDcvUd3VB9aFLp9A1T1si6A8krWfqdKqir6M2mu2L5xx4E cOSz7Gel6JSYnZrp8yVgnCgd8mnAeJUkTOYeMTIKq8rvHUFWscg+IRDD4f5DBN7INWjD zc4kENwU21T2z75Qf1xYSuWUuu7X6aX99FQHN3tMQhXMZaq8Z72/0j1zZDEcZJIxddmr NFyF7a24MFPHrrTgahe2RoeJvGer28t23TTwUBYr3iHGlZxri+lScy5F/biQSuIjpQCa BWONqVqYX076Iezm4fzyGbRoJvGGG0wiBd0GN1zL+ZXsdMzNQiw5INMn+3vGq3zgib8+ 5R1g== 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=jc3RgWHjY2p/tsxxVAzB8ba7RaDO2fJGXxeAES8PpOI=; b=XmvihrnKnP5UFTAw3ATGpKuG6Z0oo1jsU9qkPrN9qBNluQ2t5gL6Tq87Ihwq6wl4Je p966yn+PyUJf6WvIiRFMMpY/fUoh0mdiqAb4T8vWh4Dzj8356R5+xtAY5ePlv8H/i3AI 9qiIiTQgNzWZHO17nmRQFn3czqkvUPjuJL2FVFP/wZTbaQBMsvUt4gkztdpf9TqvSXR9 KCZ4gceG24QyUjnPKph7j4MHA3sNX/5Cayt/iBrfym1mL7vYkEhrlTMZhxMGWhTUNs2c PuyVTq3+IYtqgNhYQz2AC8XRE8YKXUGke+LfUyADeftR//5vldVBVq0HTdeQPWgCSMnY LuGQ== X-Gm-Message-State: AOAM533PFi34XjMvqWhSSbpIN7YbAGw6MRRJwjZh7mtwih8kN0pFAltp swMV8tIxb4yw4mVYBVrW/+JYDg== X-Received: by 2002:a17:907:3da9:b0:6db:f3f:33c2 with SMTP id he41-20020a1709073da900b006db0f3f33c2mr1253083ejc.735.1648844826728; Fri, 01 Apr 2022 13:27:06 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 13:27:06 -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 2/6] arm64: dts: qcom: pmi8998: add smb2 node Date: Fri, 1 Apr 2022 21:26:39 +0100 Message-Id: <20220401202643.877609-3-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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 Add a node for the smb2 charger hardware found on the pmi8998. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/pmi8998.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qcom/pmi8998.dtsi index da10668c361d..b98dad166a0b 100644 --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi @@ -9,6 +9,21 @@ pmi8998_lsid0: pmic@2 { #address-cells = <1>; #size-cells = <0>; + pmi8998_smb2: smb2@1000 { + compatible = "qcom,pmi8998-smb2"; + reg = <0x1000>; + + interrupts = <0x2 0x13 0x4 IRQ_TYPE_EDGE_BOTH>; + interrupt-names = "usb-plugin"; + + io-channels = <&pmi8998_rradc 3>, + <&pmi8998_rradc 4>; + io-channel-names = "usbin_i", + "usbin_v"; + + status = "disabled"; + }; + pmi8998_gpio: gpios@c000 { compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio"; reg = <0xc000>; -- 2.35.1