From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerald BAEZA Subject: [PATCH 2/5] dt-bindings: perf: stm32: ddrperfm support Date: Mon, 29 Apr 2019 10:03:37 +0000 Message-ID: <1556532194-27904-3-git-send-email-gerald.baeza@st.com> References: <1556532194-27904-1-git-send-email-gerald.baeza@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1556532194-27904-1-git-send-email-gerald.baeza@st.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: "will.deacon@arm.com" , "mark.rutland@arm.com" , "robh+dt@kernel.org" , "mcoquelin.stm32@gmail.com" , Alexandre TORGUE , "corbet@lwn.net" , "linux@armlinux.org.uk" , "olof@lixom.net" , "horms+renesas@verge.net.au" , "arnd@arndb.de" Cc: "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , Gerald BAEZA List-Id: devicetree@vger.kernel.org The DDRPERFM is the DDR Performance Monitor embedded in STM32MP1 SOC. This documentation indicates how to enable stm32-ddr-pmu driver on DDRPERFM peripheral, via the device tree. Signed-off-by: Gerald Baeza --- .../devicetree/bindings/perf/stm32-ddr-pmu.txt | 18 ++++++++++++++= ++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/stm32-ddr-pmu.tx= t diff --git a/Documentation/devicetree/bindings/perf/stm32-ddr-pmu.txt b/Doc= umentation/devicetree/bindings/perf/stm32-ddr-pmu.txt new file mode 100644 index 0000000..dabc4c7 --- /dev/null +++ b/Documentation/devicetree/bindings/perf/stm32-ddr-pmu.txt @@ -0,0 +1,18 @@ +* STM32 DDR Performance Monitor (DDRPERFM) + +Required properties: +- compatible: must be "st,stm32-ddr-pmu". +- reg: physical address and length of the registers set. +- clocks: list of phandles and specifiers to all input clocks listed in + clock-names property. +- clock-names: "bus" corresponds to the DDRPERFM bus clock and "ddr" to + the DDR frequency. + +Example: + ddrperfm: perf@5a007000 { + compatible =3D "st,stm32-ddr-pmu"; + reg =3D <0x5a007000 0x400>; + clocks =3D <&rcc DDRPERFM>, <&rcc PLL2_R>; + clock-names =3D "bus", "ddr"; + }; + --=20 2.7.4