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: 398499 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp913561jai; Thu, 11 Mar 2021 21:28:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzaYoMTjUoFhhIoWjuKrccNe0pLkMp7Gsn2Z4TOEcUagOurhx9wVUcOdKgci0dUG3inR29o X-Received: by 2002:a17:906:1746:: with SMTP id d6mr6806135eje.36.1615526923570; Thu, 11 Mar 2021 21:28:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615526923; cv=none; d=google.com; s=arc-20160816; b=kr/QN+lEHHIDl872RX4motI72UfSKEKrX/akaxrmtwagxOpFdoTzJg8VAnOD7vzz32 8MT0JAsUBPCENGVul0l/uVR2dJi7a4R6uP4ljwSr7yKrTN+F2FACjNL74vemIZuFM4pn H3lLjuocxKEAsjkVTNZViHB+Blrx4Epgg+4EmQdRnI/EZD/15bHrrs90NvfkjgoE0QOi eXHiJ9SWTUO4E3rv1CrdHDzi5PqUpQzkfXXfKCrvoMg44ErtWOnW48ZYTU9k6FNOQXBl Q1Hw0NqGZI7cVKot8L+kV4j74cMi7i5n+sTPkN2FvEmCaQAF/zm/Ec18PmGgfvlueCJ0 HJWg== 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=5FlSvW0UvVJSyY+rjLP7ToOwFspoGFsdK5VC2rMWiMw=; b=snS7wQwZeZJeGw0lcZ+71bgKuqr88KtUOU6gm6huzKT6XkN5j+1pQmUFPVidDkWoiA PPCKE0F/EgGk3fyRtOH4N7xNNfaaHyCXP1yD9Rp8gQwyVNEuWqsCTaeZZJRNXwnLc+OP Gawo1LyBHR2fB0ZtZIgPkEZHMG84W7e7NNSY3Vtzzk8anPsCo8o9X+JKSARug4UDhF3s /k3J9V9kz2IGfL/hTevJsMnNX1sZrN7ZUdTYqv1k/3aUr2REJKf291QPALQGtJmENZqj AhE9NiwO8oIFvYO64bjzeCgDvnTJMQGM7jOiwOwzqprNwEmNTYxLyjl385IwulD+cuge yoWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LZ7DXIAo; 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.43; Thu, 11 Mar 2021 21:28:43 -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=LZ7DXIAo; 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 S231444AbhCLF2I (ORCPT + 16 others); 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 -- 2.26.2 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>; + }; + }; +};