Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5685573rwd; Wed, 24 May 2023 05:34:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5BfhkVoO1qj3gPfUBym1vUrZ+vZbiEMARsnnvTRRN8ayhq4+pqa7VHZ3l+G6oFZl2c5aaa X-Received: by 2002:a17:902:d489:b0:1ae:2c87:f771 with SMTP id c9-20020a170902d48900b001ae2c87f771mr22180167plg.20.1684931671657; Wed, 24 May 2023 05:34:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684931671; cv=none; d=google.com; s=arc-20160816; b=ZrVzfUY+u8adVyh3BuOg+zW9mxafjIdV7A40Snf50t6LFhQLBYDGpnbCGb+QqxZvdN VEhFGWNaQY97Qfo+aMQlFdpAT3XtbvRf/gau7IXXmq+E4yYuCaqByoem1FfbGY1QTRf1 pRcTogsHM3xzev0l7FwNKWuhjtAnjqgXQICkdihS3V/GtSDtaAm2+kXsM282NuanS8B/ ufjcEU3sn/8fM0946UNEgqKzb7FzGjNupy61l4O0VZ5HYjvCqd4G8t9hbHNZ4EPiWi2Y EVOBFIgEAihavpHA0BdymMHq4zuhlGyQfPE9pK8LbNe2RBIJXxEJYO1PrxhTWBGmr8V2 rp+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YzbX1ImVTnAYh/Kt3lD73As9r6/qgVyFS8//qls+k+Y=; b=zNEXCmp1IDWuD1CVmRGD8OO1YQouOZHFRItQuBWofXB2FWZaOCXmCXqQEot97uLRd1 z6cRY9rhJ1EmOpgSE+dwHCAa/BqAl+ITk9DPVsaaxeQjmtr1eSfeix/BwuipKumNH+hB bFew76PkG9dFkwIsF3qWF/8GEDqEFTbMrSnH4wERNRTzbya2H8ziQeHZFqnF/XhO7j/I CdO6pVmZmspmjtpeSpdKFDhoBIvHQjsxr1FbzcVUr+2tsAK0eHeO8ht0ErRn1N2/IRcw 4oyjgwz0mEjzMc46OqgTVzSW1kksUGya8gHsIJGzFMpOkwCZWxRWDFalSaFv+ssDhDoj MqKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nje+pa1N; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e8-20020a170902744800b001a966042af8si7971125plt.341.2023.05.24.05.34.17; Wed, 24 May 2023 05:34:31 -0700 (PDT) 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=@intel.com header.s=Intel header.b=nje+pa1N; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233095AbjEXM3D (ORCPT + 99 others); Wed, 24 May 2023 08:29:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230493AbjEXM3B (ORCPT ); Wed, 24 May 2023 08:29:01 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F33839C; Wed, 24 May 2023 05:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684931340; x=1716467340; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=3klnhOKosPwBrT++R5pTUO9av0C/hZmrxntxsqOzxiU=; b=nje+pa1NGxrkqlS80MrM4SxdlBDPPto0Z2IYecZ3N7etZrbKhquZcj95 +YX4AeRlN+45UZTRC6lq2jbFlwAsKK6eUoDZwDT8/tskbrci5xNFUrI5D 0Fi5jT8zYdLMr1GZVMGXqXnPD+JaLUsgSQT+Rkawk8nAeoY1BIj4KNbJI nUiQJJ43YuR4Y/OE/VIEY+pDKxfOY17vSuS8DMJ3YAHrFMclNabHPlOJN FuA/kzvsBuv0VWYFkYwRvh9yWiLyEQEQVIVaZ5rMjWkRibDlhEx82EDZQ IM972nvnwFYawOYt+3urxR6IRVRFh4hQBtp3EISQTfieNsrrsuocUyIAL w==; X-IronPort-AV: E=McAfee;i="6600,9927,10720"; a="333904880" X-IronPort-AV: E=Sophos;i="6.00,189,1681196400"; d="scan'208";a="333904880" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2023 05:29:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10720"; a="848731372" X-IronPort-AV: E=Sophos;i="6.00,189,1681196400"; d="scan'208";a="848731372" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 24 May 2023 05:28:58 -0700 From: Heikki Krogerus To: Greg Kroah-Hartman Cc: Bjorn Andersson , chrome-platform@lists.linux.dev, linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] usb: typec: mux: Remove the "svid" device property checks Date: Wed, 24 May 2023 15:28:59 +0300 Message-Id: <20230524122901.53659-1-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Hi, The background for this change: https://lore.kernel.org/lkml/20210726231351.655302-1-bjorn.andersson@linaro.org/ The idea with that device property was that it would allow us to support separate mode specific switches behind a single port if necessary. Although, I guess it is still possible that we could have that kind of separate mode switches, especially now that the mode switch represents a kind of virtual aggregate device that can be build from multiple physical muxes (so the modes could need different "combos" of the muxes), but now no such systems exist. We can look at how to handle that kind of switches when/if we actually have them, but for now, keeping the functions as simple as possible. thanks, Heikki Krogerus (2): usb: typec: mux: Clean up mux_fwnode_match() usb: typec: mux: Remove alt mode parameters from the API drivers/platform/chrome/cros_ec_typec.c | 2 +- drivers/soc/qcom/pmic_glink_altmode.c | 5 +- drivers/usb/typec/class.c | 4 +- drivers/usb/typec/mux.c | 61 ++++--------------------- include/linux/usb/typec_mux.h | 11 ++--- 5 files changed, 17 insertions(+), 66 deletions(-) -- 2.39.2