Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

kernel: i2c: pca9555 fails to probe #48

Description

@leiyu-bytedance

If we add pca9555 in dts, it fails to probe with below errors:

[    2.561952] pca953x 8-0024: failed writing register
[    2.567061] pca953x: probe of 8-0024 failed with error -110
[    3.601837] pca953x 8-0025: failed writing register
[    3.606933] pca953x: probe of 8-0025 failed with error -110

The example dts is:

&i2c8 {
    multi-master;
    aspeed,dma-buf-size = <4095>;
    aspeed,hw-timeout-ms = <300>;
    status = "okay";
    pca0:pca9555@24 {
        compatible = "nxp,pca9555";
        reg = <0x24>;
        #address-cells = <1>;
        #size-cells = <0>;
        gpio-controller;
        #gpio-cells = <2>;
        ...

If we revert the patch https://github.com/Intel-BMC/openbmc/blob/intel/meta-openbmc-mods/meta-common/recipes-kernel/linux/linux-aspeed/0075-Refine-initialization-flow-in-I2C-driver.patch, the issue is gone.

So it looks like something is wrong with the patch.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions