mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
2f1736ff06
Allow the driver to work with device tree support. Based on initial patch submission from Peter Fox. Tested on a imx7d-sdb board connected to a SHT15 board via Mikro Bus. Signed-off-by: Marco Franchi <marco.franchi@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
20 lines
476 B
Plaintext
20 lines
476 B
Plaintext
Sensirion SHT15 Humidity and Temperature Sensor
|
|
|
|
Required properties:
|
|
|
|
- "compatible": must be "sensirion,sht15".
|
|
- "data-gpios": GPIO connected to the data line.
|
|
- "clk-gpios": GPIO connected to the clock line.
|
|
- "vcc-supply": regulator that drives the VCC pin.
|
|
|
|
Example:
|
|
|
|
sensor {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_sensor>;
|
|
compatible = "sensirion,sht15";
|
|
clk-gpios = <&gpio4 12 0>;
|
|
data-gpios = <&gpio4 13 0>;
|
|
vcc-supply = <®_sht15>;
|
|
};
|