Message ID | 20240325-public-ucsi-h-v2-0-a6d716968bb1@chromium.org (mailing list archive) |
---|---|
Headers | show
Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C3B3839F6 for <chrome-platform@lists.linux.dev>; Mon, 25 Mar 2024 23:42:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711410148; cv=none; b=H3MBY0f/Snvk7dgMvkXQiInWtO0tJiJRmS3A93wLnN1j5bV51S9dHQxUskK4HdZVWPLjrb7WDwTI2T3fE6mJ5igsQW/zb3wrYEfZ5QFcpGEvnExOpqwC9jTsWIAgg1unLKtrbHRXEgALaRfpgWzeT1LkCG0hUxLXKuxzQq8QoBs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711410148; c=relaxed/simple; bh=1hd7YpQ7hQwnxXcI9b5Po9F83x/ePee1k7tMWUZlawY=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=g7qN8uz3UWwRgiUFb6/D991UYtUyexuba/Rcc0IRhq0aZU8hufdJsqUVZkxBwYscs5c3NkiQftHLLAaoEfgAsh+fLep/igwWcwOzWaphFTUMly7jopP8p0pDnayRGfGY3imO7Com1ONdrRCmaSvZZg7dk2dyhZHxlnDAbBPKjIc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=eccsl0ND; arc=none smtp.client-ip=209.85.210.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="eccsl0ND" Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6e704078860so3457732b3a.0 for <chrome-platform@lists.linux.dev>; Mon, 25 Mar 2024 16:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1711410146; x=1712014946; darn=lists.linux.dev; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=mwaCyJsz17AgoLSOr3XyXPNKuRaqFxfz3ir5v+CFYwU=; b=eccsl0NDhGJENUxNlxj/8xQNYlF2KuooPb6jr4y6P2NlokGPc1mSJZFbwB5tYfyB+h nK8WvJqxtLlYMClIWmqR8q/up2KTOcKR6QuG9LbEML0YsUg+2eeR71F2ydWBtgF/7dXW ewFZPFXLn/Gzga48zFhhoEtfu8I3w9xJtKdFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711410146; x=1712014946; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mwaCyJsz17AgoLSOr3XyXPNKuRaqFxfz3ir5v+CFYwU=; b=l8K1hdEpA5Fd0dRAyPVratvnx1bFHLeeUg9ga0esptJC8IgJzRab74sMkh1x6oiTip rWfcWmnVEvGrgbG5dqHAkNBsBodKLIZAo8sUmTsAxnTJ0HlMPA4/VxvHPBRk7Y70CzEd mkrUj7L8zhwBJHcnLPQp//qHDB+cAhGQuYZQSw4GoDuh+kJmvccaKS3MCb7u5xJzw3Ra l4aAPK4HkwqvbHctwFXJ8KJAb3paeC0bUgVsg82YWje6q0ITFikwU68J7f1W4fkh+LAX 9n3rGskrvFOUSOroTq8bvIP0GaUEwCc3MbpLNLsfcPKJmP4VjP5TBAD1G7vV6I2RTaL0 4U2w== X-Forwarded-Encrypted: i=1; AJvYcCVdT5ziX6w5Pf/OHDXrb+iVfkokVAIVuEX1cxUFz7RAi8zW30JSQpYNYow1srzt3F/vd0SSlw3wf0ElKf8q8N4KCTpfbhq+tBvTo83dfDA7 X-Gm-Message-State: AOJu0YzUco2owX1ZcqX47zIuFMn6srTUNv+Lc5Gdpk5GNLGa+/9BSOOD MYwEUys0hR66NvZ2ezsoqWE5tJIsm0i034j7Qr9i68IDCzuXMxznpA8+Dns/EA== X-Google-Smtp-Source: AGHT+IHcXRhOkEXvObxQ0tQ+Vis8HUcWqaWZDTWLrnQuWAKccLbAZLusm/dPdM5IveoBuuJ72krrXw== X-Received: by 2002:a05:6a00:986:b0:6e6:5396:ce43 with SMTP id u6-20020a056a00098600b006e65396ce43mr10909343pfg.7.1711410146625; Mon, 25 Mar 2024 16:42:26 -0700 (PDT) Received: from pholla1.c.googlers.com (210.73.125.34.bc.googleusercontent.com. [34.125.73.210]) by smtp.gmail.com with ESMTPSA id e12-20020aa7824c000000b006e5f754646csm4705250pfn.139.2024.03.25.16.42.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 16:42:26 -0700 (PDT) From: Pavan Holla <pholla@chromium.org> Subject: [PATCH v2 0/3] usb: typec: Implement UCSI driver for ChromeOS Date: Mon, 25 Mar 2024 23:42:24 +0000 Message-Id: <20240325-public-ucsi-h-v2-0-a6d716968bb1@chromium.org> Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: <chrome-platform.lists.linux.dev> List-Subscribe: <mailto:chrome-platform+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:chrome-platform+unsubscribe@lists.linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOALAmYC/3XMQQ6CMBCF4auQWTumLSCNK+5hWOAw0kmEklYaD eHuVvYu/5e8b4PIQTjCtdggcJIofs5hTgWQ6+eRUYbcYJSpVGlqXNb7UwhXioIOSybmSqtLX1v InyXwQ96Hd+tyO4kvHz4Hn/Rv/ScljQobathaywOpviUX/CTrdPZhhG7f9y9pFmlVrQAAAA== To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Heikki Krogerus <heikki.krogerus@linux.intel.com>, Benson Leung <bleung@chromium.org>, Tzung-Bi Shih <tzungbi@kernel.org>, Guenter Roeck <groeck@chromium.org> Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Abhishek Pandit-Subedi <abhishekpandit@chromium.org>, chrome-platform@lists.linux.dev, Pavan Holla <pholla@chromium.org> X-Mailer: b4 0.12.4 |
Series |
usb: typec: Implement UCSI driver for ChromeOS
|
expand
|
We are developing a UCSI ChromeOS EC transport driver. The ChromeOS EC implements a UCSI PPM. This driver is being developed in drivers/platform/chrome since 1) Most other drivers which depend on ChromeOS EC reside there. 2) Our architecture might undergo a few revisions rapidly, so platform/chrome seems like a good place while we finalize our design. This patch series creates a public include/usb/ucsi.h that can be used by transport drivers outside drivers/usb/typec/ucsi. Then, we use this interface and ChromeOS EC host commands to send UCSI commands in drivers/platform/chrome/cros_ec_ucsi.c. Signed-off-by: Pavan Holla <pholla@chromium.org> --- Changes in v2: - No code or commit message changes. - Added drivers/platform/chrome maintainers for review. - Link to v1: https://lore.kernel.org/r/20240325-public-ucsi-h-v1-0-7c7e888edc0a@chromium.org --- Pavan Holla (3): usb: typec: ucsi: Provide interface for UCSI transport usb: typec: ucsi: Import interface for UCSI transport platform/chrome: cros_ec_ucsi: Implement UCSI PDC driver MAINTAINERS | 1 + drivers/platform/chrome/Kconfig | 14 ++ drivers/platform/chrome/Makefile | 1 + drivers/platform/chrome/cros_ec_ucsi.c | 247 +++++++++++++++++++++++++ drivers/usb/typec/ucsi/ucsi.h | 54 +----- include/linux/platform_data/cros_ec_commands.h | 19 ++ include/linux/usb/ucsi.h | 66 +++++++ 7 files changed, 349 insertions(+), 53 deletions(-) --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240325-public-ucsi-h-3ecee4106a58 Best regards,