diff options
author | Stefan Schmidt <stefan@datenfreihafen.org> | 2023-02-01 23:10:26 +0300 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2023-02-01 23:16:44 +0300 |
commit | 9f2ad955f98366003e887e32bdd4ea98ef2a04f4 (patch) | |
tree | aba1bd77853dd259bf2764f2aa8e30d29c31a3b6 /include/linux/spi | |
parent | 6755dee8343cbc4af45e001d904c9a857a451bec (diff) | |
download | linux-9f2ad955f98366003e887e32bdd4ea98ef2a04f4.tar.xz |
Revert "at86rf230: convert to gpio descriptors"
This reverts commit 622bd6ea90086beb98ac439edd7d57de73d1d6f9.
Dmitry Torokhov points out that this conversion leaves an existing board
in reset state due to not properly handled polarity. Additionally, the
GPIO name inadvertenly changes from "reset-gpio" to "rstn-gpios".
Revert to avoid these regressions.
Follow up patches for a better conversion are applied as well.
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/at86rf230.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/spi/at86rf230.h b/include/linux/spi/at86rf230.h new file mode 100644 index 000000000000..d278576ab692 --- /dev/null +++ b/include/linux/spi/at86rf230.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * AT86RF230/RF231 driver + * + * Copyright (C) 2009-2012 Siemens AG + * + * Written by: + * Dmitry Eremin-Solenikov <dmitry.baryshkov@siemens.com> + */ +#ifndef AT86RF230_H +#define AT86RF230_H + +struct at86rf230_platform_data { + int rstn; + int slp_tr; + int dig2; + u8 xtal_trim; +}; + +#endif |