From patchwork Wed Sep 26 06:42:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolin Chen X-Patchwork-Id: 10615323 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1630115A6 for ; Wed, 26 Sep 2018 06:43:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F03B128684 for ; Wed, 26 Sep 2018 06:43:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3321286A2; Wed, 26 Sep 2018 06:43:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 774C7285C4 for ; Wed, 26 Sep 2018 06:43:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726938AbeIZMyY (ORCPT ); Wed, 26 Sep 2018 08:54:24 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:47098 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726987AbeIZMyY (ORCPT ); Wed, 26 Sep 2018 08:54:24 -0400 Received: by mail-pg1-f193.google.com with SMTP id b129-v6so13382623pga.13; Tue, 25 Sep 2018 23:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=NI5e4zVrcMEznDRPw9a1QkzXZQXmCW1qfwjkdVNVb6E=; b=l1odSgBnJQffYk4H6LPTBgztZ6GT3z14UhEA6zfzziOU4m28Olnq9A+T/XUmQ+wmFf +SeRAAhRD9wLPilYWtneaVe/7p7f5dd57OyEQ3XI1E+J7T+aCbTA8Mu1QoLwV1ha8LbQ rcUSrC2yE3bbdpCEMfIK+CdN61CNhfgoV+GfgdZJD9VPRuHRVQ5+CJVd2pMPNjtFo5a+ SlW6SuW9rAFCvaGsdsuGtFTs9iiSiwfa8J1opG4mqaxX2GynyGwOKTfOtomZk6VCN0FR /wUfb9AmE/zsgDQOzdkKmFoCTIi4tlm9H+YHx2PC14FE3p1WdhSFjtJqwoMToCMprucX iVrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=NI5e4zVrcMEznDRPw9a1QkzXZQXmCW1qfwjkdVNVb6E=; b=UN8tLW9EHEpt03LF4z6Z9ZglawyLeCKY0jEWidEudBL2o2uDHXP5eBbLz9Xd2EpgPH 9sLD7EfuRKsx7eA5aQ4DbuF73N64/4bnMstpvMDlrKyfcHDBUguwsXA5JsZ474VF+Tlz uAN9lxygpvMjZOhSoeydTGXrkeipibBAJrTl0rLpsZnQx/P3mqU9ByiHgzupoqDq2nEX mNT4Sgun4Kd2BNw98cg4t2YS5oHWukZyPW3P/Shh3DGWyUfIoUMvgKlCBTpq9MjhEEJJ Uncz3nuYD1HXFTW5BJSpbbwERW9HFcwHdhjym0BNnnlvNqnTtCoaTNuvb+28uYuJBLu2 j3VQ== X-Gm-Message-State: ABuFfoj80KKAOJJTl7VhuPTPPzvClF3FgfMwlyVwvJSf12TPS/49OUCY jGSbUiNjfAghxMRNGeHSf/s= X-Google-Smtp-Source: ACcGV60QyRY8OJQRpoBltgTi3E0WJC1oODxdCf6RJS0ti2Lksk9RBXHHHMS+/wKMIq+K92jBy7lf0A== X-Received: by 2002:a62:cdcf:: with SMTP id o198-v6mr4762790pfg.12.1537944181021; Tue, 25 Sep 2018 23:43:01 -0700 (PDT) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id 71-v6sm5574861pfx.182.2018.09.25.23.43.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Sep 2018 23:43:00 -0700 (PDT) From: Nicolin Chen To: jdelvare@suse.com, linux@roeck-us.net, corbet@lwn.net Cc: afd@ti.com, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH 0/2] hwmon: ina3221: Add power and enable sysfs nodes Date: Tue, 25 Sep 2018 23:42:43 -0700 Message-Id: <20180926064245.4091-1-nicoleotsuka@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series of patch is to add three sets of sysfs nodes for ina3221 hwmon driver. PATCH-1 adds two power sysfs nodes while PATCH-2 adds an enable node. Note: both two patches are rebased upon the following patch: "hwmon: ina3221: Read channel input source info from DT" As this patch is still under review (waiting for an ack from DT binding side), these two patches can only go through review at this point -- needs to wait for the patch above getting merged first. Nicolin Chen (2): hwmon: ina3221: Add power sysfs nodes hwmon: ina3221: Add enable sysfs nodes Documentation/hwmon/ina3221 | 5 + drivers/hwmon/ina3221.c | 228 +++++++++++++++++++++++++++++++++--- 2 files changed, 218 insertions(+), 15 deletions(-)