Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7014215ybi; Wed, 5 Jun 2019 09:48:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwqXDqycdYPnjGQJ67KS9Te5fLxNIyTUiM86oAVBWd7HtkWFc/uZfh366E2iJ48leQcG4yS X-Received: by 2002:aa7:9a92:: with SMTP id w18mr18221632pfi.167.1559753311691; Wed, 05 Jun 2019 09:48:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559753311; cv=none; d=google.com; s=arc-20160816; b=GdpLWFj5BXYym1nA/QZO2HNUlxsVDWV+zbZ4uPRlQIWBs5zJzNjTHKEVNPlFSlePel fKOXPvTfyDub8NIj7b7kvHHqRdo4wGLZGy+GXM3zcOCMfPgS5BvsdOkzBLq0Gg7dMSt9 C3IiipKhg56ndH24Yg7a3axxuKtLP1go5q7M0RYHQjcQVHRlTCLxwTOyFgVsNKTyPyOs IwDW4iA/h1hbyx9mkchXEAd6Wq+5QMAH3mXsj6JLwGeuXNd2dEhXrO9LORs2+kUmFX9O zj9JxMRDaoP4EbUTeKiR9+a7gwpMJNR1ku5VODQe6u5FV8VrJiutNbx3CbOeuri0wW/v 6WZA== 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=gAunuADjUlfvR6+lZVJDavO/Jg439Hd4VR1/jUhyiuU=; b=aI7kYX6JrSGm7Lo8PZjCX8qIPiBR8tuMwn41CLQHmmjQ//4biYM6DVDmX18WW58Lmt a5oUJ3R2Tl/O5h6OHqEKTZi0IZgJ9XjICv9A+kCrNrmkmJvh5/ptg92Xl1oPkcCyysuG 7e29V5WLvKsFRJb4gPyS3aM9NFYn9P0+kqh6SEECo4Q5z/b9y/3kvrokFWnNQRzPLJlo PhYI1mcClv3VlE/KBAiOnTqSLoErYH/owxhSJhqCbPqAFG3k3fg1erd7i6d4RdN+/uUJ CXCeaIL+1JSaWyQe3/zWqLZvxmTjND/KC2w3gC5BadYBuuCx6iPJRSjPy6I4v2b7XceI h9hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=EtIXGMem; 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 s80si27850147pgs.468.2019.06.05.09.48.15; Wed, 05 Jun 2019 09:48:31 -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=EtIXGMem; 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 S1728755AbfFEQrE (ORCPT + 99 others); Wed, 5 Jun 2019 12:47:04 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:7961 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728690AbfFEQrC (ORCPT ); Wed, 5 Jun 2019 12:47:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1559753221; x=1591289221; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gAunuADjUlfvR6+lZVJDavO/Jg439Hd4VR1/jUhyiuU=; b=EtIXGMemhK8XfXLJO9UL3EhyVVewcFRo96pbCqEfFd5duGfjyhKJxVYY EKgs+eS+uod8a93nBR7cLSEhkChp7yszd1g4d9ooXC77WOwQKWf3U6rGx enJuVkKi1EcytUUPHUCA6VCz7iQlXE3TbHc9F3DyJ1lXLJy0wd3Pr86tR U=; X-IronPort-AV: E=Sophos;i="5.60,550,1549929600"; d="scan'208";a="769129587" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2b-4e24fd92.us-west-2.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 05 Jun 2019 16:46:54 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-2b-4e24fd92.us-west-2.amazon.com (Postfix) with ESMTPS id C53A5A23E9; Wed, 5 Jun 2019 16:46:53 +0000 (UTC) Received: from EX13D05UWB001.ant.amazon.com (10.43.161.181) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 5 Jun 2019 16:46:53 +0000 Received: from EX13MTAUWA001.ant.amazon.com (10.43.160.58) by EX13D05UWB001.ant.amazon.com (10.43.161.181) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 5 Jun 2019 16:46:53 +0000 Received: from localhost (10.85.18.74) by mail-relay.amazon.com (10.43.160.118) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Wed, 5 Jun 2019 16:46:53 +0000 From: Eduardo Valentin To: Wolfram Sang CC: Haiyue Wang , , , , Eduardo Valentin , "Rob Herring" , Mark Rutland , , , Subject: [PATCHv7 1/3] dt-bindings: i2c: document bindings for i2c-slave-mqueue Date: Wed, 5 Jun 2019 09:46:49 -0700 Message-ID: <20190605164651.15991-2-eduval@amazon.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190605164651.15991-1-eduval@amazon.com> References: <20190605164651.15991-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 --- Changes from V6 to V7: - none .../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