Skip to contentSkip to conversation

dt: Add adt7411 to trivial devices list

PATCH In review Ben Gamari 2 participants 4 messages Dec 8, 2013 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Ben Gamari

author
#0 lore raw

PATCH 1/3 dt: Add adt7411 to trivial devices list

---
 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/trivial-devices.txt +1 -0
index b1cb341..9c3a684 100644
@@ -9,6 +9,7 @@ document for it just like any other devices.
 
 Compatible		Vendor / Chip
 ==========		=============
+ad,adt7411		I2C Digital 8-channel 10-bit ADC and temperature sensor
 ad,ad7414		SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
 ad,adm9240		ADM9240:  Complete System Hardware Monitor for uProcessor-Based Systems
 adi,adt7461		+/-1C TDM Extended Temp Range I.C
Signature · 6 lines
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1386536538-14861-1-git-send-email-bgamari.foss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

author
#2 lore raw

PATCH 2/3 dt: Remove redundant entry from trivial devices

---
 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/devicetree/bindings/i2c/trivial-devices.txt +1 -2
index 9c3a684..c475c3a 100644
@@ -12,8 +12,7 @@ Compatible		Vendor / Chip
 ad,adt7411		I2C Digital 8-channel 10-bit ADC and temperature sensor
 ad,ad7414		SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
 ad,adm9240		ADM9240:  Complete System Hardware Monitor for uProcessor-Based Systems
-adi,adt7461		+/-1C TDM Extended Temp Range I.C
-adt7461			+/-1C TDM Extended Temp Range I.C
+adi,adt7461		+/-1C SMBus digital thermometer
 at,24c08		i2c serial eeprom  (24cxx)
 atmel,24c02		i2c serial eeprom  (24cxx)
 atmel,at97sc3204t	i2c trusted platform module (TPM)
Signature · 6 lines
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#3 lore raw

PATCH 3/3 dt: Describe modalias resolution in i2c/trivial-devices.txt

In reply to a message not in the archive

To someone with little device-tree experience these details aren't at all obvious. Make the fact that the manufacturer prefix is dropped explicit.

---
 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/i2c/trivial-devices.txt +4 -1
index c475c3a..59bbb07 100644
@@ -1,6 +1,9 @@
 This is a list of trivial i2c devices that have simple device tree
 bindings, consisting only of a compatible field, an address and
-possibly an interrupt line.
+possibly an interrupt line. The compatible field is used by lookup
+the modalias for the driver which will handle the device. A
+manufacturer prefix (separated by a comma) will be stripped off during
+this lookup.
 
 If a device needs more specific bindings, such as properties to
 describe some aspect of it, there needs to be a specific binding
Signature · 6 lines
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
In reply to a message not in the archive
Quoted 11 lines · Ben Gamari
---
  Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 +
  1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/trivial-devices.txt +0 -0
index b1cb341..9c3a684 100644

Documentation/devicetree/bindings/i2c/trivial-devices.txt document for it just like any other devices. · line 15

Quoted 7 lines
Documentation/devicetree/bindings/i2c/trivial-devices.txt +1 -0
@@ -9,6 +9,7 @@ document for it just like any other devices.
 
  Compatible		Vendor / Chip
  ==========		=============
+ad,adt7411		I2C Digital 8-channel 10-bit ADC and temperature sensor
  ad,ad7414		SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
  ad,adm9240		ADM9240:  Complete System Hardware Monitor for uProcessor-Based Systems
  adi,adt7461		+/-1C TDM Extended Temp Range I.C

You should also copy the i2c mailing list ([email protected]) It is ok to copy lm-sensors, but the patches will have to be reviewed
and applied through the other lists (or at least I think so).

Note that "ad" is the vendor prefix for "Avionic Design GmbH". You might want to use "adi" instead.

Thanks,
Guenter