p2sb: Add a method to hide the bus
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2020 03:32:30 +0000 (21:32 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit6d349e2e435340bf27c8f567f7607eaaba2ee77c
treeaff095f18aee2b5d3ee479f8ed9c1c879fdbc557
parent4b0ec52b9ee52de7aabb05c6a8386c0b788d2271
p2sb: Add a method to hide the bus

The P2SB bus needs to be hidden in some cases so that it does not get
auto-configured by Linux. Add a method for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Tested-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
drivers/misc/p2sb-uclass.c
include/p2sb.h