This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7: can't set TCA6424 CSI_GPIO0 to 1

Part Number: AM62A7
Other Parts Discussed in Thread: TCA6424

Tool/software:

HI TI

can't set TCA6424 CSI_GPIO0 to 1

device tree:
include <dt-bindings/gpio/gpio.h>

&{/} {
        clk_imx728_fixed: imx728-xclk {
                compatible = "fixed-clock";
                #clock-cells = <0>;
                clock-frequency = <24000000>;
        };
};

&main_i2c2 {
        #address-cells = <1>;
        #size-cells = <0>;
        status = "okay";

        i2c-switch@71 {
                compatible = "nxp,pca9543";
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0x71>;

                /* CAM port */
                i2c@1 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <1>;

                        imx728: camera@1d {
                                compatible = "sony,imx728";
                                reg = <0x1d>;

                                clocks = <&clk_imx728_fixed>;
                                clock-names = "xclk";

                                reset-gpios = <&exp1 15 GPIO_ACTIVE_HIGH>; //CSI_GPIO0

                                port {
                                        csi2_cam0: endpoint {
                                                remote-endpoint = <&csi2rx0_in_sensor>;
                                                link-frequencies = /bits/ 64 <456000000>;
                                                clock-lanes = <0>;
                                                data-lanes = <1 2>;
                                        };
                                };
                        };
                };
        };
};


//driver code
static int imx728_power_on(struct device *dev)
{
        struct v4l2_subdev *sd = dev_get_drvdata(dev);
        struct imx728 *imx728 = to_imx728(sd);
        int ret;

        ret = regulator_bulk_enable(IMX728_NUM_SUPPLIES,
                                    imx728->supplies);
        if (ret) {
                dev_err(dev, "%s: failed to enable regulators\n",
                        __func__);
                return ret;
        }

        ret = clk_prepare_enable(imx728->xclk);
        if (ret) {
                dev_err(dev, "%s: failed to enable clock\n",
                        __func__);
                goto reg_off;
        }

        gpiod_set_value_cansleep(imx728->reset_gpio, 1);  // set csi_gpio0 high
        usleep_range(IMX728_XCLR_MIN_DELAY_US,
                     IMX728_XCLR_MIN_DELAY_US + IMX728_XCLR_DELAY_RANGE_US);

        return 0;

reg_off:
        regulator_bulk_disable(IMX728_NUM_SUPPLIES, imx728->supplies);

        return ret;
}

  • 1.272847] printk: console [ttyS2] disabled
    [ 1.277286] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 253, base_baud = 3000000) is a 8250
    [ 1.286163] printk: console [ttyS2] enabled
    [ 1.286163] printk: console [ttyS2] enabled
    [ 1.294620] printk: bootconsole [ns16550a0] disabled
    [ 1.294620] printk: bootconsole [ns16550a0] disabled
    [ 1.306821] spi-nand spi0.0: Winbond SPI NAND was found.
    [ 1.312154] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [ 1.320496] 7 fixed-partitions partitions found on MTD device spi0.0
    [ 1.326852] Creating 7 MTD partitions on "spi0.0":
    [ 1.331643] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [ 1.338869] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
    [ 1.346437] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
    [ 1.354840] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
    [ 1.361534] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
    [ 1.368811] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [ 1.413567] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [ 1.461200] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [ 1.470268] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [ 1.478401] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [ 1.491171] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [ 1.498299] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [ 1.504646] pps pps0: new PPS source ptp0
    [ 1.508919] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [ 1.519168] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [ 1.527506] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [ 1.539824] mmc0: CQHCI version 5.10
    [ 1.584611] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [ 1.679280] mmc0: Command Queue Engine enabled
    [ 1.683747] mmc0: new HS200 MMC card at address 0001
    [ 1.689281] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [ 1.720526] mmcblk0: p1 p2
    [ 1.723876] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [ 1.729760] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [ 1.735542] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (240:0)
    [ 1.925259] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [ 1.934229] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [ 1.945247] pca953x 1-0022: supply vcc not found, using dummy regulator
    [ 1.951981] pca953x 1-0022: using AI
    [ 1.960551] KK: gpio_set_value off = 3,val = 1
    [ 1.966532] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [ 1.974139] mmc1: CQHCI version 5.10
    [ 1.974991] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [ 1.985140] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [ 1.998271] ALSA device list:
    [ 2.001262] No soundcards found.
    [ 2.018974] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [ 2.026714] Waiting for root device PARTUUID=83c21bb6-02...
    [ 2.091042] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [ 2.111033] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
    [ 2.121773] mmcblk1: p1 p2
    [ 2.154534] EXT4-fs (mmcblk1p2): recovery complete
    [ 2.160311] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [ 2.168893] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [ 2.178921] devtmpfs: mounted
    [ 2.182473] Freeing unused kernel memory: 2112K
    [ 2.187099] Run /sbin/init as init process
    [ 2.384808] systemd[1]: System time before build time, advancing clock.
    [ 2.635639] NET: Registered PF_INET6 protocol family
    [ 2.642326] Segment Routing with IPv6
    [ 2.646169] In-situ OAM (IOAM) with IPv6
    [ 2.703174] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBC)
    [ 2.735249] systemd[1]: Detected architecture arm64.

    Welcome to Arago 2023.10!

    [ 2.816582] systemd[1]: Hostname set to <am62axx-evm>.
    [ 2.926947] systemd-sysv-generator[158]: SysV service '/etc/init.d/netopeer2-server' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to inc.
    [ 2.954813] systemd-sysv-generator[158]: SysV service '/etc/init.d/edgeai-launcher.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to i.
    [ 2.980746] systemd-sysv-generator[158]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to in.
    [ 3.008397] systemd-sysv-generator[158]: SysV service '/etc/init.d/sysrepo' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a na.
    [ 3.367505] systemd[1]: /lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the settin.
    [ 3.436040] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the set.
    [ 3.514752] systemd[1]: Queued start job for default target Graphical Interface.
    [ 3.581085] systemd[1]: Created slice Slice /system/getty.
    [ OK ] Created slice Slice /system/getty.
    [ 3.603932] systemd[1]: Created slice Slice /system/modprobe.
    [ OK ] Created slice Slice /system/modprobe.
    [ 3.628434] systemd[1]: Created slice Slice /system/serial-getty.
    [ OK ] Created slice Slice /system/serial-getty.
    [ 3.683048] systemd[1]: Created slice User and Session Slice.
    [ OK ] Created slice User and Session Slice.
    [ 3.705700] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Started Dispatch Password …ts to Console Directory Watch.
    [ 3.734191] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Started Forward Password R…uests to Wall Directory Watch.
    [ 3.757815] systemd[1]: Reached target Path Units.
    [ OK ] Reached target Path Units.
    [ 3.773408] systemd[1]: Reached target Remote File Systems.
    [ OK ] Reached target Remote File Systems.
    [ 3.793513] systemd[1]: Reached target Slice Units.
    [ OK ] Reached target Slice Units.
    [ 3.809458] systemd[1]: Reached target Swaps.
    [ OK ] Reached target Swaps.
    [ 3.881778] systemd[1]: Listening on RPCbind Server Activation Socket.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ 3.905723] systemd[1]: Reached target RPC Port Mapper.
    [ OK ] Reached target RPC Port Mapper.
    [ 3.943888] systemd[1]: Listening on Process Core Dump Socket.
    [ OK ] Listening on Process Core Dump Socket.
    [ 3.966158] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [ OK ] Listening on initctl Compatibility Named Pipe.
    [ 3.991156] systemd[1]: Listening on Journal Audit Socket.
    [ OK ] Listening on Journal Audit Socket.
    [ 4.016015] systemd[1]: Listening on Journal Socket (/dev/log).
    [ OK ] Listening on Journal Socket (/dev/log).
    [ 4.040022] systemd[1]: Listening on Journal Socket.
    [ OK ] Listening on Journal Socket.
    [ 4.059194] systemd[1]: Listening on Network Service Netlink Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    [ 4.083189] systemd[1]: Listening on udev Control Socket.
    [ OK ] Listening on udev Control Socket.
    [ 4.107431] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ 4.131761] systemd[1]: Listening on User Database Manager Socket.
    [ OK ] Listening on User Database Manager Socket.
    [ 4.197805] systemd[1]: Mounting Huge Pages File System...
    Mounting Huge Pages File System...
    [ 4.221018] systemd[1]: Mounting POSIX Message Queue File System...
    Mounting POSIX Message Queue File System...
    [ 4.273965] systemd[1]: Mounting Kernel Debug File System...
    Mounting Kernel Debug File System...
    [ 4.303617] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [ 4.337754] systemd[1]: Mounting Temporary Directory /tmp...
    Mounting Temporary Directory /tmp...
    [ 4.370600] systemd[1]: Starting Create List of Static Device Nodes...
    Starting Create List of Static Device Nodes...
    [ 4.403194] systemd[1]: Starting Load Kernel Module configfs...
    Starting Load Kernel Module configfs...
    [ 4.434003] systemd[1]: Starting Load Kernel Module drm...
    Starting Load Kernel Module drm...
    [ 4.455491] systemd[1]: Starting Load Kernel Module fuse...
    Starting Load Kernel Module fuse...
    [ 4.575370] fuse: init (API version 7.37)
    [ 4.586543] systemd[1]: Starting Start psplash boot splash screen...
    Starting Start psplash boot splash screen...
    [ 4.632602] systemd[1]: Starting RPC Bind...
    Starting RPC Bind...
    [ 4.649681] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [ 4.666008] systemd[1]: Starting Journal Service...
    Starting Journal Service...
    [ 4.692553] systemd[1]: Starting Load Kernel Modules...
    Starting Load Kernel Modules...
    [ 4.714633] systemd[1]: Starting Generate network units from Kernel command line...
    Starting Generate network …ts from Kernel command line...
    [ 4.742225] systemd[1]: Starting Remount Root and Kernel File Systems...
    Starting Remount Root and Kernel File Systems...
    [ 4.762898] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [ 4.774106] systemd[1]: Starting Coldplug All udev Devices...
    Starting Coldplug All udev Devices...
    [ 4.802444] systemd[1]: Started RPC Bind.
    [ OK ] Started RPC Bind.
    [ 4.817894] systemd[1]: Started Journal Service.
    [ OK ] Started Journal Service.
    [ OK ] Mounted Huge Pages File System.
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Mounted Kernel Debug File System.
    [ OK ] Mounted Temporary Directory /tmp.
    [ OK ] Finished Create List of Static Device Nodes.
    [ OK ] Finished Load Kernel Module configfs.
    [ OK ] Finished Load Kernel Module drm.
    [ OK ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [ OK ] Finished Load Kernel Modules.
    [ OK ] Finished Generate network units from Kernel command line.
    [ OK ] Finished Remount Root and Kernel File Systems.
    Mounting FUSE Control File System...
    Mounting Kernel Configuration File System...
    Starting Flush Journal to Persistent Storage...
    [ 5.235357] systemd-journald[175]: Received client request to flush runtime journal.
    Starting Apply Kernel Variables...
    Starting Create Static Device Nodes in /dev...
    [ OK ] Mounted FUSE Control File System.
    [ OK ] Mounted Kernel Configuration File System.
    [ OK ] Finished Flush Journal to Persistent Storage.
    [ OK ] Finished Apply Kernel Variables.
    [ OK ] Finished Create Static Device Nodes in /dev.
    [ OK ] Reached target Preparation for Local File Systems.
    Mounting /media/ram...
    Mounting /var/volatile...
    [ 5.461199] audit: type=1334 audit(1651167748.072:2): prog-id=5 op=LOAD
    [ 5.468318] audit: type=1334 audit(1651167748.080:3): prog-id=6 op=LOAD
    Starting Rule-based Manage…for Device Events and Files...
    [ OK ] Finished Coldplug All udev Devices.
    [ OK ] Mounted /media/ram.
    [ OK ] Mounted /var/volatile.
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    Starting Create Volatile Files and Directories...
    [ OK ] Finished Create Volatile Files and Directories.
    [ OK ] Started Rule-based Manager for Device Events and Files.
    Starting Network Time Synchronization...
    Starting Record System Boot/Shutdown in UTMP...
    [ OK ] Finished Record System Boot/Shutdown in UTMP.
    [ 6.119017] systemd-journald[175]: Oldest entry in /run/log/journal/1aa744ada7ab4350a2792f35868a0dbd/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [ OK ] Started Network Time Synchronization.
    [ 6.147904] systemd-journald[175]: /run/log/journal/1aa744ada7ab4350a2792f35868a0dbd/system.journal: Journal header limits reached or header out-of-date, rotating.
    [ OK ] Found device /dev/ttyS2.
    [ 6.171838] random: crng init done
    [ OK ] Reached target System Initialization.
    [ 6.184169] mc: Linux media interface: v0.10
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target System Time Set.
    [ OK ] Started Daily rotation of log files.
    [ OK ] Reached target Timer Units.
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ 6.356433] tlv320aic3x 1-001b: supply DVDD not found, using dummy regulator
    Starting Docker Socket for the API...
    [ 6.403446] videodev: Linux video capture interface: v2.00
    [ 6.411014] rtc-ti-k3 2b1f0000.rtc: Clock rate 32552 is not 32768! Could misbehave!
    [ 6.420348] platform 31000000.usb: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/usb-power-controller@3f/connector
    [ 6.438591] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
    [ 6.469365] k3-dsp-rproc 7e000000.dsp: assigned reserved memory node c7x-dma-memory@99800000
    [ 6.480805] k3-dsp-rproc 7e000000.dsp: configured DSP for remoteproc mode
    [ 6.490362] remoteproc remoteproc0: 7e000000.dsp is available
    [ 6.494346] platform 79000000.r5f: configured R5F for remoteproc mode
    [ OK ] Listening on dropbear.socket.
    [ 6.510576] platform 79000000.r5f: assigned reserved memory node r5f-dma-memory@9b800000
    [ 6.522150] remoteproc remoteproc1: 79000000.r5f is available
    [ OK ] Listening on PC/SC Smart Card Daemon Activation Socket.
    Starting Weston socket...
    [ 6.575702] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [ 6.587416] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [ 6.587982] remoteproc remoteproc1: powering up 79000000.r5f
    [ 6.603056] remoteproc remoteproc1: Booting fw image am62a-mcu-r5f0_0-fw, size 52148
    [ 6.620537] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [ 6.633417] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [ 6.634123] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node r5f-dma-memory@9b800000
    [ 6.640720] imx728 4-001d: supply VANA not found, using dummy regulator
    [ 6.640960] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [ 6.641101] platform 78000000.r5f: configured R5F for IPC-only mode
    [ 6.641247] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9c800000
    [ 6.650347] virtio_rpmsg_bus virtio0: rpmsg host is online
    [ 6.651017] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [ 6.651487] i2c i2c-1: Added multiplexed i2c bus 5
    [ 6.651950] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [ 6.652058] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [ 6.662790] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [ 6.668318] rproc-virtio rproc-virtio.6.auto: registered virtio0 (type 7)
    [ 6.669431] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [ 6.682410] imx728 4-001d: supply VDIG not found, using dummy regulator
    [ 6.682469] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [ 6.683171] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [ 6.683890] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [ 6.684599] remoteproc remoteproc2: 78000000.r5f is available
    [ 6.684695] remoteproc remoteproc2: attaching to 78000000.r5f
    [ 6.687502] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [ 6.687971] remoteproc remoteproc1: remote processor 79000000.r5f is now up
    [ 6.688461] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [ 6.704865] imx728 4-001d: supply VDDL not found, using dummy regulator
    [ 6.722205] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [ 6.731519] KK: gpio_set_value off = 15,val = 1
    [ 6.734918] rproc-virtio rproc-virtio.8.auto: assigned reserved memory node r5f-dma-memory@9c800000
    [ 6.753338] imx728 4-001d: failed to read chip id 219
    [ 6.759368] virtio_rpmsg_bus virtio1: rpmsg host is online
    [ 6.760385] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [ 6.767963] imx728: probe of 4-001d failed with error -5
    [ 6.771506] rproc-virtio rproc-virtio.8.auto: registered virtio1 (type 7)
    [ 6.866328] remoteproc remoteproc2: remote processor 78000000.r5f is now attached
    Starting Console System Startup Logging...
    [ 6.889921] remoteproc remoteproc0: powering up 7e000000.dsp
    [ 6.895648] remoteproc remoteproc0: Booting fw image am62a-c71_0-fw, size 11046992
    [ 6.916046] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x99a00000
    [ 6.930919] rproc-virtio rproc-virtio.9.auto: assigned reserved memory node c7x-dma-memory@99800000
    Starting D-Bus System Message Bus...[ 6.942355] virtio_rpmsg_bus virtio2: rpmsg host is online

    [ 6.943181] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [ 6.955657] rproc-virtio rproc-virtio.9.auto: registered virtio2 (type 7)
    [ 6.965288] remoteproc remoteproc0: remote processor 7e000000.dsp is now up
    [ 6.975802] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    Starting Reboot and dump vmcore via kexec.[ 6.983758] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe
    ..
    [ 6.997138] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [ 7.015448] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
    [ OK ] Finished Load/Save Random Seed.[ 7.026026] e5010 fd20000.e5010: Device registered as /dev/video0

    [ OK ] Listening on Docker Socket for the API.
    [ OK ] Listening on Weston socket.
    [ OK ] Finished Console System Startup Logging.
    [ 7.096975] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [ 7.104069] vdec 30210000.video-codec: failed to get irq resource, falling back to polling
    [ OK ] Finished Reboot and dump vmcore via kexec.
    [ OK ] Started D-Bus System Message Bus.
    [ OK ] Reached target Socket Units.
    [ OK ] Reached target Basic System.
    [ OK ] Started Job spooling tools.
    [ OK ] Started Periodic Command Scheduler.
    Starting DEMO...
    Starting Print notice about GPLv3 packages...
    Starting IPv6 Packet Filtering Framework...
    Starting IPv4 Packet Filtering Framework...
    [ OK ] Started irqbalance daemon.
    Starting Telephony service...
    Starting Expand the rootfs…ll size of the boot device....
    [ OK ] Started strongSwan IPsec I…IKEv2 daemon using ipsec.conf.
    [ 7.615148] audit: type=1334 audit(1708688345.344:4): prog-id=7 op=LOAD
    [ 7.624553] audit: type=1334 audit(1708688345.352:5): prog-id=8 op=LOAD
    Starting User Login Management...
    [ OK ] Started TEE Supplicant.
    Starting Telnet Server...
    [ OK ] Finished IPv6 Packet Filtering Framework.
    [ OK ] Finished IPv4 Packet Filtering Framework.
    [ OK ] Started Telephony service.
    [ OK ] Finished Telnet Server.
    [ 7.756267] tps6598x 0-003f: Unable to find the interrupt, switching to polling
    [ OK ] Started DEMO.

  • Dear TI,

         When I set TCA6424 CSI_GPIO0 to 1 in my camera driver, But it's still low when I measure it with a multimeter

  • Hello Daohong,

    The CSI_GPIO0 pin is pin #14 on I/O expander @ 0x22.

    Please refer to https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts?h=ti-linux-6.1.y#n566, and git.ti.com/.../k3-am62x-sk-csi2-imx219.dtso

    You should use the following in your dts:

    reset-gpios = <&exp1 13 GPIO_ACTIVE_HIGH>;

    Regards,

    Jianzhong

  • Hi Jianzhong,

          But  CSI_GPIO0 is connect to TCA6424  P15 

  • Hi Daohong,

    I can see your point. I don't understand about TCA6424 very well, but I know " <&exp1 13 GPIO_ACTIVE_HIGH>" works fine for other cameras.

    Regards,

    Jianzhong