Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4341426imu; Tue, 18 Dec 2018 13:06:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/W5xlWfHSmrjiNsu4smmcyhnZaIIocKHKeZ9q0uvlKYsn2jHTKkw6pc2larLXQi04LeWI1W X-Received: by 2002:a17:902:6b87:: with SMTP id p7mr18209704plk.282.1545167208866; Tue, 18 Dec 2018 13:06:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545167208; cv=none; d=google.com; s=arc-20160816; b=gsFEYCJL3YHLoNzxwkPIlo8m+SJaQkuDzGGmgPHEP0tKP4i3OggVsDwFVCjIgbt/0V Et7S8ir88UR67+XO/u7Uwd7IRlo94s4Llu79K4U8s8MY0tp9pbDCmht2lIrgMN8ZeUKY B+4xww77K/JEDfjRx/ShH+SlBYYlo6OyJUi1lwH4lPgHjJvgOzQG1Iv+5/ryuLTo0PNm 6yV1LJvhbpXXQVsrLWfIldqmUMO9tFbIHTlxU03M/bTcbSofMp3kh1Q7IGDEvd8irAbC B/YQhHyGgSoNo+8e5TKfK78f/7pMg1BoBW7pqowegMT4dsFqaWf94ljA5eud1xJp7v5L 46UQ== 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=EoWr3AwyOXEc4Ie/P7sX3ycWVdaEdzrKsyAOu6lXLL0=; b=rcDDYP+5ajgWyLArgmiHv8u1ivl8nQHuqKL7anOj6CNiXWiW7gyUq3lk6sTEpDBGLL EKvdCul8c7ifu9cm2Yb1oJy4WLRMRivLs6A3afGJ78qfUCFO27giqhs1G6f8KFME5ovD Y0sLgAuMWp/PPWey+UR99498GZibX8cvHSYfZZUhF0L9RCExne3pcHwt7E79q4x2kvw7 wAChQATz9RMcnqBH1nmEAaVb2I0t7nQTYIPse44SQyAevkwNIB+mHZ8UN/5Lsu5rlifm ykrE0jbdPm5Tb5BdfQrvmuwsAlAzQlkIWfE25JHNlksp+6Qgix04udpJ4f5LowvWqOFA bhAA== 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 e129si13865697pgc.333.2018.12.18.13.06.32; Tue, 18 Dec 2018 13:06:48 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727327AbeLRVE1 (ORCPT + 99 others); Tue, 18 Dec 2018 16:04:27 -0500 Received: from mga04.intel.com ([192.55.52.120]:32558 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbeLRVEY (ORCPT ); Tue, 18 Dec 2018 16:04:24 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Dec 2018 13:04:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,370,1539673200"; d="scan'208";a="131061871" Received: from maru.jf.intel.com ([10.54.51.77]) by fmsmga001.fm.intel.com with ESMTP; 18 Dec 2018 13:04:23 -0800 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: [PATCH v9 01/12] dt-bindings: Add a document of PECI subsystem Date: Tue, 18 Dec 2018 13:04:06 -0800 Message-Id: <20181218210417.30140-2-jae.hyun.yoo@linux.intel.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181218210417.30140-1-jae.hyun.yoo@linux.intel.com> References: <20181218210417.30140-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..71f26c7c6e58 --- /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. According to the PECI + specification, client addresses start from 0x30. + +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