From patchwork Thu Oct 13 09:48:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naresh Solanki X-Patchwork-Id: 13005814 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 EEDD9C433FE for ; Thu, 13 Oct 2022 09:48:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229519AbiJMJsr (ORCPT ); Thu, 13 Oct 2022 05:48:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbiJMJsp (ORCPT ); Thu, 13 Oct 2022 05:48:45 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A799F104517 for ; Thu, 13 Oct 2022 02:48:44 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id s2so1854215edd.2 for ; Thu, 13 Oct 2022 02:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=my23X7XxT6pOMsybxxTZUlwXrtvl44KFC1Kd4yeNLFQ=; b=T8kwpNGL4ofTXFyi5keWw8GnCMoWUaNoacQ1FkmM4XnUX3gspgXGASmjqQW5f3dBwu p6WqNrAE9XQjNzOiACOsodxq8VOIu18F5/JT9FjaoIPG6xnwwE3jljBbVdMaYrlsrAgx LppoCAnrxUWtgZuVf0JrydJg4MWAEEaYb/a+ctlgo4kn3ihwFnurmJZL4JsEXMOtnXfl f71ctgIu2OtLQIlQyEbvH7QkmxCzG5C4gXeJoCa7VUj/2clQuj7uHB31QWDBSGDRZdES TFzmbhgzguHrzxxnon0wu6aOlkzdI7mneyqM9MaWBZbQ3oif4HxauHLQpZC1Fq+Vhg4W IaCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=my23X7XxT6pOMsybxxTZUlwXrtvl44KFC1Kd4yeNLFQ=; b=S9LDCUdWuaFCa7OV06Z0WPfy43vhR8ptvyOX9PlyyqmphcR6z/70q79TpAqwEigY9i 7X/Bnwr7DmMWOX7M7yuonkECSZt2y5+QG3iwUrOvvrIcGuXLHXA4RnOQFmIrL0Kyy2mV D3Fn2mcHGmOSyYsTBRLtoGysLeZh8oXi4poQjtzMWuhmyqjHk5CqKUFGXn8t3J2qsK13 Tdy39JCHklurXW9yJGUI14SWXufUUxMqsxCgKbbpBBRSJdJ+p5DgR5JmQrutWPaizg7i xJmm/dtDHXLuNJ3SuSXlrcxQQvwmV+oIqs8+m3T236yU0U/MdZvDQf62AGAOl83DTkaw xArQ== X-Gm-Message-State: ACrzQf3wyufMpfGZFWFO+lfc/lyV6/PQbsUQgQYm8yhpIyJ0MbJAfDja kVgx3DBm/6gWphVnSvJbxYG9ag== X-Google-Smtp-Source: AMsMyM7tiL6Pf7wWA/lbg0cMMqCs0+HhyeCcG+24yH60eqYG8vntORWjiA4qPzQLvpZpxxoQntgG+Q== X-Received: by 2002:aa7:de10:0:b0:458:e101:fe54 with SMTP id h16-20020aa7de10000000b00458e101fe54mr30106621edv.80.1665654523038; Thu, 13 Oct 2022 02:48:43 -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 e14-20020a170906080e00b0078d25e0f74bsm2685353ejd.46.2022.10.13.02.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 02:48:42 -0700 (PDT) From: Naresh Solanki X-Google-Original-From: Naresh Solanki To: devicetree@vger.kernel.org, Guenter Roeck , Jean Delvare Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, Patrick Rudolph , Naresh Solanki Subject: [PATCH v4 0/3] Add devicetree support for max6639 Date: Thu, 13 Oct 2022 11:48:35 +0200 Message-Id: <20221013094838.1529153-1-Naresh.Solanki@9elements.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org These patches adds devicetree support for MAX6639. Changes V4: - Fix dt error - update comment Changes V3: - correct fan dt property name - remove unrelevent changes Changes V2: - Fix dt schema error. Changes: - Add fan-common dt schema. - add dt-binding support for max6639 - add max6639 specific property Marcello Sylvester Bauer (1): dt-bindings: hwmon: Add binding for max6639 Naresh Solanki (2): dt-bindings: hwmon: fan: Add fan binding to schema hwmon: (max6639) Change from pdata to dt configuration .../devicetree/bindings/hwmon/fan-common.yaml | 48 ++++ .../bindings/hwmon/maxim,max6639.yaml | 86 ++++++++ drivers/hwmon/max6639.c | 206 +++++++++++++----- 3 files changed, 287 insertions(+), 53 deletions(-) create mode 100644 Documentation/devicetree/bindings/hwmon/fan-common.yaml create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml base-commit: 0cf46a653bdae56683fece68dc50340f7520e6c4