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: 398496 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp913509jai; Thu, 11 Mar 2021 21:28:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzy6osumDDFb6VpGSBx21FT94x9b0HI0UQnj8af9jqjRn/Y8GWppTLgYl/anXtUQxzhB5Xm X-Received: by 2002:aa7:ce1a:: with SMTP id d26mr12137444edv.206.1615526919829; 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=unk8ZTgl/gsSiPqRxEAV1mHaY11AYkad3pytSskghcg1UGwpX5PxztpI6XZGkQ5uiu qaZnhaW//DQar0phHY40NvxjoH7jFU/tdT42przYRpFb4bSsBHcx4R9NfyGQL6+xJpyS h7LtL9UyEDbGMD2meqy3R2ShyGcEkk9WG5Bdea9MLaBi99oyrBeYH4P4lCwVmyh5HGha 2vszKCYfH6qMvFuf2/tEeL1x+dzOYeKexE/lq33oCGSMvqpbBwW72PKuWQfotLFTT0xc PahpIZ4/nB3uiGLPNnM8yW/w1+a2U/4OgnWuLotDu/F0i+17rvWIkMFdi7MzJsopjj2A x33w== 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=bolcwzwGSIbT31MIcl2wanezgSA735GcGIDjvF25hwk=; b=PGQw7G4c7GKNVluZlnuGcyS8zjeJLjjNJN97ZD091BDBQWJGs6qb+ImghL+WqmXjLo enmvrtLuS6glajzm+2+miICNUadWMA2224PchDbus1VEcN4pXOZKQusWpO7131EvxzyF ZZxdfWyiC1gNPGBME4jPdwrvcS7LsmkYJq8eBwNnou70yqFdn5cTFWavwUAD31wvV6tB wVnWcVQBbVNsKXnqyOek3jq4cXINXr/qivLAkz+8W/adC+jCW0maftTnV9MXLmhfvuHG 4rzr3wvDXSGwSpX0LC+vOGaKvV3o0Y9OzfXwTwKXb7/SBuzxNljRq3OaE8ppKCfA95dG 7cng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DPfLV1aD; 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=DPfLV1aD; 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 S231404AbhCLF2F (ORCPT + 16 others); 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 -- 2.26.2 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>; + }; + }; +};