Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp148671yba; Fri, 12 Apr 2019 00:20:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqy0G7FoJjNpXBBsappX2ExcyoIPvVGBawzaN2btTZf5QOzunuSDTrrK/eWuT4euygePzd X-Received: by 2002:a17:902:7d81:: with SMTP id a1mr55151460plm.202.1555053652534; Fri, 12 Apr 2019 00:20:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555053652; cv=none; d=google.com; s=arc-20160816; b=eJSk5cpYbO+e9yhIl6GxT+DzAU40KA/HCfb5aVBsAe7Z8nQFhvms+QnE4umfoblSmC aUZRnI/CnRM6meOg+T6kVYw2EYwy5LDUm3yIQrt/CWpflypeG/KBWRYTAza1Nu9d9PqK 6yKWJZZolXUXCM3zMfBhOPZqbMWxBPEEtewQtjUlWS1M5+iAlkf27M5wH9n9OZhzMwej 2BvNwwXfyE/Kbb0NVKieNE5+JF+AdKg65k7OWE3yxDmbu+J+AXrl/oGUKV/VCik82RkI ub/83hFtzbzqWrB4aHY7TTxZmin/8t+5dCyweoiQwz5gN3iA18jFXNdYq2kO7nKPf+hW PgkA== 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=bpshunN1IL1fT0m4QBe0G901Jh/2yYGqDLMVZIYs7BM=; b=dHZTwjDKlBuUM+4EyRliVj4M0J0+UQSE9vU8+TExzxCchXNgzDPckyjzYNezInTDS9 CI2pRWZOiJnqmT5L12srsVMIkt6AxPyT7cOtXNyPMfMe7PVhIs25iA1avCf3duNXtY64 tJGJUctXgzTsRqROLTtdRv5kSDkP2ntyVE8S5njbWbv2lkn4Bp/vHg9s/Z8Er1oAMRU2 o3IsNwZK/icOj/nWhorFWTMVuw/EAYKMD3wmHrI2uxoowhvuNZVqsrmnllFdlrlEhbc2 eJE4cFUTOexxIZSP5CV19WSt/cjyxxTQxzLVnhN7LqRsanIiBOVCmVuW4vPrkfxtJ3BP hsfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chromium.org header.s=google header.b=dIM65kZb; 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 x5si38044734pfn.30.2019.04.12.00.20.36; Fri, 12 Apr 2019 00:20:52 -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=dIM65kZb; 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 S1727185AbfDLHTw (ORCPT + 99 others); Fri, 12 Apr 2019 03:19:52 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:39354 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726875AbfDLHTu (ORCPT ); Fri, 12 Apr 2019 03:19:50 -0400 Received: by mail-pf1-f196.google.com with SMTP id i17so4704260pfo.6 for ; Fri, 12 Apr 2019 00:19:50 -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=bpshunN1IL1fT0m4QBe0G901Jh/2yYGqDLMVZIYs7BM=; b=dIM65kZbeG+z/n4Lj0fBOoEU14s9vNHO0PTMPStFMkwJ3aoZ2Lxh4b8rVgeQIeMbOB uRYsSxfGeVSGh98fx0ZuOF5g443GUc7Z2Y6EhyOQdjPCaMsp8osmmo2Fo1K7hnpcqgqB 6bUek6hjYZASlWQglgTezX0tAMp/L/XS69V2E= 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=bpshunN1IL1fT0m4QBe0G901Jh/2yYGqDLMVZIYs7BM=; b=TSxLQAKPWc0WwUbx61AgNsMdGGZRsMw9z2FpCbUAqUbdqFKyE9ZaLpOjf0oA8KAwJd 3sRFoqyE4BqWwrhdpCn4ed50iD/TwS/FBQhOcqW7gpML9C1OVtESYfSNtkxK9KSKMKp6 StKII9NWcQo8mpAj/n8BHOTft8PAeYW1LzfWcKbfQp0oqOCcMLCJ4VVKfNZ/gCN+OMsO RjmlTFWVRMteC2JO3UYIRdEmcPLw4KJg1iBgRW2CAMW6FD8JHC6f5D3qhVo8X9Zksyc9 UXYb68GV+h4qepaOWq4mq3G4JvpQFIY0NB8ky3JS9cYeZXA5cyRouQOQIoCBfPKqkRkV r6jQ== X-Gm-Message-State: APjAAAVLWtaXuyR0QV47Meh4jkb1Yw8eyHjmIDx3tdD9yRiy6vSOoMjx uckXlvGyNNNMFJJWKY3/PF3fMA== X-Received: by 2002:a62:5707:: with SMTP id l7mr26494636pfb.205.1555053589759; Fri, 12 Apr 2019 00:19:49 -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 k124sm67466862pgc.65.2019.04.12.00.19.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 00:19:49 -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 v8 5/7] dt-bindings: Add binding for cros-ec-rpmsg. Date: Fri, 12 Apr 2019 15:18:49 +0800 Message-Id: <20190412071851.60332-6-pihsun@chromium.org> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog In-Reply-To: <20190412071851.60332-1-pihsun@chromium.org> References: <20190412071851.60332-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 v7: - No change. Changes from 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.21.0.392.gf8f6787159e-goog