Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp110404ybt; Thu, 25 Jun 2020 16:42:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzf1iQ+yzVbyYcTmaM3MVU+QnLJhFkwCFecmnLTgOWiI9KqjQwl5UIvkFTQEn+kSG4DjcJ3 X-Received: by 2002:a17:906:8401:: with SMTP id n1mr175714ejx.479.1593128530769; Thu, 25 Jun 2020 16:42:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593128530; cv=none; d=google.com; s=arc-20160816; b=Wo8oQ4w1EZzq2uhsOplnKzK/oRtCVmtSbDBgwLaOysScS3gGbY+str+G+neoLnRAz3 TDJU4d0t6oSdbG06MKnbd1wBEZUAmd72oHT0KfSHSChJ7b+xr3CelBhXdo+03rWEU7hW rNNSfbcYpdbzF89pvCQW6mwPcWjZBes5CACQjDa7BJOJWbKOCtoB0oRTlQFKA4CbkX4j QJ/zCzx9QLoEPeQ4NC6IZoLTnvRfo3IzkZzznkjSaWl5tl4hY/YF4bW/ZqX0eolEiIwO nc+yHcujEY1p3Usa15iAjVnEtnUoUxR30+iQrUNB3N5BaoTj0VqHDScpKEzIrL7CEb6d IKvw== 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=sQiwKhrspW+Ux+XDva4IeowK1f21GzmRdKw3zd5GzAw=; b=VJHivO3OXXUrdSDPhsxyd0UqHVbTzFCCX74jjPgzuHsLeV5EG2HYpgJGFrlSpNzvfl AM/4g4QLjjN/6zsHosWuLbiGA83xqokww8x15VLSELhSk0IoIck0cNOuKKT0a8Ei1FAV c0mA26GI7T3wt9H9pv2xjF2ZVm6Da8bBeE45UfrG1sykHPJ/6OYEQsnTOZmD1EOj9atz Y2xm4P4AnQHAlLuVOclwDTpvfvoScXMeQbOunlAZdmfjy7vjHl0kimtVewDDyCrJSt5T Xvw25x1sDuHjtQ/VomxcADroQC3Uc33S4bnuhCqx6/w8hALkurh2vuLuFG8qLwgQoceZ bLHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ba9e1OEf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si10490768ejx.555.2020.06.25.16.41.47; Thu, 25 Jun 2020 16:42:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ba9e1OEf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407237AbgFYVeO (ORCPT + 99 others); Thu, 25 Jun 2020 17:34:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407223AbgFYVeK (ORCPT ); Thu, 25 Jun 2020 17:34:10 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BACD5C08C5C1 for ; Thu, 25 Jun 2020 14:34:10 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id x8so2483903plm.10 for ; Thu, 25 Jun 2020 14:34:10 -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=sQiwKhrspW+Ux+XDva4IeowK1f21GzmRdKw3zd5GzAw=; b=ba9e1OEfbD0rbFOzKrl8oFxsCSmfFk0POlzXr8MadFEOOiGd3iPLmZawoaZMWAZ3xO ZsfUJoOMv+1q49KTSKWtEFsTPxfucLRWOiAExjugwrdL1gkGmBOwRjvTeEd3py0SCGwJ VxQ6XIE39180xlW0zfe0rSj8E2BXXYF28OGqk= 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=sQiwKhrspW+Ux+XDva4IeowK1f21GzmRdKw3zd5GzAw=; b=XmtpBsGGxRyCCJCJ4eLeN/FnYxU3mm00kRg5wgQh1IYR+uZpfI24Tk4jj230XZ56Qj jqb5m1S+UHFgKl+R7YESYBHJxBtD+UNFdg/0KIdBSE0dtjDnvUbBIByZ2L5vWJdIQjGP oKh9Trmb98pstkqwzWf3RJMQm5dhwMNziFYZZaPJvU4KD4114QZiRUxLSNT5ILjbDlWB 34tHAf/Bs225hco/707HThbK7/3AXx1PYZHqpD3HhIQLP0QLH8j/q7DPvmfrgCwVHLXf uP48QBVUHlurST7Z+cKiRC5AosliT1a+a91EWoUpdRfCwlDJ6+gPQZNfsknFY5INDJJA y6Zw== X-Gm-Message-State: AOAM5333atvt0nb14AD/nmNEFByb4pLQv8X5V2EQ7kaJY/X3ojwF+vfO TWd3kd+eiv7Vx/iFdidTRYK5Hg== X-Received: by 2002:a17:902:a982:: with SMTP id bh2mr34861515plb.2.1593120850338; Thu, 25 Jun 2020 14:34:10 -0700 (PDT) Received: from bhanumaiya-glaptop.hsd1.ca.comcast.net ([2601:646:9500:590:4bb2:fb06:d31f:eb48]) by smtp.gmail.com with ESMTPSA id w1sm4107424pfq.53.2020.06.25.14.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 14:34:09 -0700 (PDT) From: Bhanu Prakash Maiya X-Google-Original-From: Bhanu Prakash Maiya To: linux-arm-kernel@lists.infradead.org Cc: Benson Leung , Enric Balletbo i Serra , Guenter Roeck , linux-kernel@vger.kernel.org, "Lee Jones )" , Rob Herring , Raul E Rangel , Furquan Shaikh , Duncan Laurie , Eric Peers , devicetree@vger.kernel.org, Bhanu Prakash Maiya Subject: [PATCH 2/2] dt-bindings: mfd: Add DT compatible string "google,cros_ec_uart" Date: Thu, 25 Jun 2020 14:34:02 -0700 Message-Id: <20200625131432.2.Icfeab15fa04daaffc61280faf5a75cd9b23ee822@changeid> X-Mailer: git-send-email 2.27.0.111.gc72c7da667-goog In-Reply-To: <20200625131432.1.Icb23b633700f1ef4d123e3f21fd26fad21a3f207@changeid> References: <20200625131432.1.Icb23b633700f1ef4d123e3f21fd26fad21a3f207@changeid> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT compatible string in Documentation/devicetree/bindings/mfd/cros_ec.txt Signed-off-by: Bhanu Prakash Maiya --- Documentation/devicetree/bindings/mfd/cros-ec.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/cros-ec.txt b/Documentation/devicetree/bindings/mfd/cros-ec.txt index 4860eabd0f729..ec8c5d7ecc266 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, RPMSG) and the +The EC can be connect through various means (I2C, SPI, UART, 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,10 @@ Required properties (SPI): - compatible: "google,cros-ec-spi" - reg: SPI chip select +Required properties (UART): +- compatible: "google,cros-ec-uart" +- reg: UART baudrate, flowcontrol + Required properties (RPMSG): - compatible: "google,cros-ec-rpmsg" @@ -72,5 +76,6 @@ spi@131b0000 { }; }; - Example for LPC is not supplied as it is not yet implemented. + +Example for UART is not supplied as it is not yet implemented. -- 2.26.2