Message ID | 20250503202532.992033-2-heiko@sntech.de |
---|---|
State | Not Applicable |
Headers | show |
Series | Correctly implemet the usb480m clock on rk3036 | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success |
On Sat, May 03, 2025 at 10:25:29PM +0200, Heiko Stuebner wrote: > Contrary to how it is implemented right now, the usb480m clock is a > controllable mux that can switch between the 24MHz oscillator and the > clock output of the usb2phy. > > Add the needed clock-id to allow setting this mux from DT. > > Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Conor Dooley <conor.dooley@microchip.com> > --- > include/dt-bindings/clock/rk3036-cru.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/dt-bindings/clock/rk3036-cru.h b/include/dt-bindings/clock/rk3036-cru.h > index 99cc617e1e54..5cbc0e2b08ff 100644 > --- a/include/dt-bindings/clock/rk3036-cru.h > +++ b/include/dt-bindings/clock/rk3036-cru.h > @@ -47,6 +47,7 @@ > #define SCLK_MACREF 152 > #define SCLK_MACPLL 153 > #define SCLK_SFC 160 > +#define SCLK_USB480M 161 > > /* aclk gates */ > #define ACLK_DMAC2 194 > -- > 2.47.2 >
diff --git a/include/dt-bindings/clock/rk3036-cru.h b/include/dt-bindings/clock/rk3036-cru.h index 99cc617e1e54..5cbc0e2b08ff 100644 --- a/include/dt-bindings/clock/rk3036-cru.h +++ b/include/dt-bindings/clock/rk3036-cru.h @@ -47,6 +47,7 @@ #define SCLK_MACREF 152 #define SCLK_MACPLL 153 #define SCLK_SFC 160 +#define SCLK_USB480M 161 /* aclk gates */ #define ACLK_DMAC2 194
Contrary to how it is implemented right now, the usb480m clock is a controllable mux that can switch between the 24MHz oscillator and the clock output of the usb2phy. Add the needed clock-id to allow setting this mux from DT. Signed-off-by: Heiko Stuebner <heiko@sntech.de> --- include/dt-bindings/clock/rk3036-cru.h | 1 + 1 file changed, 1 insertion(+)