From patchwork Fri Mar 12 05:27:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12133703 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA995C4332E for ; Fri, 12 Mar 2021 05:28:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7E42864FBA for ; Fri, 12 Mar 2021 05:28:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231379AbhCLF2F (ORCPT ); Fri, 12 Mar 2021 00:28:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:34598 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231337AbhCLF1u (ORCPT ); Fri, 12 Mar 2021 00:27:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id AFAC764F84; Fri, 12 Mar 2021 05:27:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615526870; bh=ed7quphv4hnu+7jfPvg+C+72B9xlk1az1sYpAKAiYzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WsEbHcy/3gE6Lrw2eWfzhn3aPCCgDv5E+ON/ifSMW/3ahUkYk7nlxSXYcDVPfoEqx OsUk9066vbTM/vHwYtLOFNSvQSe0clyz56vd4nbNiQKRT8ng4rTg6OswyZ346fIKBl cb2uTqQB2amXRhh2SMWxvwLnUJD82avq2zoKFIrNWsP4sp23AxmyeEUPuGTokYs0Wt OGBISQ7HZPeRAjdCb4ftVX0ZMH/XcaWxzWuq+q7UurEnb5oUWcDXX+HwlL/UAPKR/K 2vqfIunDt1ynFV9tQl/Z14nRosaDOTLpIN+py8jgVPXoRyUkZXn85zcv+/Dwgqv922 fK/44PC3I1LYA== 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 1/8] arm64: dts: qcom: sm8350: Add spmi node Date: Fri, 12 Mar 2021 10:57:30 +0530 Message-Id: <20210312052737.3558801-2-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 SPMI node found in SM8350 SoC Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 90439bd6eea8..5e2569ceebad 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -634,6 +634,24 @@ aoss_qmp: qmp@c300000 { #power-domain-cells = <1>; }; + spmi_bus: qcom,spmi@c440000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x0 0xc440000 0x0 0x1100>, + <0x0 0xc600000 0x0 0x2000000>, + <0x0 0xe600000 0x0 0x100000>, + <0x0 0xe700000 0x0 0xa0000>, + <0x0 0xc40a000 0x0 0x26000>; + reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; + interrupt-names = "periph_irq"; + interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; + qcom,ee = <0>; + qcom,channel = <0>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + }; + tlmm: pinctrl@f100000 { compatible = "qcom,sm8350-tlmm"; reg = <0 0x0f100000 0 0x300000>; From patchwork Fri Mar 12 05:27:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12133701 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88A1AC43381 for ; Fri, 12 Mar 2021 05:28:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5A0B064FA9 for ; Fri, 12 Mar 2021 05:28:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231404AbhCLF2F (ORCPT ); Fri, 12 Mar 2021 00:28:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:34612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231344AbhCLF1x (ORCPT ); Fri, 12 Mar 2021 00:27:53 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D875F64F8E; Fri, 12 Mar 2021 05:27:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615526873; bh=QVRSNxTDuISQ+jlj4UuDcJFhqaYuRAmgRTwx+vrHnb8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DPfLV1aD1SFKu6JSQ4KEXaFZyqRARsJLnJBE7Y/iscBIgLW18lixrqMrRsf/3yf0b j+t3qsC/QoNKnWJs3n7NxXKzCLt9IuYjTY4tA89n49jgHZ39UMJ4+kxdhCQenhczuE HwMqAxHyCouLLUeIR1zMO474v74sMRzYb4mIlLY7bc94zQqR1YYSpn1DRhVTBAWknC HGi5YvK+/hIIMcGhlCz3bu7IgwEVG7xrjWFaHyjZ4p8jSa32sbLa8dItn6Dim+TlEI fFS2TlVtspby4xvJ2Bcyz/qpiT5iT14eMtF/hhrD7pmOgF9lOQU59JRsslF8JmhUMi n1CIS+74/Kbdw== 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 2/8] arm64: dts: qcom: pmk8350: Add base dts file Date: Fri, 12 Mar 2021 10:57:31 +0530 Message-Id: <20210312052737.3558801-3-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 PMK8350 along with GPIO node Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pmk8350.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pmk8350.dtsi diff --git a/arch/arm64/boot/dts/qcom/pmk8350.dtsi b/arch/arm64/boot/dts/qcom/pmk8350.dtsi new file mode 100644 index 000000000000..1530b8ff270f --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pmk8350.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Linaro Limited + */ + +#include +#include + +&spmi_bus { + pmk8350: pmic@0 { + compatible = "qcom,pmk8350", "qcom,spmi-pmic"; + reg = <0x0 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pmk8350_gpios: gpio@b000 { + compatible = "qcom,pmk8350-gpio"; + reg = <0xb000>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; From patchwork Fri Mar 12 05:27:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12133697 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A2B8C433E9 for ; Fri, 12 Mar 2021 05:28:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4517564F8E for ; Fri, 12 Mar 2021 05:28:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231420AbhCLF2H (ORCPT ); Fri, 12 Mar 2021 00:28:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:34624 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231346AbhCLF15 (ORCPT ); Fri, 12 Mar 2021 00:27:57 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2005C64F84; Fri, 12 Mar 2021 05:27:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615526876; bh=13OEpZzxTT8XQQP4bjEJUkp7rb+lCYdcsrFPw+V1v8M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i787g7a0ofxxzwrly2qX6jCFVM/t8BsXnqWwNs+7N9d4jfypsnQrXXnvrTEPHdvVw r6B0LdKmpYPEa3EkPCbTy9JnNNX15g4NL/zNtKH5aELdk6bXivMFFO9YwKpgt1zXC1 inOoz6QkrttVhF9mSSpXZM9rsySOg3bO3VNNMQiNVnt+WtF6kTkpM3RuLYCcRDO2ju /uLA1mJz2keF/ltIBJTiVRSg8FJgN0llmeA/9joXo844xqar6mf/STLhn3N2QM2XaT Rn6MgJnTOHXr4FEh+q1nyLxsVhmDD9FObyTa4wKEUGMhgPpNv0op3bSt4wge/KgSxM S185MDzQeqDHA== 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 3/8] arm64: dts: qcom: pm8350: Add base dts file Date: Fri, 12 Mar 2021 10:57:32 +0530 Message-Id: <20210312052737.3558801-4-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 PM8350 along with GPIO node Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8350.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8350.dtsi diff --git a/arch/arm64/boot/dts/qcom/pm8350.dtsi b/arch/arm64/boot/dts/qcom/pm8350.dtsi new file mode 100644 index 000000000000..308f9ca7c744 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8350.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Linaro Limited + */ + +#include +#include + +&spmi_bus { + pm8350: pmic@1 { + compatible = "qcom,pm8350", "qcom,spmi-pmic"; + reg = <0x1 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8350_gpios: gpio@8800 { + compatible = "qcom,pm8350-gpio"; + reg = <0x8800>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; 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: 12133705 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBC11C43331 for ; Fri, 12 Mar 2021 05:28:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B9A3464FA8 for ; Fri, 12 Mar 2021 05:28:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231425AbhCLF2H (ORCPT ); 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 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>; + }; + }; +}; From patchwork Fri Mar 12 05:27:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12133707 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A32DC432C3 for ; Fri, 12 Mar 2021 05:28:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 260F464FA9 for ; Fri, 12 Mar 2021 05:28:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231444AbhCLF2I (ORCPT ); Fri, 12 Mar 2021 00:28:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:34650 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231368AbhCLF2D (ORCPT ); Fri, 12 Mar 2021 00:28:03 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 93BD064FA0; Fri, 12 Mar 2021 05:28:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615526883; bh=WdQ23F7j1uEXwmLdu1okUvpofovg5Shaw9+zn+i4cio=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LZ7DXIAoaIOVB+3AtKGTsbIu7ENEKRbBcn9GhKHTdyQzDbsCUr6H6lKRf8DjdaUXL icKo8al6I1e1xzBGC/7AwQcAFxcDuPfhybBS/FWEgVQLuPTJ2dCD9USTwXndFevN3L ut5GZ4cedRhywNIvUNCYPClLSQ/l7ln6YLiha42k194x31W1yNOpbggNNlVEeA+9lg dfACmL+QLa/etwKaiQXDAz8NE+zGKHS5EyWBfENtnUkKkVJiU9cftFBSNfNBhBAZAJ aI55KEtxT7b4jN9JsWOy0RZljcxvehNUlaJHV8dLZ+DEoymv0w3rWrz7+XNik+WCs8 WeyJv9Naxq9Ng== 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 5/8] arm64: dts: qcom: pm8350c: Add base dts file Date: Fri, 12 Mar 2021 10:57:34 +0530 Message-Id: <20210312052737.3558801-6-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 PM8350C along with GPIO node Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8350c.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8350c.dtsi diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qcom/pm8350c.dtsi new file mode 100644 index 000000000000..2b9b75ecec60 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Linaro Limited + */ + +#include +#include + +&spmi_bus { + pm8350c: pmic@2 { + compatible = "qcom,pm8350c", "qcom,spmi-pmic"; + reg = <0x2 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8350c_gpios: gpio@8800 { + compatible = "qcom,pm8350c-gpio"; + reg = <0x8800>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; From patchwork Fri Mar 12 05:27:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12133709 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09BAEC433DB for ; Fri, 12 Mar 2021 05:29:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C79D264E60 for ; Fri, 12 Mar 2021 05:29:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231602AbhCLF2h (ORCPT ); Fri, 12 Mar 2021 00:28:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:34746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231407AbhCLF2G (ORCPT ); Fri, 12 Mar 2021 00:28:06 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C786764F8E; Fri, 12 Mar 2021 05:28:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615526886; bh=ccS6pLnpZRn7eszZUjU4QVyabgxKQTTl2OZooLyk9XY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y6bQdee3ICaRN5zOF8NJaqi6ZTmZOZX6J5CaX+kckQEZxQ4JOj76kuDjoF5I0qTJa jS543OpBHJCPp7iuyteEmKtCJBGk2zkxElxsvW1nXIArLU/ZOZe1N8/Vdc9GqLVP8L TKuEu5u6cYjHO61gMMs4E3M38Fetfd2Ie+bw8s4spTczbaSDAiosITgd10C5gpv96n tIEhgAB1ABbqPhIFo8Ibg52oZA7TzTHo8No+/r7tBTSxjbwMflUAeeO0Qbsg+7HAPj IsRjAEV1TzDamIh/dQShtekO7cBSv8QdUwuOjdvUDfojWSw4pS6spNokmS2Yod9z3q UH/ZQfGHtzSDw== 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 6/8] arm64: dts: qcom: pmr735a: Add base dts file Date: Fri, 12 Mar 2021 10:57:35 +0530 Message-Id: <20210312052737.3558801-7-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 PMR735A along with GPIO node Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pmr735a.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pmr735a.dtsi diff --git a/arch/arm64/boot/dts/qcom/pmr735a.dtsi b/arch/arm64/boot/dts/qcom/pmr735a.dtsi new file mode 100644 index 000000000000..1c675af13cbf --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pmr735a.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Linaro Limited + */ + +#include +#include + +&spmi_bus { + pmr735a: pmic@4 { + compatible = "qcom,pmr735a", "qcom,spmi-pmic"; + reg = <0x4 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pmr735a_gpios: gpio@8800 { + compatible = "qcom,pmr735a-gpio"; + reg = <0x8800>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; From patchwork Fri Mar 12 05:27:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12133713 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87BA7C4332E for ; Fri, 12 Mar 2021 05:29:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6D41D64DDE for ; Fri, 12 Mar 2021 05:29:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231480AbhCLF2i (ORCPT ); Fri, 12 Mar 2021 00:28:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:34764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231461AbhCLF2J (ORCPT ); Fri, 12 Mar 2021 00:28:09 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E950464F9A; Fri, 12 Mar 2021 05:28:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615526889; bh=7ki5DrCuHW0iEkwUlxIpVuB9NphBXc+42Zg4Vkr+VGI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tL7LaLCc5qUj6DIN1O7ZB3VTKlQuD7IpP6d0gE6pw12A8r8443dLQf3N/YY4XWNZl ypG531/Eib8LMZnDBm3R3/cSecuatw3iM7J5WbjNWqFusXwC45JTf8tCIH6qHx9BCh qo/WgvQoSajjRlKXOFr3awxYxqrNRCSJsH4oZqFynsEZ0AkwysGVNxVGS16HnekdkU z8PLMUneXa65243z/ZPTI1+dtK08MoJGFrBgQT7W0F9Sq0XRtHj+tg4ixCi+MYY9bA 0nlj46dTMyjnciwZhSMTLEbfMR2YaXUlRa198CCf3NHNxSXk6T3WeAO2rkSknbva82 Nqbyz4zs8ep5Q== 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 7/8] arm64: dts: qcom: pmr735B: Add base dts file Date: Fri, 12 Mar 2021 10:57:36 +0530 Message-Id: <20210312052737.3558801-8-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 PMR735B along with GPIO node Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pmr735b.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pmr735b.dtsi diff --git a/arch/arm64/boot/dts/qcom/pmr735b.dtsi b/arch/arm64/boot/dts/qcom/pmr735b.dtsi new file mode 100644 index 000000000000..1144086280f5 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pmr735b.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Linaro Limited + */ + +#include +#include + +&spmi_bus { + pmr735b: pmic@5 { + compatible = "qcom,pmr735b", "qcom,spmi-pmic"; + reg = <0x5 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pmr735b_gpios: gpio@8800 { + compatible = "qcom,pmr735b-gpio"; + reg = <0x8800>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; From patchwork Fri Mar 12 05:27:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12133711 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DAA6C4332D for ; Fri, 12 Mar 2021 05:29:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3B62664DDE for ; Fri, 12 Mar 2021 05:29:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231566AbhCLF2j (ORCPT ); Fri, 12 Mar 2021 00:28:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:34778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231511AbhCLF2N (ORCPT ); Fri, 12 Mar 2021 00:28:13 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2267364F84; Fri, 12 Mar 2021 05:28:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615526892; bh=kx0e/nkHrvuAw8BXYQ1q5L6tg/hUuMwxxsJH6ZjKDfE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sKyJE9wmsPC91wlP49jd9Qasdx1j9EIyBrwF8Ab0R+DZmMPy2xVat0krHbVKLNSwF AmnuypQxMd6R9hv3ZeASlrRzaO9WNwOwiYT+RzAZQkdQpWrPlsS2iHkrs6iaxyuqT7 E9LtVXWGsxQBvozFx+KCz32KzVEThJLd90h/O1tXhRvNrdWPoqvB6t+xWCY6t1oe0m IN5ifos17xumgdxmfLN43mgVbZxuWEWP9uW4aV1E+7rAobyMbG6lqmx6EhFuG0MaH5 X0dW1ad/uDDkcbKjj++pv2pBLN9y6heN2WpcW6BPmQoipxNr6pFjJQWhACDQJkIuVJ UmConV6kkT8Zg== 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 8/8] arm64: dts: qcom: sm8350-mtp: Add PMICs Date: Fri, 12 Mar 2021 10:57:37 +0530 Message-Id: <20210312052737.3558801-9-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 SM8350-MTP features PM8350, PM8350B, PM8350C, PMK8350, PMR735A and PMR735B. PMICs Add the dtsi for these PMICs to MTP. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8350-mtp.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350-mtp.dts b/arch/arm64/boot/dts/qcom/sm8350-mtp.dts index 98a517edd442..6ca638b4e321 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8350-mtp.dts @@ -8,6 +8,12 @@ #include #include #include "sm8350.dtsi" +#include "pm8350.dtsi" +#include "pm8350b.dtsi" +#include "pm8350c.dtsi" +#include "pmk8350.dtsi" +#include "pmr735a.dtsi" +#include "pmr735b.dtsi" / { model = "Qualcomm Technologies, Inc. sm8350 MTP";