GPIO address for enabling regulator on custom board

Hi,

In the below schematic, I will need to set CAMERA_1_PWR_EN to HIGH permanently :

Is it kind of fixed-regulators ? If YES, what value should I assign to reg = ?

 / {
 	fixed-regulators {
...
 		p3668_vdd_cam1_reg: regulator@xxx {
			compatible = "regulator-fixed";
 			reg = <xxx>;
 			regulator-name = "vdd-cam1-reg";
			regulator-min-microvolt = <3300000>;
 			regulator-max-microvolt = <3300000>;
 			gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(G, 2) 0>;
 			enable-active-high;
 		};

Thanks in advance and best regards,
Khang

hello khang.l4es,

it’s an ID which started from 100, and increment for each regulator settings.
you may also review device tree, tegra194-fixed-regulator-xxx-dtsi, for adding your fixed-regulator settings.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.