mbox series

[0/2] hwmon: (adt7475) pin configuration

Message ID 20220316234134.290492-1-chris.packham@alliedtelesis.co.nz
Headers show
Series hwmon: (adt7475) pin configuration | expand

Message

Chris Packham March 16, 2022, 11:41 p.m. UTC
This series adds support for configuring the ADT7475 based on the
hardware description provided. The ADT7475 driver has always supported
detecting the configuration. This adds support for configuring the chip
based on the hardware design.

Chris Packham (2):
  dt-bindings: hwmon: Document adt7475 pin-function properties
  hwmon: (adt7475) Add support for pin configuration

 .../devicetree/bindings/hwmon/adt7475.yaml    | 22 +++++
 drivers/hwmon/adt7475.c                       | 95 +++++++++++++++++++
 2 files changed, 117 insertions(+)

Comments

Krzysztof Kozlowski March 17, 2022, 9:23 a.m. UTC | #1
On 17/03/2022 00:41, Chris Packham wrote:
> The adt7473, adt7475, adt7476 and adt7490 have pins that can be used for
> different functions. Add bindings so that it is possible to describe
> what pin functions are intended by the hardware design.
> 
> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
> ---
>  .../devicetree/bindings/hwmon/adt7475.yaml    | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 


Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>


Best regards,
Krzysztof