diff mbox series

[5/8] mips: bmips: add BCM6362 clock definitions

Message ID 20200615090231.2932696-6-noltari@gmail.com (mailing list archive)
State Mainlined
Commit fb8fb3f13f86fda0af72c02691333fdba5164c20
Headers show
Series clk: bcm63xx-gate: introduce dt-bindings definitions | expand

Commit Message

Álvaro Fernández Rojas June 15, 2020, 9:02 a.m. UTC
Add header with BCM6362 definitions in order to be able to include it from
device tree files.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
 include/dt-bindings/clock/bcm6362-clock.h | 26 +++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 include/dt-bindings/clock/bcm6362-clock.h

Comments

Florian Fainelli June 17, 2020, 9:40 p.m. UTC | #1
On 6/15/2020 2:02 AM, Álvaro Fernández Rojas wrote:
> Add header with BCM6362 definitions in order to be able to include it from
> device tree files.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Stephen Boyd June 20, 2020, 12:04 a.m. UTC | #2
Quoting Álvaro Fernández Rojas (2020-06-15 02:02:28)
> Add header with BCM6362 definitions in order to be able to include it from
> device tree files.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> ---
>  include/dt-bindings/clock/bcm6362-clock.h | 26 +++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 include/dt-bindings/clock/bcm6362-clock.h
> 
> diff --git a/include/dt-bindings/clock/bcm6362-clock.h b/include/dt-bindings/clock/bcm6362-clock.h
> new file mode 100644
> index 000000000000..17655cd5bf25
> --- /dev/null
> +++ b/include/dt-bindings/clock/bcm6362-clock.h
> @@ -0,0 +1,26 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
> +
> +#ifndef __DT_BINDINGS_CLOCK_BCM6362_H
> +#define __DT_BINDINGS_CLOCK_BCM6362_H
> +
> +#define BCM6362_CLK_ADSL_QPROC 1
> +#define BCM6362_CLK_ADSL_AFE   2
> +#define BCM6362_CLK_ADSL       3
> +#define BCM6362_CLK_MIPS       4
> +#define BCM6362_CLK_WLAN_OCP   5
> +#define BCM6362_CLK_SWPKT_USB  7
> +#define BCM6362_CLK_SWPKT_SAR  8
> +#define BCM6362_CLK_SAR                9
> +#define BCM6362_CLK_ROBOSW     10
> +#define BCM6362_CLK_PCM                11
> +#define BCM6362_CLK_USBD       12
> +#define BCM6362_CLK_USBH       13
> +#define BCM6362_CLK_IPSEC      14
> +#define BCM6362_CLK_SPI                15
> +#define BCM6362_CLK_HSSPI      16
> +#define BCM6362_CLK_PCIE       17
> +#define BCM6362_CLK_FAP                18
> +#define BCM6362_CLK_PHYMIPS    19
> +#define BCM6362_CLK_NAND       20
> +
> +#endif /* __DT_BINDINGS_CLOCK_BCM6362_H */
> -- 
> 2.27.0
>
Stephen Boyd June 20, 2020, 12:05 a.m. UTC | #3
Quoting Álvaro Fernández Rojas (2020-06-15 02:02:28)
> Add header with BCM6362 definitions in order to be able to include it from
> device tree files.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/include/dt-bindings/clock/bcm6362-clock.h b/include/dt-bindings/clock/bcm6362-clock.h
new file mode 100644
index 000000000000..17655cd5bf25
--- /dev/null
+++ b/include/dt-bindings/clock/bcm6362-clock.h
@@ -0,0 +1,26 @@ 
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+#ifndef __DT_BINDINGS_CLOCK_BCM6362_H
+#define __DT_BINDINGS_CLOCK_BCM6362_H
+
+#define BCM6362_CLK_ADSL_QPROC	1
+#define BCM6362_CLK_ADSL_AFE	2
+#define BCM6362_CLK_ADSL	3
+#define BCM6362_CLK_MIPS	4
+#define BCM6362_CLK_WLAN_OCP	5
+#define BCM6362_CLK_SWPKT_USB	7
+#define BCM6362_CLK_SWPKT_SAR	8
+#define BCM6362_CLK_SAR		9
+#define BCM6362_CLK_ROBOSW	10
+#define BCM6362_CLK_PCM		11
+#define BCM6362_CLK_USBD	12
+#define BCM6362_CLK_USBH	13
+#define BCM6362_CLK_IPSEC	14
+#define BCM6362_CLK_SPI		15
+#define BCM6362_CLK_HSSPI	16
+#define BCM6362_CLK_PCIE	17
+#define BCM6362_CLK_FAP		18
+#define BCM6362_CLK_PHYMIPS	19
+#define BCM6362_CLK_NAND	20
+
+#endif /* __DT_BINDINGS_CLOCK_BCM6362_H */