# Device tree modification to disable SATA and DevKit camera?

**URL:** <https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277>\
**Category:** Jetson TX2\
**Created:** [January 20, 2018, 9:38pm UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277 "2018-01-20T21:38:51Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![albertr](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@albertr](https://forums.developer.nvidia.com/u/albertr)\
**Post date:** [January 20, 2018, 9:38pm UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/1 "2018-01-20T21:38:51Z")

</div>

Hello,

I’m trying to save some power by disabling the functionality of TX2 module I’m not using, and I’m assuming there’re some clocks I can disable? I’m not using DevKit camera, SATA wi-fi and bluetooth, can you show how they can be disabled in the device tree? Anything else I can disable to save some power?

-albertr

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [January 22, 2018, 3:31am UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/2 "2018-01-22T03:31:34Z")

</div>

hello albertr,

there’s **status** in your device tree to indicate your driver status.  
you could simply disassembler the dtb file into txt file to take a look.

for example,

```auto
dtc -I dtb -O dts -o temp.txt tegra186.dtb

```

moreover,  
may i know what’s your use-case about power saving?  
thanks

---

<div class="post-metadata">

**Author:** ![albertr](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@albertr](https://forums.developer.nvidia.com/u/albertr)\
**Post date:** [January 22, 2018, 3:56am UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/3 "2018-01-22T03:56:07Z")

</div>

Hi JerryChang,

I do have device tree, that’s what I’m looking to make modifications to. I just don’t know what to look for and was hoping someone can guide me in the right direction…

The reason is: We are using the TX2 module with Auvidea J120 carrier board and the same TX2 runs much hotter in J120 comparing to DevKit board. Everything is the same, the only difference is the carrier board itself. For instance, with idle load and at ambient temperature with fan off, TX2 averages around 36C (cpu core temperature) in DevKit board. If I put the same TX2 module in J120 board, under the same load and at the same ambient temperature cpu core temp raises to over 50C at which point I have to turn on active cooling.  
The J120 board itself doesn’t radiate the heat, all the heat comes from TX2 module itself. We are planning to use TX2 with Auvidea J120 carrier board in battery powered application and we are obviously concerned with power drain and would like to eliminate it.  
So my thinking (please correct me if I’m wrong) is to try to disable any possible power drain sources and see it it would help. Auvidea’s board doesn’t have SATA and DevKit camera, so these are the first on my list to disable. Anything else I need to consider?

Here’s my power regulators when using Auvidea J120 board:

```auto
root@tx2:/sys/kernel/debug/tegra_fan# cat /sys/class/regulator/regulator.*/name
regulator-dummy
vddio-sdmmc1
vdd-rtc
avdd-ts-hv
spmic-ldo6
vdd-pex-1v05
dvdd-pex
en-vdd-sd
vdd-usb0-5v
vdd-usb1-5v
vdd-fan
vdd-ac-bat
vdd-3v3
en-vdd-vcm-2v8
vdd-sys-bl
vdd-1v8-ap
vddio-ddr
avdd_dsi_csi
vdd-1v8
vdd-3v3-sys
spmic-ldo0
spmic-ldo1
vddio-3v3
root@tx2:/sys/kernel/debug/tegra_fan#

```

Let me know what do you think…

-albertr

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [February 2, 2018, 2:36am UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/4 "2018-02-02T02:36:16Z")

</div>

hello albertr,

please refer to the [Release 28.1 Development Guide]-\> [Power Management for TX2 Devices] chapter for more details.  
thanks

---

<div class="post-metadata">

**Author:** ![albertr](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@albertr](https://forums.developer.nvidia.com/u/albertr)\
**Post date:** [February 8, 2018, 4:21pm UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/5 "2018-02-08T16:21:05Z")

</div>

Hi JerryChang,

Can you provide a link where I can download this documentation? Searching Jetson Download Center didn’t find it…

[url][https://developer.nvidia.com/embedded/downloads#?search=Debelopment[/url]](https://developer.nvidia.com/embedded/downloads#?search=Debelopment%5B/url%5D)

-albertr

---

<div class="post-metadata">

**Author:** ![albertr](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@albertr](https://forums.developer.nvidia.com/u/albertr)\
**Post date:** [February 12, 2018, 4:44pm UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/6 "2018-02-12T16:44:18Z")

</div>

@JerryChang, I cannot find the document you were referencing to ([Release 28.1 Development Guide]-\> [Power Management for TX2 Devices]). A direct link would be much appreciated.

-albertr

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [February 13, 2018, 3:41am UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/7 "2018-02-13T03:41:18Z")

</div>

hello albertr,

you can simply use 28.1 keyword to search all related documentations.  
please check release 28.1 development guide here: [url][https://developer.nvidia.com/embedded/dlc/l4t-documentation-28-1[/url]](https://developer.nvidia.com/embedded/dlc/l4t-documentation-28-1%5B/url%5D)

---

<div class="post-metadata">

**Author:** ![albertr](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@albertr](https://forums.developer.nvidia.com/u/albertr)\
**Post date:** [February 13, 2018, 5:07pm UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/8 "2018-02-13T17:07:12Z")

</div>

Thanks, Jerry. I read it, however I didn’t find any info on how to turn off clocks (and/or disable power regulators) for SATA or DevKit camera in there… any help would be appreciated.

-albertr

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [February 14, 2018, 6:47am UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/9 "2018-02-14T06:47:39Z")

</div>

hello albertr,

please check below kernel source code as an example.  
r28.1\_sources/kernel-dts/t18x-common-plugin-manager/tegra186-quill-camera-plugin-manager.dtsi

you’re able to disable camera module by settings the status to “disabled”  
thanks

---

<div class="post-metadata">

**Author:** ![albertr](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@albertr](https://forums.developer.nvidia.com/u/albertr)\
**Post date:** [April 10, 2018, 7:43pm UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/10 "2018-04-10T19:43:12Z")

</div>

Jerry, thanks. These are rather large files with many dozens of different device nodes in there… Which specific one you are suggesting me to disable?

Maybe instead of disabling I can exclude both of the following files from my device tree (tegra186-quill-camera-modules.dtsi and tegra186-quill-camera-plugin-manager.dtsi)? Would it thereby effectively disable the DevKit camera or it might break something else?

```auto
root@tx2:/usr/src/hardware/nvidia/platform/t18x# ls -la common/kernel-dts/t18x-common-platforms/tegra186-quill-camera-modules.dtsi
-rw-rw-r-- 1 nvidia nvidia 7626 Jul 20 2017 common/kernel-dts/t18x-common-platforms/tegra186-quill-camera-modules.dtsi
root@tx2:/usr/src/hardware/nvidia/platform/t18x# ls -la common/kernel-dts/t18x-common-plugin-manager/tegra186-quill-camera-plugin-manager.dtsi
-rw-rw-r-- 1 nvidia nvidia 39963 Jul 20 2017 common/kernel-dts/t18x-common-plugin-manager/tegra186-quill-camera-plugin-manager.dtsi
root@tx2:/usr/src/hardware/nvidia/platform/t18x#

```

-albertr

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [April 11, 2018, 1:52am UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/11 "2018-04-11T01:52:05Z")

</div>

hello albertr,

the convenient way would be exclude camera related dtsi from the TX2’s base device tree.  
please check

```auto
sources/hardware/nvidia/platform/t18x/quill/kernel-dts/tegra186-quill-p3310-1000-a00-00-base.dts

```

thanks

---

<div class="post-metadata">

**Author:** ![albertr](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@albertr](https://forums.developer.nvidia.com/u/albertr)\
**Post date:** [April 12, 2018, 6:15pm UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/12 "2018-04-12T18:15:30Z")

</div>

Thanks, Jerry.

Can you also let me know how can I disable SATA/AHCI controller?

Also, what vddio-sdmmc1 is responsible for? Is it dedicated to mmc1 (Broadcom SDIO WiFi/bluetooth card)? If so, can it be disabled without impacting anything else beside Broadcom radio?

```auto
[2.579164] mmc1: SDHCI controller on 3440000.sdhci [3440000.sdhci] using ADMA 64-bit with 64 bit addr

```

-albertr

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [April 13, 2018, 8:43am UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/13 "2018-04-13T08:43:22Z")

</div>

hello albertr,

you could disassembler the dtb file into txt file for checking.  
bcmdhd\_wlan is using the sdhci-host, hence disable the sdhci@3440000 won’t impacting it.  
thanks

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:28pm UTC](https://forums.developer.nvidia.com/t/device-tree-modification-to-disable-sata-and-devkit-camera/57277/14 "2021-10-18T18:28:45Z")

</div>

Closed on October 18, 2021, 6:28pm UTC


