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: 398502 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp913758jai; Thu, 11 Mar 2021 21:29:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwp+2UrvmSoV0maox4BP1tGmpWCtOdF129FYxibRDiuwnMCPlSeDf/M8xOpz8cBLdc7NHxb X-Received: by 2002:a17:907:76c7:: with SMTP id kf7mr6516479ejc.470.1615526952160; Thu, 11 Mar 2021 21:29:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615526952; cv=none; d=google.com; s=arc-20160816; b=q1yIWPFXEqykU1RWq0mfwSEbYzUo4OaQ4nynURYoRhV1hP5QW9+G9CwdIV9MHra9+y l7l4b6Cu1t5CLFaMC3XaRDQM+Y+YgyRmwdZpjRvzB2Ak9QORSlon/4mJ6znwY6u0Fztm ccD2jTCseJaVWCi6sxV9hJw3OPnHWoOG5HKNaOUVav+BKP47bnxzkysu+VKRPeN1xu97 PYfLu3oW5r7kUABviSet/oSdeq6H4efhFP+uba8sJIzKvMfPGAYqx1sKe9kZoeAPvyTB 2djjCXFOFPTCekcNJo1WGG7y8CpOhJBvxTILFvOhTA1X3LRJMmuT817yeM8wKyNu5uvR v2+w== 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=+SqqNqnFIX2wy+7KhpCmuV+WwVM5GYHWUcFJrSOShYo=; b=r/z24cv+44KGXnmUF1NYugr/4KejlyQ6dl9h6bY8OsnRfxyNHyWn+laQNADxQWmsf+ HoKbx3oi6nbMfCstRIBYbpitIZlSaKcLKiJmRRC9TPBS5Oril9gngdYqqO8kvD7q/qci Sy0UKvCokKJRVhrbXyHccDUhUrxmnogJAYP8SExdJthxLd6EsH+ZlYQSS8sZfrkv0Rca mCWFux/Sh8qv0cyFJmuQTn/qFrVKrIwOZVBiLaKaptHorsNC1IbvC/M9ByiN7giIboLz aB/pKiSv++LovW9y7lGtl+aN0ru7XUt2MdNBIBzBI/+swGaVNJof4eqpHCvYQHvtDy52 5MGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tL7LaLCc; 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.11; Thu, 11 Mar 2021 21:29:12 -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=tL7LaLCc; 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 S231470AbhCLF2i (ORCPT + 6 others); 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: devicetree@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 -- 2.26.2 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>; + }; + }; +};