Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6271734imm; Mon, 23 Jul 2018 14:50:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfnZvpEdoW975A4r6WggserCMaQWGtbcd2e9yhkcrrnwXwotxb2gKE0KKOYflM2XS6uNFVM X-Received: by 2002:a63:920c:: with SMTP id o12-v6mr13841670pgd.141.1532382604360; Mon, 23 Jul 2018 14:50:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532382604; cv=none; d=google.com; s=arc-20160816; b=qmo/4TcC/1Va2sUPo4W8t/sLZZvXg6YY4CVAqqJSdzhq5V5bbflPeYawi10bGtvfCx LDF5NH2onOWhyukhQFGgzRs4lYt7K9CF41MofJ/WB0IJdVF8Ax1DU902RuIEJUStnyzk 43WTALXqM7v2nY/fl/mLr4H5KU2iXgSDJJ7sfBgxgZb03rwgM3JdrI9JSoIiYhdl0xXk AQG/LOW6yrQY69iEhM2Fn/bVKfw1MYBd66PKu/kqdFOoswwKQy/CZyp7M8pJSG7FI5rd DkHzxETT95Ib3a1zCUGwOLe3lnaio38stYH31+w6AKWYSpB7xZ/5m/l6ogvmtcBcXQRP xHFA== 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=HMHKezWSzqAMtQVuI/M1HCF86fHZ+byQeHFwREqtaYM=; b=nstHNEXpae4vlNaRkJZkheXhmTxcndUfTYmUyMS3UEsJyh4rfthNpJjnZGqKGwnqhF V1hOE+YRsNNo3GLmQuKpfZRtYMnAlKADCPjmYK9tkBO4gtKEQHyvwpr/vvc172+nNtI7 iSeJHLaQ+t8+hKl2uK+sbo9OZLERf0fmfzz3RAklPm6XkALKDVlitpPMaxR6JntxXTZ3 2HfR/O3GlhF6FlA4dvAFnlK+LNh+TUyCmWi0dn/jtClJIeHgZI3xznCit/y3ahzyi/3h reZ8guFrHPH3k2JyLIQTmlqT73UjiYW4t6sXCPDngNcg2eoAYBpafWqnguzIxZm6BYwd zorg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g20-v6si9343475pgk.69.2018.07.23.14.49.49; Mon, 23 Jul 2018 14:50:04 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388238AbeGWWvr (ORCPT + 99 others); Mon, 23 Jul 2018 18:51:47 -0400 Received: from mga09.intel.com ([134.134.136.24]:8908 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388137AbeGWWvq (ORCPT ); Mon, 23 Jul 2018 18:51:46 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jul 2018 14:48:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,394,1526367600"; d="scan'208";a="66923099" Received: from maru.jf.intel.com ([10.54.51.80]) by FMSMGA003.fm.intel.com with ESMTP; 23 Jul 2018 14:48:33 -0700 From: Jae Hyun Yoo To: Jean Delvare , Guenter Roeck , Rob Herring , Mark Rutland , Lee Jones , Joel Stanley , Andrew Jeffery , Jonathan Corbet , Greg Kroah-Hartman , Gustavo Pimentel , Kishon Vijay Abraham I , Lorenzo Pieralisi , "Darrick J . Wong" , Eric Sandeen , Arnd Bergmann , Wu Hao , Tomohiro Kusumi , "Bryant G . Ly" , Frederic Barrat , "David S . Miller" , Mauro Carvalho Chehab , Andrew Morton , Randy Dunlap , Philippe Ombredanne , Vinod Koul , Stephen Boyd , David Kershner , Uwe Kleine-Konig , Sagar Dharia , Johan Hovold , Thomas Gleixner , Juergen Gross , Cyrille Pitchen Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-doc@vger.kernel.org, openbmc@lists.ozlabs.org, Jae Hyun Yoo Subject: [PATCH v7 01/12] dt-bindings: Add a document of PECI subsystem Date: Mon, 23 Jul 2018 14:47:40 -0700 Message-Id: <20180723214751.1733-2-jae.hyun.yoo@linux.intel.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180723214751.1733-1-jae.hyun.yoo@linux.intel.com> References: <20180723214751.1733-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 document of generic PECI bus, adapter and client driver. Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Cc: Rob Herring Cc: Mark Rutland Cc: Andrew Jeffery Cc: Joel Stanley --- .../devicetree/bindings/peci/peci.txt | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/peci/peci.txt diff --git a/Documentation/devicetree/bindings/peci/peci.txt b/Documentation/devicetree/bindings/peci/peci.txt new file mode 100644 index 000000000000..864b7ab4e9fa --- /dev/null +++ b/Documentation/devicetree/bindings/peci/peci.txt @@ -0,0 +1,43 @@ +Generic device tree configuration for PECI adapters +=================================================== + +Required properties: +- #address-cells : Should be <1>. Read more about client addresses below. +- #size-cells : Should be <0>. Read more about client addresses below. + +The cells properties above define that an address of CPU clients of a PECI bus +are described by a single value. + +Example: + peci0: peci-bus@0 { + compatible = "vendor,soc-peci"; + reg = <0x0 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + }; + +Generic device tree configuration for PECI clients +================================================== + +Required properties: +- compatible : Should contain name of PECI client. +- reg : Should contain address of a client CPU. Address range of CPU + clients starts from 0x30 based on PECI specification. + +Example: + peci-bus@0 { + compatible = "vendor,soc-peci"; + reg = <0x0 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + + peci-client@30 { + compatible = "intel,peci-client"; + reg = <0x30>; + }; + + peci-client@31 { + compatible = "intel,peci-client"; + reg = <0x31>; + }; + }; -- 2.18.0