From: Oleksii Moisieiev <Oleksii_Moisieiev@epam.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "robh+dt@kernel.org" <robh+dt@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Sudeep Holla <sudeep.holla@arm.com>,
Cristian Marussi <cristian.marussi@arm.com>,
Stefano Stabellini <sstabellini@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC PATCH 0/1] dt-bindings: arm: Add scmi_devid paramter for
Date: Tue, 22 Feb 2022 10:30:23 +0000 [thread overview]
Message-ID: <20220222103022.GA496631@EPUAKYIW015D> (raw)
In-Reply-To: <e9ef5936-63dc-f959-13f3-6ab3e9bf140b@kernel.org>
Hi Krzysztof,
On Tue, Feb 22, 2022 at 10:27:10AM +0100, Krzysztof Kozlowski wrote:
> On 22/02/2022 09:55, Oleksii Moisieiev wrote:
> >
> >>
> >> 2. Does your example work properly? Passes dt_binding_check? Reg looks
> >> different than unit-address.
> >>
> > dt_bindings_check passes without errors. Also I've checked this file
> > explicitly by using command:
> > yamllint -c Documentation/devicetree/bindings/.yamllint Documentation/devicetree/bindings/firmware/arm,scmi-devid.yaml
> >
> > Reg value, if you mean reg parameter from an Example, was taken from
> > r8a77961.dtsi file.
> The check does not pass. You have an error there:
>
> Documentation/devicetree/bindings/firmware/arm,scmi-devid.example.dt.yaml:
> example-0: usb@ee0a0000:reg:0: [0, 3993632768, 0, 256] is too long
>
>
Probably I've missed that. I'll doublecheck.
>
> >
> >>
> >>>
> >>>> 2. Your schema does is not selected by anything. How is it intended to
> >>>> be used? Nothing is including it, either...
> >>>>
> >>>
> >>> The idea is to use this parameter to set the device_id for the device in
> >>> the device-tree, which matches to the device mapping in the Firmware, so
> >>> Trusted Agent can use it to the device permissions.
> >>> Please see Sections 4.2.2.10 and 4.2.1 [0] (Link was provided in the
> >>> cover letter).
> >>>
> >>> I'm currently propose the new feature, called SCI mediator to Xen-devel
> >>> community. Please see link [1] from cover letter for the details.
> >>> In this feature - Xen is the Trusted Agent, which uses scmi_devid
> >>> parameter to set the device permissions.
> >>> We think that this parameter will be useful for other possible SCMI
> >>> implementations, such as other hypervisor or SCMI backend server etc.
> >>
> >> We talk about different things, I think. I was asking how is this schema
> >> selected?
> >>
> >> I gave it a fast try (dtbs_check) and it confirmed - schema does not
> >> have an effect. It's a noop. You need something like "select: true", see:
> >> Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
> >> or this schema should be included by other schemas... but then I would
> >> be happy to see actual usage in this patchset (more commits...).
> >>
> >
> > I think select: true will work for me. I'll do dtbs_check and
> > dt_bindings_check after making all changes and prepare v2 if there will
> > be no further comments.
> >
> > Also what do you think about maintainers: field? Is it correct? I'm not
> > sure if I used it correctly.
>
>
> I think you should add arm,scmi maintainer next to you.
>
Should I update MAINTAINERS file as well?
Best regards,
Oleksii.
next prev parent reply other threads:[~2022-02-22 10:30 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 17:26 [RFC PATCH 0/1] dt-bindings: arm: Add scmi_devid paramter for Oleksii Moisieiev
2022-02-21 17:26 ` [RFC PATCH 1/1] dt-bindings: arm: Add scmi_devid property description for SCMI Oleksii Moisieiev
2022-02-22 14:22 ` Rob Herring
2022-02-22 14:51 ` Oleksii Moisieiev
2022-02-22 18:25 ` Rob Herring
2022-02-21 21:01 ` [RFC PATCH 0/1] dt-bindings: arm: Add scmi_devid paramter for Krzysztof Kozlowski
2022-02-21 21:39 ` Oleksii Moisieiev
2022-02-22 8:06 ` Krzysztof Kozlowski
2022-02-22 8:55 ` Oleksii Moisieiev
2022-02-22 9:27 ` Krzysztof Kozlowski
2022-02-22 10:30 ` Oleksii Moisieiev [this message]
2022-02-22 11:16 ` Krzysztof Kozlowski
2022-02-22 13:54 ` Oleksii Moisieiev
2022-02-22 16:14 ` Sudeep Holla
2022-02-22 17:34 ` Oleksii Moisieiev
2022-02-24 2:51 ` Stefano Stabellini
2022-02-24 9:32 ` Cristian Marussi
2022-02-24 22:22 ` Stefano Stabellini
2022-03-01 14:55 ` Oleksii Moisieiev
2022-03-04 11:21 ` Sudeep Holla
2022-03-04 11:18 ` Sudeep Holla
2022-02-22 11:00 ` Cristian Marussi
2022-02-22 13:51 ` Oleksii Moisieiev
2022-02-22 16:06 ` Sudeep Holla
2022-02-22 17:15 ` Oleksii Moisieiev
2022-02-24 11:54 ` Sudeep Holla
2022-02-24 22:51 ` Stefano Stabellini
2022-02-24 23:34 ` Stefano Stabellini
2022-03-04 11:12 ` Sudeep Holla
2022-03-05 0:45 ` Stefano Stabellini
2022-04-29 21:46 ` Rob Herring
2022-03-01 16:10 ` Oleksii Moisieiev
2022-03-01 16:05 ` Oleksii Moisieiev
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=20220222103022.GA496631@EPUAKYIW015D \
--to=oleksii_moisieiev@epam.com \
--cc=cristian.marussi@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sstabellini@kernel.org \
--cc=sudeep.holla@arm.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).