From patchwork Tue Nov 15 12:20:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naresh Solanki X-Patchwork-Id: 13043606 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 9CF0CC433FE for ; Tue, 15 Nov 2022 12:21:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238306AbiKOMVM (ORCPT ); Tue, 15 Nov 2022 07:21:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238316AbiKOMU5 (ORCPT ); Tue, 15 Nov 2022 07:20:57 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 827EB29C8A for ; Tue, 15 Nov 2022 04:20:20 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id t1so9539753wmi.4 for ; Tue, 15 Nov 2022 04:20:20 -0800 (PST) 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=G4CwzUDPI8BFp1FhB5WPo5aqvpH21jtoAPzMzWAnvUo=; b=SBDrWcpdDInlU4msR5E2SFNE7G9leBJE5rADLMlJh8e6XKOfR9xtoLObo4euSN1Mqx aNWlW5ZKJnPy+UCOoZGvUn72B69MNORKnlOGUyCvQ6OlkrIUON9NRMOKCVMuXc9xIFo7 jSMGXIS23HRD+nJ1q9LSC92g7PSG1jkVP+8j62+Yz+s9o3ZfdZyeoUttLgJ4/exABjCy lJUXJq1ZcfeKcR2Ol/GO/CF5C+rDP8OGH33nTIysCTgNy3G/QA3B5UH6PUKhgdLzoBt6 kIDorvwZRZvdD++1ah22cRRu/TS6QLWUV/N16vT2BvS20KoqLKlG9BBO78G/1g4zF6yT bh/A== 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=G4CwzUDPI8BFp1FhB5WPo5aqvpH21jtoAPzMzWAnvUo=; b=Hs6F0XadAYcJKrVQGjttAHI7IVCX1O3PAy67JRJ/8sch3Z26SsLTgvwkRSz+KKyef/ dKHauaV+LhxbfQDKyvgjOy/R1Gwv8c2CZXu7gts9dOunuzdhieBiCxmtwjxKR+r3PuAb 6k4KK6i99Urhs0/T7ncex1aMK2olI8KyCL0aNTnqXz0q04kZxouGS6VjfbEMifmsuj7S DYqbnjXanL5ShuZY37e1Vc3qZnId4087mWwd5rYaiXtyNSWZFT9L5cIo7DJnZ2FbRfiu 4L6n/HDQL5+Xr6R7SmkirUZVxPwMljRle/RdzYIiYZzVraWxvgUK4p62fETH8E0f7GXE JwOg== X-Gm-Message-State: ANoB5plGmehroi5IwEjGhazDwu9vns59cWR5Jg0bIzIrGXw+WN6pkCRa 93KYx23/gRj+DYxH8+bhdNjkBIyQVPLk9dcV X-Google-Smtp-Source: AA0mqf4m+fCQ4odCISEIk8cMJZGwsbxaAB/23kYau0MzilPO5yq3Adw1x6p9hF59Fgq7Nesu3UkP+Q== X-Received: by 2002:a1c:f003:0:b0:3c6:7abb:9d2b with SMTP id a3-20020a1cf003000000b003c67abb9d2bmr1242227wmb.182.1668514818989; Tue, 15 Nov 2022 04:20:18 -0800 (PST) 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 w12-20020a05600c474c00b003b435c41103sm27108954wmo.0.2022.11.15.04.20.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 04:20:18 -0800 (PST) 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 v5 0/3] Add devicetree support for max6639 Date: Tue, 15 Nov 2022 13:20:02 +0100 Message-Id: <20221115122005.758519-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 in V5: - Add pwms support 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 | 42 ++ .../bindings/hwmon/maxim,max6639.yaml | 93 ++++ drivers/hwmon/Kconfig | 1 + drivers/hwmon/max6639.c | 465 +++++++++++++++--- 4 files changed, 527 insertions(+), 74 deletions(-) create mode 100644 Documentation/devicetree/bindings/hwmon/fan-common.yaml create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml base-commit: 0cf46a653bdae56683fece68dc50340f7520e6c4