From patchwork Thu Mar 21 16:33:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13599114 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 820791FA2; Thu, 21 Mar 2024 16:33:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711038807; cv=none; b=rsAmzCqJcruKLmYQp26RuGH76HR7W/MHYr93NzLJnmqYbXrOyrWDlHwPDLm4II1b1ZdpOgIw95gaKyKpGwn8FTyxvqXs+S9wbvJ0gU3DaA0f/T6Sj74CJKgmXQQSMZJwM/8imHlF+vBcvvwb7qsAEVI116369FQoDus617YvcUk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711038807; c=relaxed/simple; bh=TjTcKKa669OKcPhVLe09wrmQ2cA8xaDIfGZNCpgTFng=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BbxkD5bs9444JaFaCNEJWkWjdQ34Ky2zOZOeC9gISC/Oop1ODSx08S9U8uWGnlLWAcNyYBaklZ5suyaEjbnKvCPY7fjlOOw6tKlYEt0fDSfvajsNFAyPFGFGLFr/Uulnn5xqrEFN8eJGApLEmgmFTTdexP44l3iWzh58zx6O/bk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=I9ls2Ja2; arc=none smtp.client-ip=209.85.208.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="I9ls2Ja2" Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-56890b533aaso1409439a12.3; Thu, 21 Mar 2024 09:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711038804; x=1711643604; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BJIJVaZ1AJVUf194+oMOU0Iy8m7xvdZB41+GUQbshIo=; b=I9ls2Ja2qOOWTW+P6xa3tPaAoAbgUSRePM6eKCKxqQQsS0iDYmi/BWsaIYJ+/Yb6U1 54+O8d+p9G7WybIrje4iBBg/fM4SVHZarXjs7MEh3ad4EYirFWdi7OTH8PQZme40xdgA KcGag2ep6hXqjgCSrZ8aZ6GCYCPp647+r3BwjlSZeJ3c9H4esh3XlDVy5cbPMAPva9z/ bopsJKTH2PeSplmX7WAh5qSta1kLvrxx9B3ByJjOUg8BoK22Ezj5nE+X5x0jIRFNRuCn FvClCN7O+VqtSWMj5MxRhykIy4O+zbYqqQb9VmD6urDmw7Ar4m9iOP2EyeyTgL1+Jmja gcuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711038804; x=1711643604; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BJIJVaZ1AJVUf194+oMOU0Iy8m7xvdZB41+GUQbshIo=; b=k9ifYobqYjOhmw6cxG4UhyXKU2SEvfbM8pK3+vwkpgBmNe4zdZaeE82n/N/VJ2RZst nV0DclIQzcqP1UrBal27UkryCPwbFQOhPBHo8xTzOhDBpy1c3yBmfH6k++DKBDQcfW50 MIompL31tV0uNRO7qfbKpQiOs6eZ1sgoRFLxXHXAHkB1iZPwYgz1x3kNmd8ucaJAK28S kNiFM/DtTJvDixmHrbcAoU4vNbw8GjuFKhoe0yCtZltb/U0Ujj4W9zxUXTxGZlxuV8vt 2vVfABHSnyWg5cff+hOOWmmvEo6JwmDCLyKO6KzRWOtTtUQoSBafrBaz9ayFfquyWjKL qtYg== X-Forwarded-Encrypted: i=1; AJvYcCV5zkc5ZWyINAlC8JPWyeRB4FGd+pbji7b+G4nguaKRCt/wA3bLy5/35z1QsFlnXnIbQRDfmM3qE/6owWpZOU+QOFxEdiRZOrVQjpcjGaNO7p1ea6ttYRoIuv9laHagh9H3lDsiDmLucw== X-Gm-Message-State: AOJu0YwtmUiDuBsqQ6PdeYKKFDEr3278kEEnt9aPaxpJ18FbKKbzTF+m jTq0XZxiGr3CWTOxDdoInFEBtNNhzGj+dQaenUTKsLevg1eMqg0b X-Google-Smtp-Source: AGHT+IGrSwBUzrgbNcI8kNuWcPPtTvzZbP3s92YZZH1WbDnbeRPMFbgslUd6lcGpJXhfvH2Jwtxv0A== X-Received: by 2002:a05:6402:3884:b0:568:d5e7:37a1 with SMTP id fd4-20020a056402388400b00568d5e737a1mr6132002edb.36.1711038803525; Thu, 21 Mar 2024 09:33:23 -0700 (PDT) Received: from [127.0.1.1] (91-118-163-37.static.upcbusiness.at. [91.118.163.37]) by smtp.gmail.com with ESMTPSA id v11-20020a056402184b00b00568e3d3337bsm50509edy.18.2024.03.21.09.33.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 09:33:22 -0700 (PDT) From: Javier Carrasco Date: Thu, 21 Mar 2024 17:33:17 +0100 Subject: [PATCH v2 1/2] dt-bindings: hwmon: lm87: convert to dtschema Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-hwmon_yaml-v2-1-74fa8eb60ec9@gmail.com> References: <20240321-hwmon_yaml-v2-0-74fa8eb60ec9@gmail.com> In-Reply-To: <20240321-hwmon_yaml-v2-0-74fa8eb60ec9@gmail.com> To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , peiyu li <579lpy@gmail.com> Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1711038801; l=3573; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=TjTcKKa669OKcPhVLe09wrmQ2cA8xaDIfGZNCpgTFng=; b=1UN655Bn01MvGRUaVokK1uJK7I8Lr/RUMHUaakCDYIWn4jvhRGIiuoMrr1xVCPFcGUlUkOaBL ZLx23+GpCulDJ35EH2iXifDbY+2aQ98dv0OjIaOAxullIl2tO+FKic4 X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= Convert existing bindings to dtschema to support validation. This is a straightforward conversion with no new properties. Signed-off-by: Javier Carrasco --- Documentation/devicetree/bindings/hwmon/lm87.txt | 30 ---------- .../devicetree/bindings/hwmon/ti,lm87.yaml | 69 ++++++++++++++++++++++ 2 files changed, 69 insertions(+), 30 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/lm87.txt b/Documentation/devicetree/bindings/hwmon/lm87.txt deleted file mode 100644 index 758ff398b67b..000000000000 --- a/Documentation/devicetree/bindings/hwmon/lm87.txt +++ /dev/null @@ -1,30 +0,0 @@ -*LM87 hwmon sensor. - -Required properties: -- compatible: Should be - "ti,lm87" - -- reg: I2C address - -optional properties: -- has-temp3: This configures pins 18 and 19 to be used as a second - remote temperature sensing channel. By default the pins - are configured as voltage input pins in0 and in5. - -- has-in6: When set, pin 5 is configured to be used as voltage input - in6. Otherwise the pin is set as FAN1 input. - -- has-in7: When set, pin 6 is configured to be used as voltage input - in7. Otherwise the pin is set as FAN2 input. - -- vcc-supply: a Phandle for the regulator supplying power, can be - configured to measure 5.0V power supply. Default is 3.3V. - -Example: - -lm87@2e { - compatible = "ti,lm87"; - reg = <0x2e>; - has-temp3; - vcc-supply = <®_5v0>; -}; diff --git a/Documentation/devicetree/bindings/hwmon/ti,lm87.yaml b/Documentation/devicetree/bindings/hwmon/ti,lm87.yaml new file mode 100644 index 000000000000..f553235a7321 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/ti,lm87.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/hwmon/ti,lm87.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments LM87 Hardware Monitor + +maintainers: + - Javier Carrasco + +description: | + The LM87 is a serial interface system hardware monitor + with remote diode temperature sensing. + + Datasheets: + https://www.ti.com/product/LM87 + +properties: + compatible: + const: ti,lm87 + + reg: + maxItems: 1 + + has-temp3: + $ref: /schemas/types.yaml#/definitions/flag + description: + This configures pins 18 and 19 to be used as a second + remote temperature sensing channel. By default the pins + are configured as voltage input pins in0 and in5. + + has-in6: + $ref: /schemas/types.yaml#/definitions/flag + description: + When set, pin 5 is configured to be used as voltage input + in6. Otherwise the pin is set as FAN1 input. + + has-in7: + $ref: /schemas/types.yaml#/definitions/flag + description: + When set, pin 6 is configured to be used as voltage input + in7. Otherwise the pin is set as FAN2 input. + + vcc-supply: + description: + Regulator supplying power, can be configured to measure + 5.0V power supply. Default is 3.3V. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + hwmon@2e { + compatible = "ti,lm87"; + reg = <0x2e>; + has-temp3; + vcc-supply = <®_5v0>; + }; + }; From patchwork Thu Mar 21 16:33:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13599115 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC9AFF511; Thu, 21 Mar 2024 16:33:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711038808; cv=none; b=iTbRG9Yy9TpfN+Rdcpw0y1e2QiHRHrdDG8QeWpKVizvIuoP7HEeyeSRSGDzrsZ4t202vAaI1wNpO8SdV3fmSlTzTxjtV9EQ5s+Bm7vMvBe+7WNya3iZi+u5x4Q0WUnOBFtMADOxXe5Su7vLIoiZSL+ELk7T7MC4a9VW2694NbDQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711038808; c=relaxed/simple; bh=wOKK6j/7imLrUy5tdTWjNZFsL8pPVcL7FCxPvKsQFoU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tonGAzlgfcVDpx4w68RdpWYhHNqJ11Bsu9oixIuTvas78POX2/ODQD2hRkJ0DbZUA3KQ2UsueDipSbZHmJkrE+XDSY7C2AkkgAiYv0ox/faGJWwma9us0Ib+BzAXrTX+LQ1PvmBY4phXTsCLGMCSIEQ0k/T3v9k3cD9q40Xxpmo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fCQytqxP; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fCQytqxP" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-513e14b2bd9so1476717e87.2; Thu, 21 Mar 2024 09:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711038805; x=1711643605; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=+djyd44OYHisFXYcFtEHVzopuUaLOmkeahu1jyD+yQ0=; b=fCQytqxPudqoqBqwp+Z/VcSzGrojgE1LKSFVFDDs103vgwck0AY+paM5HKUYvWgw4t 8ovKrZgkXTS0x7PSWlJyiHYNQnakEDxdRPNXC09bC0nWklsPa53VctXpOi2mJLTWH7JT ltop4In3AY4niQ+PN7pk8FK/cAT9MptJpHhEuh0cfDJ+g1pq7kHuAOYBj4a9fwAViX3J uB0zN8TqowRoyJG3m2CofyIioLJTa4mVt5lH466PzmFAHXecnSi0e3rVLxL31QraRlYE O7+TWC3VAVt9N4O9oczlRm8/HgsrYZlPEg4YWqZTpqA/K3W5fsAAx7xTV5vtx0JGTWpy h36A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711038805; x=1711643605; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+djyd44OYHisFXYcFtEHVzopuUaLOmkeahu1jyD+yQ0=; b=CPT2IBoeXlmMZSJSxw+vnivBR7YulYJJq34pGnQicbsIlK8Isf1hd0FgsoJ+f1EPRC 6t8nuaYHIVg12FsYz0Y613/Q6DTp3cJCCXE1pFk2sc4+Zka+ixQX4dzgnhPVU758grqP 0RoAUpeb+H0IGaZME7VSuVgl5xtFzHKw2PkTCncxc3kYY62RWftXrCA0x3GtGsY4pN0B PDzzBigVAbmnODFEcCgTmPrSKYKLkjKxvyO0JEeNbno1Jc1ed/BBnUgmX5qj2OsxX44O Ibo97hyW7mYo3CMQZuZaY6iBXvo8K5Gz949EeP6lo+nxGzIVQdzhRbgRf4LKwJ8h7p5Q 1/YQ== X-Forwarded-Encrypted: i=1; AJvYcCXRLSDizIUEhihbWwx124ks6fsJsytA33YwT9SMtuHcNxke1yuVN6DN5Y0eCXAj/8Jg3EMlRTAWnmRnxRp6g4bSIXQzVHueOFZkDwM/Xgt50I+Q2E5MUueuqfou6zeHRXcziZsTA75/Xw== X-Gm-Message-State: AOJu0YzNQbt7sO7xI6EX5hkNw/hQwT6Mhfq/aoZU1SrjWZQnQIrSY1AZ 6pzLbb/Gl3u6xJzWohuN7Ky98Q2/iJCqttlS/evWfxzFuHuhMoc8 X-Google-Smtp-Source: AGHT+IEe3b+wxmJmEH6A9ZGYNAFbxNSHxN5TEZafLXwUKXlWANaZPIAFINhV7Db8RlHpatTu27Fejg== X-Received: by 2002:a05:6512:2f2:b0:513:46cc:8966 with SMTP id m18-20020a05651202f200b0051346cc8966mr15506993lfq.2.1711038804746; Thu, 21 Mar 2024 09:33:24 -0700 (PDT) Received: from [127.0.1.1] (91-118-163-37.static.upcbusiness.at. [91.118.163.37]) by smtp.gmail.com with ESMTPSA id v11-20020a056402184b00b00568e3d3337bsm50509edy.18.2024.03.21.09.33.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 09:33:24 -0700 (PDT) From: Javier Carrasco Date: Thu, 21 Mar 2024 17:33:18 +0100 Subject: [PATCH v2 2/2] dt-bindings: hwmon: max6650: convert to dtschema Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240321-hwmon_yaml-v2-2-74fa8eb60ec9@gmail.com> References: <20240321-hwmon_yaml-v2-0-74fa8eb60ec9@gmail.com> In-Reply-To: <20240321-hwmon_yaml-v2-0-74fa8eb60ec9@gmail.com> To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , peiyu li <579lpy@gmail.com> Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1711038801; l=3871; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=wOKK6j/7imLrUy5tdTWjNZFsL8pPVcL7FCxPvKsQFoU=; b=cy6GCyLLOMPgGwA2Ql+IJ+Y8mngoKgmelzo3sEHSM6Fhee9MLlOU8G43k6GxB4jsOgYjonerZ T3p3Z8ASEUkCquSqL3DcdjtITcJTcXTowqjrD0CYb9GvXKg0tBMtpBU X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= Convert existing bindings to dtschema to support validation. This is a straightforward conversion with no new properties. Signed-off-by: Javier Carrasco Reviewed-by: Rob Herring --- .../devicetree/bindings/hwmon/max6650.txt | 28 --------- .../devicetree/bindings/hwmon/maxim,max6650.yaml | 70 ++++++++++++++++++++++ 2 files changed, 70 insertions(+), 28 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/max6650.txt b/Documentation/devicetree/bindings/hwmon/max6650.txt deleted file mode 100644 index f6bd87d8e284..000000000000 --- a/Documentation/devicetree/bindings/hwmon/max6650.txt +++ /dev/null @@ -1,28 +0,0 @@ -Bindings for MAX6651 and MAX6650 I2C fan controllers - -Reference: -[1] https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf - -Required properties: -- compatible : One of "maxim,max6650" or "maxim,max6651" -- reg : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48. - -Optional properties, default is to retain the chip's current setting: -- maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or - 12000000 uV. -- maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values - allow more fine-grained control of slower fans. - Valid: 1, 2, 4, 8, 16. -- maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the - driver selects closed-loop mode and the requested speed. - This ensures the fan is already running before userspace - takes over. - -Example: - fan-max6650: max6650@1b { - reg = <0x1b>; - compatible = "maxim,max6650"; - maxim,fan-microvolt = <12000000>; - maxim,fan-prescale = <4>; - maxim,fan-target-rpm = <1200>; - }; diff --git a/Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml b/Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml new file mode 100644 index 000000000000..2c26104a5e16 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/hwmon/maxim,max6650.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX6650 and MAX6651 I2C Fan Controllers + +maintainers: + - Javier Carrasco + +description: | + The MAX6650 and MAX6651 regulate and monitor the speed + of 5VDC/12VDC burshless fans with built-in tachometers. + + Datasheets: + https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf + +properties: + compatible: + enum: + - maxim,max6650 + - maxim,max6651 + + reg: + maxItems: 1 + + maxim,fan-microvolt: + description: + The supply voltage of the fan, either 5000000 uV or + 12000000 uV. + enum: [5000000, 12000000] + + maxim,fan-prescale: + description: + Pre-scaling value, as per datasheet. Lower values + allow more fine-grained control of slower fans. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [1, 2, 4, 8, 16] + + maxim,fan-target-rpm: + description: + Initial requested fan rotation speed. If specified, the + driver selects closed-loop mode and the requested speed. + This ensures the fan is already running before userspace + takes over. + $ref: /schemas/types.yaml#/definitions/uint32 + maximum: 30000 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + fan-controller@1b { + compatible = "maxim,max6650"; + reg = <0x1b>; + maxim,fan-microvolt = <12000000>; + maxim,fan-prescale = <4>; + maxim,fan-target-rpm = <1200>; + }; + };