R: [PATCH 1/2] firmware: qcom_scm: add ipq806x with no clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Wed 11 Mar 06:09 PDT 2020, Ansuel Smith wrote:
> 
> > ipq806x rpm definition was missing for a long time.
> > Add this to make this soc support rpm.
> >
> 
> I merged the dt-binding patch, but please update dts to use:
> 	compatible = "qcom,scm-ipq806x", "qcom,scm";
> 
> instead of adding the platform specific compatible in the driver.
> 
> Regards,
> Bjorn
> 

Should I drop the added compatible in qcom_scm.c or just
keep it and add the definition in the ipq806x dts?

> > Signed-off-by: Ansuel Smith <ansuelsmth@xxxxxxxxx>
> > ---
> >  drivers/firmware/qcom_scm.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/firmware/qcom_scm.c
> b/drivers/firmware/qcom_scm.c
> > index 059bb0fbae9e..d13ef3cd8cf5 100644
> > --- a/drivers/firmware/qcom_scm.c
> > +++ b/drivers/firmware/qcom_scm.c
> > @@ -1144,6 +1144,7 @@ static const struct of_device_id
> qcom_scm_dt_match[] = {
> >
> SCM_HAS_BUS_CLK)
> >  	},
> >  	{ .compatible = "qcom,scm-ipq4019" },
> > +	{ .compatible = "qcom,scm-ipq806x" },
> >  	{ .compatible = "qcom,scm-msm8660", .data = (void *)
> SCM_HAS_CORE_CLK },
> >  	{ .compatible = "qcom,scm-msm8960", .data = (void *)
> SCM_HAS_CORE_CLK },
> >  	{ .compatible = "qcom,scm-msm8916", .data = (void
> *)(SCM_HAS_CORE_CLK |
> > --
> > 2.25.0
> >




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux