From patchwork Mon May 21 14:04:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10415395 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DDA3C6053B for ; Mon, 21 May 2018 14:03:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC5EA28915 for ; Mon, 21 May 2018 14:03:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0D1628918; Mon, 21 May 2018 14:03:04 +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=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D24ED28915 for ; Mon, 21 May 2018 14:03:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751161AbeEUODD (ORCPT ); Mon, 21 May 2018 10:03:03 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:45182 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751021AbeEUODC (ORCPT ); Mon, 21 May 2018 10:03:02 -0400 Received: by mail-pl0-f68.google.com with SMTP id bi12-v6so8865934plb.12 for ; Mon, 21 May 2018 07:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:subject; bh=cMjBaUcvue/BaiEwIUoVn6uwGTKMTrKtSJ/mkg7UlNQ=; b=f+Pj2dzILG1huW8z7MDNO7wCsLJ573wKu8aa/x2M2h6CJQwZHVBr+X4FkCHkunAifv ZVhfAnfhp7TKIkNpbTq1du22AA+TKhiLuS+yMY+bYzx+a0xLYDZLhIUNwIiSYa9NoJlt UI51hoVV1U4EHfZJNZahc8ugQEuDze2wIJVS/BQC4fhhFhIRbZ8o9SRP6ea6nnVYALAy suZnJCBVvyOgvmTmvJbpxNZJG2LuOCmrAEa8u4e1s1XohYLdYK5ZT7qcKcOwRCLa0IzA gCK3ShqktNci9FTT7/3ShJGmOGAo3Auw/xrGGoA2sTTNK5QaQt2aEciIt5Zvk2IY/Ity dvRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:subject; bh=cMjBaUcvue/BaiEwIUoVn6uwGTKMTrKtSJ/mkg7UlNQ=; b=o9Ppnq8aQ6Llnn5yQsY0chB/wjzAF1Dbrk6atBCDvsNbFmhsK+DkbJbxzxq3cSlk3M CQ7aQ2tiuF9pfmmGMYX+d7kCUGo9qVX9imbIhB5xRY2mWadm/N/qqeXOMNdJYLc/eIYG GZrC0wmxDAWUoAd+J+5sf59xap2dP3ggQM2MrMLavU41T8qQZzSJk7Hu0B1bGNnWSQHr vSV0AkKxVYe9GNx9lUANQHnEDj30GYAqUd18cUNB67Axh0XdEfvATUjo1CyNp8/TxMtq lDrEh+YxYVBeFlolSdyHhQjw76NDwh+X0+dscRR2eY+pM/YNQl3V8fB/pue9vCEQ71XM BPxg== X-Gm-Message-State: ALKqPweCU1LWvG4Z6MIKoAzTPTrVLXStJydd8UJN1FrcnfZX4ZaKWOiJ /XKoMX4jacszk3jLFM0EJVmsJVan X-Google-Smtp-Source: AB8JxZrdpz3i1tFq+SQJfLawd6NkV4HID4ra8r9Iya0GPd61jy73b5hXJ2vEu2Hs/dBbDhT6BuhLtg== X-Received: by 2002:a17:902:6bc7:: with SMTP id m7-v6mr20035998plt.162.1526911381989; Mon, 21 May 2018 07:03:01 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id r68-v6sm30136547pfi.174.2018.05.21.07.02.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 May 2018 07:03:00 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: horms+renesas@verge.net.au, Magnus Damm Date: Mon, 21 May 2018 23:04:14 +0900 Message-Id: <152691145438.14120.9546153783596652043.sendpatchset@little-apple> Subject: [PATCH] arm64: dts: renesas: r8a77995: Add IPMMU power domains Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add power domain information to the R-Car D3 IPMMU device nodes. As specified by the data sheet, all the IPMMU devices are always on. Signed-off-by: Magnus Damm --- Developed on top of renesas-devel-20180518-v4.17-rc5 arch/arm64/boot/dts/renesas/r8a77995.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77995.dtsi 2018-05-21 22:46:36.460607110 +0900 @@ -408,6 +408,7 @@ compatible = "renesas,ipmmu-r8a77995"; reg = <0 0xe6740000 0 0x1000>; renesas,ipmmu-main = <&ipmmu_mm 0>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; #iommu-cells = <1>; }; @@ -415,6 +416,7 @@ compatible = "renesas,ipmmu-r8a77995"; reg = <0 0xe7740000 0 0x1000>; renesas,ipmmu-main = <&ipmmu_mm 1>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; #iommu-cells = <1>; }; @@ -422,6 +424,7 @@ compatible = "renesas,ipmmu-r8a77995"; reg = <0 0xe6570000 0 0x1000>; renesas,ipmmu-main = <&ipmmu_mm 2>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; #iommu-cells = <1>; }; @@ -430,6 +433,7 @@ reg = <0 0xe67b0000 0 0x1000>; interrupts = , ; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; #iommu-cells = <1>; }; @@ -437,6 +441,7 @@ compatible = "renesas,ipmmu-r8a77995"; reg = <0 0xec670000 0 0x1000>; renesas,ipmmu-main = <&ipmmu_mm 4>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; #iommu-cells = <1>; }; @@ -444,6 +449,7 @@ compatible = "renesas,ipmmu-r8a77995"; reg = <0 0xfd800000 0 0x1000>; renesas,ipmmu-main = <&ipmmu_mm 6>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; #iommu-cells = <1>; }; @@ -451,6 +457,7 @@ compatible = "renesas,ipmmu-r8a77995"; reg = <0 0xffc80000 0 0x1000>; renesas,ipmmu-main = <&ipmmu_mm 10>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; #iommu-cells = <1>; }; @@ -458,6 +465,7 @@ compatible = "renesas,ipmmu-r8a77995"; reg = <0 0xfe6b0000 0 0x1000>; renesas,ipmmu-main = <&ipmmu_mm 12>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; #iommu-cells = <1>; }; @@ -465,6 +473,7 @@ compatible = "renesas,ipmmu-r8a77995"; reg = <0 0xfebd0000 0 0x1000>; renesas,ipmmu-main = <&ipmmu_mm 14>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; #iommu-cells = <1>; }; @@ -472,6 +481,7 @@ compatible = "renesas,ipmmu-r8a77995"; reg = <0 0xfe990000 0 0x1000>; renesas,ipmmu-main = <&ipmmu_mm 16>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; #iommu-cells = <1>; };