Re: [PATCH RFT v2] drm/bridge: ite-it6505: make use of debugfs_init callback

2025-03-16 Thread Dmitry Baryshkov
On Sun, Mar 16, 2025 at 07:26:07AM +0100, Wolfram Sang wrote: > > > > + struct dentry *debugfs = debugfs_create_dir(dev_name(it6505->dev), > > > root); > > I will switch away from dev_name() here, too, of course. > > > > int i = 0; > > > > > > while (debugfs_entry[i].name && debugfs_entry

Re: [PATCH RFT v2] drm/bridge: ite-it6505: make use of debugfs_init callback

2025-03-15 Thread Wolfram Sang
> > + struct dentry *debugfs = debugfs_create_dir(dev_name(it6505->dev), > > root); I will switch away from dev_name() here, too, of course. > > int i = 0; > > > > while (debugfs_entry[i].name && debugfs_entry[i].fops) { > > debugfs_create_file(debugfs_entry[i].name, 064

Re: [PATCH RFT v2] drm/bridge: ite-it6505: make use of debugfs_init callback

2025-03-15 Thread Dmitry Baryshkov
On Sat, Mar 15, 2025 at 09:17:16PM +0100, Wolfram Sang wrote: > Do not create a custom directory in debugfs-root, but use the > debugfs_init callback to create a custom directory at the given place > for the bridge. > > Signed-off-by: Wolfram Sang > --- > > Only build tested, but following the s

[PATCH RFT v2] drm/bridge: ite-it6505: make use of debugfs_init callback

2025-03-15 Thread Wolfram Sang
Do not create a custom directory in debugfs-root, but use the debugfs_init callback to create a custom directory at the given place for the bridge. Signed-off-by: Wolfram Sang --- Only build tested, but following the same pattern as the tested ti-sn65dsi86. Changes since v1: * switch from 'clie