Re: [PATCH v5 3/5] omap3: pm: Generic TRITON power scripts forOMAP3 based boards

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

 



Hi,

> 
> Hi Peter,
> 
> The RES_TYPE field is same for all messages.
> 
> The resource which can go to low-power mode with clk_req sig de-asserting is
> configured as RES_TYPE2 = '2'. And the resource which can go to low-power
> mode with sys_off sig de-asserting is configured as RES_TYPE2 = '1'.
> 
> The RES_TYPE2 is '2' for P3 wakeup and the msg will applicable for Resource
> which have their TYPE2 field configured '2' (RES_VINTANA1, RES_VINTANA2,
> RES_VINTDIG, VIO, RES_CLKEN, RES_HFCLKOUT).
> 
> RES_TYPE2 = '1' for P1_P2 wakeup.
> (Applicable for res: RES_VPLL1, RES_VDD1, RES_VDD2, RES_REGEN,
> RES_NRES_PWRON, RES_SYSEN)
> 

Ok. But why not just assign the resources to the appropriate groups ?
Eg.  assign VIO to P3 and assign VPLL1 to P1_P2 ? Then you only need one
message type. Also, why are you using RES_TYPE2 instead of RES_TYPE ?

Cheers,

Peter.

-- 
goa is a state of mind
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux