pinctrl-ocelot.c (2b1333b80885b896807ffb6ccf4bc21d29aa65e0) pinctrl-ocelot.c (4425205ea38bef591a6c800bb47082fc35e788a0)
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Microsemi SoCs pinctrl driver
4 *
5 * Author: <alexandre.belloni@free-electrons.com>
6 * License: Dual MIT/GPL
7 * Copyright (c) 2017 Microsemi Corporation
8 */

--- 1875 unchanged lines hidden (view full) ---

1884 { .compatible = "mscc,serval-pinctrl", .data = &serval_desc },
1885 { .compatible = "mscc,ocelot-pinctrl", .data = &ocelot_desc },
1886 { .compatible = "mscc,jaguar2-pinctrl", .data = &jaguar2_desc },
1887 { .compatible = "mscc,servalt-pinctrl", .data = &servalt_desc },
1888 { .compatible = "microchip,sparx5-pinctrl", .data = &sparx5_desc },
1889 { .compatible = "microchip,lan966x-pinctrl", .data = &lan966x_desc },
1890 {},
1891};
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Microsemi SoCs pinctrl driver
4 *
5 * Author: <alexandre.belloni@free-electrons.com>
6 * License: Dual MIT/GPL
7 * Copyright (c) 2017 Microsemi Corporation
8 */

--- 1875 unchanged lines hidden (view full) ---

1884 { .compatible = "mscc,serval-pinctrl", .data = &serval_desc },
1885 { .compatible = "mscc,ocelot-pinctrl", .data = &ocelot_desc },
1886 { .compatible = "mscc,jaguar2-pinctrl", .data = &jaguar2_desc },
1887 { .compatible = "mscc,servalt-pinctrl", .data = &servalt_desc },
1888 { .compatible = "microchip,sparx5-pinctrl", .data = &sparx5_desc },
1889 { .compatible = "microchip,lan966x-pinctrl", .data = &lan966x_desc },
1890 {},
1891};
1892MODULE_DEVICE_TABLE(of, ocelot_pinctrl_of_match);
1892
1893static struct regmap *ocelot_pinctrl_create_pincfg(struct platform_device *pdev)
1894{
1895 void __iomem *base;
1896
1897 const struct regmap_config regmap_config = {
1898 .reg_bits = 32,
1899 .val_bits = 32,

--- 79 unchanged lines hidden (view full) ---

1979static struct platform_driver ocelot_pinctrl_driver = {
1980 .driver = {
1981 .name = "pinctrl-ocelot",
1982 .of_match_table = of_match_ptr(ocelot_pinctrl_of_match),
1983 .suppress_bind_attrs = true,
1984 },
1985 .probe = ocelot_pinctrl_probe,
1986};
1893
1894static struct regmap *ocelot_pinctrl_create_pincfg(struct platform_device *pdev)
1895{
1896 void __iomem *base;
1897
1898 const struct regmap_config regmap_config = {
1899 .reg_bits = 32,
1900 .val_bits = 32,

--- 79 unchanged lines hidden (view full) ---

1980static struct platform_driver ocelot_pinctrl_driver = {
1981 .driver = {
1982 .name = "pinctrl-ocelot",
1983 .of_match_table = of_match_ptr(ocelot_pinctrl_of_match),
1984 .suppress_bind_attrs = true,
1985 },
1986 .probe = ocelot_pinctrl_probe,
1987};
1987builtin_platform_driver(ocelot_pinctrl_driver);
1988module_platform_driver(ocelot_pinctrl_driver);
1989MODULE_LICENSE("Dual MIT/GPL");