Re: [RFC 3/3] arm64: dts: qcom: sa8775p-ride: Enable support for firmware managed resources

From: Bjorn Andersson
Date: Tue Mar 05 2024 - 13:47:25 EST


On Tue, Mar 05, 2024 at 11:33:54PM +0530, Sriram Dash wrote:
> On 3/5/2024 10:38 PM, Krzysztof Kozlowski wrote:
> > On 05/03/2024 17:57, Sriram Dash wrote:
> > > Establish the channel and domain mapping for the power domains to connect
> > > with firmware, enabling the firmware to handle the assigned resources.
> > > Since these delegated resources will remain invisible to the operating
> > > system, ensure that any references to them are removed.
> > >
> > > Signed-off-by: Sriram Dash <quic_sriramd@xxxxxxxxxxx>
> > > ---
> > > arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 96 +++++++++++++++++++++++++------
> > > 1 file changed, 77 insertions(+), 19 deletions(-)
> >
> > Do not mix DTS patches with submissions to netdev or USB.
> >
> > Please put it inside your internal guides, so you will not be repeating
> > this over and over.
> >
>
> Sure. Will take care. Thanks.
>
> > >
> > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts
> > > index 26ad05b..b6c9cac 100644
> > > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts
> > > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts
> > > @@ -764,8 +764,18 @@
> > > };
> > > &usb_0 {
> > > - pinctrl-names = "default";
> > > - pinctrl-0 = <&usb0_en_state>;
> > > + /delete-property/ clocks;
> > > + /delete-property/ clock-names;
> > > + /delete-property/ assigned-clocks;
> > > + /delete-property/ assigned-clock-rates;
> > > + /delete-property/ required-opps;
> > > + /delete-property/ resets;
> > > + /delete-property/ interconnects;
> > > + /delete-property/ interconnect-names;
> > > +
> > > + power-domains = <TODO>, <TODO>;
> >
> > This wasn't even tested.
> >
>
> This is tested with the specific power domains in place
> of <TODO>. SCMI interface is used for the power domains.
>

So you tested this on v6.8-rcN, but you're not able to upstream this
dependency? The code wouldn't compile if this patch is applied, so what
do you expect that I should do with it?

Develop on upstream, test on upstream, send code that improves upstream!

Thank you,
Bjorn

> > Best regards,
> > Krzysztof
> >