From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E221B5; Sun, 19 Nov 2023 07:23:58 -0800 (PST) Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-1efa01323b4so2202768fac.3; Sun, 19 Nov 2023 07:23:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700407437; x=1701012237; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JvBH+EWY74pgOdnostfTvFXJoA0rOQwdXiujVZ07pTs=; b=BgtnF7aRHB9UFtp4uF/p/XioDOed/vZySK1FS/I6vRDmgLf1vtMeG1MtWxkLH6Hvhk 3T9IDypWc+3A+4/50ZSPzpV++kFdMMfrnJKiuYZu4ED7Shi+bwoOtw9p36PK7nqoqJoQ w/XjeWglXN9qtBrA4vwEOUhCRPDwiyJhO3VsaJehvpYNUA8T7LtG4RgHztgvO9ZK+oWX 8SzcvH9mlRV1NAq3e/WZhI+gS+Fk9MWTUm7at7AJfPmaoab/MFWOIglNyiDmAKBgtkiq tCgvDpB0bKHbEBh8kvxUM7ZINcCPGVPlHiAywmR/nhLLBI2asjUtMfV9bpQut9NGi5n/ uA3Q== X-Gm-Message-State: AOJu0YxsiUUUmhFzon+u7CKbrY7kC2I4lHnOGVNZhsaZlWoDre5pNVkI UGv82bCBDBPQ4MlixMefBOPKFA4S6Q== X-Google-Smtp-Source: AGHT+IGDY8KITDzwXPPX6dbv/Syq98ERWXvGlyDk+aFKC8MDHNnswIHQzkscF5GiPJ//Dn3zZ0QfQw== X-Received: by 2002:a05:6870:af05:b0:1f4:a48d:d32f with SMTP id ux5-20020a056870af0500b001f4a48dd32fmr5682063oab.25.1700407437363; Sun, 19 Nov 2023 07:23:57 -0800 (PST) Received: from herring.priv ([2607:fb90:45e3:889f:15b4:1348:6d64:224b]) by smtp.gmail.com with ESMTPSA id v9-20020a056830090900b006d64f51a94bsm899932ott.34.2023.11.19.07.23.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 07:23:56 -0800 (PST) Received: (nullmailer pid 223586 invoked by uid 1000); Sun, 19 Nov 2023 15:23:54 -0000 Date: Sun, 19 Nov 2023 09:23:54 -0600 From: Rob Herring To: gabriel.fernandez@foss.st.com Cc: Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/5] dt-bindings: stm32: add clocks and reset binding for stm32mp25 platform Message-ID: <20231119152354.GA216405-robh@kernel.org> References: <20231116154952.1206705-1-gabriel.fernandez@foss.st.com> <20231116154952.1206705-4-gabriel.fernandez@foss.st.com> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231116154952.1206705-4-gabriel.fernandez@foss.st.com> On Thu, Nov 16, 2023 at 04:49:50PM +0100, gabriel.fernandez@foss.st.com wrote: > From: Gabriel Fernandez > > Adds clock and reset binding entries for STM32MP25 SoC family > > Signed-off-by: Gabriel Fernandez > --- > .../bindings/clock/st,stm32mp25-rcc.yaml | 72 +++ > include/dt-bindings/clock/st,stm32mp25-rcc.h | 492 ++++++++++++++++++ > include/dt-bindings/reset/st,stm32mp25-rcc.h | 165 ++++++ > 3 files changed, 729 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml > create mode 100644 include/dt-bindings/clock/st,stm32mp25-rcc.h > create mode 100644 include/dt-bindings/reset/st,stm32mp25-rcc.h > > diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml > new file mode 100644 > index 000000000000..1bdcfacd62d5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml > @@ -0,0 +1,72 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/st,stm32mp25-rcc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: STM32MP25 Reset Clock Controller > + > +maintainers: > + - Gabriel Fernandez > + > +description: | > + The RCC hardware block is both a reset and a clock controller. > + RCC makes also power management (resume/supend). > + > + See also:: > + include/dt-bindings/clock/st,stm32mp25-rcc.h > + include/dt-bindings/reset/st,stm32mp25-rcc.h > + > +properties: > + compatible: > + enum: > + - st,stm32mp25-rcc > + > + reg: > + maxItems: 1 > + > + '#clock-cells': > + const: 1 > + > + '#reset-cells': > + const: 1 > + > + clocks: > + description: Specifies oscillators. > + maxItems: 5 > + > + clock-names: > + items: > + - const: hse > + - const: hsi > + - const: msi > + - const: lse > + - const: lsi No idea what these TLAs are... Define them in clocks: clocks: items: - description: what hse is - ... 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C7C81C072A2 for ; Sun, 19 Nov 2023 15:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=o0hdMatyZhgqyg6V1afgcEZOhs1/jjWEAsGOIn4YuwQ=; b=c2sk/qn1hAj4RZ nYt2w7BzU9V4paQI+Rtbv4dVzNBq+pzLIWMSfMsZ/1AoAAzaUmzzHF3JZvmQRpjidM9Fit7sNiSAT JqMO1/OTIOzuPWJduJuMa0bR/9fuk77Z+wQrg97864bAUizhiXZyeSA/lh8kzn65ZNpU3lexKied1 +oLvf9x3mcGqSb+8apl/+FdIyM2Gw5491PyTDNJQzLm6VBhwgHtsNv5T00v1U6LOn1ye5HHOH+jAF jSds1rpQewa7xBstsXCamXuBUSMMSUf1V/NLqxNS5Nzf6eIqD70wXbpIWwWuXnDbJDtrubNM2qK/G ZBPm5p6rGlUVRySdREyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r4jeT-00AKvC-1L; Sun, 19 Nov 2023 15:24:01 +0000 Received: from mail-oa1-f52.google.com ([209.85.160.52]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r4jeQ-00AKun-2r for linux-arm-kernel@lists.infradead.org; Sun, 19 Nov 2023 15:24:00 +0000 Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-1efb9571b13so2208367fac.2 for ; Sun, 19 Nov 2023 07:23:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700407437; x=1701012237; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JvBH+EWY74pgOdnostfTvFXJoA0rOQwdXiujVZ07pTs=; b=hxHUmM59VW3uLtQbBYjsQZtLCzPWE8MREWOLlfROBlJ0AeL8F8S4tfs1YkOCOKsDjt KgTrqHBX5Kgywh4EdiOZ7JfzxquoAyu+UdexBka/4jwZNNfDjrkMoIMq6M7pF1kQbkWg +DbLISPJHN7oecdTYFKjLR1MAiJzBQonzEWe+wZ/EWF1lmcpGkBF+IwU85GuL7XaJqC/ WlmeUEZT+u01X5tIu40EqIeSrZ1BduWQQdr4nibEiGSdrnMPCeRHBKBHD2BGaIWc7QBw lzLjNRShJX0H/eKH4CuX6OxFaKAfGejrkSI81a0XCEmKludDZb0DLxpYHYIL8wwyLux2 ooRw== X-Gm-Message-State: AOJu0YwqvLQtVMUhoacpdFQGd4NHVdwiYQEqcekoJ2sgRuaq5NvdmuhB yXYpRla7kEhvc8Fm5iuRIg== X-Google-Smtp-Source: AGHT+IGDY8KITDzwXPPX6dbv/Syq98ERWXvGlyDk+aFKC8MDHNnswIHQzkscF5GiPJ//Dn3zZ0QfQw== X-Received: by 2002:a05:6870:af05:b0:1f4:a48d:d32f with SMTP id ux5-20020a056870af0500b001f4a48dd32fmr5682063oab.25.1700407437363; Sun, 19 Nov 2023 07:23:57 -0800 (PST) Received: from herring.priv ([2607:fb90:45e3:889f:15b4:1348:6d64:224b]) by smtp.gmail.com with ESMTPSA id v9-20020a056830090900b006d64f51a94bsm899932ott.34.2023.11.19.07.23.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 07:23:56 -0800 (PST) Received: (nullmailer pid 223586 invoked by uid 1000); Sun, 19 Nov 2023 15:23:54 -0000 Date: Sun, 19 Nov 2023 09:23:54 -0600 From: Rob Herring To: gabriel.fernandez@foss.st.com Cc: Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/5] dt-bindings: stm32: add clocks and reset binding for stm32mp25 platform Message-ID: <20231119152354.GA216405-robh@kernel.org> References: <20231116154952.1206705-1-gabriel.fernandez@foss.st.com> <20231116154952.1206705-4-gabriel.fernandez@foss.st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231116154952.1206705-4-gabriel.fernandez@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231119_072359_012359_97B1E1A8 X-CRM114-Status: GOOD ( 17.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Nov 16, 2023 at 04:49:50PM +0100, gabriel.fernandez@foss.st.com wrote: > From: Gabriel Fernandez > > Adds clock and reset binding entries for STM32MP25 SoC family > > Signed-off-by: Gabriel Fernandez > --- > .../bindings/clock/st,stm32mp25-rcc.yaml | 72 +++ > include/dt-bindings/clock/st,stm32mp25-rcc.h | 492 ++++++++++++++++++ > include/dt-bindings/reset/st,stm32mp25-rcc.h | 165 ++++++ > 3 files changed, 729 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml > create mode 100644 include/dt-bindings/clock/st,stm32mp25-rcc.h > create mode 100644 include/dt-bindings/reset/st,stm32mp25-rcc.h > > diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml > new file mode 100644 > index 000000000000..1bdcfacd62d5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml > @@ -0,0 +1,72 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/st,stm32mp25-rcc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: STM32MP25 Reset Clock Controller > + > +maintainers: > + - Gabriel Fernandez > + > +description: | > + The RCC hardware block is both a reset and a clock controller. > + RCC makes also power management (resume/supend). > + > + See also:: > + include/dt-bindings/clock/st,stm32mp25-rcc.h > + include/dt-bindings/reset/st,stm32mp25-rcc.h > + > +properties: > + compatible: > + enum: > + - st,stm32mp25-rcc > + > + reg: > + maxItems: 1 > + > + '#clock-cells': > + const: 1 > + > + '#reset-cells': > + const: 1 > + > + clocks: > + description: Specifies oscillators. > + maxItems: 5 > + > + clock-names: > + items: > + - const: hse > + - const: hsi > + - const: msi > + - const: lse > + - const: lsi No idea what these TLAs are... Define them in clocks: clocks: items: - description: what hse is - ... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel