Message ID | 20240415110012.148871-8-angelogioacchino.delregno@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | MediaTek UFS fixes and cleanups - Part 1 | expand |
On Mon, Apr 15, 2024 at 01:00:11PM +0200, AngeloGioacchino Del Regno wrote: > Add additional clocks, used on all MediaTek SoCs' UFSHCI controllers: > some of these clocks are optional and used only for scaling purposes > to save power, or to improve performance in the case of the crypt > clocks. > > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> > --- > .../devicetree/bindings/ufs/mediatek,ufs.yaml | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml > index 5728e750761f..1df8779ee902 100644 > --- a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml > +++ b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml > @@ -23,11 +23,24 @@ properties: > - const: mediatek,mt8183-ufshci > > clocks: > - maxItems: 1 > + minItems: 1 > + maxItems: 12 > > clock-names: > + minItems: 1 > items: > - const: ufs > + - const: ufs-aes > + - const: ufs-tick > + - const: unipro-sys > + - const: unipro-tick > + - const: ufs-sap > + - const: ufs-tx-symbol > + - const: ufs-rx-symbol > + - const: ufs-mem > + - const: crypt-mux > + - const: crypt-lp > + - const: crypt-perf > > phys: > maxItems: 1 > -- > 2.44.0 >
diff --git a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml index 5728e750761f..1df8779ee902 100644 --- a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml @@ -23,11 +23,24 @@ properties: - const: mediatek,mt8183-ufshci clocks: - maxItems: 1 + minItems: 1 + maxItems: 12 clock-names: + minItems: 1 items: - const: ufs + - const: ufs-aes + - const: ufs-tick + - const: unipro-sys + - const: unipro-tick + - const: ufs-sap + - const: ufs-tx-symbol + - const: ufs-rx-symbol + - const: ufs-mem + - const: crypt-mux + - const: crypt-lp + - const: crypt-perf phys: maxItems: 1
Add additional clocks, used on all MediaTek SoCs' UFSHCI controllers: some of these clocks are optional and used only for scaling purposes to save power, or to improve performance in the case of the crypt clocks. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> --- .../devicetree/bindings/ufs/mediatek,ufs.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-)