From patchwork Mon May 21 19:59:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jae Hyun Yoo X-Patchwork-Id: 917833 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40qV445snzz9s1b for ; Tue, 22 May 2018 05:59:48 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751176AbeEUT7e (ORCPT ); Mon, 21 May 2018 15:59:34 -0400 Received: from mga11.intel.com ([192.55.52.93]:12388 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbeEUT7I (ORCPT ); Mon, 21 May 2018 15:59:08 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 May 2018 12:59:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,427,1520924400"; d="scan'208";a="201237200" Received: from maru.jf.intel.com ([10.54.51.80]) by orsmga004.jf.intel.com with ESMTP; 21 May 2018 12:59:07 -0700 From: Jae Hyun Yoo To: Rob Herring , Mark Rutland , Haiyue Wang , Vernon Mauery , James Feist , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jae Hyun Yoo , Andrew Jeffery , Arnd Bergmann , Jason M Biils , Joel Stanley Subject: [v4 07/11] dt-bindings: hwmon: Add documents for PECI hwmon client drivers Date: Mon, 21 May 2018 12:59:05 -0700 Message-Id: <20180521195905.27983-1-jae.hyun.yoo@linux.intel.com> X-Mailer: git-send-email 2.17.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This commit adds dt-bindings documents for PECI hwmon client drivers. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Andrew Jeffery Cc: Arnd Bergmann Cc: Jason M Biils Cc: Joel Stanley --- .../bindings/hwmon/peci-cputemp.txt | 23 ++++++++++++++++++ .../bindings/hwmon/peci-dimmtemp.txt | 24 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/peci-cputemp.txt create mode 100644 Documentation/devicetree/bindings/hwmon/peci-dimmtemp.txt diff --git a/Documentation/devicetree/bindings/hwmon/peci-cputemp.txt b/Documentation/devicetree/bindings/hwmon/peci-cputemp.txt new file mode 100644 index 000000000000..2f59aee12d9e --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/peci-cputemp.txt @@ -0,0 +1,23 @@ +Bindings for Intel PECI (Platform Environment Control Interface) cputemp driver. + +Required properties: +- compatible : Should be "intel,peci-cputemp". +- reg : Should contain address of a client CPU. Address range of CPU + clients is starting from 0x30 based on PECI specification. + +Example: + peci-bus@0 { + #address-cells = <1>; + #size-cells = <0>; + < more properties > + + peci-cputemp@30 { + compatible = "intel,peci-cputemp"; + reg = <0x30>; + }; + + peci-cputemp@31 { + compatible = "intel,peci-cputemp"; + reg = <0x31>; + }; + }; diff --git a/Documentation/devicetree/bindings/hwmon/peci-dimmtemp.txt b/Documentation/devicetree/bindings/hwmon/peci-dimmtemp.txt new file mode 100644 index 000000000000..4592ce23f620 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/peci-dimmtemp.txt @@ -0,0 +1,24 @@ +Bindings for Intel PECI (Platform Environment Control Interface) dimmtemp +driver. + +Required properties: +- compatible : Should be "intel,peci-dimmtemp". +- reg : Should contain address of a client CPU. Address range of CPU + clients is starting from 0x30 based on PECI specification. + +Example: + peci-bus@0 { + #address-cells = <1>; + #size-cells = <0>; + < more properties > + + peci-dimmtemp@30 { + compatible = "intel,peci-dimmtemp"; + reg = <0x30>; + }; + + peci-dimmtemp@31 { + compatible = "intel,peci-dimmtemp"; + reg = <0x31>; + }; + };