Message ID | 20220221040717.3729-6-leilk.liu@mediatek.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | spi: mediatek: add single/quad mode support | expand |
On Mon, Feb 21, 2022 at 12:07:16PM +0800, Leilk Liu wrote: > this patch support spi-hclk. > > Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> > --- > Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml > index 241c0f5880d3..6920ced5451e 100644 > --- a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml > +++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml > @@ -55,12 +55,14 @@ properties: > - 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 Not optional unless you have minItems. > > 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 > -- > 2.25.1 > >
On Fri, 2022-02-25 at 13:03 -0600, Rob Herring wrote: > On Mon, Feb 21, 2022 at 12:07:16PM +0800, Leilk Liu wrote: > > this patch support spi-hclk. > > > > Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> > > --- > > Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml | 2 > > ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi- > > mt65xx.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi- > > mt65xx.yaml > > index 241c0f5880d3..6920ced5451e 100644 > > --- a/Documentation/devicetree/bindings/spi/mediatek,spi- > > mt65xx.yaml > > +++ b/Documentation/devicetree/bindings/spi/mediatek,spi- > > mt65xx.yaml > > @@ -55,12 +55,14 @@ properties: > > - 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 > > Not optional unless you have minItems. > OK, I'll add minItems,thanks for your comment. > > > > clock-names: > > minItems: 3 > Got it, thanks > > > items: > > - const: parent-clk > > - const: sel-clk > > - const: spi-clk > > + - const: spi-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 241c0f5880d3..6920ced5451e 100644 --- a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml +++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml @@ -55,12 +55,14 @@ properties: - 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: 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> --- Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml | 2 ++ 1 file changed, 2 insertions(+)