Home | History | Annotate | Line # | Download | only in mailbox
tegra186-hsp.h revision 1.1
      1 /*	$NetBSD: tegra186-hsp.h,v 1.1 2017/06/15 20:14:23 jmcneill Exp $	*/
      2 
      3 /*
      4  * This header provides constants for binding nvidia,tegra186-hsp.
      5  */
      6 
      7 #ifndef _DT_BINDINGS_MAILBOX_TEGRA186_HSP_H
      8 #define _DT_BINDINGS_MAILBOX_TEGRA186_HSP_H
      9 
     10 /*
     11  * These define the type of mailbox that is to be used (doorbell, shared
     12  * mailbox, shared semaphore or arbitrated semaphore).
     13  */
     14 #define TEGRA_HSP_MBOX_TYPE_DB 0x0
     15 #define TEGRA_HSP_MBOX_TYPE_SM 0x1
     16 #define TEGRA_HSP_MBOX_TYPE_SS 0x2
     17 #define TEGRA_HSP_MBOX_TYPE_AS 0x3
     18 
     19 /*
     20  * These defines represent the bit associated with the given master ID in the
     21  * doorbell registers.
     22  */
     23 #define TEGRA_HSP_DB_MASTER_CCPLEX 17
     24 #define TEGRA_HSP_DB_MASTER_BPMP 19
     25 
     26 #endif
     27