Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2967720pxb; Mon, 17 Jan 2022 09:09:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsx1jpUabyMe1ieqlAZ7NzSOTJ+a54gGFvxrjfBHsMkDOVUzcsmf7uAJvuPlQswAVJ921E X-Received: by 2002:a17:90b:1b48:: with SMTP id nv8mr32597223pjb.162.1642439370279; Mon, 17 Jan 2022 09:09:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642439370; cv=none; d=google.com; s=arc-20160816; b=R6G9epHS7o5TiuT0/CtSDIm2NvT6K4Zlib0FahLDBpKw4CEpwDAafNJIS3yk8RIeCG Hc4yNF8OV43HdqeYshKMEN23Z61zTc5T3HtCwpp5geDyGGDQxoUlH5v1T5NUb5hbLNIV rCEwYh1LWn9HsW3YfZfQOeb9odsmQ3xxPrtTgibeP/fB+Zw0ALBQq2OIKbjRhHZZuwnf aRlixWB+yTM03TK0BL6WAmZKCSSN9LohD49GR6nOPmPFMZVHdpldCXu0HOSfn/Gpl8Wa F0MbOdExmGTqY5fDufIEmtde8CG7Hn8yh48nztqBYV1S6oa4JZvXTM389/xgxY5Bn0Ok 7U8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cDzYSUJDO2JROZgv4pR6tf401FGHg7SSdGbGmrMTzjU=; b=NqbostnOfBCcUnLTF5XHo5w47pTCzt6GZfw3YffcH19ryqbWyyMgqNSvclcZ59BZkM m6rc2vBIx8j+VcmyiDCksq5QvJSl9G/3290LYCaja7bjbQ8T8UlXjKh0gnGyz8DXpgGh H0EkZbHZGq/oiU24EPbqzE50Q348Zrq0ds8fAMrv2IJdZ9OqcyTtBI+TEDu1EJ1pf1WL JhGio6ItMivK9hxeVU4XmoTCYA+TZnW1BtrYRa2T9G7vfelmXf3G5zjrYa7DSORjGXxc vWfItxi4Z87Y/a+Oog0CkmQEPtWUqwGf80D+l1X+uz+oCIyneszLetXAO6EOldaV3Os3 JpJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sylv.io header.s=MBO0001 header.b=aLZ2cqSj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sylv.io Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v2si13059238pgv.515.2022.01.17.09.09.17; Mon, 17 Jan 2022 09:09:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sylv.io header.s=MBO0001 header.b=aLZ2cqSj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sylv.io Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238700AbiAQKlC (ORCPT + 99 others); Mon, 17 Jan 2022 05:41:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238692AbiAQKlB (ORCPT ); Mon, 17 Jan 2022 05:41:01 -0500 Received: from mout-y-111.mailbox.org (mout-y-111.mailbox.org [IPv6:2001:67c:2050:1::465:111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A37C1C06161C; Mon, 17 Jan 2022 02:41:01 -0800 (PST) Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:105:465:1:4:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-y-111.mailbox.org (Postfix) with ESMTPS id 4JcpNB4vD9zQjkB; Mon, 17 Jan 2022 11:40:58 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sylv.io; s=MBO0001; t=1642416056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=cDzYSUJDO2JROZgv4pR6tf401FGHg7SSdGbGmrMTzjU=; b=aLZ2cqSjG7C97vZnvs4oKTxcKb4947DUXrYjD/Cofvpy5uk2J21alb6zz7B4Nx+QLC9/SE SRK+K3wSLwoAn+jJ1zHIV+QS+9t++6TBqYFDkr1Ac7jAoqJBzN+/iisZ4PolJmFR4036wu ZIl3fv5wFcfW9GcX8YIamox6cRN68+II7zGjY2rdQ97yd2f4tZGaNjOz7bWU47ojmFeusf FvfzO8EnVRwqJVwuIrY3MvvgfqgcP87PUu+IQvMwzE4bH1ZmTN21vVq4hlFrWuZb9urSc0 uBFN3Kxg2DE/i/dduzUCUlnqgZ0Qm+K+sAX89tSM1LsHw3OmJK29R+vQ+yIBtw== From: Marcello Sylvester Bauer To: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Patrick Rudolph , Jean Delvare , Guenter Roeck Subject: [PATCH v2 0/4] Add max6639 regulator and devicetree support Date: Mon, 17 Jan 2022 11:40:22 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org these patches add devicetree support for the Maxim MAX6639. In addition, it includes optional regulator support for the fan-supply and updates the URL to the datasheet. Changes in v2: - dt: Rename polarity to pwm-polarity - Remove unused platform_data header. - Remove regulator enable/disable calls in pwm_store due to imbalance of calls. - Move to strict per channel dt configuration without defaults. Marcello Sylvester Bauer (4): hwmon: (max6639) Update Datasheet URL hwmon: (max6639) Add regulator support dt-bindings: hwmon: Add binding for max6639 hwmon: (max6639) Change from pdata to dt configuration .../bindings/hwmon/maxim,max6639.yaml | 112 +++++++++ Documentation/hwmon/max6639.rst | 2 +- drivers/hwmon/max6639.c | 235 ++++++++++++++---- include/linux/platform_data/max6639.h | 15 -- 4 files changed, 297 insertions(+), 67 deletions(-) create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml delete mode 100644 include/linux/platform_data/max6639.h -- 2.33.1