Tegra_fan function on customization carrier board requirement

Hi Sir,

We have design our carrier board w/o U28 & U29 chip like EVK design.

Our fan connector is 12V and after connecting 12V PWM fan, we could not see the Tegra_fan folder like as below image :

[url]https://imgur.com/a/OywkLi2[/url]

From EVK, we could see the Tegra_fan folder like as below image :

[url]https://imgur.com/a/QVN2dYF[/url]

As my understanding, we can go to Tegra_fan folder to modify fan setting, but now on our carrier board we can’t see this folder thus we can’t access this fan, so we also can’t modify our fan’s setting like PWM.

P.S. On our carrier board the 12V pin is OK because connect 12V fan can work, but we can’t control it.(PWM/ON & OFF switch)

Please kindly help us to resolve this issue, thanks.

aesinfo,

Are you using rel-28 based release? AFAIK, rel-32 does not have tegra_fan node.

Please go to hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-cvb-prod-p2597-b00-p3310-1000-a00-00.dtsi

and change the vdd-fan regulator.

platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-quill-power-tree-p3310-1000-a00-00.dtsi
indicates there is a vdd-fan-supply field.

Hi Sir,

(Feedback #2)

We use SDK R28 now.

Hi Wayne

Can you tell me which part i should change as below:

Please go to hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-cvb-prod-p2597-b00-p3310-1000-a00-00.dtsi

vdd_fan: regulator@13 {
compatible = “regulator-fixed-sync”;
reg = <13>;
regulator-name = “vdd-fan”;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio_i2c_0_74 4 0>;
};

I didn’t find vdd-fan-supply in tegra186-quill-power-tree-p3310-1000-a00-00.dtsi file. Did i need to add something in my code. Can you give me a sample ?

platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-quill-power-tree-p3310-1000-a00-00.dtsi
indicates there is a vdd-fan-supply field.

hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms$ grep -rin “vdd-fan” ./
./tegra186-cvb-prod-p2597-b00-p3489-1000-a00-00.dtsi:267: regulator-name = “vdd-fan”;
./tegra186-quill-power-tree-p3489-1000-a00-00.dtsi:159: vdd-fan-supply = <&vdd_fan>;
./tegra186-cvb-prod-p2597-b00-p3310-1000-a00-00.dtsi:248: regulator-name = “vdd-fan”;
./tegra186-quill-power-tree-p3310-1000-a00-00.dtsi:159: vdd-fan-supply = <&vdd_fan>;

What code are you using? What is the revision?

Hi WayneWWW

Fan Issue is fix.