Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3999370rwl; Tue, 27 Dec 2022 19:58:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXsaNL78X+y36C1lqSMAbNHNXYsQ4vAVbiOLf78I4w01HfwCw5TLsbmas9VabkQ6LCDw32gx X-Received: by 2002:a17:902:e846:b0:189:f990:24af with SMTP id t6-20020a170902e84600b00189f99024afmr36789057plg.20.1672199883734; Tue, 27 Dec 2022 19:58:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672199883; cv=none; d=google.com; s=arc-20160816; b=XuQCJUOonzUMsQLIJJCp1ur7QOeX01jUwH6zWzHu9WjnOE9LAd5fiIUTwnigBVD8hW YaA2UTBoLFm7B3Z7DdRcrNuHNr1f/lepMB00yUHGK89zG0iXVkDf8NQJ9gVCRZYJvFQc wtlec/Dbxp8KS3fy+mLtzksoBsw0DF/ZMDZWPI3dM1EZlB6XB4LnwL/zitl1vC1+thAK g9ypL18vSXTqV3DB3t3PMEjzxsNTKm/Ly1GIUINUUGNIl3zJQqYo7kjSolDw1RRHDAYj 0vyGs7B95dAiLWmjWKuRW1Cfb7Qkz1uFLTRGYoANLOhBbh8NdMsIV8adlWciQ3lzEPkb bvlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=67r28DMNzGXNVIA+VIc+IVY7CSE91+cEWyCCJVjQgHM=; b=fhKCwo2+DyVU7HTb5sms/ffBOfx0P9MwR1k9yc6IV8cdNA9kNBPAjESzi62OE0+SF8 xJYGSmY6wrFAvt/LnUkZ6OTInqQR40rSf6CuaBm63EhKVaQW61yHvz+RxGY6mqpVT1bX h3RsPwNL4I3CevjRHEflwbf9fWRhxMCxw6jpUeMFyYBOTNjigDAOOOyclYpiZWL0HTo8 laMbcA1CPw55xKdNdmpJEbYkyX4y5O5jFqH7HI3ACIgApPeKpHI6yDmAbKx9+g0FeOc5 1w2VCvWCgrOT9Pz+2Hp32+CdltrjOH8tf6AdQ19j2Ckqvt+clq4FYLAnwlIOCCLrY9/c SbPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mr/QYDTp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u16-20020a170902e81000b00181dc40f516si17158854plg.146.2022.12.27.19.57.55; Tue, 27 Dec 2022 19:58:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mr/QYDTp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229785AbiL1DuV (ORCPT + 66 others); Tue, 27 Dec 2022 22:50:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiL1DuR (ORCPT ); Tue, 27 Dec 2022 22:50:17 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1155F65AF for ; Tue, 27 Dec 2022 19:50:17 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 94560612E1 for ; Wed, 28 Dec 2022 03:50:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id E4335C433D2; Wed, 28 Dec 2022 03:50:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672199416; bh=iVSbpG5q72cpxth8FTXCpTOZjGJPR4Wcqvruu7fBW0s=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=mr/QYDTprNgtLfO/gEpob0rXmNgA7J+1kTJ3jFZBudtNoweC/dB1XQd+5MTZ99Bbd nHL9RT0KH7rFAMVfmMgcKZpLPGny+0ge8BEnpry973q1oenH9MG87258d2NBNWvz7O FKUkotyJXVU7QYaD8a+njiR6T/FU29XS+CH9Og4NToVbd9VJnVWw3R0sAo9KmThFm6 i4mCsuAQNY73JkCU3qkOPTb32bgMKUmeQt+Z8GA1kro25JlRGBqjfevIZB61mE7Dlx zwDAuWb7lYnrXR9aAbJuYB7puutAQtYIhiSMMnNyYPR3jz0uCBvOhfw2LBcEgpqgn1 AQLSWvIrRn/EA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id CB3E1E4D029; Wed, 28 Dec 2022 03:50:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v13 1/3] platform/chrome: cros_ec_uart: Add transport layer From: patchwork-bot+chrome-platform@kernel.org Message-Id: <167219941582.31925.13873263945811927474.git-patchwork-notify@kernel.org> Date: Wed, 28 Dec 2022 03:50:15 +0000 References: <20221227123212.v13.1.If7926fcbad397bc6990dd725690229bed403948c@changeid> In-Reply-To: <20221227123212.v13.1.If7926fcbad397bc6990dd725690229bed403948c@changeid> To: Mark Hasemeyer Cc: linux-kernel@vger.kernel.org, rrangel@chromium.org, bhanumaiya@chromium.org, pmalani@chromium.org, bleung@chromium.org, groeck@chromium.org, tzungbi@kernel.org, chrome-platform@lists.linux.dev X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This series was applied to chrome-platform/linux.git (for-kernelci) by Tzung-Bi Shih : On Tue, 27 Dec 2022 12:32:22 -0700 you wrote: > From: Bhanu Prakash Maiya > > This patch does following: > 1. Adds a new cros-ec-uart driver. This driver can send EC requests on > UART and process response packets received on UART transport. > 2. Once probed, this driver will initialize the serdev device based on > the underlying information in the ACPI resource. After serdev device > properties are set, this driver will register itself cros-ec. > 3. High level driver can use this implementation to talk to ChromeOS > Embedded Controller device in case it supports UART as transport. > 4. When cros-ec driver initiates a request packet, outgoing message is > processed in buffer and sent via serdev. Once bytes are sent, driver > enables a wait_queue. > 5. Since ChromeOS EC device sends response asynchronously, AP's TTY > driver accumulates response bytes and calls the registered callback. > TTY driver can send multiple callback for bytes ranging from 1 to MAX > bytes supported by EC device. > 6. Driver waits for EC_MSG_DEADLINE_MS to collect and process received > bytes. It wakes wait_queue if expected bytes are received or else > wait_queue timeout. Based on the error condition, driver returns > data_len or error to cros_ec. > > [...] Here is the summary with links: - [v13,1/3] platform/chrome: cros_ec_uart: Add transport layer https://git.kernel.org/chrome-platform/c/04a8bdd135cc - [v13,2/3] dt-bindings: mfd: cros-ec: Add UART compatible string https://git.kernel.org/chrome-platform/c/5be8cd61dcdd - [v13,3/3] platform/chrome: cros_ec_uart: Add DT enumeration support https://git.kernel.org/chrome-platform/c/c34fea225806 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html