From patchwork Fri Nov 9 09:44:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675631 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3BCF714E2 for ; Fri, 9 Nov 2018 09:47:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A8192E556 for ; Fri, 9 Nov 2018 09:47:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C3AB2E563; Fri, 9 Nov 2018 09:47:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BC6502E556 for ; Fri, 9 Nov 2018 09:47:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hmY2OMvQPYkz5cDw5S7Dto5pGvBIsO26aUS/gprS9Oc=; b=lppbi4a7+mR3aR+w7HYWdx1O+o b66XNNhPzpy30cV5Nh4rG69X5BTjqdJZpApIQ7rGjYDWoeTS0f1hjPR+ZzDow/AGfxSXFGASr3cDx l/1oewQ4tG/X8TGb3CS0ZyZcnKGCY+AH0eoVKSVQtaGDqJtZN+2vCwuHgQEuB+b2JtWXXs5o0bgCy PRUGl95xRzsA4W/S2EFduQQrdMiQqhUPXVRX+3xzFX94GVl7YVkLKZyCGR4w0rDO6y6MZ+j/kaoxG PKQxbcusWNKIkND2PVrrnDpzF5D5/aYSk2bc15ltmYGoA9GWfVZUAOZFtXnB0eACOUC113u13G5NB FRJSJRbg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3OH-0006Ci-Nm; Fri, 09 Nov 2018 09:47:49 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3M0-00043V-BS for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BsNloX9agyekpXoIIhW3t65j4H6NLsrGLurUJs3qDwM=; b=Zq9kCL4IH4KWjQO9HvUyzt44f QvDWk5n+aKZ14JDRry1eszD5H0qvbUp9Mv85IEbYVoxHqPUJ7l8H/wzzdsNi5WlumEiAQ0Iw6y1eJ s48AJ5iV+9MVLKKZ36imszGttgZfkLwSqfg+W1YFoey2YtIh40KGx6rzQZG0v9ydAuzONmzYW/rqu dP26nZFiNVEfNn5JGsSv0m+ys6dMBKCD9J3K3NlHsw9F+MXk0h34ZBW+/ghzJgc2myyaugRvgCgWA amu4KZeQVYAjbe5Zdc6CyeRBcui4omU/uTxnuRDww8s6L6CnGHzYsAN9iE4AipFjl4NcGJWc+P4vT LRY1C9frg==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lu-0000Ir-Uf for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:26 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 88F3820892; Fri, 9 Nov 2018 09:45:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756718; bh=bA/whSOB8u+IYNU5S+5mde0Nk4XCa/UXp+l2yB1x778=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k/O5OBR9EPKNJCyBtgMzH8YP1LYBjfLKfvCAp3MChsRKgQaKMzhHbk2dBQjDDas/9 p2tQa6YZTPrDW3zb0WVhN/jL91n17+FPVRvwwikFDexEZ/MV9GuR5DGzdMzQR6inHB PST9fWKKZVVoZhv/woA+rekm/AsphqVGV0NKMqAg= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 10/18] arm64: dts: qcom: qcs404: add spmi node Date: Fri, 9 Nov 2018 15:14:09 +0530 Message-Id: <20181109094417.12109-11-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_094523_229709_9AD8DD9E X-CRM114-Status: GOOD ( 10.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP PMS405 is used in QCS405-EVB so include that with SPMI nodes Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 1 + arch/arm64/boot/dts/qcom/qcs404.dtsi | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 358d6d5f7d85..db035fef67d9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -2,6 +2,7 @@ // Copyright (c) 2018, Linaro Limited #include "qcs404.dtsi" +#include "pms405.dtsi" / { aliases { diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 1b3e21c1fed9..0101cd5896b3 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -181,6 +181,24 @@ reg = <0x01905000 0x20000>; }; + spmi_bus: spmi@200f000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x0200f000 0x001000>, + <0x02400000 0x800000>, + <0x02c00000 0x800000>, + <0x03800000 0x200000>, + <0x0200a000 0x002100>; + reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; + interrupt-names = "periph_irq"; + interrupts = ; + qcom,ee = <0>; + qcom,channel = <0>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + }; + sdcc1: sdcc@7804000 { compatible = "qcom,sdhci-msm-v5"; reg = <0x07804000 0x1000>, <0x7805000 0x1000>;