Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1072901ybz; Wed, 29 Apr 2020 14:32:59 -0700 (PDT) X-Google-Smtp-Source: APiQypIvv7A10+nTYV5ZRyiQco0nx3gALulxz4/mQTFK4cSNHWvKbyysjRyybjLEWsYuS3tdjt4v X-Received: by 2002:a50:9e8f:: with SMTP id a15mr27418edf.68.1588195979739; Wed, 29 Apr 2020 14:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588195979; cv=none; d=google.com; s=arc-20160816; b=SbPnBmtxwsN7czPtaA29GEV8BOQfXr684KScHrWYa4ro6ITEiD2LlgUuhTZkqBODqS wVWMIqMU2zMXtCM6+ZgmEI9Eh4hjgmavo7+XnSwVkYndqIN7dxUEHqvS+npDx9oFRBNN jelMuUhkw9ZnxgtfXU6Zy0hkUXeyoaza025e9FqAD5mzbLYbZk7mrnjQX1Ig02jVyowR MvPzJGNPxT3REOHsMb2GRkFq4A8yDJlON96p1WWFMcemNcfN0DgVHJc0sKlIPOhN76wJ hU5EXP099ON5K9lgZvP2dFhCdtd74PIgdbAQEmKsAlR2xG+Tyvroprv4g+f1QFK/QwQw SYQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=sNKlT+9/zIdQsL5FmjDdatJ2sdOrBvQb7gIEQfxHgsc=; b=opcF3OMajWiOrFKczZu4u5JLIY9w7ShcnBNA0ozu7zL3k/yg1ai7xei5XODz5yAnJ3 LCwTd9ft6qYCrBNVvpH7qOhqkCVR2kU4k1SoaBTiWh3Hsq2vjjlXFZ28a5WOV56gMu+F Wbg/jkxK7Z3S5u2RHHiwX9NDShj3tiQrowChYhevQjAQzibYkjJufXMjCLQf2RhzdsOo VFDSXEIsxo/rvsWZ2KXaT6Zy5V/xlgL0fFPWgOt+lhP3Yv+KE2d79nMWxy0mTiJCMKZs PpPZm0m+A4tUv0nHtpLirmRK2osM6gUNEflwF8rtXG6kSj7CBmEuKS6nPlkXxRnWqGNS RNDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si4755781ejw.475.2020.04.29.14.32.36; Wed, 29 Apr 2020 14:32:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727089AbgD2Vai (ORCPT + 99 others); Wed, 29 Apr 2020 17:30:38 -0400 Received: from mail-oo1-f68.google.com ([209.85.161.68]:47083 "EHLO mail-oo1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726511AbgD2Vah (ORCPT ); Wed, 29 Apr 2020 17:30:37 -0400 Received: by mail-oo1-f68.google.com with SMTP id x16so774479oop.13; Wed, 29 Apr 2020 14:30:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=sNKlT+9/zIdQsL5FmjDdatJ2sdOrBvQb7gIEQfxHgsc=; b=oDejzVcHBZpxMOik06C5g+oqWY+IcVQfYJY1IUI+n5ke30tUbHdDOMS5jyi/X2M10c JYbyY+PbvnH1dDmw0F8PF0SkKVN5aHoLiOM/vWoRgxfkD+t7b/rl+VZHyw9ZD/IPkP0P G4RtKrmC9aHGBbGyVcIWelvV9p1D4HOuV7nnW9oX2oCzxW6LrqdVCxDIIfh2h3GqJj7l nBmOI+fxd9WUN7qW8JikAPifQTPp9ptz+A/Iy+woZOSFyCI20zApk7qKgmEQvwZ3Esk1 KRjc92czpcs60ZanWBPIiRHidVvyC3gFpMNIS6X19DeY/ywrtgEvGn3+YYyROEX2W2vM PpUQ== X-Gm-Message-State: AGi0Pua542Hwep7Kl7tAh/8Uw8yfSlcAz1QOkKd8fVWmIB+W8vS0q16X p1kpLgfISco1PVPa+4DjScVyj8Y= X-Received: by 2002:a4a:e5c5:: with SMTP id r5mr88626oov.56.1588195836410; Wed, 29 Apr 2020 14:30:36 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id t13sm684710otr.43.2020.04.29.14.30.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2020 14:30:35 -0700 (PDT) Received: (nullmailer pid 31939 invoked by uid 1000); Wed, 29 Apr 2020 21:30:34 -0000 Date: Wed, 29 Apr 2020 16:30:34 -0500 From: Rob Herring To: Macpaul Lin Cc: Min Guo , Chunfeng Yun , Kishon Vijay Abraham I , Matthias Brugger , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Mediatek WSD Upstream , Macpaul Lin Subject: Re: [PATCH 1/2] dt-bindings: phy-mtk-tphy: add the property about force_vbus Message-ID: <20200429213034.GA29572@bogus> References: <1587100986-3104-1-git-send-email-macpaul.lin@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1587100986-3104-1-git-send-email-macpaul.lin@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 17, 2020 at 01:23:05PM +0800, Macpaul Lin wrote: > For some platforms, they don't have vbus pin connection between usb's phy > and mac. Hence we need to control force_vbus related registers to keep > hardware works normal. > This patch add the required bool property force_vbus. > > Signed-off-by: Macpaul Lin > --- > Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt > index dd75b676b71d..6b49b651becc 100644 > --- a/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt > +++ b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt > @@ -37,6 +37,9 @@ Optional properties (controller (parent) node): > calibrate > - mediatek,src-coef : coefficient for slew rate calibrate, depends on > SoC process > + - force_vbus : if the platform has no vbus connection between phy and mac, mediatek,force-vbus This is board specific? If SoC specific, you should drop and imply this from the compatible string. > + (force_vbus mode), then this property should be exist. > + Otherwise not to add this property. > > Required properties (port (child) node): > - reg : address and length of the register set for the port. > -- > 2.18.0