Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp108531ybi; Thu, 30 May 2019 21:36:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmYEWb7zmfSJFq+Jsap1GzfmHqzEdmzwildy+KmBciiVfvEQDiXnKTcnimiGpbSev1zFdN X-Received: by 2002:a17:902:f085:: with SMTP id go5mr6661954plb.53.1559277367841; Thu, 30 May 2019 21:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559277367; cv=none; d=google.com; s=arc-20160816; b=y1hcdtZDwM/nXu5ky58LLU6wA2L0gY2PBczS7TgcbLtd6IFZ9UQav+dHdxHQy3dYc+ 6nP5Rx/W4D0wTnAbwvTqnoTy5R2rNtQ34z3iSiKNLdwBj0Mz42uc43X1MNI3oiA5QWqa 9QGpjp6qAactZNQ3xd5cgthVCJ/I49QiesZ1fL9vjKyF/HzIcysdVNvtT1PN/rbaHSX8 I9qPbHSH19hcYcgH8NYHnWnnOv4O9rbhWZkkoz+I9U+e44XcPai6NXzZVeuT51taEYgO 1mSog55MMTibf2pnzes1pwGtm5VMeIXX9ng6Y4lGtzVBosfL9k/OIK/L1cNYFi+Vygbe BW2Q== 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 :dkim-signature; bh=2O9VDMwPVFSv9BNRL/ai8hSKJn7oiPKyqt4IoaybWf4=; b=j+Qf/fEt5Tri1allEHiXAd9p7rXHXZjppVnChXPI2bt/yKX7q2uJQwkFkanoz6HAr3 LIhjQdmu+EUSRHSrRKGLivzkioc2jeGYdpgfeAe7XPcx7tXfdCo0jIStUAem8cp4fk8X cXtOVww3+zjCV/AR3p89eqw4OxYkDTJSov7abpnT/M1mXX3SvA03zGsZCfJK3MHD/Mli KY2JVeRWI6NE1AzW91YLJhS14/CwOHnHvb5u2YNv2YKJkqdbttBn85w1OvfYS6remg5c Pt920YVp9qcc/OKWUXzhs51J7IC/z/ZIyfg+QoEfTZHBqBxHOMQyHV7PPd/6NI0RU3+H QZBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=S33jR6En; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si4622077pgb.262.2019.05.30.21.35.51; Thu, 30 May 2019 21:36:07 -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; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=S33jR6En; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726725AbfEaEeh (ORCPT + 99 others); Fri, 31 May 2019 00:34:37 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:48372 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726610AbfEaEeg (ORCPT ); Fri, 31 May 2019 00:34:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1559277275; x=1590813275; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2O9VDMwPVFSv9BNRL/ai8hSKJn7oiPKyqt4IoaybWf4=; b=S33jR6EnqQbCVTRQ4znKVPN3xqKgXbDm+KA7+/knGT61YgqTzYDSvn9Y Db9FO4Lgc5aEEqjbdOmY70+Z9Q09NKiMDQ9I3xgaWlNLgYeSrMbnjpuFJ eiCoajtexv28BU80qQZ/Z+FVOKGtN39SY2pv+7/QUV8wqbOAaqgvClzai Y=; X-IronPort-AV: E=Sophos;i="5.60,533,1549929600"; d="scan'208";a="807752774" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-1a-821c648d.us-east-1.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP; 31 May 2019 04:34:32 +0000 Received: from EX13MTAUWC001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1a-821c648d.us-east-1.amazon.com (Postfix) with ESMTPS id 4B273A1E2C; Fri, 31 May 2019 04:34:28 +0000 (UTC) Received: from EX13D05UWC004.ant.amazon.com (10.43.162.223) by EX13MTAUWC001.ant.amazon.com (10.43.162.135) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 31 May 2019 04:34:28 +0000 Received: from EX13MTAUWA001.ant.amazon.com (10.43.160.58) by EX13D05UWC004.ant.amazon.com (10.43.162.223) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 31 May 2019 04:34:28 +0000 Received: from localhost (10.85.16.145) by mail-relay.amazon.com (10.43.160.118) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Fri, 31 May 2019 04:34:28 +0000 From: Eduardo Valentin To: Wolfram Sang CC: Haiyue Wang , , , , Eduardo Valentin , "Rob Herring" , Mark Rutland , , , Subject: [PATCH 1/3] dt-bindings: i2c: document bindings for i2c-slave-mqueue Date: Thu, 30 May 2019 21:33:45 -0700 Message-ID: <20190531043347.4196-2-eduval@amazon.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190531043347.4196-1-eduval@amazon.com> References: <20190531043347.4196-1-eduval@amazon.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the i2c-slave-mqueue binding by adding descriptor, required properties, and example. Cc: Rob Herring Cc: Mark Rutland Cc: Wolfram Sang Cc: linux-i2c@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- .../bindings/i2c/i2c-slave-mqueue.txt | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-slave-mqueue.txt diff --git a/Documentation/devicetree/bindings/i2c/i2c-slave-mqueue.txt b/Documentation/devicetree/bindings/i2c/i2c-slave-mqueue.txt new file mode 100644 index 000000000000..eb1881a4fc0e --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-slave-mqueue.txt @@ -0,0 +1,34 @@ +=============================================== +Device Tree for I2C slave message queue backend +=============================================== + +Some protocols over I2C/SMBus are designed for bi-directional transferring +messages by using I2C Master Write protocol. This requires that both sides +of the communication have slave addresses. + +This I2C slave mqueue (message queue) is used to receive and queue +messages from the remote i2c intelligent device; and it will add the target +slave address (with R/W# bit is always 0) into the message at the first byte. + +Links +---- +`Intelligent Platform Management Bus +Communications Protocol Specification +`_ + +`Management Component Transport Protocol (MCTP) +SMBus/I2C Transport Binding Specification +`_ + +Required Properties: +- compatible : should be "i2c-slave-mqueue" +- reg : slave address + +Example: + +i2c { + slave_mqueue: i2c-slave-mqueue { + compatible = "i2c-slave-mqueue"; + reg = <0x10>; + }; +}; -- 2.21.0