Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp385997ybt; Fri, 26 Jun 2020 01:43:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBJ6/J8i3YyyJlWK8verzwdfH+mui9iXbO8XS/L23VzOT3cQR2B7o1SSlAtDJ9CzMJ2BA5 X-Received: by 2002:a17:906:7002:: with SMTP id n2mr1546582ejj.340.1593161024198; Fri, 26 Jun 2020 01:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593161024; cv=none; d=google.com; s=arc-20160816; b=rq8AGdkTpT5kinpwjz8liSiQ+9PI62RByJbkNWJ0Y4Ht4VxI/trmkBBJxSxtnU10WQ J7aJ0iEKYXGzrRrL0U5f2j0TVseHtFl7Rq1zg1ydYvQxUlYoIaR2DkVUp5mitrYlY+2y 44br44+p1eRZ0sU+5XiNVlmkksNmKT4Thz2IfqXS5oBsDq590mdHEnNlvEOJdP1uy+6K eCB0Co0PEcKuF3lSDwkW7wgsi4nvJBs9OqYyRKFiqzUuJGxfAovHnQsZSWD49BmeqgyY OBAfQzZIswLxUpFMIGD/PE0ej3/nVaaOxSFpvc8zPLGGfzQvrK/DMT0kWIcamuKmX/tG /x0g== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=j5mneqDhl3CqdwbhBgBP2wc3azoZnDFqG1/2YEazv5o=; b=1ITyIp1P7XfL3fFzd5msOYRu0yZojACFJGFyDj+z//jWPyoIxStwLFpte3HvTDtOyj OkwAjzOJaDrBVmvA/zNwPN1TGpw1s67moM84BPmweY4wmDfALMT15X9G19+0HHPMDQkS ey+0OtaUZk7V6ZRk1xTY7ehuy/2BKaqxbTp+083adNInJrm10Oxotd6eZJ9pz6Us+EBT wRtry6wvD3gt7XemOQxPJTAni4qdjxDveTVtWgpmsgHot2UGi5w3899J8yCHvfZtbFHm 6nhN7hnG+miF7TbNyrlyM4zh4pvoLULeIfnfzdezla17L+ld7kRCd8EbxzpBvFHGU4iR vC8A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f6si2125809edv.159.2020.06.26.01.43.20; Fri, 26 Jun 2020 01:43:44 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725935AbgFZImc (ORCPT + 99 others); Fri, 26 Jun 2020 04:42:32 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:46574 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725841AbgFZImc (ORCPT ); Fri, 26 Jun 2020 04:42:32 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 9DE972A59A3 Subject: Re: [PATCH 2/2] dt-bindings: mfd: Add DT compatible string "google,cros_ec_uart" To: Bhanu Prakash Maiya , linux-arm-kernel@lists.infradead.org Cc: Benson Leung , Guenter Roeck , linux-kernel@vger.kernel.org, "Lee Jones )" , Rob Herring , Raul E Rangel , Furquan Shaikh , Duncan Laurie , Eric Peers , devicetree@vger.kernel.org, Bhanu Prakash Maiya References: <20200625131432.1.Icb23b633700f1ef4d123e3f21fd26fad21a3f207@changeid> <20200625131432.2.Icfeab15fa04daaffc61280faf5a75cd9b23ee822@changeid> From: Enric Balletbo i Serra Message-ID: <8ef4bb35-b2c8-ffdf-cefc-38c0d43d89e9@collabora.com> Date: Fri, 26 Jun 2020 10:42:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200625131432.2.Icfeab15fa04daaffc61280faf5a75cd9b23ee822@changeid> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bhanu, Thank you for the patch. On 25/6/20 23:34, Bhanu Prakash Maiya wrote: > Add DT compatible string in > Documentation/devicetree/bindings/mfd/cros_ec.txt > > Signed-off-by: Bhanu Prakash Maiya > --- > > Documentation/devicetree/bindings/mfd/cros-ec.txt | 9 +++++++-- txt bindings are somewhat deprecated now, this specific binding was already converted to the new json-schema, although didn't land yet, you should base your changes on that, you can pick the following patch: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20200306085513.76024-1-ikjn@chromium.org/ Also, the kernel test robot, reported a build problem, so fix the problems on the second version. Thanks, Enric > 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. >