Facing problem with imx_rpmsg_tty driver when imx thermal driver is enabled

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Facing problem with imx_rpmsg_tty driver when imx thermal driver is enabled

1,077 Views
jagdishgediya
Contributor I

Hi All,

I am trying to bring up communication between A7 and M4 on imx7d based custom board.

When i modprobe imx_rpmsg_tty driver on A7 side, Kernel hangs after successful call of driver probe. After bit of debugging, I have found that, kernel hangs at,

int driver_probe_device(struct device_driver *drv, struct device *dev)

{

    int ret = 0;

    if (!device_is_registered(dev))

        return -ENODEV;

    pr_debug("bus: '%s': %s: matched device %s with driver %s\n",

         drv->bus->name, __func__, dev_name(dev), drv->name);

    pm_runtime_barrier(dev);

    ret = really_probe(dev, drv);               <== This calls imx_rpmsg_tty driver probe

  pm_request_idle(dev);                     <== Kernel hangs here                                                                                          

    return ret;

}

This happens only if IMX_THERMAL is enabled. If i disable IMX_THERMAL from kernel config, I am not facing above problem and A7-M4 communication works fine.

What can be the reason for this behavior?

On the side note, I am facing below problem also while boot up,

cpu cpu0: failed to get the regulator

imx7d-cpufreq: probe of imx7d-cpufreq failed with error -2

U-boot logs: (PMIC gets detected)

PMIC: PFUZE300 DEV_ID=0x30 REV_ID=0x11

but in linux sysfs,

there is no entry in /sys/bus/i2c/devices (Should PMIC regulators be there?)

I am mentioning all the things just in case if everything is connected somewhere?

Labels (4)
0 Kudos
1 Reply

664 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Jagdish Gediya,

Would it be possible for you to share the dts used for this implementation to give them a look?

Regards,

0 Kudos