Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3094228rwb; Fri, 20 Jan 2023 11:06:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXvqoW2hf8D3WH50jsb3Ph8I7lgSaEtSKQK+PXsbcssklGbVm3uG2J1fJNV2pCHVTPEQJ4EY X-Received: by 2002:a05:6a00:4489:b0:58d:982a:f1e9 with SMTP id cu9-20020a056a00448900b0058d982af1e9mr24503058pfb.22.1674241559882; Fri, 20 Jan 2023 11:05:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674241559; cv=none; d=google.com; s=arc-20160816; b=Y3frC+ZG3bpSV+aYyYgSagoX0Q4VzVF2QJLK0De4+KdbAV8G9G6bWJTcqHkGAfoxxC h2MofHjZRhF2enksb2B/0U/k44yL2MMOEHgwWCUEaJnKnW8jCmt+v6rLYhi7K724kuXy XJNWFfBVcyKCXiseATlaPOlStkHBxsO2E7yti9eLy1+ZLT0/WNNdV7RLYht62dUNSDM6 G/ijaUEdf72Rjz3p8OfBr4RZDrMK6jKw4HS/uPQT1oog+jkWmanUmvz09+jw4Jmbi7iJ gR6kz+JkMj6WFpRx1+YnEYZwwErmXjrkJ7r+NcdntG8vKT1im4Y7FpB6ChPKcKQe1xrn lWbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mbJBQ/QNe3N4k5AQeZLZDsaOTwFekuD7h3aFXUEjErE=; b=GAgw+HLoCAaD89/Qt5JMcR9iAYlptKGMIPOq8x9iZD14X6OIiuiHXRPe7vDu3O3jPj p1YXCx8rZ9bYshw9NmL/PMgD3ifLpfEebSBEle2l3KX/ec2VC0amhmeMaNVjji+ONPgT GikLLUW0bZFfYDWeaT7QubHlMzVfFI6xMQEv0yiHPrEm9KTRm7xiP5Pa3qcqC9lCuLyR JjTrrcuxO22E6qaZxfQxxLtnkcU3f7qONT4qLY1GY3Jk60yCI3V3W6EmA4jhDZbNp1Xu +tcXB4OXDpYoNKyy1u5EyZhbscv4KMwTOFXxi/RymDrmPoefsDbdxvfcvdVJNYjTa6Bq RgiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="XY/aPGJF"; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cq21-20020a056a00331500b0058d3862357asi18109473pfb.33.2023.01.20.11.05.54; Fri, 20 Jan 2023 11:05:59 -0800 (PST) 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=@chromium.org header.s=google header.b="XY/aPGJF"; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229972AbjATS5T (ORCPT + 50 others); Fri, 20 Jan 2023 13:57:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229837AbjATS5R (ORCPT ); Fri, 20 Jan 2023 13:57:17 -0500 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4633E8B752 for ; Fri, 20 Jan 2023 10:57:16 -0800 (PST) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-4c131bede4bso85639467b3.5 for ; Fri, 20 Jan 2023 10:57:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mbJBQ/QNe3N4k5AQeZLZDsaOTwFekuD7h3aFXUEjErE=; b=XY/aPGJF5s1t0ViUZ64imTUVbWIWEsrKzM7m6y9Prq/1GonmrRHDzvqHddP1SqAkNc AGJcJBKY9i5xehpcWW59FnUwsSI3nra/1Osl9zUz2CaBK6hurxF8rQ8+V/0veM590lJz OokbEClM1EX6igLVydpdmwpAItIWzrSTzQzyM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mbJBQ/QNe3N4k5AQeZLZDsaOTwFekuD7h3aFXUEjErE=; b=db0UteKOxy4kVF9SfXJDMtOYeb8PQJy47zwIGPV8RCxclGiZGXsFRLczXLgPIahWJs NdODYOl5d6h27Esqh+GAsuBSCHBagMQpjtYsbmh69F1qJwTyRkQx65ZpCVgm66FV5DgT s2J2i57D6X/xd+sMvOoi2JIV5iSfbRHBKdQ+6PJu8cCd4Lj+uwK0EFpOPE+I/GhVNjeZ ba5I7geX/Dzau4vNZKB0WcsbgXl535XlznPqIV+uue3S1G9GawUicp+FV4122DaP72E7 ulQydsC2BTStsz6cUzSJ0D8veB6BZnYppfM9pugmkIv7uvU/ACKPv+Tee6/wBr2Hah6Y 7Dqg== X-Gm-Message-State: AFqh2kqsf7xX0pP97lHFgx9v0isaMNyUjZqdSUbB75fj4nbIRRYAkEG/ gjPcVJfSLTWIPWiPL8zzy25GRzp5HucwGXmBP840ukYsm/oIag== X-Received: by 2002:a0d:e8c9:0:b0:4e0:7220:22fd with SMTP id r192-20020a0de8c9000000b004e0722022fdmr2041281ywe.272.1674241035508; Fri, 20 Jan 2023 10:57:15 -0800 (PST) MIME-Version: 1.0 References: <20230118031514.1278139-1-pmalani@chromium.org> In-Reply-To: From: Prashant Malani Date: Fri, 20 Jan 2023 10:57:04 -0800 Message-ID: Subject: Re: [PATCH] usb: typec: altmodes/displayport: Update active state To: Heikki Krogerus Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, bleung@chromium.org, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 On Fri, Jan 20, 2023 at 1:23 AM Heikki Krogerus wrote: > > On Fri, Jan 20, 2023 at 11:16:43AM +0200, Heikki Krogerus wrote: > > It's not be possible to enter a mode with tcpm.c unless there is > > a driver for the altmode currently. Something has to take care of the > > altmode, and if that something is not the altmode driver it would need > > to be the user space. Right now we don't have an interface for that. > > > > In any case, if there's no driver for the altmode, then the partner > > altmode "active" file should not be visible. > > I meant read-only :-). Got it. Thank you for explaining this to me :) I will send out a v2 soon. BR, -Prashant