Utilize hekate's BDK for hekate main and Nyx

This commit is contained in:
CTCaer committed 2020-06-14 16:45:45 +03:00
1 parent 185526d134
commit 6e256d29c7
186 files changed
+1138 -1016

No files matched your search

+2 -2
View File
@@ -17,8 +17,8 @@
*/
#include "bq24193.h"
#include "../soc/i2c.h"
#include "../utils/util.h"
#include <soc/i2c.h>
#include <utils/util.h>
static u8 bq24193_get_reg(u8 reg)
{
+2 -2
View File
@@ -23,8 +23,8 @@
*/
#include "max17050.h"
#include "../soc/i2c.h"
#include "../utils/util.h"
#include <soc/i2c.h>
#include <utils/util.h>
/* Status register bits */
#define STATUS_POR_BIT (1 << 1)
+1 -1
View File
@@ -24,7 +24,7 @@
#ifndef __MAX17050_H_
#define __MAX17050_H_
#include "../utils/types.h"
#include <utils/types.h>
#define MAX17050_STATUS_BattAbsent (1 << 3)
#define MAX17050_DEFAULT_SNS_RESISTOR 10000
+4 -4
View File
@@ -15,10 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "max7762x.h"
#include "max77620.h"
#include "../soc/i2c.h"
#include "../utils/util.h"
#include <power/max7762x.h>
#include <power/max77620.h>
#include <soc/i2c.h>
#include <utils/util.h>
#define REGULATOR_SD 0
#define REGULATOR_LDO 1
+1 -1
View File
@@ -18,7 +18,7 @@
#ifndef _MAX7762X_H_
#define _MAX7762X_H_
#include "../utils/types.h"
#include <utils/types.h>
/*
* Switch Power domains (max77620):
+5 -5
View File
@@ -14,11 +14,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../soc/gpio.h"
#include "../soc/pinmux.h"
#include "../soc/pmc.h"
#include "../soc/t210.h"
#include "../utils/types.h"
#include <soc/gpio.h>
#include <soc/pinmux.h>
#include <soc/pmc.h>
#include <soc/t210.h>
#include <utils/types.h>
static u8 reg_5v_dev = 0;
+1 -1
View File
@@ -17,7 +17,7 @@
#ifndef _REGULATOR_5V_H_
#define _REGULATOR_5V_H_
#include "../utils/types.h"
#include <utils/types.h>
enum
{