[PATCH RFT 2/2] drm/bridge: ti-sn65dsi86: Use per-client debugfs entry

Geert Uytterhoeven geert at linux-m68k.org
Mon Jan 27 14:54:18 UTC 2025


Hi Wolfram,

On Sat, 25 Jan 2025 at 13:53, Wolfram Sang
<wsa+renesas at sang-engineering.com> wrote:
> The I2C core now offers a debugfs-directory per client. Use it and
> remove the custom handling.
>
> Signed-off-by: Wolfram Sang <wsa+renesas at sang-engineering.com>

Thanks for your patch!

I gave it a try on Gray Hawk Single.

Old location:

    /sys/kernel/debug/1-002c
    `-- status

New location:

    /sys/kernel/debug/i2c/i2c-1/1-002c
    `-- status

Contents of the status file without a display connected:

    STATUS REGISTERS:
    [0xf0] = 0x00000000
    [0xf1] = 0x0000000b
    [0xf2] = 0x00000000
    [0xf3] = 0x00000000
    [0xf4] = 0x00000009
    [0xf5] = 0x00000020
    [0xf6] = 0x00000000
    [0xf7] = 0x00000000
    [0xf8] = 0x00000002

Contents of the status file with a 1920x1080 display connected:

    STATUS REGISTERS:
    [0xf0] = 0x00000000
    [0xf1] = 0x00000000
    [0xf2] = 0x00000000
    [0xf3] = 0x00000000
    [0xf4] = 0x00000001
    [0xf5] = 0x00000000
    [0xf6] = 0x00000002
    [0xf7] = 0x00000000
    [0xf8] = 0x00000001

Tested-by: Geert Uytterhoeven <geert+renesas at glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


More information about the dri-devel mailing list