Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: power: Add r8a774b1 SYSC power domain definitions

This patch adds power domain indices for the RZ/G2N (a.k.a r8a774b1)
SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1567666326-27373-1-git-send-email-biju.das@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Biju Das and committed by
Geert Uytterhoeven
be67c417 54ecb8f7

+26
+26
include/dt-bindings/power/r8a774b1-sysc.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 2 + * 3 + * Copyright (C) 2019 Renesas Electronics Corp. 4 + */ 5 + #ifndef __DT_BINDINGS_POWER_R8A774B1_SYSC_H__ 6 + #define __DT_BINDINGS_POWER_R8A774B1_SYSC_H__ 7 + 8 + /* 9 + * These power domain indices match the numbers of the interrupt bits 10 + * representing the power areas in the various Interrupt Registers 11 + * (e.g. SYSCISR, Interrupt Status Register) 12 + */ 13 + 14 + #define R8A774B1_PD_CA57_CPU0 0 15 + #define R8A774B1_PD_CA57_CPU1 1 16 + #define R8A774B1_PD_A3VP 9 17 + #define R8A774B1_PD_CA57_SCU 12 18 + #define R8A774B1_PD_A3VC 14 19 + #define R8A774B1_PD_3DG_A 17 20 + #define R8A774B1_PD_3DG_B 18 21 + #define R8A774B1_PD_A2VC1 26 22 + 23 + /* Always-on power area */ 24 + #define R8A774B1_PD_ALWAYS_ON 32 25 + 26 + #endif /* __DT_BINDINGS_POWER_R8A774B1_SYSC_H__ */