power/avs: rockchip-io-domain: px30s not support pmuio1 1v8 mode
Change-Id: I6e9a4d189788d4c0f8f900adf14bbcd4af44fb8c Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
@ -28,6 +28,7 @@
|
||||
#include <linux/regulator/of_regulator.h>
|
||||
#include <linux/regulator/driver.h>
|
||||
#include <linux/regulator/machine.h>
|
||||
#include <linux/rockchip/cpu.h>
|
||||
#include "../../regulator/internal.h"
|
||||
|
||||
#define MAX_SUPPLIES 16
|
||||
@ -844,6 +845,10 @@ static int rockchip_iodomain_probe(struct platform_device *pdev)
|
||||
if (!supply_name)
|
||||
continue;
|
||||
|
||||
/* PX30s pmuio1 not support 1v8 mode switch. */
|
||||
if (soc_is_px30s() && (!strcmp(supply_name, "pmuio1")))
|
||||
continue;
|
||||
|
||||
reg = devm_regulator_get_optional(iod->dev, supply_name);
|
||||
if (IS_ERR(reg)) {
|
||||
ret = PTR_ERR(reg);
|
||||
|
||||
Reference in New Issue
Block a user