arm64/dts: somc: Import Tama DTS

*52.1.A.3.74

Signed-off-by: Sorayukii <sorayukii69@gmail.com>
This commit is contained in:
exer 2023-01-15 10:43:12 +00:00 • committed by Sorayukii
commit b82fc1147e
210 changed files with 22084 additions and 131 deletions

View file

@ -4,6 +4,7 @@ config ARM
select ARCH_CLOCKSOURCE_DATA
select ARCH_HAS_DEVMEM_IS_ALLOWED
select ARCH_HAS_ELF_RANDOMIZE
select ARCH_HAS_CRASH_NOTES if CRASH_NOTES
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
select ARCH_HAVE_CUSTOM_GPIO_H
select ARCH_HAS_GCOV_PROFILE_ALL
@ -197,6 +198,9 @@ config ARCH_HAS_BANDGAP
config FIX_EARLYCON_MEM
def_bool y if MMU
config ARCH_HAS_CRASH_NOTES
bool
config GENERIC_HWEIGHT
bool
default y
@ -2158,6 +2162,14 @@ config CRASH_DUMP
For more details see Documentation/kdump/kdump.txt
config CRASH_NOTES
bool "Support storing crash notes at panic"
depends on !KEXEC
help
Generate kdump style crash notes at the time of a panic and fill it
with the crashed context to support analysis of the memory dump with
tools like Redhat CRASH.
config AUTO_ZRELADDR
bool "Auto calculation of the decompressed kernel image address"
help

View file

@ -0,0 +1,30 @@
/* arch/arm/include/asm/crash_notes.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2, as
* published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*/
#ifndef __ARM_CRASH_NOTES_H
#define __ARM_CRASH_NOTES_H
static inline void crash_notes_save_regs(struct pt_regs *regs)
{
__asm__ __volatile__ (
"stmia %[regs_base], {r0-r12}\n\t"
"mov %[_ARM_sp], sp\n\t"
"str lr, %[_ARM_lr]\n\t"
"adr %[_ARM_pc], 1f\n\t"
"mrs %[_ARM_cpsr], cpsr\n\t"
"1:"
: [_ARM_pc] "=r" (regs->ARM_pc),
[_ARM_cpsr] "=r" (regs->ARM_cpsr),
[_ARM_sp] "=r" (regs->ARM_sp),
[_ARM_lr] "=o" (regs->ARM_lr)
: [regs_base] "r" (&regs->ARM_r0)
: "memory"
);
}
#endif

View file

@ -13,6 +13,7 @@ config ARM64
select ARCH_HAS_GCOV_PROFILE_ALL
select ARCH_HAS_GIGANTIC_PAGE
select ARCH_HAS_KCOV
select ARCH_HAS_CRASH_NOTES if CRASH_NOTES
select ARCH_HAS_SG_CHAIN
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
select ARCH_INLINE_READ_LOCK if !PREEMPT
@ -990,6 +991,7 @@ endif
config ARM64_SW_TTBR0_PAN
bool "Emulate Privileged Access Never using TTBR0_EL1 switching"
depends on BROKEN # Temporary while switch_mm is reworked
help
Enabling this option prevents the kernel from accessing
user-space memory directly by pointing TTBR0_EL1 to a reserved
@ -1054,6 +1056,15 @@ config ARM64_VHE
at runtime, and does not affect processors that do not
implement this feature.
config ARM64_FLUSH_CONSOLE_ON_RESTART
bool "Force flush the console on restart"
help
If the console is locked while the system is rebooted, the messages
in the temporary logbuffer would not have propogated to all the
console drivers. This option forces the console lock to be
released if it failed to be acquired, which will cause all the
pending messages to be flushed.
endmenu
menu "ARMv8.2 architectural features"
@ -1275,6 +1286,18 @@ config BUILD_ARM64_DT_OVERLAY
depends on OF
help
This option enables support for DT overlay compilation.
config ARCH_HAS_CRASH_NOTES
bool
config CRASH_NOTES
bool "Support storing crash notes at panic"
depends on !KEXEC
help
Generate kdump style crash notes at the time of a panic and fill it
with the crashed context to support analysis of the memory dump with
tools like Redhat CRASH.
endmenu
menu "Userspace binary formats"

View file

@ -148,6 +148,141 @@ config ARCH_SDM845_VM
To compile this driver as a module, choose M here: the
module will be called SDM845_VM.
config ARCH_SONY_TAMA
bool "Sony Mobile Tama platform"
depends on ARCH_SDM845
help
Support for the SONY Mobile Tama platform
which is based on QCOM SDM845 chipset.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_TAMA_CDB
bool "Sony Mobile Tama CDB"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Tama CDB board
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AKARI
bool "Sony Mobile Akari"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Akari device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AKARI_DCM
bool "Sony Mobile Akari Docomo"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Akari Docomo device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AKARI_KDDI
bool "Sony Mobile Akari Kddi"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Akari Kddi device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AKARI_SBM
bool "Sony Mobile Akari Softbank"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Akari Softbank device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_APOLLO
bool "Sony Mobile Apollo"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Apollo device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_APOLLO_DCM
bool "Sony Mobile Apollo Docomo"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Apollo Docomo device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AURORA
bool "Sony Mobile Aurora"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Aurora device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AURORA_DCM
bool "Sony Mobile Aurora Docomo"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Aurora Docomo device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AURORA_KDDI
bool "Sony Mobile Aurora Kddi"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Aurora Kddi device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AKATSUKI
bool "Sony Mobile Akatsuki"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Akatsuki device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AKATSUKI_DCM
bool "Sony Mobile Akatsuki Docomo"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Akatsuki Docomo device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AKATSUKI_KDDI
bool "Sony Mobile Akatsuki Kddi"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Akatsuki Kddi device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config MACH_SONY_AKATSUKI_SBM
bool "Sony Mobile Akatsuki Softbank"
depends on ARCH_SONY_TAMA
help
Support for the SONY Mobile Akatsuki Softbank device
which is based on SONY Tama platform.
If you enable this config,
please use SONY Mobile device tree.
config ARCH_SDM670
bool "Enable Support for Qualcomm Technologies Inc. SDM670"
depends on ARCH_QCOM

View file

@ -16,6 +16,7 @@ dts-dirs += qcom
dts-dirs += renesas
dts-dirs += rockchip
dts-dirs += socionext
dts-dirs += somc
dts-dirs += sprd
dts-dirs += xilinx
dts-dirs += lg

View file

@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb msm8916-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb
ifneq ($(CONFIG_ARCH_SONY_TAMA),y)
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_SDM845) += \
sdm845-cdp-overlay.dtbo \
@ -114,6 +115,7 @@ dtb-$(CONFIG_ARCH_SDM845) += sdm845-sim.dtb \
sdm845-v2.1-rb3.dtb \
sdm845-v2.1-mtp.dtb
endif
endif
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_SDM670) += \

View file

@ -712,9 +712,9 @@
qcom,play-mode = "direct";
qcom,vmax-mv = <3200>;
qcom,ilim-ma = <800>;
qcom,wave-shape = "sine";
qcom,sc-dbc-cycles = <8>;
qcom,wave-play-rate-us = <6667>;
qcom,en-brake;
qcom,wave-play-rate-us = <8621>;
qcom,lra-high-z = "opt1";
qcom,lra-auto-res-mode = "qwd";
qcom,lra-res-cal-period = <4>;

View file

@ -58,7 +58,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
ports {
#address-cells = <1>;
@ -81,7 +81,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -112,10 +112,11 @@
&dsi_dual_nt35597_truly_video {
qcom,mdss-dsi-t-clk-post = <0x0D>;
qcom,mdss-dsi-t-clk-pre = <0x2D>;
qcom,mdss-dsi-min-refresh-rate = <53>;
qcom,mdss-dsi-max-refresh-rate = <60>;
qcom,mdss-dsi-pan-enable-dynamic-fps;
qcom,mdss-dsi-pan-fps-update =
"dfps_immediate_porch_mode_vfp";
qcom,dsi-supported-dfps-list = <53 55 60>;
qcom,esd-check-enabled;
qcom,mdss-dsi-panel-status-check-mode = "reg_read";
qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0a];

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2018, 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
@ -138,16 +138,9 @@
qcom,dsi-ctrl = <&mdss_dsi0 &mdss_dsi1>;
qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>,
<&mdss_dsi0_pll BYTECLK_SRC_0_CLK>,
<&mdss_dsi0_pll PCLK_SRC_0_CLK>,
<&mdss_dsi0_pll SHADOW_BYTECLK_SRC_0_CLK>,
<&mdss_dsi0_pll SHADOW_PCLK_SRC_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk",
"src_byte_clk", "src_pixel_clk",
"shadow_byte_clk", "shadow_pixel_clk";
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -170,7 +163,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -194,7 +187,7 @@
qcom,dsi-phy = <&mdss_dsi_phy1>;
clocks = <&mdss_dsi1_pll BYTECLK_MUX_1_CLK>,
<&mdss_dsi1_pll PCLK_MUX_1_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -217,14 +210,8 @@
qcom,dsi-ctrl = <&mdss_dsi1>;
qcom,dsi-phy = <&mdss_dsi_phy1>;
clocks = <&mdss_dsi1_pll BYTECLK_MUX_1_CLK>,
<&mdss_dsi1_pll PCLK_MUX_1_CLK>,
<&mdss_dsi1_pll BYTECLK_SRC_1_CLK>,
<&mdss_dsi1_pll PCLK_SRC_1_CLK>,
<&mdss_dsi1_pll SHADOW_BYTECLK_SRC_1_CLK>,
<&mdss_dsi1_pll SHADOW_PCLK_SRC_1_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk",
"src_byte_clk", "src_pixel_clk",
"shadow_byte_clk", "shadow_pixel_clk";
<&mdss_dsi1_pll PCLK_MUX_1_CLK>;
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -248,7 +235,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -266,7 +253,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -284,7 +271,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -302,7 +289,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -320,7 +307,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -338,7 +325,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -356,7 +343,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -379,7 +366,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -402,7 +389,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -424,7 +411,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -446,7 +433,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -469,7 +456,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -492,7 +479,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -515,7 +502,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
pinctrl-names = "panel_active", "panel_suspend";
pinctrl-0 = <&sde_dsi_active &sde_te_active>;
@ -538,7 +525,7 @@
qcom,dsi-phy = <&mdss_dsi_phy0>;
clocks = <&mdss_dsi0_pll BYTECLK_MUX_0_CLK>,
<&mdss_dsi0_pll PCLK_MUX_0_CLK>;
clock-names = "mux_byte_clk", "mux_pixel_clk";
clock-names = "src_byte_clk", "src_pixel_clk";
ports {
#address-cells = <1>;
@ -681,10 +668,11 @@
&dsi_dual_nt35597_truly_video {
qcom,mdss-dsi-t-clk-post = <0x0D>;
qcom,mdss-dsi-t-clk-pre = <0x2D>;
qcom,mdss-dsi-min-refresh-rate = <53>;
qcom,mdss-dsi-max-refresh-rate = <60>;
qcom,mdss-dsi-pan-enable-dynamic-fps;
qcom,mdss-dsi-pan-fps-update =
"dfps_immediate_porch_mode_vfp";
qcom,dsi-supported-dfps-list = <60 55 53>;
qcom,esd-check-enabled;
qcom,mdss-dsi-panel-status-check-mode = "reg_read";
qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0a];
@ -692,9 +680,6 @@
qcom,mdss-dsi-panel-status-value = <0x9c>;
qcom,mdss-dsi-panel-on-check-value = <0x9c>;
qcom,mdss-dsi-panel-status-read-length = <1>;
qcom,dsi-dyn-clk-enable;
qcom,dsi-dyn-clk-list =
<804948480 798240576 801594528 808302432 811656384>;
qcom,mdss-dsi-display-timings {
timing@0{
qcom,mdss-dsi-panel-phy-timings = [00 1c 07 07 23 21 07
@ -756,10 +741,11 @@
&dsi_nt35597_truly_dsc_video {
qcom,mdss-dsi-t-clk-post = <0x0b>;
qcom,mdss-dsi-t-clk-pre = <0x23>;
qcom,mdss-dsi-min-refresh-rate = <53>;
qcom,mdss-dsi-max-refresh-rate = <60>;
qcom,mdss-dsi-pan-enable-dynamic-fps;
qcom,mdss-dsi-pan-fps-update =
"dfps_immediate_porch_mode_vfp";
qcom,dsi-supported-dfps-list = <60 55 53>;
qcom,esd-check-enabled;
qcom,mdss-dsi-panel-status-check-mode = "reg_read";
qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0a];
@ -996,10 +982,11 @@
&dsi_nt35695b_truly_fhd_video {
qcom,mdss-dsi-t-clk-post = <0x07>;
qcom,mdss-dsi-t-clk-pre = <0x1c>;
qcom,mdss-dsi-min-refresh-rate = <48>;
qcom,mdss-dsi-max-refresh-rate = <60>;
qcom,mdss-dsi-pan-enable-dynamic-fps;
qcom,mdss-dsi-pan-fps-update =
"dfps_immediate_porch_mode_vfp";
qcom,dsi-supported-dfps-list = <60 55 53 48>;
qcom,mdss-dsi-display-timings {
timing@0 {
qcom,mdss-dsi-panel-phy-timings = [00 1c 05 06 0b 0c
@ -1050,10 +1037,11 @@
&dsi_hx8399_truly_cmd {
qcom,mdss-dsi-t-clk-post = <0x0E>;
qcom,mdss-dsi-t-clk-pre = <0x30>;
qcom,mdss-dsi-min-refresh-rate = <55>;
qcom,mdss-dsi-max-refresh-rate = <60>;
qcom,mdss-dsi-pan-enable-dynamic-fps;
qcom,mdss-dsi-pan-fps-update =
"dfps_immediate_porch_mode_vfp";
qcom,dsi-supported-dfps-list = <60 55>;
qcom,esd-check-enabled;
qcom,mdss-dsi-panel-status-check-mode = "reg_read";
qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0a];

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017, 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
@ -18,14 +18,11 @@
#clock-cells = <1>;
reg = <0xae94a00 0x1e0>,
<0xae94400 0x800>,
<0xaf03000 0x8>,
<0xae94200 0x100>;
reg-names = "pll_base", "phy_base", "gdsc_base",
"dynamic_pll_base";
<0xaf03000 0x8>;
reg-names = "pll_base", "phy_base", "gdsc_base";
clocks = <&clock_dispcc DISP_CC_MDSS_AHB_CLK>;
clock-names = "iface_clk";
clock-rate = <0>;
memory-region = <&dfps_data_memory>;
gdsc-supply = <&mdss_core_gdsc>;
qcom,platform-supply-entries {
#address-cells = <1>;
@ -48,10 +45,8 @@
#clock-cells = <1>;
reg = <0xae96a00 0x1e0>,
<0xae96400 0x800>,
<0xaf03000 0x8>,
<0xae96200 0x100>;
reg-names = "pll_base", "phy_base", "gdsc_base",
"dynamic_pll_base";
<0xaf03000 0x8>;
reg-names = "pll_base", "phy_base", "gdsc_base";
clocks = <&clock_dispcc DISP_CC_MDSS_AHB_CLK>;
clock-names = "iface_clk";
clock-rate = <0>;

View file

@ -485,9 +485,8 @@
compatible = "qcom,dsi-phy-v3.0";
label = "dsi-phy-0";
cell-index = <0>;
reg = <0xae94400 0x7c0>,
<0xae94200 0x100>;
reg-names = "dsi_phy", "dyn_refresh_base";
reg = <0xae94400 0x7c0>;
reg-names = "dsi_phy";
gdsc-supply = <&mdss_core_gdsc>;
vdda-0p9-supply = <&pm660l_l1>;
qcom,platform-strength-ctrl = [55 03
@ -519,9 +518,8 @@
compatible = "qcom,dsi-phy-v3.0";
label = "dsi-phy-1";
cell-index = <1>;
reg = <0xae96400 0x7c0>,
<0xae96200 0x100>;
reg-names = "dsi_phy", "dyn_refresh_base";
reg = <0xae96400 0x7c0>;
reg-names = "dsi_phy";
gdsc-supply = <&mdss_core_gdsc>;
vdda-0p9-supply = <&pm660l_l1>;
qcom,platform-strength-ctrl = [55 03

View file

@ -599,15 +599,10 @@
};
cont_splash_memory: cont_splash_region@9c000000 {
reg = <0x0 0x9c000000 0x0 0x2300000>;
reg = <0x0 0x9c000000 0x0 0x02400000>;
label = "cont_splash_region";
};
dfps_data_memory: dfps_data_region@9e300000 {
reg = <0x0 0x9e300000 0x0 0x0100000>;
label = "dfps_data_region";
};
dump_mem: mem_dump_region {
compatible = "shared-dma-pool";
reusable;

View file

@ -77,7 +77,6 @@
tx-fifo-resize;
linux,sysdev_is_parent;
snps,disable-clk-gating;
snps,has-lpm-erratum;
snps,hird-threshold = /bits/ 8 <0x10>;
snps,usb3_lpm_capable;
usb-core-id = <0>;
@ -404,7 +403,6 @@
tx-fifo-resize;
linux,sysdev_is_parent;
snps,disable-clk-gating;
snps,has-lpm-erratum;
snps,hird-threshold = /bits/ 8 <0x10>;
snps,usb3_lpm_capable;
usb-core-id = <1>;

View file

@ -27,9 +27,7 @@
qcom,clk-div = <192>;
qcom,clk-mult = <10>;
};
};
&audio_apr {
snd_934x: sound-tavil {
compatible = "qcom,sdm845-asoc-snd-tavil";
qcom,model = "sdm845-tavil-snd-card";

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
* Copyright (c) 2017, 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
@ -13,7 +13,9 @@
#include "sdm845-audio-overlay.dtsi"
&snd_934x {
qcom,us-euro-gpios = <&tavil_us_euro_sw>;
&soc {
sound-tavil {
qcom,us-euro-gpios = <&tavil_us_euro_sw>;
};
};

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017, 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
@ -30,7 +30,6 @@
};
&usb_qmp_dp_phy {
/delete-property/ extcon;
vdd-supply = <&pm660l_l1>; /* 0.88v */
core-supply = <&pm660_l1>; /* 1.2v */
};

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017, 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
@ -35,7 +35,6 @@
};
&usb_qmp_dp_phy {
/delete-property/ extcon;
vdd-supply = <&pm660l_l1>; /* 0.88v */
core-supply = <&pm660_l1>; /* 1.2v */
};

View file

@ -199,7 +199,6 @@
&pmi8998_haptics {
qcom,vmax-mv = <2400>;
qcom,lra-auto-mode;
status = "okay";
};
@ -273,13 +272,14 @@
};
&vendor {
/*
mtp_batterydata: qcom,battery-data {
qcom,batt-id-range-pct = <15>;
#include "fg-gen3-batterydata-itech-3000mah.dtsi"
#include "fg-gen3-batterydata-ascent-3450mah.dtsi"
#include "fg-gen3-batterydata-demo-6000mah.dtsi"
};
*/
extcon_usb1: extcon_usb1 {
compatible = "linux,extcon-usb-gpio";
vbus-gpio = <&pmi8998_gpios 8 GPIO_ACTIVE_HIGH>;
@ -288,11 +288,11 @@
pinctrl-0 = <&usb2_vbus_det_default>;
};
};
/*
&pmi8998_fg {
qcom,battery-data = <&mtp_batterydata>;
};
*/
&smb1355_charger_0 {
status = "ok"
qcom,disable-ctm;

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017, 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
@ -45,7 +45,3 @@
&usb0 {
extcon = <&pmi8998_pdphy>, <&pmi8998_pdphy>, <&eud>;
};
&usb_qmp_dp_phy {
extcon = <&pmi8998_pdphy>;
};

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
* Copyright (c) 2017, 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
@ -13,19 +13,21 @@
#include "sdm845-audio-overlay.dtsi"
&snd_934x {
qcom,model = "sdm845-tavil-qrd-snd-card";
&soc {
sound-tavil {
qcom,model = "sdm845-tavil-qrd-snd-card";
qcom,wsa-max-devs = <1>;
qcom,wsa-devs = <&wsa881x_0211>, <&wsa881x_0213>;
qcom,wsa-aux-dev-prefix = "SpkrRight", "SpkrRight";
qcom,wsa-max-devs = <1>;
qcom,wsa-devs = <&wsa881x_0211>, <&wsa881x_0213>;
qcom,wsa-aux-dev-prefix = "SpkrRight", "SpkrRight";
qcom,msm-mbhc-usbc-audio-supported = <1>;
qcom,msm-mbhc-usbc-audio-supported = <1>;
qcom,usbc-analog-en2-gpio = <&tlmm 51 0>;
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&wcd_usbc_analog_en2_active>;
pinctrl-1 = <&wcd_usbc_analog_en2_idle>;
qcom,usbc-analog-en2-gpio = <&tlmm 51 0>;
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&wcd_usbc_analog_en2_active>;
pinctrl-1 = <&wcd_usbc_analog_en2_idle>;
};
};
&us_euro_sw_wcd_active {

Some files were not shown because too many files have changed in this diff Show more