Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1947696lqg; Mon, 4 Mar 2024 08:22:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVtFzYJI7ORXFse6PwwugqWX/nP8IeHwZXDneeMEJOaz0PomwwMl3KYSybPMPxISlJk6tcFkOHIIVgnxSF+C6FKPHpl7Aon55/zGkqSGA== X-Google-Smtp-Source: AGHT+IHGP8cCDaNGlzml0v2hiJp798nzH9McDmi13fYMTU2a/kp1Kv/8EooNKChXpMGdNdX8ZxYe X-Received: by 2002:a05:620a:2842:b0:788:2e6f:4e6b with SMTP id h2-20020a05620a284200b007882e6f4e6bmr2363183qkp.7.1709569341271; Mon, 04 Mar 2024 08:22:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709569341; cv=pass; d=google.com; s=arc-20160816; b=rK0EN91WSc46g4bNkhIFzjoJdonMixBw3tPcp6nGzjOIqhvNPHYGlyZzkxQzfuUc88 WKfzOEeolaAUWSFdFuG4jU6RUtLiaX1QoIU/3MyISlBToDvtLOA3qnlra2b1IQ8wb3a3 geJMqtkTAnEHfg9FfD9HgOuqlB7Q5dSd8lmHiQQ2dYGu2Gf+TzsYnuhHyftPsTKTrTMt 7Gqm2zUmKss/u4LVEOHepDvwCAAGLXzUXJuRrSK4bT6rlPR3FJyzv3QxoFAskvAubk1H phdXHUsLV48bMXac5yWw4AJPZwb9/VV/DBENORugcsoJh301kqeR7/YRDl2aKtxxQ6vc L5Ng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=s5Me62HtlEy2aNf2sRfOaxMk0wSyj/lYTcG9kGtag18=; fh=rAPUPy9GtTjeljAPSgqhVbptSPDNBEJIyMfkJqy9Emc=; b=ozSm6sAhzpBdVXoq6sAdGiLwTOB1rYRpPLaWgrcwIeLq6dMCh1wgEncZ4JbV2AIzlj GcJLc9hC1wE9wAqHim6N7vPUImpAzykiXQc0wWixCEgTHe9KmmxQqMjlPteJSTR/py+o 0poZbccEwjvn+smah3v97ADgPNo5ZHM7pK0dgk69H0FPMxPaMz3GFPUNvzBB4tOv+hox 12IyaBWpUc1+HdPO+97Le9cxEIzuWmdTpJFu7SA/CSXChneYXo4zU6QWRnAGg8byVLik g6YoPrt8g9QTmMru7WZqEcYXifG8G4iDUyQgGHD2oD1A0gzONWrxmtKPSoV8/CzMUawR 6Lig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q1CLLwLd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-90928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90928-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f16-20020a05620a12f000b00787b825b867si9882062qkl.734.2024.03.04.08.22.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 08:22:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q1CLLwLd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-90928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90928-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 056211C21968 for ; Mon, 4 Mar 2024 16:22:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07F5B4CB23; Mon, 4 Mar 2024 16:22:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="q1CLLwLd" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 06E9F8828; Mon, 4 Mar 2024 16:22:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709569332; cv=none; b=hZ6WgZcMaUAczrvlKaddDjKK5evABBYispQ28hvUZ0RXrxaHZCpwt4y7M7cJb9liPrV7Pf2avLc8u8qd+N3sHjq+fKNvqzHhqYy9LgxZPLQojD0vjooHa0wFUcqounnYxaXO3HZxUCxqUe65XKxLu1Xx1nm3kJLWXymrPZFpzgs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709569332; c=relaxed/simple; bh=5GtQDIrUrxIsf2wt+vj62jwD5dGLz3Z9gt06aDoswXU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KAueULoszyoEEAEoZ3MAFRW44UhtZuc9okiH5c/dEuk6UywyLwhBDLqu6w8ifOVNjZeDBNEHzHQHMjBzr6mCJNBFIR3O8k0kD7fRg4Cv1CyB77umjwCll8RpK9wK1D1L0P9wI9jpoSqHhYlq9wOfzbKYOiXjrlYr5kuB/ML4qsI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=q1CLLwLd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59C82C433F1; Mon, 4 Mar 2024 16:22:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709569331; bh=5GtQDIrUrxIsf2wt+vj62jwD5dGLz3Z9gt06aDoswXU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q1CLLwLdF2wB+bofcls+9RVbRYQjh9p+gNuxXBUkikSV1cijv4XYaOgX/pyWSsJi7 6wD0NnwdF6u2k4Aq56xmiTb78EkBgcjC4lU4mGta7dAb7a/5T45hbhWOLk6iu21GHo SFRgWRfdt2bhE9ZaBZ26yBpnbgnAsW2za8c/LWAbPQXV5gOXFNS7pJwdqL1k6q8Nps 5nK6vh6QRsR2JPhLzGbEFFLg58SM61SS59wFhyUSauUED6lsGsgvkzeaBBWPbwedrk YaNHrpei4TyQfNyeBkOsiaEgMAv5dPRgzmGHfkn6T+EbXigmWzhqRsP7t6cLWKwBmv fWoqdW2MqZ5Rg== Date: Mon, 4 Mar 2024 10:22:09 -0600 From: Rob Herring To: Neil Armstrong Cc: Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFT 1/7] dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp: Add mode-switch Message-ID: <20240304162209.GA343498-robh@kernel.org> References: <20240229-topic-sm8x50-upstream-phy-combo-typec-mux-v1-0-07e24a231840@linaro.org> <20240229-topic-sm8x50-upstream-phy-combo-typec-mux-v1-1-07e24a231840@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240229-topic-sm8x50-upstream-phy-combo-typec-mux-v1-1-07e24a231840@linaro.org> On Thu, Feb 29, 2024 at 02:07:01PM +0100, Neil Armstrong wrote: > The QMP USB3/DP Combo PHY can work in 3 modes: > - DisplayPort Only > - USB3 Only > - USB3 + DisplayPort Combo mode > > In order to switch between those modes, the PHY needs to receive > Type-C events, allow marking to the phy with the mode-switch > property in order to allow the PHY to Type-C events. > > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml > index 2d0d7e9e6431..49c6539b9df0 100644 > --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml > @@ -71,6 +71,11 @@ properties: > description: > See include/dt-bindings/phy/phy-qcom-qmp.h > > + mode-switch: > + description: > + Flag the PHY as possible handler of USB Type-C altmode switching > + type: boolean > + Perhaps you should be including the usb-switch.yaml schema that's in next. > orientation-switch: > description: > Flag the PHY as possible handler of USB Type-C orientation switching > > -- > 2.34.1 >