From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42489C433EF for ; Fri, 15 Apr 2022 11:12:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=xHh0TjHHq6i2XdRy7B/7S+qHnlrNFCWsuJcP8HnNUhE=; b=YChkXRM/LC7Eal VUfSyypC2/a3OrxFPSf1E2JkXbY/6Q0IM6C89r1yG9dRMlDE4wrM0FvPq9DI9Oo0ekgLbbEt7OtKE LeQE+oGnXZU8rv2CJK4LFyIOLuKm2qp4Vx+TC5EHPeCYR2dLlylMdWh9b3Ag0v3VpiI7BotB+JF4O aAIqTiPG/VjjTV2oZMwqCZFQk6Wl2TfKpNYQKnH4fGl0qLZv9otaG88XPhsZqbOMYBj2GnJrFN0kr URfQRFd36VU+7O20rjLMT5tmljHHqIqIrrd3YD+hNC4s6Hoxn4/Yi57yyueVXeeKRdcU1fAaf4kXj CO9hZtLmAfkJO4PHj0Bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfJqp-009lMd-U5; Fri, 15 Apr 2022 11:10:56 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfJqm-009lL3-2n for linux-arm-kernel@lists.infradead.org; Fri, 15 Apr 2022 11:10:53 +0000 Received: by mail-wm1-x336.google.com with SMTP id p189so4765524wmp.3 for ; Fri, 15 Apr 2022 04:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=vJ3Un2FsIE8DDhLCaTHSqaLuLMcXuKVLpKui5SvsZRo=; b=QahmXZ9eIY2tQY4PG6oq9EA6uAmkuMLG7ufMp60N07JXVRP1xS0ePDLhqnAaluGyhY VDKcZDXCwqxX94y60QSZ4/quLgmmGVlLu7Y8aRyL8TADudqrk28tuYVdDWZPJUpP9tW9 fzWFCVW6bPxR64V9TOUKXIn4Ti1of1NQ+NnuU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=vJ3Un2FsIE8DDhLCaTHSqaLuLMcXuKVLpKui5SvsZRo=; b=fo2L4BBPMeJSvwZlgUm6c+qAy8NNFL9uKJge/0fiQ2ykH0SXfPtqecx1tKWwaY0tGd IdwhtkHETInnHqAtx7qIGhzUC9VRUi2olZEyFiHxNwwrmwyFS59msw1vZ3ynBSDcSLlL KsXhSpBe1X1bV1mMW31toTXwU+tV9vPPoJ6gduq+4tLVYhMrhoa295Zj34cAL/xLhubY KTkOEbAovI3c1EBI3rG63ZepDe5tNB5VeWpQBzXXXhK9Kf2R8fMizdFOnQl1g7Qce6PM S8z7O7LXchSgDVqa4KI4npvQHFhAeAxN7DDTHt+8YHrusivKG33w/SUPX/2qe8bghP0G eW0g== X-Gm-Message-State: AOAM532ukDt5UyM2yvtzyGb66AcTnmzuWw14UaDxo8f1IQoGgJTMzMaL oHUIiaraRLbBch/0AbOYbGCSD2Q9itH0t0mMyM6k/w== X-Google-Smtp-Source: ABdhPJxMeXczQJLDitWiGKO9Aht0umvRlEcwLp6J7nYXJbhMqjTxPXYRD0cH3vth00HE1Fo64JYYrz8z5WjmOMYxyF8= X-Received: by 2002:a7b:ce83:0:b0:37b:f1f1:3a0c with SMTP id q3-20020a7bce83000000b0037bf1f13a0cmr2925863wmj.10.1650021047831; Fri, 15 Apr 2022 04:10:47 -0700 (PDT) MIME-Version: 1.0 From: Pin-yen Lin Date: Fri, 15 Apr 2022 19:10:36 +0800 Message-ID: Subject: Suggestions for allowing drivers to detect USB Type-C MUX (switch) To: heikki.krogerus@linux.intel.com, robh+dt@kernel.org Cc: gregkh@linuxfoundation.org, linux@roeck-us.net, linux-usb@vger.kernel.org, linux-imx@nxp.com, jun.li@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chen-Yu Tsai , Wei-Shun Chang , Hsin-Yi Wang , Pi-Hsun Shih , Prashant Malani , xu.yang_2@nxp.com, shawnguo@kernel.org, andy@kernel.org, dmitry.torokhov@gmail.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220415_041052_179911_CB673EB6 X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, We would like to submit a patch series to allow drivers to detect USB Type-C orientation/mux changes, but we received different opinions from the maintainers and we are not sure how to proceed. I am sending out this email to start the discussion and collect your feedback. In previous works[1] by Jun, Rob suggested using general mux controller drivers to support this. But, in later patches, Heikki suggested moving the logic into Type-C MUX controllers (drivers/usb/typec/mux.c). Could anyone please suggest a direction for this patch series? Please let me know if I misunderstood the background. Best regards, Pin-yen [1]: https://patchwork.kernel.org/project/linux-usb/list/?series=484785&state=%2A&archive=both [2]: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/1604403610-16577-1-git-send-email-jun.li@nxp.com/ [3]: https://patchwork.kernel.org/project/linux-usb/patch/1621408490-23811-4-git-send-email-jun.li@nxp.com/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel