Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4090765rwl; Tue, 27 Dec 2022 22:05:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXs2XQsmhgf3r5Whw4tKSMR36W1Z9Kj5Ql5T0nTUxL6K3iHPe9x2t0KqH5DMICV7+45QRyLG X-Received: by 2002:aa7:d8da:0:b0:474:5de4:a5d1 with SMTP id k26-20020aa7d8da000000b004745de4a5d1mr24754256eds.39.1672207503033; Tue, 27 Dec 2022 22:05:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672207503; cv=none; d=google.com; s=arc-20160816; b=q8fVszZuLPjlLfqgbwoYpSJ9cJjht2cP0/CvjtBFfzS8Gi+/8dg4cZforxCMw7bnEm xySfYQm8NPa5gYuKVMlDN5ZAl4RhpF+UYKGP79t5yhv1ZCXOISXnIyRYkYAAW1DohOiJ fI+O0BKsC1bEMhKtmBtysN1n64BDpLtWYw5NTYTa+r3v8yJndRTCYsk5jca+cr84iw2G QHsqGrQQmD+VgkbQQLY3+gOI42i/OS8H4l3RRJbfrPNfEDMh9Z5iioZ/6xay0YRZwUcf HBImK+C2Omzg+IjPHGyDKVT2p3TZegmRpExbIw4953wG5+rYHKMhcJMugNLX1TTlzJ+S ThNA== 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=jMdrTpCgTOV0IaYIQ4J98VeeH8izZ+5J2h9V8GYUMIc=; b=BZIoDha7nzcuD7CtMJopUyix2vFRulvLoel6AdzT5Zxc/1+o9K9Rhtgkze+SlwCauw Q80Xu6dXaXN5rokX1goDnOv3F0HF/TZG+XHYlqeS54KhC2KzMujWu7TsAAiulebrJFe6 rAndcpbq8uQwpWGM/+0QR41mnEBoXI49opeDLZQnjFBi5my3M/tt7sjgXCNIeKfX/UAT brr0AAPiH8Q6p4BvRSZPX2aWMs8LW8ECmCS0ZQG1m9ZKMYeywX/vnwKKsOvJRgxfEH5W NcbfzMdpWUeqdkDY0LyKa/fAS27UJ/hZMN1n7kFV9z8iSWnBUM29SmUqOYBt2oBWooX+ 9AuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GXzadqtZ; 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 z11-20020a05640240cb00b004683b475587si13767381edb.274.2022.12.27.22.04.44; Tue, 27 Dec 2022 22:05: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=GXzadqtZ; 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 S229785AbiL1FkX (ORCPT + 66 others); Wed, 28 Dec 2022 00:40:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbiL1FkT (ORCPT ); Wed, 28 Dec 2022 00:40:19 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0E6C10AE for ; Tue, 27 Dec 2022 21:40: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 E39CA61337 for ; Wed, 28 Dec 2022 05:40:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3E497C433EF; Wed, 28 Dec 2022 05:40:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672206016; bh=M1Y98MLSEPnhjCHspW3YqG4scBFNBKNAXqYJfKEG9Pk=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=GXzadqtZ2AAi/o0jXp6HfCBxnCFaMfTlK2vkenknivfFydKAoIX2+QD9nnkOwPSDU IjTorWYt0zHFe1rjpRl2M/XkAvEoxiVB4Q/TAqzcVHARX/rOl970gUfV4GXNl2q9tb eXd67hw3i3Ffybe3AqCfm97YgvGc/f/oXL2BDpDfT5eP5n2WloNBdo7lBUwVBc6StK R9Lqx1z9JoUMEqKbMJYROgumumHtzUeo8WxJH4QE9+Dp4nKOY6DQevKdb3FBH+9TS+ k1nfg0OuFLjUfgwprAMnlYydUpyxIFzUfffIIHuOWztgZ2onC8BbKGS9pvQwLB4usD lz9jKaUfXP6sA== 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 20630C395DF; Wed, 28 Dec 2022 05:40:16 +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: <167220601612.11271.6344750587766687879.git-patchwork-notify@kernel.org> Date: Wed, 28 Dec 2022 05:40:16 +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-next) 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