2 * Copyright (c) 2013 Google, Inc
4 * SPDX-License-Identifier: GPL-2.0+
13 * struct dm_demo_pdata - configuration data for demo instance
15 * @colour: Color of the demo
16 * @sides: Numbers of sides
17 * @default_char: Default ASCII character to output (65 = 'A')
19 struct dm_demo_pdata {
26 int (*hello)(struct udevice *dev, int ch);
27 int (*status)(struct udevice *dev, int *status);
28 int (*set_light)(struct udevice *dev, int light);
29 int (*get_light)(struct udevice *dev);
32 int demo_hello(struct udevice *dev, int ch);
33 int demo_status(struct udevice *dev, int *status);
34 int demo_set_light(struct udevice *dev, int light);
35 int demo_get_light(struct udevice *dev);
38 int demo_parse_dt(struct udevice *dev);