This patch changes charger-manager bindings to be compatible with new extcon bindings. Signed-off-by: Robert Baldyga <r.baldyga@xxxxxxxxxxx> --- .../bindings/power_supply/charger-manager.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/power_supply/charger-manager.txt b/Documentation/devicetree/bindings/power_supply/charger-manager.txt index 2b33750..f987bb5 100644 --- a/Documentation/devicetree/bindings/power_supply/charger-manager.txt +++ b/Documentation/devicetree/bindings/power_supply/charger-manager.txt @@ -10,8 +10,7 @@ Required properties : - subnode <regulator> : - cm-regulator-name : name of charger regulator - subnode <cable> : - - cm-cable-name : name of charger cable - - cm-cable-extcon : name of extcon dev + - extcon-cable : specified extcon cable (optional) - cm-cable-min : minimum current of cable (optional) - cm-cable-max : maximum current of cable @@ -65,14 +64,14 @@ Example : regulator@0 { cm-regulator-name = "chg-reg"; cable@0 { - cm-cable-name = "USB"; - cm-cable-extcon = "extcon-dev.0"; + /* USB cable */ + extcon-cable = <&extcon 0>; cm-cable-min = <475000>; cm-cable-max = <500000>; }; cable@1 { - cm-cable-name = "TA"; - cm-cable-extcon = "extcon-dev.0"; + /* TA cable */ + extcon-cable = <&extcon 1>; cm-cable-min = <650000>; cm-cable-max = <675000>; }; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html