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: 398495 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp913507jai; Thu, 11 Mar 2021 21:28:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJznII3uqPlolYaop3Sz1Oj+fsjCNMndjRi+6hnbq+0WWQ9Divp5umeMHberSlhUjMnYicax X-Received: by 2002:a50:fe06:: with SMTP id f6mr12243226edt.349.1615526919442; Thu, 11 Mar 2021 21:28:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615526919; cv=none; d=google.com; s=arc-20160816; b=nBb2nn9TMlgoFm4eBARZwUnq2U2mrkJ+k1krMMxco1FFPLqlgboDWLuTBWzLp3h6K6 2ZU3sNUXGxpdVgQMzCdTIqgBqKCnZl8DBGnsUQzn0i4UayAB+QTqeI752dt8NP/Ty8NO YGH6gBPho5TvRrffGnN4F9RDfmk8Y6fLMOssWVX7HOcgWiQ8qyKc8vMRBK/VWflmhCXH WJUE+gjmMDCngOVlrUeS5/qRO2YFgGb8sJzGKPsUhzc16v4YoW837FK4u6AyRS3To4DB vVpIHQ2ffv5uvbv+sPRwLgt9tDte4qjrSMiHdW3m0wZchKaZgq8CaUfUwL1AjMPTVq1L FfYw== 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=Mg0ekzctGszI2NF/HzxM4G39BhjMXyuPpucRGh4aZUM=; b=ZqPJe+k648iYGuj4rtaSmLiZzuqLkUutz1wS0iOvzDkZU7e4IasVw/6P2HEM59odZf s5cVHk7+8d12FheMCtnXiGsQv9pPmNKnt/1H/m6B/gyLD0f2wQS/AEMQX/DJzDwE03Zo LEZiknNfAub/TebcSNUAZqCzbL0SlLqmRMpCp67BQFStrFijB2dFabcdG35AaPiJcjcb O8JPrQsFPPk4cWdeWDCJJXAKsj1zXJ5SQFtjO5Xe1E/Yq5dhmj3An+hLIbp6fyFLwG5Q 1C3lpVWrdO3QEtCoIBkwV/6SMkAyrf/gMXI9HdIKyM1YLYWweYmu/uN22juoSdJvcyB2 OfCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i787g7a0; 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.39; Thu, 11 Mar 2021 21:28:39 -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=i787g7a0; 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 S231420AbhCLF2H (ORCPT + 16 others); 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 -- 2.26.2 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>; + }; + }; +};