Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6941992rwl; Fri, 30 Dec 2022 00:46:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXuCkXGSlaaAFBocKKN3qOsCTLx/p8UTFSCmxa5ouJjRFOzIxVXwW44TIBcYiBpvFiNc9kGt X-Received: by 2002:a17:902:e5c6:b0:189:fb78:a7d4 with SMTP id u6-20020a170902e5c600b00189fb78a7d4mr46122034plf.21.1672389966453; Fri, 30 Dec 2022 00:46:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672389966; cv=none; d=google.com; s=arc-20160816; b=K5nWLKfaEKS1ddoJSesaqRys4py31SqYxhDXlSq3kD0c1TnzYWG7uDIL+frQrGHTXy IrXrSs6FOcnpqtCeFD6pHLQd9nDRfn6otmZ3uycLtWtr0ONA+2HderxWnXkEMja5U1IK yFmHxxyuEjJ6qkGlTTJPyi2ORKdr2iXle/k1b/Tt+j2sbIH+bkcz9+5SgVahVeKnvWCE XyYwbH/iri3JmhvBxb5nET0/DwZfBmviAJymfRiPnjGosyb1uWi5U7AI6Jrvdl052JDC 8dl+7HKatWBfOqvMHpIRINtJ3E06wpOeA65nWyXhLsOio+KjuoiL/CuPmS1nAr0s9x5T +qag== 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=bAnyyfuNqQmQvEppT7FkugRphAcXPYjh2BEsSM40weQ=; b=pnubCu1ysSWA0MgzuS5IR6YGz61dIrQt1ch0r4JZMdvTSS3X9Z+6BaPGSy7MaEiHFO nuGbYbbf9JEhcQAOSlaOq4O4rECb3pDRVmDxOmyCrQO6uMsrIW248vgU5Hw73kD+1dLx LTITF+42yywwsigPpuqAEqYcIriJRBhuWF1qQm+YwxEfirBYSJOP9J3rK879ZKVIAxH8 E19EOMV/RT5cYJCVrhVCUlyU99b7Sm/k4mGMFCDmJk7It5AZTtM/1uY4UvbaDnEmcXrv cye2nwnLSmygP6jDWG1jIcII2vIdesT1mVqJXNZlAEcI1CvxQYrnLj1c80hfpP45/THf HznA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YDM3xsBL; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q2-20020a170902edc200b00189684c7c79si20452591plk.293.2022.12.30.00.45.58; Fri, 30 Dec 2022 00:46:06 -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=@linaro.org header.s=google header.b=YDM3xsBL; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234791AbiL3IWE (ORCPT + 64 others); Fri, 30 Dec 2022 03:22:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234631AbiL3IWB (ORCPT ); Fri, 30 Dec 2022 03:22:01 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 274061A219 for ; Fri, 30 Dec 2022 00:22:00 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id z26so30853893lfu.8 for ; Fri, 30 Dec 2022 00:22:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=bAnyyfuNqQmQvEppT7FkugRphAcXPYjh2BEsSM40weQ=; b=YDM3xsBL4hjlX2yRXGZOX3s9wdciMI5NPmFnk7jGnE730AtD0oiYK+qSxizUbaVvDK pInWdU7XCDDiVJlleM7on5EdvIUVSCbwWcG6hD86b/bfCmMCOmTUqZNrCdZgGXXIpUxq GNlXogZ3suBdnlp3nff56MST2hCXrsux7YmouR0HHK5Zg0WXar2bCKzISZgIXIdiaYVb k0jyKfb+HWYD4xrjeV0FVa0GalqTjxRJsgvh3FYApdE2Tx+2pPiuXj+Pva9bKu9Q0sT9 oNDo2HOiTMFKy7QYvH32xK+q9PI+UGVmYTitT2u9z1xdTH39Jam786YJVgolMbuz+60E kGtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=bAnyyfuNqQmQvEppT7FkugRphAcXPYjh2BEsSM40weQ=; b=DAaaS00+2RoTRMWsgOjunfM0OIg76yesTREh+BkqFRsWbhCFx9Ep36LE8QvXdHlaCs xnoKcRb9clTqdazvV9eMi2383bFYedRAUqG9jJdvynLfXv0xTJIXAgmEN4dT45nUH7to NZZe5HUJ32wOYtckj7MWwSaUlGytVm5KvlKXDEp+RqzdXuz2ms4CXyAMVKurHwvfBGKk j/fu+wdDfyJZM1QmrsQ73AX9+lN7pnsKxKv68mPBq1Uy2SgPGe63ny3bWKhSWbriyNjs 7sCxoXVGIbr9KeLSYM0fl/sH3RjPOF1ddbnd01R6ScAJQCGVMXuh1pgr8m92KlWnUqGb kMSg== X-Gm-Message-State: AFqh2koBwtrv2gWGuxFYsVnNbiKG7pdn2/6ZslDfKiUxyGiUOe3of+Ra yYLOYGPKI7DMlFTRK2AKPfaLPA== X-Received: by 2002:a05:6512:3701:b0:4b5:9e59:8cdd with SMTP id z1-20020a056512370100b004b59e598cddmr9338231lfr.67.1672388518539; Fri, 30 Dec 2022 00:21:58 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id e13-20020a05651236cd00b004b57a810e09sm3398791lfs.288.2022.12.30.00.21.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Dec 2022 00:21:58 -0800 (PST) Message-ID: Date: Fri, 30 Dec 2022 09:21:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v2 1/2] dt-bindings: phy: Add qcom,dp-manual-pullup description Content-Language: en-US To: Bryan O'Donoghue , agross@kernel.org, andersson@kernel.org, vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org References: <20221229183410.683584-1-bryan.odonoghue@linaro.org> <20221229183410.683584-2-bryan.odonoghue@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20221229183410.683584-2-bryan.odonoghue@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 29/12/2022 19:34, Bryan O'Donoghue wrote: > The original Qualcomm driver for the HighSpeed USB PHY contains a flag > which tells the driver that the controller and PHY do not connect to VBUS. > > In this case an external IC such as a Type-C port manager supplies VBUS and > the VBUS signal is not routed to the SoC. This means we cannot detect the > presence or absence of VBUS and cannot take action based on it. > > Document the downstream boolean qcom,dp-manual-pullup to allow the HS PHY > implement the necessary logic. > > Signed-off-by: Bryan O'Donoghue > --- > Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml > index aa97478dd0161..c55a59df71ad0 100644 > --- a/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml > @@ -80,6 +80,13 @@ properties: > the address is offset from the ULPI_EXT_VENDOR_SPECIFIC address > - description: value > > + qcom,dp-manual-pullup: > + type: boolean > + description: This flag indicates to the HS USB PHY driver that it should Drop references to the driver and rephrase it to describe the controller behavior/feature or the board layout/configuration, not the driver. The same applies to property name - "manual pullup" is describing driver, not hardware. > + enable or disable an internal pullup when powering on or > + powering off the HS PHY instead of toggling the value when VBUS > + is absent or present. Wrong indentation. It's two spaces. > + > required: > - clocks > - clock-names Best regards, Krzysztof