Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp603032ybl; Wed, 21 Aug 2019 02:41:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJPyj3Xm/B6uD9fbFyIhYOrIGRWy4wW/c7gzhq5rRSQnjXTPlTXSurU+xwR1I3Xt9Y40bd X-Received: by 2002:a17:90a:9486:: with SMTP id s6mr4515063pjo.0.1566380487280; Wed, 21 Aug 2019 02:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566380487; cv=none; d=google.com; s=arc-20160816; b=RwL0mnOBowx1B5P3hsP699/LRt9ukk9RZawN5XhRXsHQIgGI+7dmM5bslRPM0NEOnV /yXjsoZhiYz+R90IIw8TjJUo6+KMUKHiOf/Xhmo8ipO0tIPgFcdtL1EAXYdTNIouh9uc y26F/BJc3ogNMirqY/ZEmA1tth+rEwmOAzVNoVoUxm33sLEVPdkhriDHwpoIqL1b364N Z8+CcqVoieAsxHVoHDUuyTONaVomJ1EmyyYBz/L6YYEEu3dgYI/3dTTHUZt2A2Bpg5YJ jIY8+4GC/lYuMhwB6Tgcoz8T6OCSGwCLMBnBgHb4m0GnrdDWX285iu7JGHBNKV8745SP z8lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=kP+GbHpu0Aj89vwz35AbZzP2cobDWWascw/bJeNfksc=; b=YDC0XckCUPp+i7dcY1Xvv/fyjCKNyV/4KfWLcN7XqiwLjU50rLTw5Ga5iN2T72HIOp 27YJl7Y8fj/vQf7jDL7aDQ3smuomeHi4WxU5K/pe7xCghGzGFh3bRVN3gB1zPnBfPdYL 1uOXn+jmf1UGK3TzgZlAwvllc1jJiySr4P8mF+RytrHo+d0uMC/rerDJj0nfzDfE8X1V 2ChMdpSwhwKTsv8vOOYSrHoFG/cVnWhk0mOh/9CnIQioPmpFvKf66OfgWr1Ue0yRMTZf dr87QxfHPtipzMIlBnZc1Y65wQtT9H34SF2r42NQPJRlMm/Aqq/cV6rMsyOUt27kHLxe GfFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=Lh4aj0T+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j63si13712296pgd.493.2019.08.21.02.41.09; Wed, 21 Aug 2019 02:41:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=Lh4aj0T+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727669AbfHUInq (ORCPT + 99 others); Wed, 21 Aug 2019 04:43:46 -0400 Received: from mail-vs1-f65.google.com ([209.85.217.65]:34862 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726828AbfHUInq (ORCPT ); Wed, 21 Aug 2019 04:43:46 -0400 Received: by mail-vs1-f65.google.com with SMTP id q16so855978vsm.2 for ; Wed, 21 Aug 2019 01:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kP+GbHpu0Aj89vwz35AbZzP2cobDWWascw/bJeNfksc=; b=Lh4aj0T+PWQBEczyDm05UPSLJJKXV3seJv3C/EoobCIwZcph8CLDORmSeAZxoUxnh6 +yUj5qxKHTba6/uxyd6nxBcDlQxaRcqG0NGzbaAHN94FLGOQNlTm4G3EmQChUeM9SOzf +SfBf+ZQiV9S/oDKRUecpfjeODPLpWKn2YhcYzad6EHmFMLWjfhvt9GcnssDJwWT/Y10 gZX0n/ey5Om4W5t+APGeal26lmByZU3SaDFaPOfK03C7MIWPTz5SXB68TfeydA1eK1CC PePhYUgxl3j77A7EITXtdn8qxMc1LL5QLgsD2rkPN8vX1zld0Ee2CSah31GlO2/BbiuY ss4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kP+GbHpu0Aj89vwz35AbZzP2cobDWWascw/bJeNfksc=; b=goZwH41P6nm0559LgBQlKQZEMEKOVMSA+z7THPR7iqE6VfgvQqjuWc6LsP5D1K6Z9N ZVYj7qITyoOyZMBNZgDexv3WSlm8bz14VIZrj6xC33e6LXfxHO1HOcBaIRErehEhIocA cQb3y7P+rgCQ2KSWxLKXoMHzL6sQ6znFLZF6VkaEO6w/uO8PlGiElO0d0bnzL9jWG1/q Y6lzZ2SwWYYgsx1FiBeCdTX0AbQPoGDF+OHIhety3a4O+DJsJtDUczu5nNdIdiwzhn5S VewJKiJiYXBtBmCuCtIRvANnYTA80Q0w8dZdP3DJh4EFEo7BY99uYuBPzM+PhlHtxdDV 81ag== X-Gm-Message-State: APjAAAXpJOIg4bfnJSAVfoFFaqPR6HsoAl/BOi4nLU42ynW2rILWK75q 6WnK6NVVIuYyJrSa5sOPhtZckTE2Ci6AdEbGva4qqg== X-Received: by 2002:a05:6102:7d5:: with SMTP id y21mr5652161vsg.9.1566377024876; Wed, 21 Aug 2019 01:43:44 -0700 (PDT) MIME-Version: 1.0 References: <20190820172351.24145-1-vkoul@kernel.org> <20190820172351.24145-10-vkoul@kernel.org> In-Reply-To: <20190820172351.24145-10-vkoul@kernel.org> From: Amit Kucheria Date: Wed, 21 Aug 2019 14:13:33 +0530 Message-ID: Subject: Re: [PATCH v3 8/8] arm64: dts: qcom: sm8150: Add apps shared nodes To: Vinod Koul Cc: Andy Gross , linux-arm-msm , Bjorn Andersson , Rob Herring , Mark Rutland , Stephen Boyd , Sibi Sankar , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 20, 2019 at 10:55 PM Vinod Koul wrote: > > Add hwlock, pmu, smem, tcsr_mutex_regs, apss_shared mailbox, apps_rsc > including the rpmhcc child nodes to the SM8150 DTSI > > Co-developed-by: Sibi Sankar > Signed-off-by: Sibi Sankar > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/sm8150.dtsi | 63 ++++++++++++++++++++++++++++ > 1 file changed, 63 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi > index 3bed04d60dea..781905e9977a 100644 > --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi > @@ -144,12 +144,23 @@ > }; > }; > > + tcsr_mutex: hwlock { > + compatible = "qcom,tcsr-mutex"; > + syscon = <&tcsr_mutex_regs 0 0x1000>; > + #hwlock-cells = <1>; > + }; > + > memory@80000000 { > device_type = "memory"; > /* We expect the bootloader to fill in the size */ > reg = <0x0 0x80000000 0x0 0x0>; > }; > > + pmu { > + compatible = "arm,armv8-pmuv3"; > + interrupts = ; > + }; > + > psci { > compatible = "arm,psci-1.0"; > method = "smc"; > @@ -266,6 +277,12 @@ > }; > }; > > + smem { > + compatible = "qcom,smem"; > + memory-region = <&smem_mem>; > + hwlocks = <&tcsr_mutex 3>; > + }; > + > soc: soc@0 { > #address-cells = <1>; > #size-cells = <1>; > @@ -305,6 +322,11 @@ > }; > }; > > + tcsr_mutex_regs: syscon@1f40000 { > + compatible = "syscon"; > + reg = <0x01f40000 0x40000>; > + }; > + > tlmm: pinctrl@3100000 { > compatible = "qcom,sm8150-pinctrl"; > reg = <0x03100000 0x300000>, > @@ -320,6 +342,16 @@ > #interrupt-cells = <2>; > }; > > + aoss_qmp: power-controller@c300000 { > + compatible = "qcom,sm8150-aoss-qmp"; > + reg = <0x0c300000 0x100000>; > + interrupts = ; > + mboxes = <&apss_shared 0>; > + > + #clock-cells = <0>; > + #power-domain-cells = <1>; > + }; > + > intc: interrupt-controller@17a00000 { > compatible = "arm,gic-v3"; > interrupt-controller; > @@ -329,6 +361,12 @@ > interrupts = ; > }; > > + apss_shared: mailbox@17c00000 { > + compatible = "qcom,sm8150-apss-shared"; > + reg = <0x17c00000 0x1000>; > + #mbox-cells = <1>; > + }; > + > timer@17c20000 { > #address-cells = <1>; > #size-cells = <1>; > @@ -388,6 +426,31 @@ > }; > }; > > + apps_rsc: rsc@18200000 { > + label = "apps_rsc"; > + compatible = "qcom,rpmh-rsc"; > + reg = <0x18200000 0x10000>, > + <0x18210000 0x10000>, > + <0x18220000 0x10000>; > + reg-names = "drv-0", "drv-1", "drv-2"; > + interrupts = , > + , > + ; > + qcom,tcs-offset = <0xd00>; > + qcom,drv-id = <2>; > + qcom,tcs-config = , > + , > + , > + ; > + > + rpmhcc: clock-controller { > + compatible = "qcom,sm8150-rpmh-clk"; > + #clock-cells = <1>; > + clock-names = "xo"; > + clocks = <&xo_board>; > + }; > + }; > + > spmi_bus: spmi@c440000 { Sort by address here. > compatible = "qcom,spmi-pmic-arb"; > reg = <0x0c440000 0x0001100>, > -- > 2.20.1 >