From patchwork Thu Apr 20 11:17:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naresh Solanki X-Patchwork-Id: 13218519 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83FBFC77B72 for ; Thu, 20 Apr 2023 11:21:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234123AbjDTLVX (ORCPT ); Thu, 20 Apr 2023 07:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234196AbjDTLU5 (ORCPT ); Thu, 20 Apr 2023 07:20:57 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD3AA2D5A for ; Thu, 20 Apr 2023 04:19:00 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id he11-20020a05600c540b00b003ef6d684102so2872372wmb.3 for ; Thu, 20 Apr 2023 04:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1681989484; x=1684581484; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RziL4H96Ec3j032prmOzYzjQ6nh/ZxH/lsLBU5oyee0=; b=aWaeNs6T1pRUJx87FY4CL5DqfD3UrRFGn9M6V1V3WjPfy7SkOPPEXzX5mnBI7VI6SW RdGHP6TAeHOb7kUKZyeBvkJrKIbLpEDG4mb2cCqtRi134fu3YHR1hQJqM4MnoNIixTS6 0PPKT60S8CUzPiTQdZWtJpiGCXYGlLM1vY4FTIXXwaE/F4iZoWqxP0ZLsNCOeaxEA7eX eqP2kOj53eQ/CCNjGp/yPPUauVDlmT3U07+mR3ONCVO7NoPGgAtXqQ4AYP8gcRYnfRgY K0PCR3b0xTkGlbXmdkbnezu8TLc83siwgYOvfVgEma9q/ri7PsN1FfMxnkhWtFqomGBW lD3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681989484; x=1684581484; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RziL4H96Ec3j032prmOzYzjQ6nh/ZxH/lsLBU5oyee0=; b=LCftVJRLMojBRUyOFB/NvXWZxKz8hMKbrf4K+w6XI42Bey1PErZfTyLyK19kGBZIxE 9Hza8MBwTD9SKblJaobmf8qwnLX+hLdvOT8rw4uTvsJ8hBr18fZtNXAl2ajn/DsZRDEa +5stc9HhlMt/30yv9qYM88Ymh89F6IQZDUx+RaWmutJBbo9qPnrxge90oI+nwwiF6yvF 8QgA7ZRJ/FAAjHROMr6f06ctZpMLeUFg+S1hogdiLycycTltGzgUcnsAhSh59u/ilums 5KLUlh9e36lEafza7pMRz/a95dSLp0iYiJ9HHVdunwCIBQ/zB68r/HgYL/WeGKm7xPyf pdaA== X-Gm-Message-State: AAQBX9c/3eghC1zIdXAHLeqGOMt5N9qv9bxrY0X5yxinPKXaDWpymWBN SfOefoHepFcxywuFvED+2Dj+cg== X-Google-Smtp-Source: AKy350Y3dCHEWDy4Lzb3VbMaIMPpHjb7SfC/YYkzk5z5v/qCJqge+HiIoRmlD70/Msrwk/t0Rjd/3g== X-Received: by 2002:a1c:7315:0:b0:3f1:70cf:a2d9 with SMTP id d21-20020a1c7315000000b003f170cfa2d9mr991160wmb.9.1681989484048; Thu, 20 Apr 2023 04:18:04 -0700 (PDT) Received: from stroh80.sec.9e.network (ip-078-094-000-051.um19.pools.vodafone-ip.de. [78.94.0.51]) by smtp.gmail.com with ESMTPSA id h3-20020a5d5043000000b002c70ce264bfsm1680980wrt.76.2023.04.20.04.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 04:18:03 -0700 (PDT) From: Naresh Solanki X-Google-Original-From: Naresh Solanki To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Naresh Solanki Cc: Marcello Sylvester Bauer , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: hwmon: Add max6639 Date: Thu, 20 Apr 2023 13:17:57 +0200 Message-Id: <20230420111759.2687001-1-Naresh.Solanki@9elements.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org From: Marcello Sylvester Bauer Add Devicetree binding documentation for Maxim MAX6639 temperature monitor with PWM fan-speed controller. Signed-off-by: Marcello Sylvester Bauer Signed-off-by: Naresh Solanki ... Changes in V2: - Update subject - Drop blank lines --- .../bindings/hwmon/maxim,max6639.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml base-commit: b8610e0fe08f1476895f141be60f8dd842f0adac diff --git a/Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml b/Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml new file mode 100644 index 000000000000..1aaedfd7cee0 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/maxim,max6639.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim max6639 + +maintainers: + - Naresh Solanki + +description: | + The MAX6639 is a 2-channel temperature monitor with dual, automatic, PWM + fan-speed controller. It monitors its own temperature and one external + diode-connected transistor or the temperatures of two external diode-connected + transistors, typically available in CPUs, FPGAs, or GPUs. + + Datasheets: + https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf + +properties: + compatible: + enum: + - maxim,max6639 + + reg: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + fan-controller@10 { + compatible = "maxim,max6639"; + reg = <0x10>; + }; + }; +...