[PATCH 0/2] i2c: core-managed per-client directory in debugfs with example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think there are enough i2c_drivers now using debugfs that it justifies
a central handling of an debugfs entry per i2c client.

Here is the I2C core code with an example conversion of the isl28022
driver. Quite convincing diffstat, I'd say.

Tested on a Renesas RZ/G3S SMARC board. The branch is based on 6.13-rc6
plus 'i2c/for-mergewindow' plus 'hwmon/next' and can be found here:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/g3s/isl28022

@Guenter: because both patches have dependencies in their respective
for-next branches, I suggest that I'll apply the I2C core patch soon and
resend the ISL patch during next merge window once my pull request is
included. Does that sound okay to you? And once both are in, I will send
further conversions as RFT patches aiming for 6.15?

Looking forward to further comments as well!

Happy hacking!


Wolfram Sang (2):
  i2c: add core-managed per-client directory in debugfs
  hwmon: (isl28022) Use per-client debugfs entry

 drivers/hwmon/isl28022.c    | 44 ++-----------------------------------
 drivers/i2c/i2c-core-base.c |  4 ++++
 include/linux/i2c.h         |  1 +
 3 files changed, 7 insertions(+), 42 deletions(-)

-- 
2.45.2





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux