Skip to content

Commit

Permalink
dt-bindings: marvell,mmp2: Add ids for the power domains
Browse files Browse the repository at this point in the history
On MMP2 the audio and GPU blocks are on separate power islands. On MMP3
the camera block's power is also controlled separately.

Add the numbers that we could use to refer to the power domains for
respective power islands from the device tree.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lkml.kernel.org/r/20200519224151.2074597-11-lkundrak@v3.sk
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Lubomir Rintel authored and Stephen Boyd committed May 28, 2020
1 parent ec6bbdd commit 17d4304
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions include/dt-bindings/power/marvell,mmp2.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __DTS_MARVELL_MMP2_POWER_H
#define __DTS_MARVELL_MMP2_POWER_H

#define MMP2_POWER_DOMAIN_GPU 0
#define MMP2_POWER_DOMAIN_AUDIO 1
#define MMP3_POWER_DOMAIN_CAMERA 2

#define MMP2_NR_POWER_DOMAINS 3

#endif

0 comments on commit 17d4304

Please sign in to comment.