linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] shtc1: add support for device tree bindings
@ 2020-07-05  3:47 Chris Ruehl
  2020-07-05  3:47 ` [PATCH v2 1/2] hwmon: " Chris Ruehl
  2020-07-05  3:47 ` [PATCH v2 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml Chris Ruehl
  0 siblings, 2 replies; 6+ messages in thread
From: Chris Ruehl @ 2020-07-05  3:47 UTC (permalink / raw)
  To: Chris Ruehl
  Cc: Jack Lo, devicetree, Jean Delvare, Guenter Roeck, linux-hwmon,
	linux-kernel

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 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-08  3:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05  3:47 [PATCH v2 0/2] shtc1: add support for device tree bindings Chris Ruehl
2020-07-05  3:47 ` [PATCH v2 1/2] hwmon: " Chris Ruehl
2020-07-07  3:53   ` Guenter Roeck
2020-07-05  3:47 ` [PATCH v2 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml Chris Ruehl
2020-07-07 20:15   ` Rob Herring
2020-07-08  3:27     ` Chris Ruehl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).