Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp288543ybh; Wed, 15 Jul 2020 01:54:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJxB0mzFYhaFdFoWCHqgEi1rIzM9KYSG55N8mr8tJAOFULRe7rJJUlVfdokTSLYckbcA+p X-Received: by 2002:a17:906:6dd7:: with SMTP id j23mr8037992ejt.529.1594803266848; Wed, 15 Jul 2020 01:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594803266; cv=none; d=google.com; s=arc-20160816; b=QAsoafp+Hw/FRR9RvdNW9CLQYf1g1pMhchffTFVDtIZwIrMMf89xXlGjqsyYI1wIEs akgdnuCqPSmvRG/8ybIitYmY5nIuib9kqwXUwkCZ0nsukz6vpZyvgSpwAVDhcNsWqlYd uBA5MbEkU59bZ8qfOg/tzwpLnzynHZ8ZhicP3zoKZSO8eKR0xeu58MNKDqrE9M/N/pUO OnoL7EfsqUQGOWph3KF2cdPDNshgtzS/W1dESYyv+Z1mp+7sxzRU3rLUuNUlpo4aSEPz /ziTLfLnJ0QUY5xqYjHvtGIz5SqVuoILO2MpVxPYLr52wptiLnNyCmo8/xk9lYmrGGYQ xCrQ== 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=AvUYaZdTBJOJT4skplAAvkJuJ1Wq6R9AP4tH75ZrRy8=; b=ovib66XBdxTd5aZI4RoG5eOMptoVGWfpKdHcgsPbRyrTdZ7WLxchNm0pK5wEaX/uYd BKTIOZlyHGpf/+rlPG0qGATdUs+CH4Ib+E/XtHIhIsQh/juviarGUVH2xydPSqwIlXc2 MHpLccRZPoQzHbbj7dEaS8vkriOYb/XKEec3eqBA0Oi9KVvNP1r9BWKikOexDtX6qwZc N0C/sfuRVdisVyncHu9eYVvXyzdqN5YukK7380cNgGfkA/52H8a0Qn3ZN0BXFId9X4Gz jUNSPg8QOaTnwIcK7sKKN7Ab5jTimw1zStANSwsNuf/VzA0XENuKdh5Dbc/kc/culdt6 /xgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="a03ni/S+"; 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 mc14si888451ejb.282.2020.07.15.01.54.03; Wed, 15 Jul 2020 01:54:26 -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="a03ni/S+"; 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 S1729830AbgGOIZt (ORCPT + 99 others); Wed, 15 Jul 2020 04:25:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729826AbgGOIZs (ORCPT ); Wed, 15 Jul 2020 04:25:48 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A666BC08C5C1 for ; Wed, 15 Jul 2020 01:25:48 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id t11so1758492pfq.11 for ; Wed, 15 Jul 2020 01:25:48 -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=AvUYaZdTBJOJT4skplAAvkJuJ1Wq6R9AP4tH75ZrRy8=; b=a03ni/S+QZlAxNdYtn54fZdmDTQtr3DBCOJOCY8BRoSjPtfaoL9nZOJDyXCOWVZFDC ADCkB+1YpTIf5E2eCiCBDrnbGDkFRKf+au4RFU01ZmH8oeoETZuTZHG3wKi2MeEBD51D kDRgi3ll1SSf0CKFiAluKcYqgUS7NQstGyGYs= 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=AvUYaZdTBJOJT4skplAAvkJuJ1Wq6R9AP4tH75ZrRy8=; b=U7sxxU6PwNtSaIOtSnHCr2EtKnXZDJ9MFoTUrtBi3gEETBV7Wr5aFdSbPPCcS5hfSq 82+A3FPNYj4XTc4MVQ9TlnNYE7ogtbZ6er9PnAnNC0ir6wIvEljyliSyxbhwBVfNB6NT VdedsvAp4ZrJfr9E/TSCdPuT6pw38vvKArrdjm918JPg7wj2nQq4Xii9k+/qnkRl+Wr0 I4moveMomdJwHZ1OVbF7/9r3Gg95/qeHUxKIoEoIwRnOlc77tiLKloVb8Fco+KDVrOOm q5OShP37Elw0sEx0TtUwGRxDmDPolJwmK5Z7YveAAQJtj0qPUr2L3C5zcy1hf2qrBrha gYnA== X-Gm-Message-State: AOAM531M3lwteXy8LGgAvVMZHp307qN8BnOA81I0oD/gQeDT5ABbMu4m s8HX/Cjv2Zt127lsXUyMgT7GRQ== X-Received: by 2002:a63:925a:: with SMTP id s26mr7072727pgn.21.1594801548068; Wed, 15 Jul 2020 01:25:48 -0700 (PDT) Received: from bhanumaiya-glaptop.hsd1.ca.comcast.net ([2601:646:9500:590:250:b6ff:fe8e:b459]) by smtp.gmail.com with ESMTPSA id y7sm1093627pfq.69.2020.07.15.01.25.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:25:47 -0700 (PDT) From: Bhanu Prakash Maiya X-Google-Original-From: Bhanu Prakash Maiya To: linux-arm-kernel@lists.infradead.org Cc: Lee Jones , Furquan Shaikh , Raul E Rangel , Eric Peers , Duncan Laurie , Benson Leung , Enric Balletbo i Serra , Bhanu Prakash Maiya , Guenter Roeck , Mauro Carvalho Chehab , "David S . Miller" , Rob Herring , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-kernel@vger.Kernel.org, Bhanu Prakash Maiya Subject: [PATCH v2 2/2] dt-bindings: mfd: Add DT compatible string "google,cros_ec_uart" Date: Wed, 15 Jul 2020 01:25:26 -0700 Message-Id: <20200715082526.1760426-2-bhanumaiya@google.com> X-Mailer: git-send-email 2.27.0.389.gc38d7665816-goog In-Reply-To: <20200715082526.1760426-1-bhanumaiya@google.com> References: <20200715082526.1760426-1-bhanumaiya@google.com> 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 From: Bhanu Prakash Maiya Add DT compatible string in Documentation/devicetree/bindings/mfd/cros_ec.txt Series-to: LKML Series-cc: Raul E Rangel , Furquan Shaikh , Duncan Laurie , Eric Peers , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , linux-kernel@vger.kernel.org, Lee Jones , Rob Herring , devicetree@vger.kernel.org Signed-off-by: Bhanu Prakash Maiya Change-Id: Icfeab15fa04daaffc61280faf5a75cd9b23ee822 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.27.0.389.gc38d7665816-goog