psc.c (c6ed4d734bc7f731709dab0ffd69eed499dd5277) psc.c (c2952e271b94f805e8cb73d18e50394689cae508)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Clock driver for TI Davinci PSC controllers
4 *
5 * Copyright (C) 2017 David Lechner <david@lechnology.com>
6 *
7 * Based on: drivers/clk/keystone/gate.c
8 * Copyright (C) 2013 Texas Instruments.

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

481 return 0;
482}
483
484static const struct of_device_id davinci_psc_of_match[] = {
485 { }
486};
487
488static const struct platform_device_id davinci_psc_id_table[] = {
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Clock driver for TI Davinci PSC controllers
4 *
5 * Copyright (C) 2017 David Lechner <david@lechnology.com>
6 *
7 * Based on: drivers/clk/keystone/gate.c
8 * Copyright (C) 2013 Texas Instruments.

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

481 return 0;
482}
483
484static const struct of_device_id davinci_psc_of_match[] = {
485 { }
486};
487
488static const struct platform_device_id davinci_psc_id_table[] = {
489 { .name = "da830-psc0", .driver_data = (kernel_ulong_t)&da830_psc0_init_data },
490 { .name = "da830-psc1", .driver_data = (kernel_ulong_t)&da830_psc1_init_data },
489 { }
490};
491
492static int davinci_psc_probe(struct platform_device *pdev)
493{
494 struct device *dev = &pdev->dev;
495 const struct of_device_id *of_id;
496 const struct davinci_psc_init_data *init_data = NULL;

--- 46 unchanged lines hidden ---
491 { }
492};
493
494static int davinci_psc_probe(struct platform_device *pdev)
495{
496 struct device *dev = &pdev->dev;
497 const struct of_device_id *of_id;
498 const struct davinci_psc_init_data *init_data = NULL;

--- 46 unchanged lines hidden ---