mbox series

[v8,0/2] shtc1: add support for device tree bindings

Message ID 20200815012227.32538-1-chris.ruehl@gtsys.com.hk (mailing list archive)
Headers show
Series shtc1: add support for device tree bindings | expand

Message

Chris Ruehl Aug. 15, 2020, 1:22 a.m. UTC
Add support for DTS bindings to the shtc driver
The patches add the compatible table and of_property_read_bool to the
shtc1.c. Newly created Yaml document has been released to the
Documentation/devicetree/hwmon/sensirion,shtc1.yaml

Signed-off-by: Chris Ruehl <chris.ruehl@gtsys.com.hk>
---
 Version 8
	sensirion,shtc1.yaml:
    Correction in commit text s/_/-/ (sensirion,low-precision)
	Maintainer my full name
	Add additionalProperties: false
	Simplify example i2c1 { -> i2c {
 Version 7
	make dt_binding_check warnings, missing #address-cells, #size-cells in example
	dtschema-2020.7.dev3+g8fd8ce7
 Version 6
    fix dt_binding_check: missing ';' in examples
 Version 5
    devicetree/driver-source: name conversion sensirion,low-precision sensirion,blocking-io
	use const: 0x70 with the reg:
 Version 4
	Fix errors report by make dt_binding_check (devicetree)
	Set maintainers for the yaml document to my own.
 Version 3
	Fix errors report with checkpatch.pl
	Correct logic, add (!) when check for sensirion,low_precision
 Version 2
	remove the #ifdef CONFIG_OF
	ignore platform data if dev->of_node is valid
	use boolean only therefor use sensirion,low_precise to fit the logic
	add missing driver.of_match_table entry
 Version 1
	initial version