hello Wayne.
It is difficult to investigate the cause of a kernel panic just by changing max-clk-limit.
If you look up 7000d000 @ i2c in the device tree, the regulator for the SD card is assigned here.
Is it possible to get a CRC error and access the regulator with i2c?
By the way, I haven’t changed 7000d000 @ i2c in the device tree.
device tree.
i2c@7000d000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "nvidia,tegra210-i2c";
reg = <0x0 0x7000d000 0x0 0x100>;
interrupts = <0x0 0x35 0x4>;
scl-gpio = <0x5b 0xc3 0x0>;
sda-gpio = <0x5b 0xc4 0x0>;
nvidia,require-cldvfs-clock;
iommus = <0x30 0xe>;
status = "okay";
clock-frequency = <0xf4240>;
dmas = <0x51 0x18 0x51 0x18>;
dma-names = "rx", "tx";
clocks = <0x26 0x2f 0x26 0xf3>;
clock-names = "div-clk", "parent";
resets = <0x26 0x2f>;
reset-names = "i2c";
nvidia,bit-bang-after-shutdown;
linux,phandle = <0x124>;
phandle = <0x124>;
max77620@3c {
compatible = "maxim,max77620";
reg = <0x3c>;
interrupts = <0x0 0x56 0x0>;
nvidia,pmc-wakeup = <0x3c 0x1 0x33 0x8>;
#interrupt-cells = <0x2>;
interrupt-controller;
gpio-controller;
#gpio-cells = <0x2>;
maxim,enable-clock32k-out;
maxim,system-pmic-power-off;
maxim,hot-die-threshold-temp = <0x1adb0>;
#thermal-sensor-cells = <0x0>;
pinctrl-names = "default";
pinctrl-0 = <0x8b>;
maxim,power-shutdown-gpio-states = <0x1 0x0>;
linux,phandle = <0x23>;
phandle = <0x23>;
pinmux@0 {
linux,phandle = <0x8b>;
phandle = <0x8b>;
pin_gpio0 {
pins = "gpio0";
function = "gpio";
};
pin_gpio1 {
pins = "gpio1";
function = "gpio";
drive-open-drain = <0x1>;
maxim,active-fps-source = <0x3>;
maxim,active-fps-power-up-slot = <0x0>;
maxim,active-fps-power-down-slot = <0x7>;
};
pin_gpio2 {
pins = "gpio2";
maxim,active-fps-source = <0x0>;
maxim,active-fps-power-up-slot = <0x0>;
maxim,active-fps-power-down-slot = <0x7>;
};
pin_gpio3 {
pins = "gpio3";
maxim,active-fps-source = <0x0>;
maxim,active-fps-power-up-slot = <0x4>;
maxim,active-fps-power-down-slot = <0x3>;
};
pin_gpio2_3 {
pins = "gpio2", "gpio3";
function = "fps-out";
drive-open-drain = <0x1>;
maxim,active-fps-source = <0x0>;
};
pin_gpio4 {
pins = "gpio4";
function = "32k-out1";
};
pin_gpio5_6_7 {
pins = "gpio5", "gpio6", "gpio7";
function = "gpio";
drive-push-pull = <0x1>;
};
};
spmic-default-output-high {
gpio-hog;
output-high;
gpios = <0x1 0x0>;
label = "spmic-default-output-high";
};
watchdog {
maxim,wdt-timeout = <0x10>;
maxim,wdt-clear-time = <0xd>;
maxim,wdt-boot-init;
status = "disabled";
dt-override-status-odm-data = <0x20000 0x20000>;
linux,phandle = <0xbb>;
phandle = <0xbb>;
};
fps {
#address-cells = <0x1>;
#size-cells = <0x0>;
fps0 {
reg = <0x0>;
maxim,shutdown-fps-time-periodi-us = <0x500>;
maxim,fps-event-source = <0x0>;
};
fps1 {
reg = <0x1>;
maxim,shutdown-fps-time-period-us = <0x500>;
maxim,fps-event-source = <0x1>;
maxim,device-state-on-disabled-event = <0x0>;
};
fps2 {
reg = <0x2>;
maxim,fps-event-source = <0x0>;
};
};
backup-battery {
maxim,backup-battery-charging-current = <0x64>;
maxim,backup-battery-charging-voltage = <0x2dc6c0>;
maxim,backup-battery-output-resister = <0x64>;
};
regulators {
in-ldo0-1-supply = <0x8c>;
in-ldo7-8-supply = <0x8c>;
sd0 {
regulator-name = "vdd-core";
regulator-min-microvolt = <0xf4240>;
regulator-max-microvolt = <0x11da50>;
regulator-boot-on;
regulator-always-on;
maxim,active-fps-source = <0x1>;
regulator-init-mode = <0x2>;
maxim,active-fps-power-up-slot = <0x1>;
maxim,active-fps-power-down-slot = <0x6>;
regulator-enable-ramp-delay = <0x92>;
regulator-disable-ramp-delay = <0xff0>;
regulator-ramp-delay = <0x6b6c>;
regulator-ramp-delay-scale = <0x12c>;
linux,phandle = <0xa6>;
phandle = <0xa6>;
};
sd1 {
regulator-name = "vdd-ddr-1v1";
regulator-always-on;
regulator-boot-on;
regulator-init-mode = <0x2>;
maxim,active-fps-source = <0x0>;
maxim,active-fps-power-up-slot = <0x5>;
maxim,active-fps-power-down-slot = <0x2>;
regulator-min-microvolt = <0x118c30>;
regulator-max-microvolt = <0x118c30>;
regulator-enable-ramp-delay = <0x82>;
regulator-disable-ramp-delay = <0x23988>;
regulator-ramp-delay = <0x6b6c>;
regulator-ramp-delay-scale = <0x12c>;
linux,phandle = <0x125>;
phandle = <0x125>;
};
sd2 {
regulator-name = "vdd-pre-reg-1v35";
regulator-min-microvolt = <0x149970>;
regulator-max-microvolt = <0x149970>;
regulator-always-on;
regulator-boot-on;
maxim,active-fps-source = <0x1>;
maxim,active-fps-power-up-slot = <0x2>;
maxim,active-fps-power-down-slot = <0x5>;
regulator-enable-ramp-delay = <0xb0>;
regulator-disable-ramp-delay = <0x7d00>;
regulator-ramp-delay = <0x6b6c>;
regulator-ramp-delay-scale = <0x15e>;
linux,phandle = <0x8c>;
phandle = <0x8c>;
};
sd3 {
regulator-name = "vdd-1v8";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x1b7740>;
regulator-always-on;
regulator-boot-on;
maxim,active-fps-source = <0x0>;
regulator-init-mode = <0x2>;
maxim,active-fps-power-up-slot = <0x3>;
maxim,active-fps-power-down-slot = <0x4>;
regulator-enable-ramp-delay = <0xf2>;
regulator-disable-ramp-delay = <0x1ccf0>;
regulator-ramp-delay = <0x6b6c>;
regulator-ramp-delay-scale = <0x168>;
linux,phandle = <0x3b>;
phandle = <0x3b>;
};
ldo0 {
regulator-name = "avdd-sys-1v2";
regulator-min-microvolt = <0x124f80>;
regulator-max-microvolt = <0x124f80>;
regulator-boot-on;
maxim,active-fps-source = <0x3>;
maxim,active-fps-power-up-slot = <0x0>;
maxim,active-fps-power-down-slot = <0x7>;
regulator-enable-ramp-delay = <0x1a>;
regulator-disable-ramp-delay = <0x272>;
regulator-ramp-delay = <0x186a0>;
regulator-ramp-delay-scale = <0xc8>;
linux,phandle = <0x42>;
phandle = <0x42>;
};
ldo1 {
regulator-name = "vdd-pex-1v0";
regulator-min-microvolt = <0x100590>;
regulator-max-microvolt = <0x100590>;
regulator-always-on;
maxim,active-fps-source = <0x3>;
maxim,active-fps-power-up-slot = <0x0>;
maxim,active-fps-power-down-slot = <0x7>;
regulator-enable-ramp-delay = <0x16>;
regulator-disable-ramp-delay = <0x276>;
regulator-ramp-delay = <0x186a0>;
regulator-ramp-delay-scale = <0xc8>;
linux,phandle = <0x44>;
phandle = <0x44>;
};
ldo2 {
regulator-name = "vddio-sdmmc-ap";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x325aa0>;
maxim,active-fps-source = <0x3>;
maxim,active-fps-power-up-slot = <0x0>;
maxim,active-fps-power-down-slot = <0x7>;
regulator-enable-ramp-delay = <0x3e>;
regulator-disable-ramp-delay = <0x28a>;
regulator-ramp-delay = <0x186a0>;
regulator-ramp-delay-scale = <0xc8>;
linux,phandle = <0x9e>;
phandle = <0x9e>;
};
ldo3 {
regulator-name = "vdd-ldo3";
regulator-min-microvolt = <0x2ab980>;
regulator-max-microvolt = <0x2ab980>;
maxim,active-fps-source = <0x3>;
maxim,active-fps-power-up-slot = <0x0>;
maxim,active-fps-power-down-slot = <0x7>;
regulator-enable-ramp-delay = <0x32>;
regulator-disable-ramp-delay = <0x456>;
regulator-ramp-delay = <0x186a0>;
regulator-ramp-delay-scale = <0xc8>;
status = "disabled";
linux,phandle = <0x126>;
phandle = <0x126>;
};
ldo4 {
regulator-name = "vdd-rtc";
regulator-min-microvolt = <0xcf850>;
regulator-max-microvolt = <0x10c8e0>;
regulator-always-on;
regulator-boot-on;
maxim,active-fps-source = <0x0>;
maxim,active-fps-power-up-slot = <0x1>;
maxim,active-fps-power-down-slot = <0x6>;
regulator-enable-ramp-delay = <0x16>;
regulator-disable-ramp-delay = <0x262>;
regulator-ramp-delay = <0x186a0>;
regulator-ramp-delay-scale = <0xc8>;
regulator-disable-active-discharge;
linux,phandle = <0x127>;
phandle = <0x127>;
};
ldo5 {
regulator-name = "vdd-ldo5";
regulator-min-microvolt = <0x325aa0>;
regulator-max-microvolt = <0x325aa0>;
maxim,active-fps-source = <0x3>;
maxim,active-fps-power-up-slot = <0x0>;
maxim,active-fps-power-down-slot = <0x7>;
regulator-enable-ramp-delay = <0x3e>;
regulator-disable-ramp-delay = <0x280>;
regulator-ramp-delay = <0x186a0>;
regulator-ramp-delay-scale = <0xc8>;
status = "disabled";
linux,phandle = <0x5c>;
phandle = <0x5c>;
};
ldo6 {
regulator-name = "vddio-sdmmc3-ap";
regulator-min-microvolt = <0x1b7740>;
regulator-max-microvolt = <0x325aa0>;
regulator-boot-on;
maxim,active-fps-source = <0x3>;
maxim,active-fps-power-up-slot = <0x0>;
maxim,active-fps-power-down-slot = <0x7>;
regulator-enable-ramp-delay = <0x24>;
regulator-disable-ramp-delay = <0x2a2>;
regulator-ramp-delay = <0x186a0>;
regulator-ramp-delay-scale = <0xc8>;
linux,phandle = <0x5d>;
phandle = <0x5d>;
};
ldo7 {
regulator-name = "avdd-1v05-pll";
regulator-min-microvolt = <0x100590>;
regulator-max-microvolt = <0x100590>;
regulator-always-on;
regulator-boot-on;
maxim,active-fps-source = <0x1>;
maxim,active-fps-power-up-slot = <0x3>;
maxim,active-fps-power-down-slot = <0x4>;
regulator-enable-ramp-delay = <0x18>;
regulator-disable-ramp-delay = <0xad0>;
regulator-ramp-delay = <0x186a0>;
regulator-ramp-delay-scale = <0xc8>;
linux,phandle = <0x43>;
phandle = <0x43>;
};
ldo8 {
regulator-name = "avdd-io-hdmi-dp";
regulator-min-microvolt = <0x100590>;
regulator-max-microvolt = <0x100590>;
regulator-boot-on;
regulator-always-on;
maxim,active-fps-source = <0x1>;
maxim,active-fps-power-up-slot = <0x6>;
maxim,active-fps-power-down-slot = <0x1>;
regulator-enable-ramp-delay = <0x16>;
regulator-disable-ramp-delay = <0x488>;
regulator-ramp-delay = <0x186a0>;
regulator-ramp-delay-scale = <0xc8>;
linux,phandle = <0x45>;
phandle = <0x45>;
};
};
low-battery-monitor {
maxim,low-battery-shutdown-enable;
};
};
};