soundwire: master: add sysfs support
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 18 May 2020 20:35:50 +0000 (04:35 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 20 May 2020 11:52:36 +0000 (17:22 +0530)
commitc5778ca49a19420c67dbeff0744a3b3b75ef4e1a
tree2ebe09043b3f5f8ba75ea4364f03c6d6bf6e12f2
parent6bf393c577c4a6e324ab103425fbf71126e5385b
soundwire: master: add sysfs support

Add the master properties as attributes. The description is directly
derived from the MIPI DisCo specification.

Credits: this patch is based on an earlier internal contribution by
Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200518203551.2053-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/ABI/testing/sysfs-bus-soundwire-master [new file with mode: 0644]
drivers/soundwire/master.c