From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F917C433E4 for ; Wed, 15 Jul 2020 07:41:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E71D2074B for ; Wed, 15 Jul 2020 07:41:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="f+Dn03KR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729426AbgGOHli (ORCPT ); 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-Google-Smtp-Source: ABdhPJwdIyl+Cj2fnLiyn88Dkk4vqmjyO0G0lTs61W3SiY4aHSV6l3vq6T/EKaxcrMusAfm6fs6vtQ== 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