linux-fpga.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nava kishore Manne <navam@xilinx.com>
To: Rob Herring <robh@kernel.org>
Cc: Michal Simek <michals@xilinx.com>,
	"mdf@kernel.org" <mdf@kernel.org>,
	"trix@redhat.com" <trix@redhat.com>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"arnd@arndb.de" <arnd@arndb.de>, Rajan Vaja <RAJANV@xilinx.com>,
	Amit Sunil Dhamne <amitsuni@xlnx.xilinx.com>,
	Manish Narani <MNARANI@xilinx.com>,
	"zou_wei@huawei.com" <zou_wei@huawei.com>,
	Sai Krishna Potthuri <lakshmis@xilinx.com>,
	"iwamatsu@nigauri.org" <iwamatsu@nigauri.org>,
	Jiaying Liang <jliang@xilinx.com>,
	"linus.walleij@linaro.org" <linus.walleij@linaro.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-fpga@vger.kernel.org" <linux-fpga@vger.kernel.org>,
	"chinnikishore369@gmail.com" <chinnikishore369@gmail.com>,
	git <git@xilinx.com>
Subject: RE: [PATCH v4 1/4] dt-bindings: firmware: Add bindings for xilinx firmware
Date: Wed, 12 May 2021 12:45:27 +0000	[thread overview]
Message-ID: <MWHPR02MB262398EA9D520A9DEB4637A3C2529@MWHPR02MB2623.namprd02.prod.outlook.com> (raw)
In-Reply-To: <CAL_Jsq+pVg-wZAccCVrfSeDygpb80Z28Ke9TOJxNPeyUMWvLdA@mail.gmail.com>

Hi Rob,

	Please find my response inline.

> -----Original Message-----
> From: Rob Herring <robh@kernel.org>
> Sent: Tuesday, May 4, 2021 7:11 PM
> To: Nava kishore Manne <navam@xilinx.com>
> Cc: Michal Simek <michals@xilinx.com>; mdf@kernel.org; trix@redhat.com;
> gregkh@linuxfoundation.org; arnd@arndb.de; Rajan Vaja
> <RAJANV@xilinx.com>; Amit Sunil Dhamne <amitsuni@xlnx.xilinx.com>;
> Manish Narani <MNARANI@xilinx.com>; zou_wei@huawei.com; Sai Krishna
> Potthuri <lakshmis@xilinx.com>; iwamatsu@nigauri.org; Jiaying Liang
> <jliang@xilinx.com>; linus.walleij@linaro.org; devicetree@vger.kernel.org;
> linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; linux-
> fpga@vger.kernel.org; chinnikishore369@gmail.com; git <git@xilinx.com>
> Subject: Re: [PATCH v4 1/4] dt-bindings: firmware: Add bindings for xilinx
> firmware
> 
> On Tue, May 4, 2021 at 4:34 AM Nava kishore Manne <navam@xilinx.com>
> wrote:
> >
> > Hi Rob,
> >
> >         Please find my response inline.
> >
> > > -----Original Message-----
> > > From: Rob Herring <robh@kernel.org>
> > > Sent: Saturday, May 1, 2021 1:10 AM
> > > To: Nava kishore Manne <navam@xilinx.com>
> > > Cc: Michal Simek <michals@xilinx.com>; mdf@kernel.org;
> > > trix@redhat.com; gregkh@linuxfoundation.org; arnd@arndb.de; Rajan
> > > Vaja <RAJANV@xilinx.com>; Amit Sunil Dhamne
> > > <amitsuni@xlnx.xilinx.com>; Manish Narani <MNARANI@xilinx.com>;
> > > zou_wei@huawei.com; Sai Krishna Potthuri <lakshmis@xilinx.com>;
> > > iwamatsu@nigauri.org; Jiaying Liang <jliang@xilinx.com>;
> > > linus.walleij@linaro.org; devicetree@vger.kernel.org;
> > > linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org;
> > > linux- fpga@vger.kernel.org; chinnikishore369@gmail.com; git
> > > <git@xilinx.com>
> > > Subject: Re: [PATCH v4 1/4] dt-bindings: firmware: Add bindings for
> > > xilinx firmware
> > >
> > > On Thu, Apr 29, 2021 at 07:34:05PM +0530, Nava kishore Manne wrote:
> > > > Add documentation to describe Xilinx firmware driver bindings.
> > > > Firmware driver provides an interface to firmware APIs.
> > > > Interface APIs can be used by any driver to communicate to
> > > > Platform Management Unit.
> > > >
> > > > Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
> > > > ---
> > > > Changes for v4:
> > > >                 -Added new yaml file for xilinx firmware
> > > >                  as suggested by Rob.
> > > >
> > > >  .../firmware/xilinx/xlnx,zynqmp-firmware.yaml | 63
> > > > +++++++++++++++++++
> > > >  1 file changed, 63 insertions(+)
> > > >  create mode 100644
> > > > Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-
> > > firmware
> > > > .yaml
> > >
> > > What about the old doc?:
> > >
> >
> > As you suggested i have added only the fpga node relevant info here so it's
> not representing the complete firmware file with other sub node like clk, Aes,
> ...etc.
> > Once it completely mature we can deprecate the Old doc.
> >
> > > Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-
> > > firmware.txt
> > >
> > > >
> > > > diff --git
> > > > a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-
> > > firmwa
> > > > re.yaml
> > > > b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-
> > > firmwa
> > > > re.yaml
> > > > new file mode 100644
> > > > index 000000000000..4b97f005bed7
> > > > --- /dev/null
> > > > +++ b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqm
> > > > +++ p-fi
> > > > +++ rmware.yaml
> > > > @@ -0,0 +1,63 @@
> > > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML
> > > > +1.2
> > > > +---
> > > > +$id:
> > > > +http://devicetree.org/schemas/firmware/xilinx/xlnx,zynqmp-firmwar
> > > > +e.ya
> > > > +ml#
> > > > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > > > +
> > > > +title: Xilinx firmware driver
> > > > +
> > > > +maintainers:
> > > > +  - Nava kishore Manne <nava.manne@xilinx.com>
> > > > +
> > > > +description:
> > > > +  The zynqmp-firmware node describes the interface to platform
> > > firmware.
> > > > +  ZynqMP has an interface to communicate with secure firmware.
> > > > +Firmware
> > > > +  driver provides an interface to firmware APIs. Interface APIs
> > > > +can be
> > > > +  used by any driver to communicate to PMUFW(Platform
> Management
> > > Unit).
> > > > +  These requests include clock management, pin control, device
> > > > +control,
> > > > +  power management service, FPGA service and other platform
> > > > +management
> > > > +  services.
> > > > +
> > > > +properties:
> > > > +  compatible:
> > > > +    oneOf:
> > > > +      - description:
> > > > +          For implementations complying for Zynq Ultrascale+ MPSoC.
> > > > +        const: xlnx,zynqmp-firmware
> > > > +
> > > > +      - description:
> > > > +          For implementations complying for Versal.
> > > > +        const: xlnx,versal-firmware
> > > > +
> > > > +  method:
> > > > +    description: The method of calling the PM-API firmware layer.
> > > > +                #  Permitted values are:
> > > > +                #  - "smc" : SMC #0, following the SMCCC
> > > > +                #  - "hvc" : HVC #0, following the SMCCC
> > >
> > > Drop the '#'. If you want to maintain the formatting, then use '|'
> > > after 'description:' for a literal block.
> > >
> >
> > Will fix in v5.
> >
> > > > +    $ref: /schemas/types.yaml#/definitions/string-array
> > > > +    enum:
> > > > +      - smc
> > > > +      - hvc
> > > > +
> > > > +patternProperties:
> > > > +  "fpga":
> > >
> > > So 'foofpgabar' is valid?
> > >
> >
> > Yes, it's a valid for fpga node.
> 
> No, please make the node name more specific.
> 

Will fix in v5.

Regards,
Navakishore.

  reply	other threads:[~2021-05-12 12:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-29 14:04 [PATCH v4 0/4] Add Bitstream configuration support for Versal Nava kishore Manne
2021-04-29 14:04 ` [PATCH v4 1/4] dt-bindings: firmware: Add bindings for xilinx firmware Nava kishore Manne
2021-04-30 15:24   ` Rob Herring
2021-04-30 19:40   ` Rob Herring
2021-05-04  9:34     ` Nava kishore Manne
2021-05-04 13:40       ` Rob Herring
2021-05-12 12:45         ` Nava kishore Manne [this message]
2021-04-29 14:04 ` [PATCH v4 2/4] drivers: firmware: Add PDI load API support Nava kishore Manne
2021-04-29 14:04 ` [PATCH v4 3/4] dt-bindings: fpga: Add binding doc for versal fpga manager Nava kishore Manne
2021-04-29 14:04 ` [PATCH v4 4/4] fpga: versal-fpga: Add versal fpga manager driver Nava kishore Manne
2021-04-30  2:28 ` [PATCH v4 0/4] Add Bitstream configuration support for Versal Moritz Fischer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MWHPR02MB262398EA9D520A9DEB4637A3C2529@MWHPR02MB2623.namprd02.prod.outlook.com \
    --to=navam@xilinx.com \
    --cc=MNARANI@xilinx.com \
    --cc=RAJANV@xilinx.com \
    --cc=amitsuni@xlnx.xilinx.com \
    --cc=arnd@arndb.de \
    --cc=chinnikishore369@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=git@xilinx.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=iwamatsu@nigauri.org \
    --cc=jliang@xilinx.com \
    --cc=lakshmis@xilinx.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fpga@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mdf@kernel.org \
    --cc=michals@xilinx.com \
    --cc=robh@kernel.org \
    --cc=trix@redhat.com \
    --cc=zou_wei@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).