From patchwork Thu Sep 10 17:06:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chu Lin X-Patchwork-Id: 11768213 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4DEA5159A for ; Thu, 10 Sep 2020 17:07:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2FD35208E4 for ; Thu, 10 Sep 2020 17:07:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="TxixLvjF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726776AbgIJRHT (ORCPT ); Thu, 10 Sep 2020 13:07:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727058AbgIJRGp (ORCPT ); Thu, 10 Sep 2020 13:06:45 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0741FC061757 for ; Thu, 10 Sep 2020 10:06:44 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id v3so6060122ybb.22 for ; Thu, 10 Sep 2020 10:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to; bh=adI7wIapGHyMuBg8Kx00Pr23ARAsrS6b/e9orFM8JOA=; b=TxixLvjFpgGmwKdMeWaIR8kRBrFRRk06I6hOZ9AnaRZjohco0VkPVEq1D45uXsls+1 bXKkgPTkNAYkdNwC63x96d4F9C+deAvT6NOcfjza5Ista3qCP4u231q7B5emR4cawDf7 5TDSdzCNod5MEmQIsw7kq4ZBGbGR+XUXidwXtrHWD63lggQgGXd1Zok+9ldBzpH15208 Skljw+OPWZmt72AjmO+/jaiJZ1/T3c/1GL0+m4GkAtshks0hRWJMRtILLGhSb48mNiCL zbpmVmsm58N5BnPMtjoj797wJVSBQG1KQwI0eqgFb0XRYuPeAgnnNDksnZLT+mdpcMVi LJ2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to; bh=adI7wIapGHyMuBg8Kx00Pr23ARAsrS6b/e9orFM8JOA=; b=nWsBY3hJ9FY14EJJDhLQn519J1GimiYRvTdmAr9giu8ffHtVq0mPbWtMCf02Om4tf/ c81c7RQQSiwVjAbmCq13ZYC4l8dKZb/p8ccp8JCrxz4B2kGgMhKu7m84HwhbuVDgytSl 3gJtMS10pQHRj9M10ygO9HlOLvVX7+TfNhEWUWrCaaVlagGHaLWyvSH8PSeS/3ZZ+ze7 2r6xuqB//st/bNvIcWZMj/daeDyZMVSDp1N5Cbo/7wVSfYljFfBQAwqh8YZ9uuuf4X/k I3WeoH38DZOVhPRpL3O22qJLKjomuujGz9jciomV0VTufge7jSpK23v5EoId2ThzwZVi R5iw== X-Gm-Message-State: AOAM530i2J0hRM1AJqj8Gnrv4oVvxAetQRsJKQ9efv5E+Mj4e+L1idWR fo1yWBUrLxCgEWMkECruJVvWnrZo8b/emivt X-Google-Smtp-Source: ABdhPJyTReOFIEOH4u3OH8hr4+z1tGzkBXnTI1Wp04EnSFLUMzrekUKJ7atrss2kzIi0XvJ8DrKoGoqZaudODrpE X-Received: from chu-dev.c.googlers.com ([fda3:e722:ac3:10:24:72f4:c0a8:3cfb]) (user=linchuyuan job=sendgmr) by 2002:a25:61c2:: with SMTP id v185mr14987007ybb.314.1599757604064; Thu, 10 Sep 2020 10:06:44 -0700 (PDT) Date: Thu, 10 Sep 2020 17:06:38 +0000 Message-Id: <20200910170638.1985729-1-linchuyuan@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.28.0.526.ge36021eeef-goog Subject: [PATCH] dt-bindings: hwmon: max20730: adding device tree doc for max20730 From: Chu Lin To: linchuyuan@google.com, jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, qiongwang@google.com, zhongqil@google.com, jasonling@google.com, belgaied@google.com Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Testing: make dt_binding_check Signed-off-by: Chu Lin --- .../devicetree/bindings/hwmon/max20730.txt | 23 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/max20730.txt diff --git a/Documentation/devicetree/bindings/hwmon/max20730.txt b/Documentation/devicetree/bindings/hwmon/max20730.txt new file mode 100644 index 000000000000..3afb42b04567 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/max20730.txt @@ -0,0 +1,23 @@ +max20730 properties + +Required properties: +- compatible: Must be one of the supported compatible strings: + "maxim,max20730" for max20730 + "maxim,max20734" for max20734 + "maxim,max20743" for max20743 +- reg: I2C address + +Optional properties: + +- vout-voltage-divider + Resistance of the vout voltage divider. + Two numbers, the first number is the output resistor, + the second number is the total resistance. + +Example: + +max20730@10 { + compatible = "maxim,max20730"; + reg = <0x10>; + vout-voltage-divider = <1000 2000>; +}; diff --git a/MAINTAINERS b/MAINTAINERS index 0a6ac3f00ed5..a04bf34a65b8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12371,6 +12371,7 @@ W: http://www.roeck-us.net/linux/drivers/ T: git git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git S: Maintained F: Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt +F: Documentation/devicetree/bindings/hwmon/max20730.txt F: Documentation/devicetree/bindings/hwmon/max31785.txt F: Documentation/devicetree/bindings/hwmon/ltc2978.txt F: Documentation/hwmon/adm1275