1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/pwm/argon40,fan-hat.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Argon40 Fan HAT PWM controller 8 9maintainers: 10 - Marek Vasut <marek.vasut+renesas@mailbox.org> 11 12description: 13 The trivial PWM on Argon40 Fan HAT, which is a RaspberryPi blower fan 14 hat which can be controlled over I2C, generates a fixed 30 kHz period 15 PWM signal with configurable 0..100% duty cycle to control the fan 16 speed. 17 18allOf: 19 - $ref: pwm.yaml# 20 21properties: 22 compatible: 23 const: argon40,fan-hat 24 25 reg: 26 maxItems: 1 27 28 "#pwm-cells": 29 const: 3 30 31required: 32 - compatible 33 - reg 34 35additionalProperties: false 36 37examples: 38 - | 39 i2c { 40 #address-cells = <1>; 41 #size-cells = <0>; 42 43 pwm@1a { 44 compatible = "argon40,fan-hat"; 45 reg = <0x1a>; 46 #pwm-cells = <3>; 47 }; 48 }; 49