Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3353548pxb; Mon, 25 Jan 2021 13:44:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0eTvrSVnvEpJYK86EGYH9d0CTbG9QQ8sguLkZnYBdjtT5m+VHNxT96BJrJTyZnKtEoQMH X-Received: by 2002:a17:906:ada:: with SMTP id z26mr1593796ejf.127.1611611085615; Mon, 25 Jan 2021 13:44:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611611085; cv=none; d=google.com; s=arc-20160816; b=iI2deZDDxNReOIjiv80J3DzLXWZjCzCTm+Susgx4wU8uGqQ78XaUeq/Hs7ZaSAPm/u jnmRRMQ4Az1t0IZOjhG7uf6ENXJxjA26aqHEBDwmve5WyVASMVKhL8yDZWz4b9diGUb8 RpG0pO1ubL00au+8ryKxka4kiEq6DmbRobKJh0h0MVUXQOEZ53FZnKZJis6xN+z44NWl RzVIvdfEGwKY22MQoAnhNHs6fywCY1SD3amrryUwd3nYtR/9acDbV6MKP+XN4z6qAo0d 5gX0oFRtCDrPKcjNWfKKWd2R3xLOzBO+owhYQ4PwWbps7GPLiPET5C6Y5iI4hXqLwTWW J+KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=jFvGGF+GApXU3mEuRZRMts4wWuIR4lLZDNcLcWjS4Os=; b=t+SAkcpPU9FJHhlNkZN3y/0COHvoGEukRhBDlC5XJ6hfwBEn1U1kbYBFFlBCTk6Vzr O7u+LJ5jX5zyXzrvKPtdn2GoS0XNfCAf3NzeuFiaTgGS0zWRO6EwlLbaPWVOfFieh31G IsRkeDd4aWHxo4/Ys1nQ/edo596lDR4fmCJ6FPqji8zindxAwzU5l9X/C7DQD5FDNZoG FLdaoZ+xqAXCREopcWOHWXkFN8Wco1zyNZIajRpJ62BcM6A+ueK4CV+Oa/IFcQSatK0U xEW+FpmSrdlB0AGJ38ubgUIt8Ul3Of+hvJ1KoDooieZj4+rfU0D07poeU69RsCLZvkUE QjGw== 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 lb13si2610400ejc.423.2021.01.25.13.44.21; Mon, 25 Jan 2021 13:44:45 -0800 (PST) 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 S1733015AbhAYVmZ (ORCPT + 99 others); Mon, 25 Jan 2021 16:42:25 -0500 Received: from mail-ot1-f48.google.com ([209.85.210.48]:40577 "EHLO mail-ot1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732885AbhAYVlZ (ORCPT ); Mon, 25 Jan 2021 16:41:25 -0500 Received: by mail-ot1-f48.google.com with SMTP id i20so14294325otl.7; Mon, 25 Jan 2021 13:41:10 -0800 (PST) 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; bh=jFvGGF+GApXU3mEuRZRMts4wWuIR4lLZDNcLcWjS4Os=; b=eVxweh7NTtj1/fKXW4BOPet3i5InnQlEvt1aUGGbFRWPd7Ce5TeymPQXju8jUL1jFU AsRR+TK16HA9xVibGZ0oaagDFp4xqFcRo/AvbSrDqb1mVbz6B1hOJdKLk7XTbkkB2zIb RGiza9b8wARo+If5RId0iAv8ogYxDfAR4YII6EUlZlB4Zrn2/ul85g60zkHcCwV231Bn BQ0xo425Dbm/t/zhGKgnDBTqlQNpkRej1/+t/TnvpZwD3Gxnnw1MTI3dmEhxVYay+mBy qiqpkI0gWke/S6u95/u6A2UcyDmr2D59G57mmF22OwjVUBRg3/wqCPgLXRAXheBuILOx tW9Q== X-Gm-Message-State: AOAM530XpzeTA4yfRYwj8Nyj8w5w+KJ5zD44Xv2ljTwv7fSxMzGhivwU 4/evg/YhFMW4NIcNxr4EEQ== X-Received: by 2002:a05:6830:1589:: with SMTP id i9mr1772550otr.127.1611610844768; Mon, 25 Jan 2021 13:40:44 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id t65sm3726614oie.25.2021.01.25.13.40.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 13:40:43 -0800 (PST) Received: (nullmailer pid 1053015 invoked by uid 1000); Mon, 25 Jan 2021 21:40:42 -0000 Date: Mon, 25 Jan 2021 15:40:42 -0600 From: Rob Herring To: Amelie Delaunay Cc: Kishon Vijay Abraham I , Vinod Koul , Alexandre Torgue , Maxime Coquelin , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH v2 1/2] dt-bindings: phy: phy-stm32-usbphyc: add #clock-cells required property Message-ID: <20210125214042.GA1049362@robh.at.kernel.org> References: <20210114171314.18946-1-amelie.delaunay@foss.st.com> <20210114171314.18946-2-amelie.delaunay@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210114171314.18946-2-amelie.delaunay@foss.st.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 14, 2021 at 06:13:13PM +0100, Amelie Delaunay wrote: > usbphyc provides a unique clock called ck_usbo_48m. > STM32 USB OTG needs a 48Mhz clock (utmifs_clk48) for Full-Speed operation. > ck_usbo_48m is a possible parent clock for USB OTG 48Mhz clock. > > ck_usbo_48m is available as soon as the PLL is enabled. > > Signed-off-by: Amelie Delaunay > --- > No change in v2. > --- > .../devicetree/bindings/phy/phy-stm32-usbphyc.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.yaml b/Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.yaml > index 46df6786727a..4e4da64b8e01 100644 > --- a/Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.yaml > +++ b/Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.yaml > @@ -51,6 +51,10 @@ properties: > vdda1v8-supply: > description: regulator providing 1V8 power supply to the PLL block > > + '#clock-cells': > + description: number of clock cells for ck_usbo_48m consumer > + const: 0 > + > #Required child nodes: > > patternProperties: > @@ -102,6 +106,7 @@ required: > - "#size-cells" > - vdda1v1-supply > - vdda1v8-supply > + - '#clock-cells' You can't really make new properties required as it's not backwards compatible. If things can never work without or the binding has never been used, then you can. You just need to spell this out in the commit msg. > - usb-phy@0 > - usb-phy@1 > > @@ -120,6 +125,7 @@ examples: > vdda1v8-supply = <®18>; > #address-cells = <1>; > #size-cells = <0>; > + #clock-cells = <0>; > > usbphyc_port0: usb-phy@0 { > reg = <0>; > -- > 2.17.1 >