Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp981266rdb; Fri, 19 Jan 2024 04:58:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IECY5UDQSMd/GVuuCC3g96vasQZN8TNCioIkywE1soQsTFgCBQHbdQrFdfEZzFBB3R6YEtV X-Received: by 2002:a17:906:f0d8:b0:a2c:872c:5683 with SMTP id dk24-20020a170906f0d800b00a2c872c5683mr1408963ejb.41.1705669117111; Fri, 19 Jan 2024 04:58:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705669117; cv=pass; d=google.com; s=arc-20160816; b=IHiw6rQzP1AejqNf9dl7ZLpOhotTM2VoEDYEVxxJEXeZCUNfm8KXw7myyoI6nZupcT RVZuXaK/B+EjNlI8+KuxVGyzhOHaTqh1ZxBC3DH7rg7AZYm6RIlZ8jGNAcpbUT2avfUC AktfSK7y3Kj/SLvTEUQh2/u2t6Ea/i6+ALSFROG+LHW45BjP1j31xoE/8b+mTbfe6Pas Gxkoafi9ZOCr8kYIirVB3/w4nn55l1zH9QNylP1AtOgQplrM/UnUOv8QpZyJ3BmsEqST 1M32gI6+c2b/dSc1JMO6RKtyzbNXj69DBi+j6pwipJY2l7ijVkWBHAW/bvN0A54hDHhx aDcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=L7R0rM+dfY8BfVM0tiwahRm291+uVOKMOygaYokiphA=; fh=O+hxQb1tPiWW366IuM3Ct7PQxz5i8S3IpT0spXRM4/E=; b=u+NR7LoeMfnTNHejDVFxLE43OPeQ0sqOjmQX8DUESuS70FR4GRxJ0fZeaHU8HzPZpU 3S/jWwAi0AMoq/dpe61iJ2oQbMHTPl0/bYJ28rBOWFDRs3QqP7kzZYZzU0KeDKULnU/z PmfSOJjuELQJRDiGEH1I6plfylQxrtwkgAlRrISfV3EPWp2YRvy00VrKyXMgrH6OUzoP 85zjknOvytgF2MnfUw/ZCMB3ctRni4zpKrnH90/kno33mb+TjbKPduFrag9mjhS4vAZK jNWFRqFcjyVKFwEdjHmF3xfiGjPg93MmpV2TzuK8YIu7PzJR74i6xF0YJQ+1g9W7tdGK a5WQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AfvubQDP; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-31150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31150-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h26-20020a1709066d9a00b00a287be6e0aesi7680533ejt.139.2024.01.19.04.58.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 04:58:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AfvubQDP; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-31150-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31150-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 D2E1C1F23281 for ; Fri, 19 Jan 2024 12:58:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FA51524A7; Fri, 19 Jan 2024 12:58:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="AfvubQDP" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 55A043C493; Fri, 19 Jan 2024 12:58:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705669099; cv=none; b=Ls9RfjiNaRO4jXiyj2hDtpegqtlUaEoTSUfYBIcX768gaIiJujOcbI6jIfor16VjDXsFtXh/j8KqIaUCyHt/j6gUOkWcbvbtqk3eOiX8s8iRuDXQPeihuBfCJSPcj2Ms8ozdSX1wzXd3k/fKA6QPy5M02St2FdKil1jiGKzxxM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705669099; c=relaxed/simple; bh=bGrbcVKvkDIoSfHBTxlivOML0alDs0Jm3cTz73DwTkU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DSVFISoFPfdQK9Ts1NHfQlGddDnFeYzG0kVAll6xBlnKl0uFDKw8Jauu8s4YfpBzlDZzIOsstaZOmhT2fUGVPEJOUqxPyeeoEGJPK3sOMbTz7/FGLXHabCpAqPwwxZwljyRPtSNlX0EnaADzjFle+OHaejSUi/6kovHH6aeiwDE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=AfvubQDP; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705669096; bh=bGrbcVKvkDIoSfHBTxlivOML0alDs0Jm3cTz73DwTkU=; h=From:To:Cc:Subject:Date:From; b=AfvubQDPxx1z+zoJEr13Zm7CA4GIl5QXvLMMXzoULV6oQUHsAVLlwSLQrqWEojT4T QFBS0scpSnOD0UwuwQLt+7SnZP4BD2NRskBqR8IgbM1qB8ZPUQUNAned1tTVR3cElo i0OKPjxaaA5a+BlVnnqKOvcLwiAKnk/V/HhpXxTJFV+zp0TO6JSfkE94eYZotKpkjE KdePlcbHbSM4DfVxYafEOvokgtyfhhpyJkooH6f/CsD6GMGnQ3ew2ufWD4w7bXl8Wb 63nEeQ+/U4IKpzefHJw4EKiinW7zWyBhwzWf/BxuLmNfTMjWHJsJEUBSCaCr2nOx2q eBzNy5ZfOCuhg== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 4532437803EE; Fri, 19 Jan 2024 12:58:15 +0000 (UTC) From: AngeloGioacchino Del Regno To: gregkh@linuxfoundation.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, heikki.krogerus@linux.intel.com, matthias.bgg@gmail.com, dmitry.baryshkov@linaro.org, neil.armstrong@linaro.org, andersson@kernel.org, nathan@kernel.org, luca.weiss@fairphone.com, tianping.fang@mediatek.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, AngeloGioacchino Del Regno Subject: [PATCH v2 0/2] Add ITE IT5205 Passive MUX Date: Fri, 19 Jan 2024 13:58:10 +0100 Message-ID: <20240119125812.239197-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series adds a driver for the ITE IT5205/FN, found on various MediaTek board designs, including the MT8395Genio 1200 EVB and others following that. Changes in v2: - Reordered headers and removed unused ones - Added a check for altmode in it5205_mux_set() AngeloGioacchino Del Regno (2): dt-bindings: usb: Introduce ITE IT5205 Alt. Mode Passive MUX usb: typec: mux: Add ITE IT5205 Alternate Mode Passive MUX driver .../devicetree/bindings/usb/ite,it5205.yaml | 72 +++++ drivers/usb/typec/mux/Kconfig | 10 + drivers/usb/typec/mux/Makefile | 1 + drivers/usb/typec/mux/it5205.c | 294 ++++++++++++++++++ 4 files changed, 377 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ite,it5205.yaml create mode 100644 drivers/usb/typec/mux/it5205.c -- 2.43.0