]> Git Repo - J-linux.git/blob - drivers/media/platform/raspberrypi/rp1-cfe/dphy.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / media / platform / raspberrypi / rp1-cfe / dphy.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2021-2024 Raspberry Pi Ltd.
4  * Copyright (c) 2023-2024 Ideas on Board Oy
5  */
6
7 #ifndef _RP1_DPHY_
8 #define _RP1_DPHY_
9
10 #include <linux/io.h>
11 #include <linux/types.h>
12
13 struct dphy_data {
14         struct device *dev;
15
16         void __iomem *base;
17
18         u32 dphy_rate;
19         u32 max_lanes;
20         u32 active_lanes;
21 };
22
23 void dphy_probe(struct dphy_data *dphy);
24 void dphy_start(struct dphy_data *dphy);
25 void dphy_stop(struct dphy_data *dphy);
26
27 #endif
This page took 0.02642 seconds and 4 git commands to generate.