Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp253593ybh; Wed, 15 Jul 2020 00:44:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxV3wkbcxMwc9vgOfGQy1xKkm6R2VaVezjLi+ZebJF8A2uotUuobAfuo3tnQciWnwiBT8Tv X-Received: by 2002:aa7:c2d7:: with SMTP id m23mr8319558edp.216.1594799088134; Wed, 15 Jul 2020 00:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594799088; cv=none; d=google.com; s=arc-20160816; b=rKk06E4fl1uCFk9sUWJRK0dS2oj1Pwurja7ysu2C8t5uZ7o/1Pw6tbGg3OEMeQS5zY ZjAP4xiA5ZgiNBS51IWsu0SVsd75OcRngiLzEriVBkogAtfQUwwkMOR1x+7kmBUAhjSO t5RUrgH8d1lTCow3ki666okTjW3xGwBj1XJS59mkTC0QkIninS8N819/NiUI5t9C5qwS nHIN8R3RDZTZuXTkkRNWH+utVCa1zVzCobeadObo3kTD8B9ujtUTIRHlxiLd0/Y+pIpc cqgky9Gvc0ChIaJXSkAMA5mkF4VzZq0lY7gttymFauD6jFn3LKH1HoSUHuGGVJQ0eUdy Y1TQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=PzeyV6YpwAf35s0/H0MKlw0rqFvNzgBGZ8Pmq2tguu0=; b=Y4p910xvDvwlb7KAf32L6ix8pbctEErNZRKqo3MW5G41oYzrbw2HT0HzXmGWMElcqN iLqNMYYJFS/VrMzpaWr9v70wBWXwcpX6DmqlQZAD1/zVVLztXMS9JoNxcnhDEsGfDRPB xc/q4JC/nVz/Z+Q3CAhbwiMDqs3bHc3G9AK+VJsDGUV6UWhk0KZbPxfTI/+CgXrc7ETu oT2/XS0W/EMz/6jcyDiZilmNmH60A9VgcAmJG/iQF6eHpcS/11veP5jAuktp8oESIxdg BFZuZqdl3lx7baN/rpHO0dKrX3MOetk8WLxqnCEyXMKSvY6DUJHtJopoZfqfJivD8Dqb ldBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=f+Dn03KR; 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 cy16si740547edb.549.2020.07.15.00.44.24; Wed, 15 Jul 2020 00:44:48 -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=f+Dn03KR; 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 S1729421AbgGOHli (ORCPT + 99 others); Wed, 15 Jul 2020 03:41:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729405AbgGOHlg (ORCPT ); Wed, 15 Jul 2020 03:41:36 -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 2B152C08C5DB for ; Wed, 15 Jul 2020 00:41:36 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id 72so2050701ple.0 for ; Wed, 15 Jul 2020 00:41:36 -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:mime-version :content-transfer-encoding; bh=PzeyV6YpwAf35s0/H0MKlw0rqFvNzgBGZ8Pmq2tguu0=; b=f+Dn03KRTXs+IMJt8Gx0i/3xnbsIzCkg5RLdKO8WyDVDYac/UXNtpUn07eJf2Gl10/ RDD7XriEc4ZIK/XPyxxSFjD9fBNPcL38koB2iQHqP6PCcm+djwVgD3xm9qaEXjTUe5ln ke+fdcvJ6BGxAQqofUxlrFsUWNI3YLTlkFWPw= 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:mime-version :content-transfer-encoding; bh=PzeyV6YpwAf35s0/H0MKlw0rqFvNzgBGZ8Pmq2tguu0=; b=Ib2ETXPWfwQfci6c/rkPIrffrmDDzwJeZcahp31IY1kJk+dXdZ44k4BDoiKW9Z6MU2 WBZvQtadJc20IwNLTZU9WkhMNgijFZZSo0c5jt3oewbVuf7eAM/bhj6RinmIFeNQGaS6 YuFhmnYdXq6zSVyhXf+thVJNb9e8wQyGRnLixpVp5T01TlLvjBaPAxVDZU6dp+vPXb+u MZN0y6XYKtkL8G+GSrrITMLnaBB9X/GXDy4QOb3ZI213mkXNQP2Kg3gCSsm5OrIFhO79 1BEYI8SyjZg0SlyznFW56902oCQolfsaK1yxCgXRt/YINsw6h2s69zzOcpcwWow/x/fF BejA== X-Gm-Message-State: AOAM530DWKtYxLk+YUF5xxz4Wc0Js0hEp6Xl/7tD79/evT1du/QP8qTG 9GMGY0xN9Dt2BC2Ipk34d0iXFQ== X-Received: by 2002:a17:90a:8904:: with SMTP id u4mr9296881pjn.87.1594798895760; Wed, 15 Jul 2020 00:41:35 -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 r8sm1234261pfh.29.2020.07.15.00.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 00:41:34 -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 Subject: [PATCH 2/2] dt-bindings: mfd: Add DT compatible string "google,cros_ec_uart" Date: Wed, 15 Jul 2020 00:41:31 -0700 Message-Id: <20200715074131.1754203-1-bhanumaiya@google.com> X-Mailer: git-send-email 2.27.0.389.gc38d7665816-goog 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 --- 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