Received: by 10.223.185.116 with SMTP id b49csp1039088wrg; Wed, 21 Feb 2018 11:01:31 -0800 (PST) X-Google-Smtp-Source: AH8x225FMBOekGLOHQlikEvrW6wa0G79lKzoQ7BgopwlHCVnRxvLt03FTIBEiA2Ykz/iLbt0vt7C X-Received: by 10.99.169.26 with SMTP id u26mr3452456pge.304.1519239691834; Wed, 21 Feb 2018 11:01:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519239691; cv=none; d=google.com; s=arc-20160816; b=X0NF6ju7xorqURI/mePsGMMIsce5GbZU5k5OrdWORBkPirdG+YqE3ssUH7Vru1KVUV rxj5pI1d+rMwL5mX8wOTdfhLVyJdTZ3gm5W7W2GhHvOkAxnWS7czRF3c38RSIBwPLlgg bvvmuv8PZNR63zrePpuq5g6TNw0gbpO+28CTXVVvHbNbGhBX8zJLDvfBNya1E3bnGHWY iJeuqrq57XLpyfbebFmndvAwgFHWsh+yWE9di62FYQAyC0msCGZeqb5qXxTWbr9JmEGI Jzp3k9dli3dON5VstJ3q0VH+BEm415KJbo+n0sjNFG6W2hahbC9HWUTMqyTi+d3BoOZ0 QTZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=uTViNhkTCo8ujDzDLJb/yvJo6M5Dh9BKAuHvexKoJWE=; b=GU9+MZO1FdqCz4nm2GGokB/sHiO0oAqd9SOCe3+SyzvUJzkm2C7/SvHtm3QAco2fJO bBMY8tb0No4YrrAr+x0Em/T1u4JrtgCGd5LJlu15q8nmaVSESoi3Z1qQnqS4fn5aVYsb V7wsoOl8Ja5IG7ePbjhyg0sRPNz1oX1VtG2KaTB7CQMAt+ghzCapSTYjRo++m1ypDLS7 zek5U+BjPazFAy81+jDmtCQCLFuDPgcmtTCcNXJhD9sjxc6x8joFhYT9LVXB7N5bH6yI SYH30ume53DfWWvgWHUcmR59y0a1iZEGgE0HpnNPtCoK9KfLEcPY91b7yBzKSINBW56L X2IQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t125si394126pgc.38.2018.02.21.11.01.17; Wed, 21 Feb 2018 11:01:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754833AbeBUQQ1 (ORCPT + 99 others); Wed, 21 Feb 2018 11:16:27 -0500 Received: from mga05.intel.com ([192.55.52.43]:1811 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933501AbeBUQQW (ORCPT ); Wed, 21 Feb 2018 11:16:22 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2018 08:16:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,543,1511856000"; d="scan'208";a="29617851" Received: from maru.jf.intel.com ([10.54.51.80]) by orsmga003.jf.intel.com with ESMTP; 21 Feb 2018 08:16:21 -0800 From: Jae Hyun Yoo To: joel@jms.id.au, andrew@aj.id.au, arnd@arndb.de, gregkh@linuxfoundation.org, jdelvare@suse.com, linux@roeck-us.net, benh@kernel.crashing.org, andrew@lunn.ch Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org, Jae Hyun Yoo Subject: [PATCH v2 5/8] [PATCH [5/8] Documentation: dt-bindings: Add a document for PECI hwmon client driver Date: Wed, 21 Feb 2018 08:16:03 -0800 Message-Id: <20180221161606.32247-6-jae.hyun.yoo@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180221161606.32247-1-jae.hyun.yoo@linux.intel.com> References: <20180221161606.32247-1-jae.hyun.yoo@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds a dt-bindings document for a generic PECI hwmon client driver. Signed-off-by: Jae Hyun Yoo --- .../devicetree/bindings/hwmon/peci-hwmon.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/peci-hwmon.txt diff --git a/Documentation/devicetree/bindings/hwmon/peci-hwmon.txt b/Documentation/devicetree/bindings/hwmon/peci-hwmon.txt new file mode 100644 index 000000000000..831813158884 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/peci-hwmon.txt @@ -0,0 +1,27 @@ +Bindings for Intel PECI (Platform Environment Control Interface) hwmon driver. + +Required properties: +- compatible + Should be "intel,peci-hwmon". + +- reg + Should contain address of a client CPU. Address range of CPU clients is + starting from 0x30 based on PECI specification. + <0x30> .. <0x37> (depends on the PECI_OFFSET_MAX definition) + +Example: + peci-bus@0 { + #address-cells = <1>; + #size-cells = <0>; + < more properties > + + peci-hwmon@cpu0 { + compatible = "intel,peci-hwmon"; + reg = <0x30>; + }; + + peci-hwmon@cpu1 { + compatible = "intel,peci-hwmon"; + reg = <0x31>; + }; + }; -- 2.16.1