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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89393C77B61 for ; Sun, 16 Apr 2023 17:47:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229567AbjDPRrI (ORCPT ); Sun, 16 Apr 2023 13:47:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbjDPRrH (ORCPT ); Sun, 16 Apr 2023 13:47:07 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3567195 for ; Sun, 16 Apr 2023 10:47:06 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id fy21so15484784ejb.9 for ; Sun, 16 Apr 2023 10:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681667224; x=1684259224; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gLokfzlNojMHP5RULpm0PPlfSFmkgAd8KtMBzjye2kA=; b=DXQ0+QBy+uD+Kaw0R09e/BaqsSD2+OEoCFaXIN0VbBXYg3VvrC9PXpXtTa1z+1ybZq 6NDSU6e+CrspUNrdkGEAsOPx3hAp37ZVv4TgLXQF7fnM9lvX5AzeLduiouTXrHggLsnB KH4VZ0NICEVLSyWqS509rtEUUz80hLMXs6wUJbB0m6Hj6Zi3J8YTNWXEqbBwJK2FWa8i n04EZOBFpU41BDgJ4dxEJiktMgYItmvJNuvFCU0+yDlCDj0rBAr+69j9qCtgRcGpFuHU j+l+Q4cTkVviAsQnpA0jNlAY4h5G4d1syzE2V7f2pNWVqZic1kHbdqVL5nuVtcb2hh0e 8NQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681667224; x=1684259224; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gLokfzlNojMHP5RULpm0PPlfSFmkgAd8KtMBzjye2kA=; b=jKM93i0UAyAuh8CF96eOcmjOYtnHHPAx59gabO93TiIP/eBNbMB76kmZmg17ZSnGax 7RHwXtIb+AcbdeaM7uatteYMColcZ6JKVVmQxyk9Uk2cMgsjOcRd6Ba+JNm2E6OmJIjl oB6YLtIEEeheKR+OAjuT740TCtGq+O9whoTlgJ+iCLrgh9qZR/fgQgJpn2Q+2ppmR9Ak quMVA3HmSGzCAKGM3hpaWKtIybYYYoCTN2uJMVTxr4H5U+ijesgjweHtrexHFuUs3DsX et1enim9q5BSvM+cXlCLR6DgVbz5yKHh8BDZjVu6tux4fQPGuzT05m1bfrABJTfxMiNs rcpg== X-Gm-Message-State: AAQBX9cshpfXwbVJS54sfEX4n9ZFRxhffqWe1Wg8zZfj8UHzNeORgDBl 6AUwo7GYROBqi3iHqV6VBDDOrg== X-Google-Smtp-Source: AKy350ZMWhDwk3nFL97E7KcgzIasIqK7TunNBqwCG63g6aTwvwEdUTxMEOlv5D4OJ+Aa9pcKzyR5YQ== X-Received: by 2002:a17:906:d8ad:b0:94f:2c22:a7a2 with SMTP id qc13-20020a170906d8ad00b0094f2c22a7a2mr4077384ejb.68.1681667224631; Sun, 16 Apr 2023 10:47:04 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:f9e3:1d38:66a7:ae92? ([2a02:810d:15c0:828:f9e3:1d38:66a7:ae92]) by smtp.gmail.com with ESMTPSA id v3-20020a17090606c300b0094f698073e0sm678388ejb.123.2023.04.16.10.47.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Apr 2023 10:47:04 -0700 (PDT) Message-ID: <6ec55a3d-8b9a-2a44-6a0c-0dfc0100e88a@linaro.org> Date: Sun, 16 Apr 2023 19:47:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v5 04/14] dt-bindings: phy: qcom,sc7180-qmp-usb3-dp-phy: Add ports as an optional Content-Language: en-US To: Bryan O'Donoghue , linux@roeck-us.net, heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org, andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: caleb.connolly@linaro.org, konrad.dybcio@linaro.org, subbaram@quicinc.com, jackp@quicinc.com, robertom@qti.qualcomm.com References: <20230413113438.1577658-1-bryan.odonoghue@linaro.org> <20230413113438.1577658-5-bryan.odonoghue@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20230413113438.1577658-5-bryan.odonoghue@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 13/04/2023 13:34, Bryan O'Donoghue wrote: > Add ports as an optional > > port@0 to receive an orientation-switch message from the Type-C port or > redriver > > port@1 to subsequently transmit the orientation-switch on once the PHY has > finished doing its orientation turn-around. > > Signed-off-by: Bryan O'Donoghue > --- > .../phy/qcom,sc7180-qmp-usb3-dp-phy.yaml | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml > index d307343388888..9ef69ad12b74a 100644 > --- a/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/qcom,sc7180-qmp-usb3-dp-phy.yaml > @@ -65,6 +65,22 @@ properties: > description: Flag the port as possible handler of orientation switching > type: boolean > > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + description: OF graph bindings that model incoming orientation-switch and > + outgoing orientation-switch messages. An example of an incoming > + orientation-switch message might come form a Type-C connector or a USB > + redriver. An example of an output would be a DisplayPort controller. > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/properties/port > + description: Type-C mux orientation-switch input. > + > + port@1: > + $ref: /schemas/graph.yaml#/properties/port > + description: PHY orientation-siwtch output. typo: switch I assume both ports are required? Could it work without input or output? Best regards, Krzysztof