Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp827055imc; Sun, 10 Mar 2019 23:36:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzNatq/TQvClX9TLhh5L2IVRgoUGaSamywUNA1xGsZ/Z94tDebcsatC3odf4T/d4nzJ+ko X-Received: by 2002:a63:d302:: with SMTP id b2mr3771541pgg.13.1552286190344; Sun, 10 Mar 2019 23:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552286190; cv=none; d=google.com; s=arc-20160816; b=LVQGOAVCUAzRy49jkwXFdq8NhivNWWSwmkt7vLDBwDQqtDQGDeYzixQtYrErtCRQzz VGQS6ARmX7M8/S8LxsJ5Hta6Jfm5s1kSvCxvT7Yzes5/3bUqaBd4TSqoj082htXlxRM1 XTg5ujnYaktUb2BWEQzy6S+3nT5oBpRRds4+TOLPMZy+TQsWTl5ngsvyMHPm1Oha4Gwa y+6S8u/W4pq+Tx/Xfd+Ea6nrsvqSFUINXyOil1gtIDNeHMRj9mtwRxIwUrs+2XII6e2a ntTG3RiSGQOhBGDCpTgKwZeKJnF498jMO1Y7ZmLG3SPUUyQyvslEBezD6oPQmjGeGjZs QRJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=pcLTNt90K3HQNfqcf3oOtt8t0kIprUBx1yUX1QOFD34=; b=x45vByxs4dUMJnPcE176yfA28Dhi9EKBUfvOO1orOpoK7vlFUF+Gf1wyQZ8PxZJsKA 8AuvsD3oPZYjfZhNfK153tOTOFBLRjQe8w/h2CiMNXHFpZXJNQiw3gMXg39vyh+c2279 QkETNOyJvTlS5yDNPgAJbn7Eg0V10TuuOPF7lqtDxQzBL4ONBwwaWNKnwR6F68DYT1Ra ot3TqnVH7eUIUwbykhd5qVZz3e3PLbr0HyAjSCQaGPGy/Rcf7O+6uOH8/wuer4YlahPP AKb1InPztxXCbG8+IYXmcCHPemMRakIrwOT5FME/ND06mZJg8gtI+ylu/mdqtp6tUSrz ldFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chromium.org header.s=google header.b="Sn/e46Le"; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f12si4422099pgm.355.2019.03.10.23.36.14; Sun, 10 Mar 2019 23:36:30 -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=fail header.i=@chromium.org header.s=google header.b="Sn/e46Le"; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726848AbfCKGfl (ORCPT + 99 others); Mon, 11 Mar 2019 02:35:41 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:38270 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726792AbfCKGfj (ORCPT ); Mon, 11 Mar 2019 02:35:39 -0400 Received: by mail-pf1-f193.google.com with SMTP id n125so2988245pfn.5 for ; Sun, 10 Mar 2019 23:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pcLTNt90K3HQNfqcf3oOtt8t0kIprUBx1yUX1QOFD34=; b=Sn/e46Le0/dFt8VqLmhi7/ISj7IE0gyXX+x+DiKDNs2QHrOyOe47/Vub4g4xzeiAe/ R/30cRatV1IbSo+d2jmOMwdl00XvRelOHEcr6KCHCgt+HqucGI/FOF/lkHlWGZU1E5ln ikcywA5j6PoRAuQR2yzoKruSXvcXJ0BSQZrrY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pcLTNt90K3HQNfqcf3oOtt8t0kIprUBx1yUX1QOFD34=; b=fQKVFL7QINdVf/BXbHpxHQCseGAaivXdqxFxwoC8iIKbqqKeed3RAdKywzjA4zgeUY RUWsjh0JbtKIRQr0vCBZuVoIP5rlZB9AroBcPf0F7kFW5woHyj0xBfzFOhza1CV23NSe 5Rw/Dtf5Kk6Ys5Loj6TOXFa98ZPjeahj8FPSe/AhBfCt/VPnC20ffOiwsYUMJ+w/I8V8 EH7ezHjeOae78cfto2HCvxpbVx5spc18ulOceTiYWjWzd7g5d2XAiYUX3ZEG3L4zy3Do x2aPbrOfhJdIVv0Mr+NVXqV2F/iNWNEjFusfWrIf3yu0BWZk3yZ6HS3S9UIcd1pdgy3+ EQUQ== X-Gm-Message-State: APjAAAXczLUIkjDcuTytGyhFZ24Rt12YFM4aMJCFpkHL2oNzfGgPUNxw 8x0X0fKPxtR4coAB8EPrjKvr1A== X-Received: by 2002:a63:e813:: with SMTP id s19mr28193461pgh.12.1552286138592; Sun, 10 Mar 2019 23:35:38 -0700 (PDT) Received: from pihsun-z840.tpe.corp.google.com ([2401:fa00:1:10:7889:7a43:f899:134c]) by smtp.googlemail.com with ESMTPSA id p5sm6573040pfn.154.2019.03.10.23.35.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Mar 2019 23:35:38 -0700 (PDT) From: Pi-Hsun Shih Cc: Pi-Hsun Shih , Lee Jones , Rob Herring , Mark Rutland , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v6 5/7] dt-bindings: Add binding for cros-ec-rpmsg. Date: Mon, 11 Mar 2019 14:34:56 +0800 Message-Id: <20190311063458.137473-6-pihsun@chromium.org> X-Mailer: git-send-email 2.21.0.360.g471c308f928-goog In-Reply-To: <20190311063458.137473-1-pihsun@chromium.org> References: <20190311063458.137473-1-pihsun@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a DT binding documentation for ChromeOS EC driver over rpmsg. Signed-off-by: Pi-Hsun Shih --- Changes from v5: - New patch. --- Documentation/devicetree/bindings/mfd/cros-ec.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/cros-ec.txt b/Documentation/devicetree/bindings/mfd/cros-ec.txt index 6245c9b1a68b..4860eabd0f72 100644 --- a/Documentation/devicetree/bindings/mfd/cros-ec.txt +++ b/Documentation/devicetree/bindings/mfd/cros-ec.txt @@ -3,7 +3,7 @@ ChromeOS Embedded Controller Google's ChromeOS EC is a Cortex-M device which talks to the AP and implements various function such as keyboard and battery charging. -The EC can be connect through various means (I2C, SPI, LPC) and the +The EC can be connect through various means (I2C, SPI, LPC, RPMSG) and the compatible string used depends on the interface. Each connection method has its own driver which connects to the top level interface-agnostic EC driver. Other Linux driver (such as cros-ec-keyb for the matrix keyboard) connect to @@ -17,6 +17,9 @@ Required properties (SPI): - compatible: "google,cros-ec-spi" - reg: SPI chip select +Required properties (RPMSG): +- compatible: "google,cros-ec-rpmsg" + Optional properties (SPI): - google,cros-ec-spi-pre-delay: Some implementations of the EC need a little time to wake up from sleep before they can receive SPI transfers at a high -- 2.21.0.360.g471c308f928-goog