Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1426679

Re: [RFC PATCH 0/2] scpi: Add SCPI framework to handle vendors variants

From Sudeep Holla <sudeep.holla@arm.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 0/2] scpi: Add SCPI framework to handle vendors variants
Date 2016-06-20 17:10 +0200
Message-ID <rM8ZQ-1ph-35@gated-at.bofh.it> (permalink)
References (1 earlier) <rD6kx-dV-1@gated-at.bofh.it> <rDl9U-XC-7@gated-at.bofh.it> <rEqTU-1KK-11@gated-at.bofh.it> <rH6lY-7QH-35@gated-at.bofh.it> <rM4CR-70H-1@gated-at.bofh.it>
Organization ARM

Show all headers | View raw



On 20/06/16 11:25, Neil Armstrong wrote:
> On 06/06/2016 07:10 PM, Sudeep Holla wrote:

[...]

>>
>> Though this initial version of SCPI is not published, I am sure it is
>> almost same as v1.0 except that the CMD is not part of payload like
>> v1.0. In v1.0 it's part of payload and the mailbox is used just for
>> doorbell mechanism.
> I hoped it would be this simple, but it touches core defines and structure
> that will over complicate the current driver. (i.e. the CMD indexes that differs,
> the CMD size shift, the high and low priority redirection or struct ordering)
>

Ah ok, understood.

>> IMO, we can add some compatible to indicate the pre v1.0 protocol
>> and add the support to the existing driver itself. Let me know your
>> thoughts.
>>
>
> My proposal is :
> - add a registry layer but with only a single scpi instance (no mode OF involved, remove drivers changes)
> - add a scpi_legacy.c driver that only supports the old SCPI like Amlogic and Rockchip, and add a disclaimer for new developed SoCs
> - add your extension capability to handle Amlogic's and Rockchip's extended commands
>
> If you agree, I'll post a new patchset for review with these changes.
>

Yes that sounds better. Also post along with the users to make it easy 
to review even if they are not completely ready for upstream.

-- 
Regards,
Sudeep

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH 0/2] scpi: Add SCPI framework to handle vendors  variants Neil Armstrong <narmstrong@baylibre.com> - 2016-06-20 12:30 +0200
  Re: [RFC PATCH 0/2] scpi: Add SCPI framework to handle vendors  variants Sudeep Holla <sudeep.holla@arm.com> - 2016-06-20 17:10 +0200

csiph-web