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: 398500 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp913733jai; Thu, 11 Mar 2021 21:29:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAJWVWq/QjsavoA9QN+Q5ZSAVHJmAuO8pqT8MLTDx0zquyymuX1Rjt4F9rb2+Fw2QA6tpl X-Received: by 2002:a05:6402:254f:: with SMTP id l15mr12180166edb.189.1615526950134; Thu, 11 Mar 2021 21:29:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615526950; cv=none; d=google.com; s=arc-20160816; b=ulVbbCZrfMZFny30jI2DEKgFSruTkskfm5Lqxo9mmFn42/5Mo81OqW7P9AEJ0GEGYh F+OInhAVkR76rw3XrlcGCNvSPC1AKhOdgIRfidZugsJDgpTadjfrl6mfy6nKQafJAyYO fBl0/up1HANRl9q7UJ1/uO/hwx9AcBNxqM3LuAVIe+whbEkgyYFpyJYrIu0c+7L4atZD 1P1sZ4Y2uYvNHjM9NBUNX8SIvS8hKvLpiOsCZqtIx3KazAKlYbrw+vZNivrgnDFpcViO 9ZIc1m5pMGGF7rNu53KK0U1FVLtlcRTOtcskZ4V8oWVuvE0LO0puIBfdFa6NKP1xqG6d 0v5g== 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=cGXWlpp5fvUCiI5Z2hBLpaNnTO8nESJBNcdsYfMutdU=; b=Xd/DIk6jB3NPtJ0jM9jlIFvNzdyofr27JDMbHu20cLLk/DrIEcQ5tS8JQl05HdwwUh C0KHS6fnd/7+SbTXyzAYem9gb8Hf0T3a1/SA7DazZenxCIeZC5gR0Kci/uiqMwR9uHI3 v/qJ6u81LK9ZurDDLvioOzyYSaDt2qVPbcxhJBkl8tK9ZoR2bQR904MHFqK/uERtnKbX XP01mpRmnFtP/xS5wMhEWpki0SINtRzKe7SLb0HoBjKAMsXSEyDMfmydqhHPGSSrMZFL s8sKG6w0ynxWHfCUMXE4KAMHiAb42/ItqliofugVMlLDBGyP51ChBpVp2rVOy4WascNc KhlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y6bQdee3; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 g3si3256118edp.527.2021.03.11.21.29.09; Thu, 11 Mar 2021 21:29:10 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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=Y6bQdee3; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S230136AbhCLF2h (ORCPT + 6 others); 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: devicetree@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 -- 2.26.2 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>; + }; + }; +};