Accessing DTS file tegra_sinterface

In this post:

the solution was to change from serial_a to serial_f in the tegra_sinterface.dtsi file but I’m not sure where to access it.

You need to check the HW connection and modify it in the device tree like below.

                                       imx274_a@1a {
                                                compatible = "nvidia,imx274";
                                                reg = <0x1a>;
                                                physical_w = "3.674";
                                                physical_h = "2.738";
                                                avdd-reg = "vana";
                                                iovdd-reg = "vif";
                                                dvdd-reg = "vdig";
                                                delayed_gain = "true";
                                                clocks = <0x41 0x117>;
                                                clock-names = "clk_out_3";
                                                clock-frequency = <0x16e3600>;
                                                mclk = "clk_out_3";
                                                reset-gpios = <0x7b 0x94 0x0>;
                                                vana-supply = <0x94>;
                                                vif-supply = <0x93>;
                                                vdig-supply = <0x95>;
                                                status = "disabled";
                                                linux,phandle = <0x122>;
                                                phandle = <0x122>;

                                                mode0 {
                                                        mclk_khz = "24000";
                                                        num_lanes = [34 00];
                                                        tegra_sinterface = "serial_a";
                                                        discontinuous_clk = "yes";
                                                        dpcm_enable = "false";
                                                        cil_settletime = [30 00];
                                                        active_w = "3864";
                                                        active_h = "2174";
                                                        pixel_t = "bayer_rggb";
                                                        readout_orientation = "90";
                                                        line_length = "4200";
                                                        inherent_gain = [31 00];

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