Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp257044ybi; Fri, 31 May 2019 00:41:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHYPULHWFUduDhO76ZaAeF5wTX5gVinnO60pCFxhvlINm3VlqBFOO94uH7XUybqmSt/kEG X-Received: by 2002:a65:5003:: with SMTP id f3mr7346707pgo.336.1559288466165; Fri, 31 May 2019 00:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559288466; cv=none; d=google.com; s=arc-20160816; b=CuVuJFyO25CWNNuHJCg6hAXRKq2r4FrsiN1hQfG2RIpKCdaTU+PmSW6d8jSBTv89yQ BfP4CR2b4cS3D3i0RM+NtrkVeTZf8K9MeEnCv0YgXg/dsdWW8pxLbD6Wfd9gFvOttk0E lDGi+T4ySV2/NJcXc7RNWrSsOWJ9bL2vFHrdNPzNXse93Fj0G6ce3yM4hgnP9zpgEUs5 mKF5J7yk5CHxPfN3XexvMOkg0e4rfLWZg7ozHPSlFgdEfdKj+o0HHOXzjP9iizO3e68o HsBXu/Psv8Cbt+ICfPJNzR6YlECba6xX4hwhmnjPKlBXDZfOxZt40MTOgGmCZcMlHAwI OiBA== 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=amLWzMGEOrMIVY/i8SOjRUFJFk74K5wA9+AH20vWRFI=; b=pAyOTALJ1QIQD7F+9RrtReoOGpRyEh2RBzHxvncJWV7Ik9Wwue2lKbpecp65qGu/Ey coJ5OCxBGVqguRPw/AvzThSBkz6y5mAoCjzkQI0FwpHJiqfDX3SDp7HOu0luTcLvhi5p bwkHMk4t9Sf0GmFQeLL7qdqNkhgbQQRFC/iR0JVnHAAPnCeAzsMeKA7iiUTOuAf4z0Sf 9FkU55v+TMaR5HTacfR7GEbEwoISQMZnNb0CTEOZDfJaEYkgnMjLaDs5Ip1dNNprAZoN B8Tkj9j2pQeHOLd4b3kzH/qTXehbmV678KXfKktk5BRaGwO6bHZLMCsCitW44fo4QVFU kTiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chromium.org header.s=google header.b=S2Wnzsu8; 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 r25si4615720pgb.439.2019.05.31.00.40.49; Fri, 31 May 2019 00:41: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; dkim=fail header.i=@chromium.org header.s=google header.b=S2Wnzsu8; 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 S1726968AbfEaHjZ (ORCPT + 99 others); Fri, 31 May 2019 03:39:25 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:41521 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726158AbfEaHjX (ORCPT ); Fri, 31 May 2019 03:39:23 -0400 Received: by mail-pg1-f193.google.com with SMTP id z3so3554839pgp.8 for ; Fri, 31 May 2019 00:39:23 -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=amLWzMGEOrMIVY/i8SOjRUFJFk74K5wA9+AH20vWRFI=; b=S2Wnzsu8nCvTtm8EV4HrqG9J3QxY0JvdrwvVbqX3A5HD0hk1y2+7TjzwQxNUHg338R aTLOrA+4U5i+eEQ6BJa/8aWfXg2K57v2wUesXPDBNu+I6SB+1Smw5cxfXrmyJHisv2Cp o9wxb+pic8FbNdC+Bj10EmTxsQIhA+kntf/c8= 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=amLWzMGEOrMIVY/i8SOjRUFJFk74K5wA9+AH20vWRFI=; b=IFvw54NFTen1Daao4tZRlflnyLnwec5XFIuYOaFOChYtTLPNkSeaa0BC1qcqUAnS9Y E0U3hSIGCAbPn/erTiPQHxKA8mRP/6/1QRubz8+d6lq4V29tQKY6MZzObxM/RjSeiXEd C+JsS7ObXPrJgN3z5nn/p1zEaFzQ056JjrDRbPvtNRmn2IFtQpNq1E/1bq/v/UI0e/Uw EQpSea1sazfC4mNB/LHl5zKzW/FkTki/LKZ7gZJ2qDXZES5DdW+lvd/3gNXndcPkxYUL iknrq7yUnEuR0clgz/2Ytk7tkD8bkltY0Y9DLHhJzDX8K7Ve7psaWhK9qQdh+tdqVxps o68g== X-Gm-Message-State: APjAAAV3YUSyiUAvKtiKkZQQHyzWwua4uoYWpRtEogawfS//vcrdrNNB GQ5N7X+n11mGIPxKRYKgvGPShQ== X-Received: by 2002:a63:1b0e:: with SMTP id b14mr7604009pgb.365.1559288362674; Fri, 31 May 2019 00:39:22 -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 r71sm17051741pjb.2.2019.05.31.00.39.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 May 2019 00:39:22 -0700 (PDT) From: Pi-Hsun Shih Cc: Pi-Hsun Shih , Rob Herring , 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 v9 5/7] dt-bindings: Add binding for cros-ec-rpmsg. Date: Fri, 31 May 2019 15:38:46 +0800 Message-Id: <20190531073848.155444-6-pihsun@chromium.org> X-Mailer: git-send-email 2.22.0.rc1.257.g3120a18244-goog In-Reply-To: <20190531073848.155444-1-pihsun@chromium.org> References: <20190531073848.155444-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 Acked-by: Rob Herring --- Changes from v8, v7, v6: - No change. 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.22.0.rc1.257.g3120a18244-goog