Skip to contentSkip to conversation

extcon: palmas: rename device tree binding matching with file name

PATCH In review Laxman Dewangan 2 participants 3 messages Jul 5, 2013 – Jul 8, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 extcon: palmas: rename device tree binding matching with file name

The driver name is extcon/extcon-palmas.c and hence renaming the device tree binding document to extcon-palmas.txt.

---
 .../extcon/{extcon-twl.txt => extcon-palmas.txt}   |    0
 1 files changed, 0 insertions(+), 0 deletions(-)
 rename Documentation/devicetree/bindings/extcon/{extcon-twl.txt => extcon-palmas.txt} (100%)
Documentation/devicetree/bindings/extcon/extcon-palmas.txt renamed from Documentation/devicetree/bindings/extcon/extcon-twl.txt +0 -0
similarity index 100%
rename from Documentation/devicetree/bindings/extcon/extcon-twl.txt
rename to Documentation/devicetree/bindings/extcon/extcon-palmas.txt
Signature · 1 line
1.7.1.1
#1 lore raw

PATCH 2/2 extcon: palmas: devicetree: remove non-require property details

Extcon for palma driver does not need vbus supply and hence removing this from devicetree document/bindings.

---
 .../devicetree/bindings/extcon/extcon-palmas.txt   |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/extcon/extcon-palmas.txt +1 -3
index 58f531a..f110e75 100644
@@ -1,15 +1,13 @@
-EXTCON FOR TWL CHIPS
+EXTCON FOR PALMAS/TWL CHIPS
 
 PALMAS USB COMPARATOR
 Required Properties:
  - compatible : Should be "ti,palmas-usb" or "ti,twl6035-usb"
- - vbus-supply : phandle to the regulator device tree node.
 
 Optional Properties:
  - ti,wakeup : To enable the wakeup comparator in probe
 
 palmas-usb {
        compatible = "ti,twl6035-usb", "ti,palmas-usb";
-       vbus-supply = <&smps10_reg>;
        ti,wakeup;
 };
Signature · 1 line
1.7.1.1
maintainer
#2 lore raw
In reply to Laxman Dewangan

Documentation/devicetree/bindings/extcon/extcon-palmas.txt

Quoted 14 lines · Laxman Dewangan

The driver name is extcon/extcon-palmas.c and hence renaming the device tree binding document to extcon-palmas.txt.

---
 .../extcon/{extcon-twl.txt => extcon-palmas.txt}   |    0
 1 files changed, 0 insertions(+), 0 deletions(-)
 rename Documentation/devicetree/bindings/extcon/{extcon-twl.txt => extcon-palmas.txt} (100%)
Documentation/devicetree/bindings/extcon/extcon-palmas.txt renamed from Documentation/devicetree/bindings/extcon/extcon-twl.txt +0 -0
similarity index 100%
rename from Documentation/devicetree/bindings/extcon/extcon-twl.txt
rename to Documentation/devicetree/bindings/extcon/extcon-palmas.txt

Applied patch1 and patch2.

You can check it on following git repo:
- git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git (extcon-linus)

Thanks,
Chanwoo Choi