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 X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FE12C3A5A3 for ; Thu, 29 Aug 2019 19:26:03 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 03383215EA for ; Thu, 29 Aug 2019 19:26:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GeULTjUU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 03383215EA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1YvpL7eHnbKa0sKjkiYbeEmIy/Tpcm+ofgDa6Mj1Ugg=; b=GeULTjUUtqz1M9 9JQHAq8Ar1eXa1olaRnHQIPiMmnLd8Y05BJy6GguZW0w5ymoISLaIIV9B01iPJ+q4O2TwL2e1TYOT 2Y8xVRSUmZQ0X5WJ0NaQuf7O87gTe9CyFU1BIMIhdMxzysvDxY4d7HKrHwXYRbsm2D5w293tuCJhi +wLNfNh3iXuPGk6YAt65xG2RWZP9OJsdkGWO4NR2Gahs7mc3u3mmDc1omgfTBflmBpbdq7cMViD9c TJ0F0CkdrZE5XKyybKbwG0Vy13COrQfSP25sQLtrb5xCWpuKE/z+/Bw9bW1hv6FzSCViRC67/7hk3 VcSFmEU2oAZacGaOlWfQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3Q3P-0001Hh-8P; Thu, 29 Aug 2019 19:25:55 +0000 Received: from mail-oi1-f195.google.com ([209.85.167.195]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i3Q3M-0001HD-9K; Thu, 29 Aug 2019 19:25:53 +0000 Received: by mail-oi1-f195.google.com with SMTP id a127so3490128oii.2; Thu, 29 Aug 2019 12:25:52 -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=lZ2BYe42I9MJ0wayu5k+436nxyRI7BnkkEeIXJqYPPY=; b=pUVZ4mmObUUVEGu9cJ9TaAOStLSdmLZgMs2dqHWQIkrgx3Z4eRnwWmyYZX/M1IrrYV QeelKj6aV2KE7VzOf4SWGN5tDcOoTFNwIXfC6ZGJ+3aa+TDpuIh4JSE/UTo5aBDnKdUh O5/x1ttdF3BNUeK6ysoxm3JsKSI7jJK1KbWeOE8UxEZX+ctHQVUQ1DQO0NvJfPvZhrMJ xKc/M8/uf2yQ5OAfhiwfltJD+Y8lxw+9TLwAaOB5CencO3C3a9+2u4CZkKK5ZoeslcGf vLj2BxFGJjV7/LDHLtZX0HW7IPrnUlm5zSdjEbHwtOqH9hF8vDnD0khm65uRCyeDng/+ rk0w== X-Gm-Message-State: APjAAAVm20AGgg9cvXsUg8Vqz9iqQ+e9Vsvh8O57rF9tbOH/6OXPc5Mh 83GxOiGYJ/TIaIj38Se2Ww== X-Google-Smtp-Source: APXvYqxg9o4u0friAhLIFb1wO376me4+33exQL8RzM7lAtGBzLxeG67AR60+ryEQemuydVobqBKytA== X-Received: by 2002:a54:4893:: with SMTP id r19mr7711912oic.91.1567106751513; Thu, 29 Aug 2019 12:25:51 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id z26sm839164oih.16.2019.08.29.12.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2019 12:25:51 -0700 (PDT) Date: Thu, 29 Aug 2019 14:25:50 -0500 From: Rob Herring To: Chunfeng Yun Subject: Re: [PATCH 02/11] dt-bindings: phy-mtk-tphy: make the ref clock optional Message-ID: <20190829192550.GA29881@bogus> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190829_122552_328143_84E8B353 X-CRM114-Status: GOOD ( 16.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Aug 23, 2019 at 03:00:09PM +0800, Chunfeng Yun wrote: > Make the ref clock optional, then we no need refer to a fixed-clock > in DTS anymore when the clock of USB3 PHY comes from oscillator > directly > > Signed-off-by: Chunfeng Yun > --- > .../devicetree/bindings/phy/phy-mtk-tphy.txt | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt > index d5b327f85fa2..1c18bf10b2fe 100644 > --- a/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt > +++ b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt > @@ -34,12 +34,6 @@ Optional properties (controller (parent) node): > > Required properties (port (child) node): > - reg : address and length of the register set for the port. > -- clocks : a list of phandle + clock-specifier pairs, one for each > - entry in clock-names > -- clock-names : must contain > - "ref": 48M reference clock for HighSpeed analog phy; and 26M > - reference clock for SuperSpeed analog phy, sometimes is > - 24M, 25M or 27M, depended on platform. > - #phy-cells : should be 1 (See second example) > cell after port phandle is phy type from: > - PHY_TYPE_USB2 > @@ -48,6 +42,13 @@ Required properties (port (child) node): > - PHY_TYPE_SATA > > Optional properties (PHY_TYPE_USB2 port (child) node): > +- clocks : a list of phandle + clock-specifier pairs, one for each > + entry in clock-names > +- clock-names : may contain > + "ref": 48M reference clock for HighSpeed anolog phy; and 26M > + reference clock for SuperSpeed anolog phy, sometimes is > + 24M, 25M or 27M, depended on platform. How do you know the frequency when it is not present? > + > - mediatek,eye-src : u32, the value of slew rate calibrate > - mediatek,eye-vrt : u32, the selection of VRT reference voltage > - mediatek,eye-term : u32, the selection of HS_TX TERM reference voltage > -- > 2.23.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel