parent/child hierarchy for regulator

From: Peter Chen
Date: Thu Mar 05 2015 - 05:36:10 EST


Hi lists,

Any good ways at code/dts to show parent/child hierarchy for regulator?

The related regulators at my platforms like below:
PMIC (SWB 5v) --> Switch Chip (GPIO Regulator) --> USB VBUS

PMIC has one 5V regulator (eg, swbst at pfuse), and it is the input
for USB power switch chip, and there are two gpios at this switch
chip to control if 5V is output or not, we register these two gpios as
fixed regulators, currently, if regulator swbst is disabled, the
gpio regulator has no way to know, and cause the vbus voltage is wrong.

Thanks in advance.

--

Best Regards,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/