rzg2l-cpg.c (542898c5aa5c6a3179dffb1d1606884a63f75fed) | rzg2l-cpg.c (a1bcf50a99dd1e40f0c6a963bd4f12547a89d4cd) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * RZ/G2L Clock Pulse Generator 4 * 5 * Copyright (C) 2021 Renesas Electronics Corp. 6 * 7 * Based on renesas-cpg-mssr.c 8 * --- 939 unchanged lines hidden (view full) --- 948 949static const struct of_device_id rzg2l_cpg_match[] = { 950#ifdef CONFIG_CLK_R9A07G044 951 { 952 .compatible = "renesas,r9a07g044-cpg", 953 .data = &r9a07g044_cpg_info, 954 }, 955#endif | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * RZ/G2L Clock Pulse Generator 4 * 5 * Copyright (C) 2021 Renesas Electronics Corp. 6 * 7 * Based on renesas-cpg-mssr.c 8 * --- 939 unchanged lines hidden (view full) --- 948 949static const struct of_device_id rzg2l_cpg_match[] = { 950#ifdef CONFIG_CLK_R9A07G044 951 { 952 .compatible = "renesas,r9a07g044-cpg", 953 .data = &r9a07g044_cpg_info, 954 }, 955#endif |
956#ifdef CONFIG_CLK_R9A07G054 957 { 958 .compatible = "renesas,r9a07g054-cpg", 959 .data = &r9a07g054_cpg_info, 960 }, 961#endif |
|
956 { /* sentinel */ } 957}; 958 959static struct platform_driver rzg2l_cpg_driver = { 960 .driver = { 961 .name = "rzg2l-cpg", 962 .of_match_table = rzg2l_cpg_match, 963 }, 964}; 965 966static int __init rzg2l_cpg_init(void) 967{ 968 return platform_driver_probe(&rzg2l_cpg_driver, rzg2l_cpg_probe); 969} 970 971subsys_initcall(rzg2l_cpg_init); 972 973MODULE_DESCRIPTION("Renesas RZ/G2L CPG Driver"); 974MODULE_LICENSE("GPL v2"); | 962 { /* sentinel */ } 963}; 964 965static struct platform_driver rzg2l_cpg_driver = { 966 .driver = { 967 .name = "rzg2l-cpg", 968 .of_match_table = rzg2l_cpg_match, 969 }, 970}; 971 972static int __init rzg2l_cpg_init(void) 973{ 974 return platform_driver_probe(&rzg2l_cpg_driver, rzg2l_cpg_probe); 975} 976 977subsys_initcall(rzg2l_cpg_init); 978 979MODULE_DESCRIPTION("Renesas RZ/G2L CPG Driver"); 980MODULE_LICENSE("GPL v2"); |