Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1173189ybt; Tue, 7 Jul 2020 09:19:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjdL2LZBtsf4FpcZFVi5lCRhWJJh2+cInhez0p5afiT8r+uNYvA702u4xeyVMq8rVV+2nU X-Received: by 2002:a17:906:4f16:: with SMTP id t22mr47075220eju.179.1594138750238; Tue, 07 Jul 2020 09:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594138750; cv=none; d=google.com; s=arc-20160816; b=YZ5hGtOYwDkLfB1a7cJH1P4NIldnKobjXqo9YjhQo29AUNvv3yCmdtYIG1RfMN8acp jZwzngljnEQPV49DRZWXwG237a+HAPfBRdu0UaSNJst953EShAA3ld9vgo+9XpoLTNP9 gcp876vOxlc6VdKdxpa5ErIwjgZB/jCMmEELkTfZlS8FgWCFD2tOzincDm1wnawnyD4c b721vZJcQFHJcfeJRAqICuCSYDYaW4+NG7efK3kxYazgURk6uwi/YvGVwJtLZgEr8rAo Y+Zd37tNLpbO2dBfpw4VjPkJImGdGkPHhUnyUfLhSBd0SGML5071EkNTCVWBFwHOukGK eBog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=mPnJhpzgPEeKyHRofm6AgItv95Oz41SQnDjqblhZC7I=; b=vfv6mDGsdVnP2i/dRzMhqb3/n1aPSX442XjL11fs2ngjoEwmTiAPiigZY6B0QQmDdE C9oowYwsyrooXPJ/Krd68qMKEiCr6I2dQrJgALiThhHMBagWlGzzuz5DyT4cEHN+cZ6B tl/JnWlJmZUwKwrrXd1aN9MxEylajCBOLuZsmYhhXADycgAmrXDoyFQbathaQw2YCPqp wpFkKkHq4HOy2lzt6YkuME0lKDiOEGnY9G1nmixdq/k70AZ/3PAxkV7y/mxloCvuU0zV enVxBvpHd2wTB8/LFSVGUu2EpPzTQWwSCjq68XBLW1IiZZhNLogIcc3v2VwEReNR469n g4Aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si15169814ejx.563.2020.07.07.09.18.47; Tue, 07 Jul 2020 09:19:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728792AbgGGQSc (ORCPT + 99 others); Tue, 7 Jul 2020 12:18:32 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:43654 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728730AbgGGQSb (ORCPT ); Tue, 7 Jul 2020 12:18:31 -0400 X-IronPort-AV: E=Sophos;i="5.75,324,1589209200"; d="scan'208";a="51540102" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 08 Jul 2020 01:18:29 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id DF7D54015EC4; Wed, 8 Jul 2020 01:18:26 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Michael Turquette , Stephen Boyd , Linus Walleij , Philipp Zabel Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 06/14] dt-bindings: power: Add r8a774e1 SYSC power domain definitions Date: Tue, 7 Jul 2020 17:18:04 +0100 Message-Id: <1594138692-16816-5-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594138692-16816-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1594138692-16816-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marian-Cristian Rotariu This patch adds power domain indices for the RZ/G2H (r8a774e1) SoC. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- include/dt-bindings/power/r8a774e1-sysc.h | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 include/dt-bindings/power/r8a774e1-sysc.h diff --git a/include/dt-bindings/power/r8a774e1-sysc.h b/include/dt-bindings/power/r8a774e1-sysc.h new file mode 100644 index 000000000000..7edb8161db36 --- /dev/null +++ b/include/dt-bindings/power/r8a774e1-sysc.h @@ -0,0 +1,36 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ +#ifndef __DT_BINDINGS_POWER_R8A774E1_SYSC_H__ +#define __DT_BINDINGS_POWER_R8A774E1_SYSC_H__ + +/* + * These power domain indices match the numbers of the interrupt bits + * representing the power areas in the various Interrupt Registers + * (e.g. SYSCISR, Interrupt Status Register) + */ + +#define R8A774E1_PD_CA57_CPU0 0 +#define R8A774E1_PD_CA57_CPU1 1 +#define R8A774E1_PD_CA57_CPU2 2 +#define R8A774E1_PD_CA57_CPU3 3 +#define R8A774E1_PD_CA53_CPU0 5 +#define R8A774E1_PD_CA53_CPU1 6 +#define R8A774E1_PD_CA53_CPU2 7 +#define R8A774E1_PD_CA53_CPU3 8 +#define R8A774E1_PD_A3VP 9 +#define R8A774E1_PD_CA57_SCU 12 +#define R8A774E1_PD_A3VC 14 +#define R8A774E1_PD_3DG_A 17 +#define R8A774E1_PD_3DG_B 18 +#define R8A774E1_PD_3DG_C 19 +#define R8A774E1_PD_3DG_D 20 +#define R8A774E1_PD_CA53_SCU 21 +#define R8A774E1_PD_3DG_E 22 +#define R8A774E1_PD_A2VC1 26 + +/* Always-on power area */ +#define R8A774E1_PD_ALWAYS_ON 32 + +#endif /* __DT_BINDINGS_POWER_R8A774E1_SYSC_H__ */ -- 2.17.1