From patchwork Fri Mar 12 05:27:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 398498 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp913525jai; Thu, 11 Mar 2021 21:28:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxy4YffUm54nc2PitIOsleCL/XTvxbEsWggpFDQK1m8WboghVfxxn1Bi1tQWwFGk6ExXqYn X-Received: by 2002:a05:6402:3122:: with SMTP id dd2mr12007405edb.253.1615526921618; Thu, 11 Mar 2021 21:28:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615526921; cv=none; d=google.com; s=arc-20160816; b=Qr9BWXO2ympXLngT9nlVdRs3wcGV979wA5/S1S+uw0n6Q0kcUXFr+h7h58YTUQB027 qwreCq2EG9OamqCgTx8FLDZ/1SZbDHyoXzPq/BT13opWu5kU9hQHejvQsqrqhHiEdZiX Hr0wOLETXVbDWF82OTZXZ0GTvTmEzBlDCYAdWfnbeCTUrVeRQJcraJuVqkK1aKv3/kiO A5iGpEblu7wbUl1TIeFlVZnR32coq5/2UrFXNHdB4U6Bxm/jPhY1/RBUhr8TlfJ42KGa UlCJ+zgYpcWwnrgpfQ4Ktc55mvY5OhpDc+MAGx5b2KgSOS6q7zLcIpYgQ2XfB0PjmVIv pUoQ== 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=sbVDGBbgw7l7vgkxD92llxsxEEzzgK1P2K3sqH0RpUY=; b=ljV5FPxMfDZjPJvpze8TBFaEkOfFrcwV0E/94PTiwkF65doLt6GryAjWog3xko2XNH fuJCjSJ3ViVzsaZw3sjCo0UDZ/nsB2zLVtMvdondjwnhtsdJbuwE1rT4Fkn0CmbqEhib CUKtodUoKo2QAyNvI9uMxP+TnH1wYgYZboFVDFATMIgXwyDsb4WcchBslZc3AekEKfNs tmnk8lcxIu9MzsD+oQfwDZkl82mewvqDLIX2Ola8c1u6qMFaccj8Yx0nXHe6XGbHuoJh FR1WOvglLdnlgyOhTMVGgBfsYgBLVuwiewyXD8I+fkJ72k5DUC0782mk9cIv/1iGUGOY WdWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Uui1lHha; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si3240848ejx.287.2021.03.11.21.28.41; Thu, 11 Mar 2021 21:28:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Uui1lHha; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231425AbhCLF2H (ORCPT + 16 others); Fri, 12 Mar 2021 00:28:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:34636 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231348AbhCLF2A (ORCPT ); Fri, 12 Mar 2021 00:28:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5C8A964FA0; Fri, 12 Mar 2021 05:27:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615526879; bh=ENTrra+4XMPpj+qT25vVnN3pyfzFezuSZCSAeAsaBzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Uui1lHha8zGiX/GjcoDd0sW4lOSMGBXd+NpgTo/teYOSO1hxwpi+9raGLyNxFLegv bvAZ1ndC/UJW8mC+uw/TQawhOnCZrlii+AEfMV6jTWZf+2R93S/cSA4EZpsJRFSThh FZnvPBID6rQlV70skyx2Y5dN1luPsc6b0MBAiDHx3cNFeLtGY7gdjyyl9S0GpM/8f8 mzaGhVaCJ5yfSdx7+o3vPgd/imrqAZVOqnGmD/R89o/tiygBMp+BQQJzvnEKIhpPTa V0ccIx8PETOrVv1w8E/o3IQE535lW15+DwcbsnZkH1BivglTTSU0RmWpapCNqOYoxU CdbNAZb7TlWJA== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Andy Gross , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/8] arm64: dts: qcom: pm8350b: Add base dts file Date: Fri, 12 Mar 2021 10:57:33 +0530 Message-Id: <20210312052737.3558801-5-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210312052737.3558801-1-vkoul@kernel.org> References: <20210312052737.3558801-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add base DTS file for PM8350B along with GPIO node Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8350b.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8350b.dtsi -- 2.26.2 diff --git a/arch/arm64/boot/dts/qcom/pm8350b.dtsi b/arch/arm64/boot/dts/qcom/pm8350b.dtsi new file mode 100644 index 000000000000..b23bb1d49a4d --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8350b.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Linaro Limited + */ + +#include +#include + +&spmi_bus { + pm8350b: pmic@3 { + compatible = "qcom,pm8350b", "qcom,spmi-pmic"; + reg = <0x3 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8350b_gpios: gpio@8800 { + compatible = "qcom,pm8350b-gpio"; + reg = <0x8800>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +};