Set battery capacity and display compatible
This commit is contained in:
parent
843742809a
commit
ed5172ad9c
2 changed files with 5702 additions and 8 deletions
|
|
@ -1,9 +1,14 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
/*
|
||||
* Xiaomi Mi 6 (sagit) device tree source based on msm8998-mtp.dtsi
|
||||
/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
|
||||
* Copyright (C) 2017 XiaoMi, Inc.
|
||||
*
|
||||
* Copyright (c) 2022, Degdag Mohamed <degdagmohamed@gmail.com>
|
||||
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
|
@ -17,6 +22,9 @@
|
|||
#include <dt-bindings/leds/common.h>
|
||||
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
||||
|
||||
// #include "msm8998-v2.1.dtsi"
|
||||
// #include "xiaomi/msm8998-v2.1.dtsi" // Probably not useful
|
||||
// #include "xiaomi/chiron-msm8998-mtp.dtsi"
|
||||
/*
|
||||
* Delete following upstream (msm8998.dtsi) reserved
|
||||
* memory mappings which are different in this device.
|
||||
|
|
@ -36,7 +44,7 @@
|
|||
compatible = "xiaomi,chiron", "qcom,msm8998";
|
||||
chassis-type = "handset";
|
||||
/* Required for bootloader to select correct board */
|
||||
qcom,board-id = <30 0>;
|
||||
qcom,board-id = <32 0>;
|
||||
qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */
|
||||
|
||||
chosen {
|
||||
|
|
@ -338,7 +346,7 @@
|
|||
|
||||
qcom,max-voltage-uv = <4400000>;
|
||||
qcom,min-voltage-uv = <3700000>;
|
||||
qcom,battery-capacity-ua = <3350000>;
|
||||
qcom,battery-capacity-ua = <3400000>;
|
||||
};
|
||||
|
||||
&pmi8998_lpg {
|
||||
|
|
@ -610,7 +618,7 @@
|
|||
vdda-supply = <&vreg_l2a_1p2>;
|
||||
|
||||
panel: panel@0 {
|
||||
compatible = "jdi,fhd-r63452";
|
||||
compatible = "jdi,fhd_nt35596s";
|
||||
reg = <0x0>;
|
||||
|
||||
backlight = <&pmi8998_wled>;
|
||||
|
|
|
|||
5686
arch/arm64/configs/chiron_defconfig
Normal file
5686
arch/arm64/configs/chiron_defconfig
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue