Message ID | 20220405112724.2760905-5-claudiu.beznea@microchip.com (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | power: reset: at91-reset: add support for sama7g5 | expand |
On Di, 2022-04-05 at 14:27 +0300, Claudiu Beznea wrote: > Add reset bindings for SAMA7G5. At the moment only USB PHYs are > included. What do you mean by "at the moment only USB PHYs are included"? Are those the only reset controls on sama7g5 and later hardware might have more? regards Philipp
On 05.04.2022 18:09, Philipp Zabel wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > On Di, 2022-04-05 at 14:27 +0300, Claudiu Beznea wrote: >> Add reset bindings for SAMA7G5. At the moment only USB PHYs are >> included. > > What do you mean by "at the moment only USB PHYs are included"? Are > those the only reset controls on sama7g5 and later hardware might have > more? There are 2 more resets one for DDR controller and one for DDR PHY controller. Those 2 controllers have no drivers in Linux at the moment (and probably will never have). These 2 extra resets are controlled in the RAM initialization phase by bootloaders. Thank you, Claudiu Beznea > > regards > Philipp
On Tue, Apr 05, 2022 at 02:27:20PM +0300, Claudiu Beznea wrote: > Add reset bindings for SAMA7G5. At the moment only USB PHYs are > included. > > Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> > --- > include/dt-bindings/reset/sama7g5-reset.h | 10 ++++++++++ > 1 file changed, 10 insertions(+) > create mode 100644 include/dt-bindings/reset/sama7g5-reset.h > > diff --git a/include/dt-bindings/reset/sama7g5-reset.h b/include/dt-bindings/reset/sama7g5-reset.h > new file mode 100644 > index 000000000000..670d8075f463 > --- /dev/null > +++ b/include/dt-bindings/reset/sama7g5-reset.h > @@ -0,0 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0+ */ Dual license and GPL-2.0-only is preferred. > + > +#ifndef __DT_BINDINGS_RESET_SAMA7G5_H > +#define __DT_BINDINGS_RESET_SAMA7G5_H > + > +#define RESET_USB_PHY1 4 > +#define RESET_USB_PHY2 5 > +#define RESET_USB_PHY3 6 > + > +#endif /* __DT_BINDINGS_RESET_SAMA7G5_H */ > -- > 2.32.0 > >
diff --git a/include/dt-bindings/reset/sama7g5-reset.h b/include/dt-bindings/reset/sama7g5-reset.h new file mode 100644 index 000000000000..670d8075f463 --- /dev/null +++ b/include/dt-bindings/reset/sama7g5-reset.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_RESET_SAMA7G5_H +#define __DT_BINDINGS_RESET_SAMA7G5_H + +#define RESET_USB_PHY1 4 +#define RESET_USB_PHY2 5 +#define RESET_USB_PHY3 6 + +#endif /* __DT_BINDINGS_RESET_SAMA7G5_H */
Add reset bindings for SAMA7G5. At the moment only USB PHYs are included. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> --- include/dt-bindings/reset/sama7g5-reset.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 include/dt-bindings/reset/sama7g5-reset.h