Message ID | 1577421760-1174-1-git-send-email-tdas@codeaurora.org |
---|---|
Headers | show |
Series | Add modem Clock controller (MSS CC) driver for SC7180 | expand |
Hi Rob, Thanks for your review. On 1/5/2020 3:06 AM, Rob Herring wrote: >> +description: | >> + Qualcomm modem clock control module which supports the clocks. >> + >> +properties: >> + compatible : > > drop space ^ > Will take care in the next patch. >> + enum: >> + - qcom,sc7180-mss >> + >> + '#clock-cells': >> + const: 1 >> + >> + reg: >> + maxItems: 1 >> + >> + additionalItems: false > > With the indentation here, you are defining a property. Should be no > indent. > I tried removing the indent too, but I keep getting this error. Additional properties are not allowed ('additionalItems' was unexpected) Please let me know if I am missing something? >> + >> +required: >> + - compatible >> + - reg >> + - '#clock-cells' >> + >> +examples: >> + # Example of MSS with clock nodes properties for SC7180: >> + - | >> + clock-controller@41aa000 { >> + compatible = "qcom,sc7180-mss"; >> + reg = <0x041aa000 0x100>; >> + #clock-cells = <1>; >> + }; >> +... >> -- >> Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member >> of the Code Aurora Forum, hosted by the Linux Foundation. >>
On Mon, Jan 13, 2020 at 4:00 AM Taniya Das <tdas@codeaurora.org> wrote: > > Hi Rob, > > Thanks for your review. > > On 1/5/2020 3:06 AM, Rob Herring wrote: > > >> +description: | > >> + Qualcomm modem clock control module which supports the clocks. > >> + > >> +properties: > >> + compatible : > > > > drop space ^ > > > > Will take care in the next patch. > > >> + enum: > >> + - qcom,sc7180-mss > >> + > >> + '#clock-cells': > >> + const: 1 > >> + > >> + reg: > >> + maxItems: 1 > >> + > >> + additionalItems: false > > > > With the indentation here, you are defining a property. Should be no > > indent. > > > > I tried removing the indent too, but I keep getting this error. > Additional properties are not allowed ('additionalItems' was unexpected) > > Please let me know if I am missing something? Sorry, I was reading that as 'additionalProperties' which is what you want at the top level. Generally, 'additionalItems' is not needed. Rob