Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1888425lqe; Tue, 9 Apr 2024 03:40:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUyrNpnfM5fPzHLqomnWjZrVH9Om613GUy0NzawT04vLTJ5iumw6XZ7Fs/bxmB4uPgpD35mKMQY00eQERQkNFb5XKN8WMAtc5i0C8XTAQ== X-Google-Smtp-Source: AGHT+IGlwteCwSuxuOYft8TrWRzkFGHM2z0W3yNiJAl2T1y7PalB2TYrZyicdvcZ1ghw/tP25IVw X-Received: by 2002:a50:a452:0:b0:56e:2a0a:c133 with SMTP id v18-20020a50a452000000b0056e2a0ac133mr8902312edb.22.1712659208114; Tue, 09 Apr 2024 03:40:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712659208; cv=pass; d=google.com; s=arc-20160816; b=wwEYIz62iavPT0H6Ob0C32Cya/9U/lyWjxa0wsZFaTwpX7bFM5zvxsEsY/tVWqB1Np mShCQra/7HGuqGypYZI5CGV+4qSmjTREYgdVYmsupuSPpj+JZQtqEMsE6A4d9fqS32LG ZWX+WvkissZK0q9hFWHyLJJy/DhwEkCvjdjbOT3X+BAVdoOkjhPjXPIEbi0fGqTM/UY8 wqjeSWKVaOC3OTWz2/3l3TVv7qOE8rvkK+ihSH/ppJi6mJg4Ge/tKNjtEcWQB1fD4XXJ zOSItnsqzCVLUncrUH4roEPxaWfceFgwHuXbxQh2OlQTTnymzGeAb2CPJAZHUaxVE3+Q MfsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4awz7WlMjUp9Aj/krhpwQ+HL2+2OKuH8j5ScIyFR/EM=; fh=FMp0dJvy3u1CKOiQ4WS3w2pFhujHnNWAIIq7IDpk5cI=; b=m2fE3MGPB4Ii7nvPrDWHJCoxqRCS8JuAUQ9sVJScnnFtjLzdsAjG0lHVCv0j9fPdXC 9AL+JBZnrWpeCKbozWiCV1ihlPVY8dAN7MqxWk2WBVPjcLray95kz+XR0kIxc2vBZyj9 N7AP16C+ipJ4NIhwHF7ByCkczS9Zz/0CcM2HJwNxmqRMXnWAcr5oID0a9ELvwUpCsXzc AZ/4S48mFN6y9HU3s/dfzqNTItOWqc+t5cPclyNCnXUMMaxzK5TcjaocBlqnJgSbVhGz sVTqHDkgVDBhLLBRIk/TSUDYYyqHeE08P0D48ElubxC2f4oVF5TUCuYhvdo9POIvazkL fHOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FO6xihnl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-136690-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136690-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dz18-20020a0564021d5200b0056bfcbdb535si4813205edb.396.2024.04.09.03.40.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 03:40:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136690-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FO6xihnl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-136690-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136690-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D19301F23B1E for ; Tue, 9 Apr 2024 10:40:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B20883CBB; Tue, 9 Apr 2024 10:39:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FO6xihnl" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A7F37F47E; Tue, 9 Apr 2024 10:39:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712659195; cv=none; b=cCD9557oRQS48QbLjnS9JVUhFalf5cx1TwDgXglzLU1nPYEYVDh8Ir+0rJTdz5v/ghhjlL6wDPVAIzYX3n5OA0fAuzHFCPXa+fwoTpdar88ZHmn+mLHb3o1Z1p+wXlo82uL5s0DgexAc7u1Jdqe+A1XKTfhu1LjsyDfMCrdcpUY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712659195; c=relaxed/simple; bh=yOkT4eYUGOe395yXz4fVpwh16R12BAAxxOJJcmpDYRw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=L3Ail7WJ25e0CBevW4sXhPSZ8Mfsc4h85VlcP0b1LlRw83tYqToI5xoP8RxHyW0bD9kVIDgu11AqKO6LlbHuIN/Ji9/H9y8ms2wDiEvwiTIKbFiwCE51Xtx6NFcQT04co9urQ6xI2YIiKLbLjjdURRjHdDpJzJURaznbFeF+f70= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FO6xihnl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E62BC433C7; Tue, 9 Apr 2024 10:39:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712659195; bh=yOkT4eYUGOe395yXz4fVpwh16R12BAAxxOJJcmpDYRw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FO6xihnlR5ZmS8bUJLGCGBcZc+pXYQUAAYLJUvCY/7ol0UMDJfXECyKmQfNAKbIN0 bZBdjPiDNl1snVxE2FY01EW53ZQX30ucngsd+Dy3DJ9VrYANRnQUFYL38t0hnZhDLD KMCHDbS4dVhWRUs64zUI5QfhQaRJRWDeTS8m+ovZdoCEUFitORU+XScLi526kntptI e7s/5+qys2b2lXADKMOU3v9+IRB0WRFXzSgRjvsUfZgQQNKrMDdKkLAMyVq9W/z+KN 2FsPhihvHYIBbdwSIpjD5Z/4FYHjQq/BihQSVYaSzf3fEov3oal0k/eng/Ad/Eee8k ThRe2KM9ZaoKA== Date: Tue, 9 Apr 2024 18:39:51 +0800 From: Tzung-Bi Shih To: Pavan Holla Cc: Greg Kroah-Hartman , Heikki Krogerus , Benson Leung , Guenter Roeck , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Abhishek Pandit-Subedi , chrome-platform@lists.linux.dev Subject: Re: [PATCH v3 2/2] usb: typec: ucsi: Implement ChromeOS UCSI driver Message-ID: References: <20240403-public-ucsi-h-v3-0-f848e18c8ed2@chromium.org> <20240403-public-ucsi-h-v3-2-f848e18c8ed2@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Apr 08, 2024 at 07:47:35PM -0700, Pavan Holla wrote: > On Mon, Apr 8, 2024 at 1:13 AM Tzung-Bi Shih wrote: > > > > How this driver get probed? From drivers/mfd/cros_ec_dev.c? If so, there is > > no "cros-ec-ucsi" in the MFD driver yet. > > Yes, this should get probed from drivers/mfd/cros_ec_dev.c. However, the > corresponding change in the EC is still under review. I was planning to send > it out once the EC change lands. Please let me know if you think that this > review should wait until then. I see. The mfd patch is independent and can be sent later. I was asking because the patch (and the series) don't reflect the message: "This driver will be loaded if the ChromeOS EC implements a PPM." However, include/linux/platform_data/cros_ec_commands.h (the previous patch in the series) usually follows include/ec_commands.h[1]. We should wait until the corresponding EC patches land. [1]: https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/main/include/ec_commands.h