Frank Li
2f0d9872be
dt-bindings: hwmon: Convert ltc2978.txt to yaml
...
Convert binding doc ltc2978.txt to yaml format.
Additional change:
- add i2c node.
Fix below warning:
arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dtb: /soc/i2c@2000000/i2c-mux@77/i2c@2/regulator@5c:
failed to match any schema with compatible: ['lltc,ltc3882']
Signed-off-by: Frank Li <Frank.Li@nxp.com >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Message-ID: <20240829150641.1307906-1-Frank.Li@nxp.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-08-29 14:30:53 -07:00
Inochi Amaoto
87798d9f70
dt-bindings: hwmon: Add Sophgo SG2042 external hardware monitor support
...
Due to the design, Sophgo SG2042 use an external MCU to provide
hardware information, thermal information and reset control.
Add bindings for this monitor device.
Signed-off-by: Inochi Amaoto <inochiama@outlook.com >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Tested-by: Chen Wang <unicorn_wang@outlook.com >
Reviewed-by: Chen Wang <unicorn_wang@outlook.com >
Message-ID: <IA1PR20MB49538276F283C4D01364AEB6BB822@IA1PR20MB4953.namprd20.prod.outlook.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-08-27 08:11:15 -07:00
Chanh Nguyen
0050c16701
dt-bindings: hwmon: Add maxim max31790
...
Add device tree bindings and an example for max31790 device.
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Message-ID: <20240822084808.299884-1-chanh@os.amperecomputing.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-08-27 08:11:14 -07:00
Chris Packham
2070562955
dt-bindings: hwmon: adt7475: Deprecate adi,pwm-active-state
...
Now that we have fan child nodes that can specify flags for the PWM
outputs we no longer need the adi,pwm-active-state property.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz >
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20240722221737.3407958-3-chris.packham@alliedtelesis.co.nz
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-07-31 10:43:52 -07:00
Chris Packham
6b1bb53579
dt-bindings: hwmon: Add adt7475 fan/pwm properties
...
Add fan child nodes that allow describing the connections for the
ADT7475 to the fans it controls. This also allows setting some
initial values for the pwm duty cycle and frequency.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20240722221737.3407958-2-chris.packham@alliedtelesis.co.nz
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-07-31 10:43:52 -07:00
Stanislav Jakubek
6993834668
dt-bindings: hwmon: ti,tmp108: document V+ supply, add short description
...
TMP108 is powered by its V+ supply, document it. The property is called
"vcc-supply" since the plus sign (+) is not an expected character.
While at it, add a short description with a link to its datasheets.
Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/ZnBmDXfnDQXNXz3k@standask-GA-A55M-S2HP
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-06-18 08:13:40 -07:00
Amna Waseem
94e33109f9
dt-bindings: hwmon: ti,ina2xx: Add ti,alert-polarity-active-high property
...
Add a property to the binding to configure the Alert Polarity.
Alert pin is asserted based on the value of Alert Polarity bit of
Mask/Enable register. It is by default 0 which means Alert pin is
configured to be active low open collector. Value of 1 maps to
Inverted (active high open collector).
Signed-off-by: Amna Waseem <Amna.Waseem@axis.com >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20240603-apol-ina2xx-fix-v3-1-b9eff3158e4e@axis.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-06-12 07:11:48 -07:00
Christian Marangi
302fdb1688
dt-bindings: hwmon: g76x: Add support for g761
...
Add support for g761 PWM Fan controller. This is an exact copy of g763
with the difference that it does also support an internal clock
oscillator.
With clocks property not defined, the internal clock oscillator is used.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20240604164348.542-2-ansuelsmth@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-06-04 09:58:07 -07:00
Christian Marangi
3d8e253724
dt-bindings: hwmon: g762: Convert to yaml schema
...
Convert g762 Documentation to yaml schema and port all the custom
properties and info.
Add the vendor prefix to name to follow naming standard.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20240604164348.542-1-ansuelsmth@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-06-04 09:57:33 -07:00
Naresh Solanki
d3b2cfb42e
dt-bindings: hwmon: Add max6639
...
Add Devicetree binding documentation for Maxim MAX6639 temperature
monitor with PWM fan-speed controller.
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20240528125122.1129986-1-naresh.solanki@9elements.com
[groeck: Dropped unnecessary '|' after description:]
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-05-29 15:28:23 -07:00
Jose Ramon San Buenaventura
379bb1f4d5
dt-bindings: hwmon: adm1275: add adm1281
...
Add support for the adm1281 Hot-Swap Controller and Digital Power
and Energy Monitor
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Jose Ramon San Buenaventura <jose.sanbuenaventura@analog.com >
Link: https://lore.kernel.org/r/20240425070948.25788-2-jose.sanbuenaventura@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-04-28 10:08:43 -07:00
Radu Sabau
3bf88a2cd2
dt-bindings: hwmon: pmbus: adp1050: add bindings
...
Add dt-bindings for adp1050 digital controller for isolated power supply
with pmbus interface voltage, current and temperature monitor.
Signed-off-by: Radu Sabau <radu.sabau@analog.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20240321142201.10330-1-radu.sabau@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-04-28 10:07:35 -07:00
Javier Carrasco
12aa58435b
dt-bindings: hwmon: ibm,p8-occ-hwmon: move to trivial devices
...
This binding meets the requirements to be converted to dtschema
via trivial-devices.yaml.
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com >
Link: https://lore.kernel.org/r/20240322-hwmon_dtschema-v3-5-6697de2a8228@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-04-28 10:07:35 -07:00
Javier Carrasco
556106516c
dt-bindings: hwmon: stts751: convert to dtschema
...
Convert existing binding to support validation.
This is a straightforward conversion with no new properties.
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com >
Link: https://lore.kernel.org/r/20240322-hwmon_dtschema-v3-4-6697de2a8228@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-04-28 10:07:35 -07:00
Javier Carrasco
29196d479b
dt-bindings: hwmon: pwm-fan: drop text file
...
This binding was converted to dtschema a year ago.
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com >
Link: https://lore.kernel.org/r/20240322-hwmon_dtschema-v3-3-6697de2a8228@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-04-28 10:07:35 -07:00
Javier Carrasco
5561d91b2c
dt-bindings: hwmon: ibmpowernv: convert to dtschema
...
Convert existing binding to support validation.
The binding has been renamed to match its compatible strings, with no
further additions.
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com >
Link: https://lore.kernel.org/r/20240322-hwmon_dtschema-v3-2-6697de2a8228@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-04-28 10:07:35 -07:00
Javier Carrasco
e03d73507c
dt-bindings: hwmon: as370: convert to dtschema
...
Convert existing binding to support validation.
This is a straightforward conversion with now new properties.
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com >
Link: https://lore.kernel.org/r/20240322-hwmon_dtschema-v3-1-6697de2a8228@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-04-28 10:07:35 -07:00
Javier Carrasco
1bad1943d9
dt-bindings: hwmon: max6650: convert to dtschema
...
Convert existing bindings to dtschema to support validation.
This is a straightforward conversion with no new properties.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20240321-hwmon_yaml-v2-2-74fa8eb60ec9@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-04-28 10:07:35 -07:00
Javier Carrasco
57649b6abf
dt-bindings: hwmon: lm87: convert to dtschema
...
Convert existing bindings to dtschema to support validation.
This is a straightforward conversion with no new properties.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20240320-hwmon_yaml-v1-1-a349ca21ccab@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-04-28 10:07:35 -07:00
Javier Carrasco
7f75d4b169
dt-bindings: hwmon: adc128d818: convert to dtschema
...
Convert adc128d818 bindings to dtschema to support validation.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com >
Link: https://lore.kernel.org/r/20240319-adc128d818_dtschema-v2-1-0824a6d69493@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-04-28 10:07:34 -07:00
Billy Tsai
df9d235c30
dt-bindings: hwmon: Support Aspeed g6 PWM TACH Control
...
Document the compatible for aspeed,ast2600-pwm-tach device, which can
support up to 16 PWM outputs and 16 fan tach input.
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20240221104025.1306227-3-billy_tsai@aspeedtech.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-03-07 10:47:07 -08:00
Naresh Solanki
3b0ac1f90c
dt-bindings: hwmon: fan: Add fan binding to schema
...
Add common fan properties bindings to a schema.
Bindings for fan controllers can reference the common schema for the
fan
child nodes:
patternProperties:
"^fan@[0-2]":
type: object
$ref: fan-common.yaml#
unevaluatedProperties: false
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com >
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com >
Link: https://lore.kernel.org/r/20240221104025.1306227-2-billy_tsai@aspeedtech.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-03-07 10:44:34 -08:00
Naresh Solanki
c71d2502ed
dt-bindings: hwmon: tda38640: Add interrupt & regulator properties
...
tda38640 has a single regulator output along with CAT_FAULT# pin to
report internal events. Hence add properties for regulator & interrupt.
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20240307113325.3800181-1-naresh.solanki@9elements.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-03-07 10:41:45 -08:00
Théo Lebrun
78cc80d834
dt-bindings: hwmon: lm75: use common hwmon schema
...
Reference common hwmon schema which has the generic "label" property,
parsed by Linux hwmon subsystem.
To: Jean Delvare <jdelvare@suse.com >
To: Guenter Roeck <linux@roeck-us.net >
Cc: linux-hwmon@vger.kernel.org
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240229-mbly-i2c-v2-2-b32ed18c098c@bootlin.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-03-01 11:21:31 -08:00
Krzysztof Kozlowski
a095d8c023
dt-bindings: hwmon: reference common hwmon schema
...
Reference common hwmon schema in the bindings which have and customize
the "shunt-resistor-micro-ohms" property. While this does not make the
binding smaller, it brings common definition of that property and also
allows generic "label" (parsed by Linux hwmon core code).
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-5-b446eecf5480@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-25 12:37:47 -08:00
Krzysztof Kozlowski
2988ce56b5
dt-bindings: hwmon: lltc,ltc4286: use common hwmon schema
...
Reference common hwmon schema which allows to drop the
"shunt-resistor-micro-ohms" property.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-4-b446eecf5480@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-25 12:37:47 -08:00
Krzysztof Kozlowski
09458a0e7c
dt-bindings: hwmon: adi,adm1275: use common hwmon schema
...
Reference common hwmon schema which allows to drop the
"shunt-resistor-micro-ohms" property.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-3-b446eecf5480@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-25 12:37:46 -08:00
Krzysztof Kozlowski
67db0ea3ec
dt-bindings: hwmon: ti,ina2xx: use common hwmon schema
...
Reference common hwmon schema which allows to drop the "label" property.
Acked-by: Rob Herring <robh@kernel.org >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-2-b446eecf5480@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-25 12:37:46 -08:00
Krzysztof Kozlowski
d590900b62
dt-bindings: hwmon: add common properties
...
Add a common hwmon schema for two properties:
1. "label", because Linux hwmon core code parses it.
2. "shunt-resistor-micro-ohms", because several devices already use it.
Acked-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-1-b446eecf5480@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-25 12:37:46 -08:00
Conor Dooley
f1ed8af54b
dt-bindings: hwmon/pmbus: ti,lm25066: document regulators
...
All devices documented in the lm25066 binding are intended for use with
a regulator, be that for purely monitoring purposes (lm25056) or, for
the other devices, as the controller of that regulator. The binding does
not currently allow regulator child nodes, so add one.
Each of these devices interacts with only a single regulator and
documentation refers to it as "Vout", hence the choice of child node
name.
Acked-by: Zev Weiss <zev@bewilderbeest.net >
Signed-off-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240223-tingling-mutt-dd55dd87ff5e@spud
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-25 12:37:46 -08:00
Guenter Roeck
22d409ead1
dt-bindings: hwmon: nuvoton,nct6775: Add compatible value for NCT6799
...
While NCT6799 is mostly compatible to NCT6798, it needs a separate
compatible entry because it is not completely compatible and does
require chip specific code in the driver.
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Acked-by: Zev Weiss <zev@bewilderbeest.net >
Link: https://lore.kernel.org/r/20240221155158.2234898-1-linux@roeck-us.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-25 12:37:46 -08:00
Javier Carrasco
8f89ac2b9b
dt-bindings: hwmon: Add Amphenol ChipCap 2
...
Add device tree bindings and an example for the ChipCap 2 humidity
and temperature sensor.
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com >
Link: https://lore.kernel.org/r/20240130-topic-chipcap2-v6-4-260bea05cf9b@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-25 12:37:37 -08:00
Nuno Sa
d07c41eb96
dt-bindings: hwmon: Add LTC4282 bindings
...
Add bindings for the LTC4282 High Current Hot Swap Controller with I2C
Compatible Monitoring.
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Nuno Sa <nuno.sa@analog.com >
Link: https://lore.kernel.org/r/20240129-b4-ltc4282-support-v4-1-fe75798164cc@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-11 13:43:09 -08:00
Michal Simek
f7ab2d180e
dt-bindings: hwmon: ina2xx: Describe ina260 chip
...
Describe ina260 chip which is precision digital current and power monitor
with precision integrated shunt resistor.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/4c82dc4d412e91d1601c1da5bca1cdf1a91cd9b8.1704724242.git.michal.simek@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-11 13:43:08 -08:00
Michal Simek
f29996d029
dt-bindings: hwmon: ina2xx: Describe #io-channel-cells property
...
There are two drivers in the Linux kernel. One is hwmon based and second
IIO. IIO version requires to define #io-channel-cells to operate.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/aa303b9fe3116e7f98d6b72822f7f57694366db3.1703077926.git.michal.simek@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-11 13:43:08 -08:00
Michal Simek
eea32fafad
dt-bindings: hwmon: ina2xx: Add label property
...
Add a label property to allow a custom name to be used for identifying
a device on the board. This is useful when multiple devices are present on
the same board. Similar change was done by commit ffae65fb1a
("dt-bindings: spi: spi-cadence: Add label property").
Signed-off-by: Michal Simek <michal.simek@amd.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/6f3c57d08984c1978569d3918cb38eb295c0c67d.1703077926.git.michal.simek@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-02-11 13:43:08 -08:00
Abdel Alkuor
de9c6033fb
dt-bindings: hwmon: (lm75) Add AMS AS6200 temperature sensor
...
as6200 is a temperature sensor with a range between -40°C to
125°C degrees and an accuracy of ±0.4°C degree between 0
and 65°C and ±1°C for the other ranges.
Signed-off-by: Abdel Alkuor <alkuor@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/17ba2dfdb3d25bf1b5b4ed9f858b6e28902bedbe.1703127334.git.alkuor@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-01-02 08:44:57 -08:00
David Heidelberg
4ec21eeac4
dt-bindings: hwmon: gpio-fan: Convert txt bindings to yaml
...
Convert fan devices connected to GPIOs to the YAML syntax.
Signed-off-by: David Heidelberg <david@ixit.cz >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20231209171653.85468-1-david@ixit.cz
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2024-01-02 08:44:57 -08:00
Delphine CC Chiu
7707cf82e1
dt-bindings: hwmon: Add lltc ltc4286 driver bindings
...
Add a device tree bindings for ltc4286 device.
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@Wiwynn.com >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20231123015440.199822-2-Delphine_CC_Chiu@Wiwynn.com
[groeck: Fixed path to ltc4286.rst]
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2023-12-11 21:06:50 -08:00
Michal Simek
62361638ae
dt-bindings: hwmon: Increase max number of io-channels
...
The Analog Monitoring System (AMS) defines 51 channels
(Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml)
that's why increase number to 51.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/5110a313a5ce52ce6d7b5cb6b08368d42063dc30.1701419691.git.michal.simek@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2023-12-11 06:21:01 -08:00
Tomer Maimon
e56a5e3dfd
dt-bindings: hwmon: npcm: Add npcm845 compatible string
...
Add a compatible string for Nuvoton BMC NPCM845 Pulse Width Modulation
(PWM) and Fan tach controller.
Signed-off-by: Tomer Maimon <tmaimon77@gmail.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20231018181925.1826042-2-tmaimon77@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2023-10-29 22:22:47 -07:00
Antoniu Miclaus
4bac088e2b
dt-bindings: hwmon: ltc2991: add bindings
...
Add dt-bindings for ltc2991 octal i2c voltage, current and temperature
monitor.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20231026103413.27800-1-antoniu.miclaus@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2023-10-28 09:22:04 -07:00
Richard Leitner
b1f05cb4b3
dt-bindings: hwmon: ti,ina2xx: add ti,ina237
...
Add ti,ina237 binding to ti,ina2xx as they are very similar and may
share the same properties.
Signed-off-by: Richard Leitner <richard.leitner@linux.dev >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20231026-ina237-v2-2-dec44811a3c9@linux.dev
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2023-10-28 09:21:59 -07:00
Jon Hunter
13ab5fdc2c
dt-bindings: hwmon: ina3221: Add ti,summation-disable
...
The INA3221 has a critical alert pin that can be controlled by the
summation control function. This function adds the single
shunt-voltage conversions for the desired channels in order to
compare the combined sum to the programmed limit. The Shunt-Voltage
Sum Limit register contains the programmed value that is compared
to the value in the Shunt-Voltage Sum register in order to
determine if the total summed limit is exceeded. If the
shunt-voltage sum limit value is exceeded, the critical alert pin
pulls low.
For the summation limit to have a meaningful value, it is necessary
to use the same shunt-resistor value on all included channels. Add a new
vendor specific property, 'ti,summation-disable', to allow specific
channels to be excluded from the summation control function if the shunt
resistor is different to other channels or the channel should not be
considered for triggering the critical alert pin.
Note that the ina3221 has always supported summing the various input
channels and summation is enabled by default if the shunt-resistor
values are the same. This change simply provides a way to exclude
inputs from the summation. If this property is not populated, then the
functionality of the driver does not change.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230929103650.86074-3-jonathanh@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2023-10-28 09:21:48 -07:00
Ninad Malwade
81b75e336c
dt-bindings: hwmon: ina3221: Convert to json-schema
...
Convert the TI INA3221 bindings from the free-form text format to
json-schema.
Note that the INA3221 input channels default to enabled in the chip.
Unless channels are explicitly disabled in device-tree, input
channels will be enabled.
Signed-off-by: Thierry Reding <treding@nvidia.com >
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com >
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230929103650.86074-2-jonathanh@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2023-10-28 09:21:48 -07:00
Daniel Matyas
6632b45606
dt-bindings: hwmon: Add possible new properties to max31827 bindings
...
These modify the corresponding bits in the configuration register.
adi,comp-int is a hardware property, because it affects the behavior
of the interrupt signal and whatever it is connected to.
adi,timeout-enable is a hardware property, because it affects i2c
bus operation.
Signed-off-by: Daniel Matyas <daniel.matyas@analog.com >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20230919093456.10592-3-daniel.matyas@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2023-10-28 09:21:48 -07:00
Patrick Rudolph
30eea19c67
dt-bindings: hwmon: Add Infineon TDA38640
...
Add the DT property 'infineon,en-pin-fixed-level' to
indicated that the chip EN pin is at fixed level
or left unconnected(has internal pull-down).
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com >
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20230831190731.265099-1-Naresh.Solanki@9elements.com
[groeck: Dropped empty line at end]
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2023-10-27 07:27:23 -07:00
Rob Herring
4569820881
dt-bindings: Drop remaining unneeded quotes
...
Cleanup bindings dropping the last remaining unneeded quotes. With this,
the check for this can be enabled in yamllint.
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com > # for mtd
Acked-by: Sudeep Holla <sudeep.holla@arm.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Wolfram Sang <wsa@kernel.org > # for AT24/I2C
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Ulf Hansson <ulf.hansson@linaro.org > # For MMC
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/20230823183749.2609013-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-08-24 11:43:57 -05:00
Krzysztof Kozlowski
440b075bd2
dt-bindings: use capital "OR" for multiple licenses in SPDX
...
Documentation/process/license-rules.rst and checkpatch expect the SPDX
identifier syntax for multiple licenses to use capital "OR". Correct it
to keep consistent format and avoid copy-paste issues.
Correct also the format // -> .* in few Allwinner binding headers as
pointed out by checkpatch:
WARNING: Improper SPDX comment style for 'include/dt-bindings/reset/sun50i-h6-ccu.h', please use '/*' instead
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Stephen Boyd <sboyd@kernel.org >
Link: https://lore.kernel.org/r/20230823084540.112602-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-08-23 15:00:31 -05:00
Rob Herring
dfb9758a4a
Merge branch 'dt/linus' into dt/next
...
Pick up changeset fixes for further rework.
2023-08-21 17:09:57 -05:00