Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1224279iog; Tue, 14 Jun 2022 01:37:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vkcXdfj3LGm1jP5XnO3sXxT012YHBPGL4TEHT/RP7Na9rRuyB7RlN/iNCGgZAJLx+wz+xo X-Received: by 2002:a65:6944:0:b0:408:aa65:9464 with SMTP id w4-20020a656944000000b00408aa659464mr1017019pgq.160.1655195855125; Tue, 14 Jun 2022 01:37:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655195855; cv=none; d=google.com; s=arc-20160816; b=hXIuLmAzvOj6FW5XPY2k84YPey45sHdCUGLE47eY2MP2AOY1KvSi9AiBF96vPNEf7W jtV1Spz5xB8jsUDo6n+2HtZ+ZYkjnFfNxu+Z6hBRCG9nLDFuBJIa3vMtGqTJDgMomSYY ZdDKC21T8hMzqvniCl1Vf9VMtF/jzwtQ+Y9FwAlMh0YmuuLozjSDqiRdr9j3ks/L6qRm yH9hL1/nEm8+STZ8sfw8C6Jp2jERcxCYhFtaqtZlWmOMaeT129BwpPUJzCzb5tXacIrh 3gWYbV8hcUKvvw9RLos2oP4neNWGtvJge3R9PR4D9pzStan84W++SVnpPUgpom0ipfol bMhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=U0dFtdSMsJlL7qk6SoI+FAXq008nJF+v309CKvaI5Og=; b=Fed6BDs184UvVC+eV1f3LLx05nzpCoLAPhZ29ge87puAkzVeF2kogZTsHESy/etyYx vwkRIGAH8bpZuWqXSVBNTKEz7v6XBREsIprW4OngjgquC2wozQ1hIIL0Lxw/Laz15flo eUnaHFGVRSDyvASOrEKMsHg/76pgsU83j0je0biizNrcmOHRbVucD3piXmGm9cRqx+Ws Dbwbnxv5QwPi8FOdzcgvtnqRRBqnRkWM1FVtJBilNuTNlzDhZwyAEGXZvi+x7gSIpN0y CnV6yak/vJiiu6evPfpUs81ZTlxl/JP9gMMFyxxox7VvCAhYyNsoK5pATqqY+UZtc54z Gbyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LXxn9p9I; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s189-20020a632cc6000000b003fcd61d90ccsi12952887pgs.852.2022.06.14.01.37.23; Tue, 14 Jun 2022 01:37:35 -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=@collabora.com header.s=mail header.b=LXxn9p9I; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353564AbiFNI2M (ORCPT + 99 others); Tue, 14 Jun 2022 04:28:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240485AbiFNI2B (ORCPT ); Tue, 14 Jun 2022 04:28:01 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A912E2CE25; Tue, 14 Jun 2022 01:27:56 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 57AE466016A5; Tue, 14 Jun 2022 09:27:54 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1655195275; bh=ydqkHg2s0zBILzARZnJ3e6Y01dsz1E92/hWRLQFTOj8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=LXxn9p9IDVY0mvOrzmmkZlAZb8MoYCJIuQhaq56qZwxy6F+FDSxBjUQDtYXvifB4S FLyb6/LHJCGs6RjGuNZ30ZxYYHod9uMU3mkAPpCYuXSBaxYnKPn2lb6bG0c5YMOF+X g8hEfy6bRp1LQER1il8q9p3mB3kf/RMlRxk05s8DaSJTnzw+NH9suU9y/sL22WLduP /3Agloj16pnWlgFRdGCuRx66C3sXmRIGLDjpZVjvUI8JKCdv8xQ7N3/Tfun7OuwMvX 0lVeqyG8oIGFRpRsJPMv/Az3PDbFo3g8mS5OTQs0sHIUqJ7xGG109i5BNnuMCnOMfd jpIk1d/7cMibA== Message-ID: <260305f3-78e5-6b57-398c-f63073eb6c03@collabora.com> Date: Tue, 14 Jun 2022 10:27:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2 1/7] usb: typec: mux: Allow muxes to specify mode-switch Content-Language: en-US To: Prashant Malani , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Cc: heikki.krogerus@linux.intel.com, Andrzej Hajda , Neil Armstrong , David Airlie , "open list:DRM DRIVERS" , Laurent Pinchart , Krzysztof Kozlowski , Sam Ravnborg , Jernej Skrabec , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Thomas Zimmermann , =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Jonas Karlman , swboyd@chromium.org, Pin-Yen Lin , Rob Herring , Maxime Ripard , Hsin-Yi Wang , Xin Ji , Greg Kroah-Hartman , Robert Foss , =?UTF-8?B?Sm9zw6kgRXhww7NzaXRv?= References: <20220609181106.3695103-1-pmalani@chromium.org> <20220609181106.3695103-2-pmalani@chromium.org> From: AngeloGioacchino Del Regno In-Reply-To: <20220609181106.3695103-2-pmalani@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,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 Il 09/06/22 20:09, Prashant Malani ha scritto: > Loosen the typec_mux_match() requirements so that searches where an > alt mode is not specified, but the target mux device lists the > "mode-switch" property, return a success. > > This is helpful in Type C port drivers which would like to get a pointer > to the mux switch associated with a Type C port, but don't want to > specify a particular alt mode. > > Signed-off-by: Prashant Malani > Reviewed-by: Heikki Krogerus Reviewed-by: AngeloGioacchino Del Regno