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=-12.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FSL_HELO_FAKE,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_MED, URIBL_BLOCKED,USER_AGENT_MUTT,USER_IN_DEF_DKIM_WL autolearn=ham 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 95A70C282CE for ; Tue, 4 Jun 2019 17:57:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 722412075B for ; Tue, 4 Jun 2019 17:57:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="nTlQhMCi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726648AbfFDR5i (ORCPT ); Tue, 4 Jun 2019 13:57:38 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:34230 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726303AbfFDR5i (ORCPT ); Tue, 4 Jun 2019 13:57:38 -0400 Received: by mail-pf1-f193.google.com with SMTP id c85so4354454pfc.1 for ; Tue, 04 Jun 2019 10:57:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=t6nRtxNUPqh5Z/Zd2Lm8XPgS1hMkd1CYB8UujWfxC7Q=; b=nTlQhMCisSBubZWMXjKPelLpr6RksrP9pS90I2cSz/kMGif7H/Ap0kQIJjfBB7UU4I bv9izx7ED5AXrnJYKQ1rJ3FdTF+8vt/yZX8lug9eUORLfiX/mFm4c4mO+NJM1ldkZW72 /qW3UB6mhbwyNrhv8p2WMGwcW7DPxANMsNAf3mtJopHxFeR9uX03hpfAOruT1EYZ36rG DDLq9oj06019IG18jQX9AB14Q3AMUMJzXM6N/JkG7XZZQ5gVydt5fRrcNbto9HH6QlTK fKZ9lbvvBQIlPV+5iZ2sphmAI5o6/vxB7/88gheuaehkNVynnHApunjAdZ9AqABRc47O XMsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=t6nRtxNUPqh5Z/Zd2Lm8XPgS1hMkd1CYB8UujWfxC7Q=; b=iEpjT6b3kyxITqZ3EDVA5VKuJl3xqv1MpDR56w/LTUkSQCJgz5L5rePmlrJG3y3Kpq bkyLJ6Whs/+4wagfRzkMn4UTV7zBgNRvJBBak/dex2ARc3pPgXUQzuabA+AI5/p+3dTy UH5eo3UZbHiYg9NSjn3aBoeOUvJ1deDPqjlHFrpRfaoyOXcCTvllWbw6CSRpAm3b52Nd lGeRW9emVPlpjh4fLU8WSSmZN4aVwPA1uyR7NTqqCF3hueJvWBm5Wi3JSHIdd0al8OS0 jZKfpWYkjRIBYRKJ8zUH4YIyPGcYDmOZooemsgw4TWFwDnwwQemCvEFLD1DKvy5Rk2ib 8Q2A== X-Gm-Message-State: APjAAAUN5PhRV9nVEFYh4LzRuyH50JHchwid1TmZaDTi7J3+s116D2td 97MS1c8VTgmfm/iqgLYOARe5uw== X-Google-Smtp-Source: APXvYqyAw+GAG8yrWBrkEDa5ptODblm5FBQl6/nW1vzjq2uaDnlK4j4zrZ6AweVC8FNn2wO2DwuCqA== X-Received: by 2002:aa7:940c:: with SMTP id x12mr10683953pfo.80.1559671056609; Tue, 04 Jun 2019 10:57:36 -0700 (PDT) Received: from google.com ([2620:15c:202:201:bc61:d85d:eb16:9036]) by smtp.gmail.com with ESMTPSA id n1sm19474297pgv.15.2019.06.04.10.57.35 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 04 Jun 2019 10:57:35 -0700 (PDT) Date: Tue, 4 Jun 2019 10:57:31 -0700 From: Benson Leung To: Pi-Hsun Shih Cc: Rob Herring , Lee Jones , Rob Herring , Mark Rutland , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH v9 5/7] dt-bindings: Add binding for cros-ec-rpmsg. Message-ID: <20190604175731.GB241153@google.com> References: <20190531073848.155444-1-pihsun@chromium.org> <20190531073848.155444-6-pihsun@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="H+4ONPRPur6+Ovig" Content-Disposition: inline In-Reply-To: <20190531073848.155444-6-pihsun@chromium.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --H+4ONPRPur6+Ovig Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 31, 2019 at 03:38:46PM +0800, Pi-Hsun Shih wrote: > Add a DT binding documentation for ChromeOS EC driver over rpmsg. >=20 > Signed-off-by: Pi-Hsun Shih > Acked-by: Rob Herring Reviewed-by: Benson Leung >=20 > --- > Changes from v8, v7, v6: > - No change. >=20 > Changes from v5: > - New patch. > --- > Documentation/devicetree/bindings/mfd/cros-ec.txt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/mfd/cros-ec.txt b/Document= ation/devicetree/bindings/mfd/cros-ec.txt > index 6245c9b1a68b..4860eabd0f72 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. > =20 > -The EC can be connect through various means (I2C, SPI, LPC) and the > +The EC can be connect through various means (I2C, SPI, LPC, RPMSG) and t= he > compatible string used depends on the interface. Each connection method = has > its own driver which connects to the top level interface-agnostic EC dri= ver. > Other Linux driver (such as cros-ec-keyb for the matrix keyboard) connec= t to > @@ -17,6 +17,9 @@ Required properties (SPI): > - compatible: "google,cros-ec-spi" > - reg: SPI chip select > =20 > +Required properties (RPMSG): > +- compatible: "google,cros-ec-rpmsg" > + > Optional properties (SPI): > - google,cros-ec-spi-pre-delay: Some implementations of the EC need a li= ttle > time to wake up from sleep before they can receive SPI transfers at a = high > --=20 > 2.22.0.rc1.257.g3120a18244-goog >=20 --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --H+4ONPRPur6+Ovig Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQCtZK6p/AktxXfkOlzbaomhzOwwgUCXPaxCwAKCRBzbaomhzOw wrfuAP9QcQ2v/pDWTXePJ8PoBlW9S+7RIpMiCvQTzUnjpZ+iKwD/bQPNeneMkrd5 fBrGE9T80lwQ9Bjy29YcKEPBBfGIRQI= =SqoY -----END PGP SIGNATURE----- --H+4ONPRPur6+Ovig-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benson Leung Subject: Re: [PATCH v9 5/7] dt-bindings: Add binding for cros-ec-rpmsg. Date: Tue, 4 Jun 2019 10:57:31 -0700 Message-ID: <20190604175731.GB241153@google.com> References: <20190531073848.155444-1-pihsun@chromium.org> <20190531073848.155444-6-pihsun@chromium.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="H+4ONPRPur6+Ovig" Return-path: Content-Disposition: inline In-Reply-To: <20190531073848.155444-6-pihsun@chromium.org> Sender: linux-kernel-owner@vger.kernel.org To: Pi-Hsun Shih Cc: Rob Herring , Lee Jones , Rob Herring , Mark Rutland , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list List-Id: devicetree@vger.kernel.org --H+4ONPRPur6+Ovig Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 31, 2019 at 03:38:46PM +0800, Pi-Hsun Shih wrote: > Add a DT binding documentation for ChromeOS EC driver over rpmsg. >=20 > Signed-off-by: Pi-Hsun Shih > Acked-by: Rob Herring Reviewed-by: Benson Leung >=20 > --- > Changes from v8, v7, v6: > - No change. >=20 > Changes from v5: > - New patch. > --- > Documentation/devicetree/bindings/mfd/cros-ec.txt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/mfd/cros-ec.txt b/Document= ation/devicetree/bindings/mfd/cros-ec.txt > index 6245c9b1a68b..4860eabd0f72 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. > =20 > -The EC can be connect through various means (I2C, SPI, LPC) and the > +The EC can be connect through various means (I2C, SPI, LPC, RPMSG) and t= he > compatible string used depends on the interface. Each connection method = has > its own driver which connects to the top level interface-agnostic EC dri= ver. > Other Linux driver (such as cros-ec-keyb for the matrix keyboard) connec= t to > @@ -17,6 +17,9 @@ Required properties (SPI): > - compatible: "google,cros-ec-spi" > - reg: SPI chip select > =20 > +Required properties (RPMSG): > +- compatible: "google,cros-ec-rpmsg" > + > Optional properties (SPI): > - google,cros-ec-spi-pre-delay: Some implementations of the EC need a li= ttle > time to wake up from sleep before they can receive SPI transfers at a = high > --=20 > 2.22.0.rc1.257.g3120a18244-goog >=20 --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --H+4ONPRPur6+Ovig Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQCtZK6p/AktxXfkOlzbaomhzOwwgUCXPaxCwAKCRBzbaomhzOw wrfuAP9QcQ2v/pDWTXePJ8PoBlW9S+7RIpMiCvQTzUnjpZ+iKwD/bQPNeneMkrd5 fBrGE9T80lwQ9Bjy29YcKEPBBfGIRQI= =SqoY -----END PGP SIGNATURE----- --H+4ONPRPur6+Ovig--