[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250203-congenial-transparent-horse-cc5d4b@krzk-bin>
Date: Mon, 3 Feb 2025 08:57:04 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Kaustabh Chakraborty <kauschluss@...root.org>
Cc: Rob Herring <robh@...nel.org>, Conor Dooley <conor@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>, Sylwester Nawrocki <s.nawrocki@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>, Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>, Tomasz Figa <tomasz.figa@...il.com>,
Linus Walleij <linus.walleij@...aro.org>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>, Lee Jones <lee@...nel.org>, Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>, Marek Szyprowski <m.szyprowski@...sung.com>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>, Andi Shyti <andi.shyti@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>, Jaehoon Chung <jh80.chung@...sung.com>,
Vivek Gautam <gautam.vivek@...sung.com>, Thinh Nguyen <Thinh.Nguyen@...opsys.com>,
Kees Cook <kees@...nel.org>, Tony Luck <tony.luck@...el.com>,
"Guilherme G . Piccoli" <gpiccoli@...lia.com>, Sergey Lisov <sleirsgoevy@...il.com>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-clk@...r.kernel.org, linux-gpio@...r.kernel.org, linux-serial@...r.kernel.org,
linux-phy@...ts.infradead.org, linux-usb@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-i2c@...r.kernel.org, linux-mmc@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH 03/33] dt-bindings: clock: document exynos7870 clock
driver CMU bindings
On Mon, Feb 03, 2025 at 12:39:24AM +0530, Kaustabh Chakraborty wrote:
Subject - drop driver. Bindings are about hardware. This applies to all
your bindings patches
> + clock-names:
> + items:
> + - const: oscclk
> + - const: gout_mif_cmu_mfcmscl_mfc
> + - const: gout_mif_cmu_mfcmscl_mscl
> +
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: samsung,exynos7870-cmu-peri
> +
Drop blank line
> + then:
> + properties:
> + clocks:
> + items:
> + - description: External reference clock (26 MHz)
> + - description: CMU_PERI bus clock (from CMU_MIF)
> + - description: SPI0 clock (from CMU_MIF)
> + - description: SPI1 clock (from CMU_MIF)
> + - description: SPI2 clock (from CMU_MIF)
> + - description: SPI3 clock (from CMU_MIF)
> + - description: SPI4 clock (from CMU_MIF)
> + - description: UART0 clock (from CMU_MIF)
> + - description: UART1 clock (from CMU_MIF)
> + - description: UART2 clock (from CMU_MIF)
> +
> + clock-names:
> + items:
> + - const: oscclk
> + - const: gout_mif_cmu_peri_bus
> + - const: gout_mif_cmu_peri_spi0
> + - const: gout_mif_cmu_peri_spi1
> + - const: gout_mif_cmu_peri_spi2
> + - const: gout_mif_cmu_peri_spi3
> + - const: gout_mif_cmu_peri_spi4
> + - const: gout_mif_cmu_peri_uart0
> + - const: gout_mif_cmu_peri_uart1
> + - const: gout_mif_cmu_peri_uart2
> +
> +required:
> + - compatible
> + - "#clock-cells"
> + - clocks
> + - clock-names
> + - reg
required block is just after properties.
> +
> +additionalProperties: false
> +
> +examples:
> + # Clock controller node for CMU_PERI
Drop
> + - |
> + #include <dt-bindings/clock/exynos7870.h>
> +
> + cmu_peri: clock-controller@...F0000 {
Lowercase hex
> + compatible = "samsung,exynos7870-cmu-peri";
> + reg = <0x101f0000 0x1000>;
> + #clock-cells = <1>;
> +
> + clock-names = "oscclk",
> + "gout_mif_cmu_peri_bus",
> + "gout_mif_cmu_peri_spi0",
> + "gout_mif_cmu_peri_spi1",
> + "gout_mif_cmu_peri_spi2",
> + "gout_mif_cmu_peri_spi3",
> + "gout_mif_cmu_peri_spi4",
> + "gout_mif_cmu_peri_uart0",
> + "gout_mif_cmu_peri_uart1",
> + "gout_mif_cmu_peri_uart2";
> + clocks = <&oscclk>,
> + <&cmu_mif CLK_GOUT_MIF_CMU_PERI_BUS>,
> + <&cmu_mif CLK_GOUT_MIF_CMU_PERI_SPI0>,
> + <&cmu_mif CLK_GOUT_MIF_CMU_PERI_SPI1>,
> + <&cmu_mif CLK_GOUT_MIF_CMU_PERI_SPI2>,
> + <&cmu_mif CLK_GOUT_MIF_CMU_PERI_SPI3>,
> + <&cmu_mif CLK_GOUT_MIF_CMU_PERI_SPI4>,
> + <&cmu_mif CLK_GOUT_MIF_CMU_PERI_UART0>,
> + <&cmu_mif CLK_GOUT_MIF_CMU_PERI_UART1>,
> + <&cmu_mif CLK_GOUT_MIF_CMU_PERI_UART2>;
> + };
> +
> +...
> --
> 2.48.1
>
Powered by blists - more mailing lists