Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp256377ybh; Wed, 15 Jul 2020 00:50:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9iZeHjF4q3jMdMZbc80TO7O7rW9mhapa5LUgfYGWwMXoHGxNW5cMw+luB8FgzJBnCqHR9 X-Received: by 2002:a17:906:d04c:: with SMTP id bo12mr5504762ejb.31.1594799430992; Wed, 15 Jul 2020 00:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594799430; cv=none; d=google.com; s=arc-20160816; b=Uylk/CHrN02EkpfRjajqfoMQs+kG9xQZ9IwRYtBP5PKF8HqwxTgXjAFlIukCuQcam3 Z8breeYm9F27++SEysJXkQNpHi30iLCDjQ/OY/rcN1ROM2YVEhCohCLwVrAAZ483ANTn yywcsUrTatD0YBZiruna3REOwT7Ke6Wat9g5KeNU17bnyJOgemAhwLwInrleSpKZVLJh 8zgqPH2eMQ9j6pqVUvO9UidC38FEPvzp+KUQZMn65tisP15pVjW3SKeb8mPf2AYe7z4I r1LjlV1mS4x5gacHoec3SJ4Wr6KWhfI/mFUqjK16MxqVHVXD2FCR6Z7Ys84mC69f1GxK meCg== 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=UPhl2DL+JRV+5Y41AVHffzvGHtH6AkmXx1L5T3BiBE8xqUeKpiIFPhZe+fAlYAADrN /LDDiB04xQsSIUbIm68h63sB066EV3AosgilXz1gnnHAugGIAdAK2FK5bba1ysZRWV16 8fPoz20i4vbyj48NgljJL5xhi2p7CmkcXu1hBHOT5pzEe+ESFPhqWbEOdGmVEBkFXook fT+DX1rbxSJkZrMpkdbaHXwliIa7yoeqsDEsFmtwi8iYvViCnANQRHPR/JbSsNFKiseu GaouPhuuhcclc6B4IAGCuJqOfJprySg/TgtU/0T0NiKN5gWCv6ve/ohMWXZYwHiFogcq /Pig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Yfvzjf4u; 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 g4si767317edq.459.2020.07.15.00.50.08; Wed, 15 Jul 2020 00:50:30 -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=Yfvzjf4u; 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 S1729424AbgGOHtW (ORCPT + 99 others); Wed, 15 Jul 2020 03:49:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728888AbgGOHtV (ORCPT ); Wed, 15 Jul 2020 03:49:21 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97019C061755 for ; Wed, 15 Jul 2020 00:49:21 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id s189so2660713pgc.13 for ; Wed, 15 Jul 2020 00:49:21 -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=Yfvzjf4uQhFQ3iiZ5Gopk0tjd4eTIzdPUwdWjIhr83TAMELSaGbvOPrOOcdrLn+8Ag W3UC77VHMkmg0jEQ6MY6S8qFzt4J4KBytWDGraf+22OAp9jVSpoO++6zNHYM2JPgi3eF 0dzNj78rTpDvxvwNT+eEwUlOEO2c44ExSxuhA= 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=H8Kr7FYYeVopx5Vlj1BzNwPLS+BUnFOShwuEvissJn0P9VW6UW04/ozkTh9v53WYyk aM8xJE4jxUxwRxs3kuHl0jX9ryLcwKfNOI77H7A0T7rcOY7QfNeO80uTIqxhatqaWNLW DhPdUQquJXOWe30VErCeIMsH4thDb0J2xYnuswnNdpf9HQqwtXIyOU8uXTZNFd1AFwFt hnSMMemW4pRV+5eeYMYu219UA1S9dCTQA+YbYKUwiiH2isq0ErskV24wy4KDyaP4hy2z pVblrkMsHcG4D1JGs7hwIXPiZ6YeuxWMHYGIzCGcak2zKFl3ih4jX7bhzuWZ1lTPu6Xu BzcA== X-Gm-Message-State: AOAM531T/AoNYCtgT4f+OcNuVMeL7RVQ0RL7yUJ8/x+fpTlVfHRz4nXW u49Ad3P9qJK2OELy3vZlMXH7Ic/djyQ= X-Received: by 2002:a62:3587:: with SMTP id c129mr7799705pfa.212.1594799361142; Wed, 15 Jul 2020 00:49:21 -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 ci23sm1203329pjb.29.2020.07.15.00.49.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 00:49:20 -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 00:49:07 -0700 Message-Id: <20200715074907.1756034-2-bhanumaiya@google.com> X-Mailer: git-send-email 2.27.0.389.gc38d7665816-goog In-Reply-To: <20200715074907.1756034-1-bhanumaiya@google.com> References: <20200715074907.1756034-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