소스 검색

dt-bindings: merge ina209 binding into ina2xx binding

The ina209 binding only differs from other ina2xx bindings in the
compatible string, so add it to the common binding and remove the ina209
binding file.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Rob Herring 10 년 전
부모
커밋
62bc9f15e4
2개의 변경된 파일1개의 추가작업 그리고 18개의 파일을 삭제
  1. 0 18
      Documentation/devicetree/bindings/hwmon/ina209.txt
  2. 1 0
      Documentation/devicetree/bindings/hwmon/ina2xx.txt

+ 0 - 18
Documentation/devicetree/bindings/hwmon/ina209.txt

@@ -1,18 +0,0 @@
-ina209 properties
-
-Required properties:
-- compatible: Must be "ti,ina209"
-- reg: I2C address
-
-Optional properties:
-
-- shunt-resistor
-	Shunt resistor value in micro-Ohm
-
-Example:
-
-temp-sensor@4c {
-	compatible = "ti,ina209";
-	reg = <0x4c>;
-	shunt-resistor = <5000>;
-};

+ 1 - 0
Documentation/devicetree/bindings/hwmon/ina2xx.txt

@@ -2,6 +2,7 @@ ina2xx properties
 
 Required properties:
 - compatible: Must be one of the following:
+	- "ti,ina209" for ina209
 	- "ti,ina219" for ina219
 	- "ti,ina220" for ina220
 	- "ti,ina226" for ina226