From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7C6BC0044C for ; Wed, 7 Nov 2018 04:00:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D97E20827 for ; Wed, 7 Nov 2018 04:00:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="GaVe497F" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D97E20827 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alliedtelesis.co.nz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730421AbeKGN26 (ORCPT ); Wed, 7 Nov 2018 08:28:58 -0500 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:40133 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726611AbeKGN26 (ORCPT ); Wed, 7 Nov 2018 08:28:58 -0500 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 65B4B8448C; Wed, 7 Nov 2018 17:00:22 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1541563222; bh=H/NuuLjzodFqvNBqqf/E1B4tF3RN4NvUcKT9Kbs5tHY=; h=From:To:Cc:Subject:Date; b=GaVe497FPu3OLy95v6QuplP7/VFg5YT6nbwqPK0QH+HLRuEhlr4rwXfrqdlVI5EyX x0MgZIboV3dA1wzaesRBI5sfZ8LGMEfzP2Y1h5k4G7G1znyom9ZPpBCWJfm0vk/63E P9B2fCk3l+btJLlMKItYNsQ1GY7CowfdH58LwmsrjVE/M2oX5sRRhgWfgST2NEkB1M 1KN+5D75Kb6Sx3YTunLr650OqE2Kshh9NSFugp02/3PICUwjRfeF44lgtOWisrWp32 WkArPGyHDnj7vpy8ZSOiYHd28t3NQFg4X5GYBt6/2gb8O25l8gKMUKIn7RrvnFflz8 m2/JknuwjNgnQ== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Wed, 07 Nov 2018 17:00:21 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by smtp (Postfix) with ESMTP id 416D313EEA1; Wed, 7 Nov 2018 17:00:27 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 1EEC11E220B; Wed, 7 Nov 2018 17:00:21 +1300 (NZDT) From: Chris Packham To: linux@roeck-us.net, robh+dt@kernel.org, jdelvare@suse.com Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH 0/2] hwmon: (adt7475): inverted PWM output Date: Wed, 7 Nov 2018 17:00:08 +1300 Message-Id: <20181107040010.27436-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable x-atlnz-ls: pat Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I have a hardware design that requires logic low PWM output. The adt7475 supports this but the current driver does not have any way of configuring= =20this. I've gone with a device-tree property as this is an artifact of the hardw= are design and not something that might be configured via sysfs. Chris Packham (2): =20 dt-bindings: hwmon: add binding documentation for adt7475 =20 hwmon: (adt7475): add support for inverting the pwm output =20.../devicetree/bindings/hwmon/adt7475.txt | 22 +++++++++++++++++++= =20.../devicetree/bindings/trivial-devices.txt | 4 ---- =20drivers/hwmon/adt7475.c | 17 ++++++++++++++ =203 files changed, 39 insertions(+), 4 deletions(-) =20create mode 100644 Documentation/devicetree/bindings/hwmon/adt7475.txt= --=20 2.19.1