Hi,
We are using TSC_EDGE_OUT0 (GPIO 10 , A62) pin to generate a PWM signal of 30 Hz frequency from Orin AGX(L4T 35.2.1). We are able to generate 30 Hz after adding below entry in device tree.
tsc_sig_gen@c6a0000 {
compatible = "nvidia,tegra234-cdi-tsc";
ranges = <0x0 0x0 0xc6a0000 0x10000>;
reg = <0x0 0xc6a0000 0x0 0x18>;
#address-cells = <1>;
#size-cells = <1>;
status = "okay";
/* EDGE_OUT #0 */
generator@380 {
reg = <0x380 0x80>;
freq_hz = <30>;
duty_cycle = <50>;
offset_ms = <0>;
status = "okay";
};
};
We need to change this PWM frequency during runtime. Is there any way to control the TSC_EDGE_OUT0 pin after boot up through sysfs or through any scripts/application ?