From patchwork Wed Dec 14 22:07:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Cormier X-Patchwork-Id: 633987 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 6F2CFC4167B for ; Wed, 14 Dec 2022 22:07:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229760AbiLNWHi (ORCPT ); Wed, 14 Dec 2022 17:07:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiLNWHf (ORCPT ); Wed, 14 Dec 2022 17:07:35 -0500 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 991FD3D39A for ; Wed, 14 Dec 2022 14:07:32 -0800 (PST) Received: by mail-qt1-x82e.google.com with SMTP id cg5so3666969qtb.12 for ; Wed, 14 Dec 2022 14:07:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=criticallink.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=2JUpU8XbUBeWziRzLd+hSHISaqkRCe9RKeFMCtB/GcM=; b=CNxtocgVdhiouRT/Ri2e/9sxGZ5y98GKUdSFwy5Vmh67zEhK01ktoEHSVMLfecEGAw QlekHUHH7+1q0F/a8RnHa+wgKkX3XB+KDyOZkE2EdZVNbSbjuMK5sqJYztiN05X0asl0 gJHcfoVUdTDVXvPrjGDLoqEbHd4+aON1w120lmLW6jEABWrpQgwkHoplFPZP56dstEAz gruoeobxk+rM4SC4mw20G0evu0aVrol+J6YvMuJkWuSXQcAok3YiKCKou95TUm+dZXX2 NvrnIUP73Ro9zOk1Gpvs9koNKVRMP6wo6s8eApWSlRr+Kvc37fhAk2JzaeN6JU/fKHcC ohlA== 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=2JUpU8XbUBeWziRzLd+hSHISaqkRCe9RKeFMCtB/GcM=; b=FU9+NL/NjAO8p3s87AUq4pQjs7Ew+QEwO5bSN6BEDmNsW/tE3LOvVjYlzYLcZHrfLN IiOEsoNAlZmIOZY/n9xxB5/x7PUGc9LTpqCkzZQRY96aQBpd5fPSQfj72nvTtZZPkrZX kPdSBwYBP8RbmRQxArJtXkp2G+wIMJFNRh2hC8VdIOrYZ33HTQCAXC2ODLK4h+aMMxFy 4zNaz0cQOODQkfjRtM3BH2KvVZHP28xqrYXT4gwVqJmPJEiv2/XHosHQlpHWm6oF0M0q Y74Br9LXa+yftf+dKv8ntraEqhkKgIhvUzw1oSzKV92WoQUNnRIIZzopoNdcNM0HAaz7 EjhA== X-Gm-Message-State: ANoB5plEssuxK5heGI3PCjSVZYPNEbwtYmK6fV2M4Du4C7GGrDvrg9jN hKWDfpvXWbpfRjIIPb+Drsyuxg== X-Google-Smtp-Source: AA0mqf5tyPh08++k7PkNxb1TO06Rfoi5LnlPetPnSNCqg2VUBm4yIRhrBhCeakXApAHZqJZoUOeiWw== X-Received: by 2002:ac8:5756:0:b0:3a6:8700:b471 with SMTP id 22-20020ac85756000000b003a68700b471mr47000110qtx.38.1671055651738; Wed, 14 Dec 2022 14:07:31 -0800 (PST) Received: from jcormier-MS-7A93.syr.criticallink.com (static-72-90-70-109.syrcny.fios.verizon.net. [72.90.70.109]) by smtp.gmail.com with ESMTPSA id l24-20020ae9f018000000b006fc2b672950sm10623939qkg.37.2022.12.14.14.07.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 14:07:31 -0800 (PST) From: "Cormier, Jonathan" To: linux-hwmon@vger.kernel.org Cc: "Cormier, Jonathan" , Jean Delvare , Guenter Roeck , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Bob Duke , John Pruitt Subject: [PATCH 0/2] hwmon: ltc2945: Add binding and shunt resistor support Date: Wed, 14 Dec 2022 17:07:25 -0500 Message-Id: <20221214220727.1350784-1-jcormier@criticallink.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Added the ability to specify the value of the shunt resistor in the device tree instead of assuming it is 1 milliOhm. Would be good to backport as well Cormier, Jonathan (1): dt-bindings: hwmon: adi,ltc2945: Add binding John Pruitt (1): hwmon: ltc2945: Allow setting shunt resistor .../bindings/hwmon/adi,ltc2945.yaml | 50 +++++++++++ drivers/hwmon/ltc2945.c | 86 ++++++++++++++----- 2 files changed, 115 insertions(+), 21 deletions(-) create mode 100644 Documentation/devicetree/bindings/hwmon/adi,ltc2945.yaml