Message ID | 20220307065230.12655-7-leilk.liu@mediatek.com |
---|---|
State | Superseded |
Headers | show |
Series | [V3,1/7] spi: mediatek: support tick_delay without enhance_timing | expand |
On Mon, Mar 07, 2022 at 02:52:29PM +0800, Leilk Liu wrote: > this patch support spi-hclk. > > Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> > --- > .../devicetree/bindings/spi/mediatek,spi-mt65xx.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml > index a8a15a9a6c46..195793aa79b7 100644 > --- a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml > +++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml > @@ -51,16 +51,20 @@ properties: > maxItems: 1 > > clocks: > + minItems: 3 > items: > - description: clock used for the parent clock > - description: clock used for the muxes clock > - description: clock used for the clock gate > + - description: clock used for the AHB bus, this clock is optional > > clock-names: > + minItems: 3 > items: > - const: parent-clk > - const: sel-clk > - const: spi-clk > + - const: spi-hclk 'spi' is redundant. Just 'hclk'. > > mediatek,pad-select: > $ref: /schemas/types.yaml#/definitions/uint32-array > -- > 2.25.1 > >
diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml index a8a15a9a6c46..195793aa79b7 100644 --- a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml +++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml @@ -51,16 +51,20 @@ properties: maxItems: 1 clocks: + minItems: 3 items: - description: clock used for the parent clock - description: clock used for the muxes clock - description: clock used for the clock gate + - description: clock used for the AHB bus, this clock is optional clock-names: + minItems: 3 items: - const: parent-clk - const: sel-clk - const: spi-clk + - const: spi-hclk mediatek,pad-select: $ref: /schemas/types.yaml#/definitions/uint32-array
this patch support spi-hclk. Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> --- .../devicetree/bindings/spi/mediatek,spi-mt65xx.yaml | 4 ++++ 1 file changed, 4 insertions(+)