Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4218674imm; Mon, 15 Oct 2018 10:59:06 -0700 (PDT) X-Google-Smtp-Source: ACcGV61AQKYvtCt4LnKyHPqBppLWo3b2oveXcqQDBjllrXO7D9wCpt3ZIf5HSpJZ/EEJXZAweuwd X-Received: by 2002:a63:4a0e:: with SMTP id x14-v6mr16644045pga.34.1539626346441; Mon, 15 Oct 2018 10:59:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539626346; cv=none; d=google.com; s=arc-20160816; b=ygCjEBbY4M1re+FcRXY5dNd8rBXBO1XqaaNsZ/6J4mIvRAKj/H7iADlVoKVnu+Hika 4TgVylrsevGMRc5wYSTGBCgQ30I6sw5JoPG3H66SapxZvAen9sneSee9fxDukMk+H12M TzZ3UiwDCKX/B040evRiNKwoeAAI8skxzVmgRd31aKRXWSflexGWjuGAYGud+qOqARAF 8Yu15C0+OAlY6lQBggVg4cIIr4lyOp8HXojS/5Jmf3gEW98gUIhNvNyQu1dq3qxt1cJy 1RKv0Onpqn2OGVZu2ZHDIxeWzpnhm33LJzV8GM35Gev24HTXDBp5szQysXlRmxAmViNr Di1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=z6r95Qsi1N1Knp71FXpuutP19HmNbdKrY4lnWASw8a4=; b=eBhWhipQI5UUJZU3bHZ3eMbx/i3/xcnS1/YnpOm7Xy50xyPrn2YG+Wr+HDYK2Nvw4p 2I1gadfzFEvVuNZzcTcVtoZDtd1IsWcqqZb2cHN5y3Ga8eqgwLMhMurcZ0s3UWzzbItb nhFKgKIkz74oTmreQ7wOJurfJtk84ujuKkompzPvddmBCx7TBbN9pwLeaCZ1TDI87xnv KMvyTiqBHfNj0oIA3vxFAeUpRqTwqS9CW393+2QvOWNVAAv5yLCXnOYuJBPcZMRGKyCu /XGFbo+NGeS+RmWhIE1yxBZunG2XIj+B/6fmH93rPVHcaprrtWsxKDXvBRU3FM7OyPPM zdTg== 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 r7-v6si9925571ple.362.2018.10.15.10.58.51; Mon, 15 Oct 2018 10:59:06 -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 S1727205AbeJPBn7 (ORCPT + 99 others); Mon, 15 Oct 2018 21:43:59 -0400 Received: from mga18.intel.com ([134.134.136.126]:61555 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727032AbeJPBn7 (ORCPT ); Mon, 15 Oct 2018 21:43:59 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2018 10:57:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,385,1534834800"; d="scan'208";a="78199984" Received: from maru.jf.intel.com ([10.54.51.77]) by fmsmga007.fm.intel.com with ESMTP; 15 Oct 2018 10:57:41 -0700 From: Jae Hyun Yoo To: Lee Jones , Rob Herring , Jean Delvare , Guenter Roeck , Mark Rutland , 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-doc@vger.kernel.org, openbmc@lists.ozlabs.org, Jae Hyun Yoo Subject: [RESEND PATCH v8 01/12] dt-bindings: Add a document of PECI subsystem Date: Mon, 15 Oct 2018 10:57:01 -0700 Message-Id: <20181015175712.1500-2-jae.hyun.yoo@linux.intel.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181015175712.1500-1-jae.hyun.yoo@linux.intel.com> References: <20181015175712.1500-1-jae.hyun.yoo@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. Cc: Rob Herring Cc: Mark Rutland Cc: Andrew Jeffery Cc: Joel Stanley Signed-off-by: Jae Hyun Yoo Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by: Vernon Mauery Reviewed-by: Rob Herring --- .../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.19.1