summaryrefslogtreecommitdiff
path: root/driver/pmic_bd99992gw.h
blob: 84fe4c2ab49bf016683bc3425ba635f114c4cbdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 *
 * ROHM BD99992GW PMIC register map.
 */

#ifndef __CROS_EC_PMIC_BD99992GW_H
#define __CROS_EC_PMIC_BD99992GW_H

#include "temp_sensor/bd99992gw.h"

#define BD99992GW_REG_PWRSRCINT		0x04
#define BD99992GW_REG_PBCONFIG		0x14
#define BD99992GW_REG_V085ACNT		0x38
#define BD99992GW_REG_VRMODECTRL	0x3b
#define BD99992GW_REG_DISCHGCNT2	0x3d
#define BD99992GW_REG_DISCHGCNT3	0x3e
#define BD99992GW_REG_SDWNCTRL		0x49
#define BD99992GW_SDWNCTRL_SWDN		(1 << 0) /* SWDN mask */

#endif  /* __CROS_EC_PMIC_BD99992GW_H */