Message ID | 20240409-public-ucsi-h-v4-0-e770735222a2@chromium.org (mailing list archive) |
---|---|
Headers | show
Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (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 615D84F20E for <linux-usb@vger.kernel.org>; Tue, 9 Apr 2024 02:27:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712629661; cv=none; b=kJ2pMqxMn28eMgC9bvCCnyfSQylP/qFI4xZJK3m/HyFWR3RnJEY/TQBosOnUt54JDB3iRUVvm56RIi0xO6PVG3ZHURYJn0arbUI5JrMpsEDtWIy65bEEKQMoX6YwbmSLaaFCSrhSnKvNyT7Wl8AezQekt2BhERFDTnDae9ZUBKI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712629661; c=relaxed/simple; bh=unKs6TkoxSItwhjqY6Xksy31shLVbGrRwXEzYRDKVBs=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=Q2S5AW2mXNGVDsjRifUD9XceDHsPwoQ0xO5DdKrmQhlZ3Qek9A7IVSvpme0gxWpzwlM/2glOGAsgtbHWBPiMlq1BXXlo2YddfOWWoOPwY7pEFEesnd6BpiQQScbAxbpPwD/S9jIAWYVqhHWX0DQrafUQJcG1/qJgZa1qA4XyvYU= 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=LcDk4L5B; arc=none smtp.client-ip=209.85.214.178 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="LcDk4L5B" Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1e2b1cd446fso37154905ad.3 for <linux-usb@vger.kernel.org>; Mon, 08 Apr 2024 19:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1712629659; x=1713234459; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=KnUPa/A9V813oeE8EVVl8Mgh5nGUgOiLvHqt02U6ihY=; b=LcDk4L5B0enTyToevyfrBMiIUbnxmFUmmYlZORxu28Vq7SO4UXSnvTEBLIT2bOQFQ5 7CrAfInNLUO97u9G48ykhcuXknBuDSj03hA/GN6vlw92AWi/0F0Veq/D+OJ/tD/lwbR5 RuG4umn3/CG0JqwKzn+ttWImVIuSvSKPlPVNo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712629659; x=1713234459; 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=KnUPa/A9V813oeE8EVVl8Mgh5nGUgOiLvHqt02U6ihY=; b=gQt8k4B2H1upHivRsgQJHLWpWKdfptm2FOD4czemMQ91ZwyuAAdTt8ADmRg1jyvviL 17hZEmjEWoTlK/LvwxyE7TB6uLy6LTXv40Cwo/8WrRGE4drDTtthxK2GWfrhdkAG6eRk 8kJCn5Kvg1SDofMzNJOxJiDQnn39XqSTPj6kgQO752FwVgyfx0tC91MfHi9PubnXpFsb Edxox9Ok3+19Meq8d0eJX2gyfhPoGSMNzABbCRVadZOx+DLqgVtDKNJb/UVyYE81ylX4 +/dZFEhQI32xXjhxDWTcTYsp4RFA+5rcdRmOmSqjtC3MUnjb+tHZX2Glx4bPYUNMWpfr V6tQ== X-Forwarded-Encrypted: i=1; AJvYcCWytGHz+ksF99YizXuEDZhDVt4RNdo93WHUW849+gBopT0Ug37zkw+R4qXXdTbujNYMLpjLTwcYA2SciJ9qUfcVsKdtW1JpgQBU X-Gm-Message-State: AOJu0Yz35EAqNdT6JBCd5zuRLQt5vU6arETkzRefa3Okioe/NGefjdOh xyeJZIIEMkuWSU8xIJ4wEmRzmPi4FmBxXWJrqOl9roMwMTgDaGH8cYR2k5IYCg== X-Google-Smtp-Source: AGHT+IGw3JdFUfEM6zcpZf05fYgwsx6QTc5nMG19Apx3DM0vbfksLMq/SiGaGAdpU/M42WKc1ZTv1Q== X-Received: by 2002:a17:902:c14b:b0:1e2:a42a:af5d with SMTP id 11-20020a170902c14b00b001e2a42aaf5dmr9750503plj.30.1712629659506; Mon, 08 Apr 2024 19:27:39 -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 h7-20020a170902680700b001e2b4f513e1sm7880850plk.106.2024.04.08.19.27.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 19:27:39 -0700 (PDT) From: Pavan Holla <pholla@chromium.org> Subject: [PATCH v4 0/2] usb: typec: Implement UCSI driver for ChromeOS Date: Tue, 09 Apr 2024 02:27:35 +0000 Message-Id: <20240409-public-ucsi-h-v4-0-e770735222a2@chromium.org> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: <linux-usb.vger.kernel.org> List-Subscribe: <mailto:linux-usb+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-usb+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAJenFGYC/33OQQ6CMBCF4auQrq1pS4HRlfcwLqAMMIlQ0kqjI dzdwsaEqMv/JfNlZubREXp2TmbmMJAnO8TQh4SZrhxa5FTHZkooLVKV8XGq7mT4ZDzxjqdoELU UeZkBizejw4aem3e9xe7IP6x7bXyQ6/pLCpILXpgCAQBrI8qL6ZztaeqP1rVsxYL6C6gIlHldy PyUQ1XJL0D6ASKxB9IINKABJZj4g9oBy7K8AeG1tVgvAQAA 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
|
This series implements a UCSI ChromeOS EC transport driver. The ChromeOS EC is expected to implement a UCSI PPM. Signed-off-by: Pavan Holla <pholla@chromium.org> --- Changes in v4: - Setup notifications before calling ucsi_register. - Cancel work before destroying driver data. - Link to v3: https://lore.kernel.org/r/20240403-public-ucsi-h-v3-0-f848e18c8ed2@chromium.org Changes in v3: - Moved driver from platform/chrome to usb/typec/ucsi. - Used id_table instead of MODULE_ALIAS. - Split EC header changes into seperate commit. - Fixes from additional internal reviews and kernel bot warnings. - Link to v2: https://lore.kernel.org/r/20240325-public-ucsi-h-v2-0-a6d716968bb1@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 (2): platform/chrome: Update ChromeOS EC header for UCSI usb: typec: ucsi: Implement ChromeOS UCSI driver drivers/usb/typec/ucsi/Kconfig | 13 ++ drivers/usb/typec/ucsi/Makefile | 1 + drivers/usb/typec/ucsi/cros_ec_ucsi.c | 259 +++++++++++++++++++++++++ include/linux/platform_data/cros_ec_commands.h | 20 ++ 4 files changed, 293 insertions(+) --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240325-public-ucsi-h-3ecee4106a58 Best regards,