Interrupts from i.MX23/i.MX28 PMU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interrupts from i.MX23/i.MX28 PMU

ソリューションへジャンプ
938件の閲覧回数
lategoodbye
Senior Contributor I

Hi,

i'm currently working on mainline Linux drivers (regulator and power switch) for the i.MX23/i.MX28 PMU. According to reference manual (i.MX28 chapter 11.11)

there are interrupts which share the same interrupt line:

  The VDDA_BO_IRQ, VDDD_BO_IRQ, VDDIO_BO_IRQ, and BATT_BO_IRQ each

  have their own interrupt line back to the interrupt collector.

  However, the remaining five interrupts—VDD5V_GT_VDDIO_IRQ, DC_OK_IRQ,

  VBUSVALID_IRQ, LINREG_OK_IRQ and PSWITCH_IRQ—all share a single

  interrupt line. In this case, software must read the interrupt status

  bits to discover which event caused the interrupt.

For devicetree binding i have the following question:

Are these interrupts (VDD5V_GT_VDDIO_IRQ, DC_OK_IRQ, VBUSVALID_IRQ, LINREG_OK_IRQ and PSWITCH_IRQ) are generated by the PMU as a whole or

is it only a logical grouping of separate units and the interrupts get muxed together?

Stefan

Discussion on mailing list:

'Question about shared interrupts in devicetree' - MARC

ラベル(2)
タグ(4)
0 件の賞賛
返信
1 解決策
780件の閲覧回数
Yuri
NXP Employee
NXP Employee

The Reference Manual states that the (VDD5V_GT_VDDIO_IRQ, DC_OK_IRQ,
VBUSVALID_IRQ, LINREG_OK_IRQ and PSWITCH_IRQ) events are joined in
hardware (not logical) way, so, "these interrupts [...] ) are generated by the PMU
as a whole".

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
781件の閲覧回数
Yuri
NXP Employee
NXP Employee

The Reference Manual states that the (VDD5V_GT_VDDIO_IRQ, DC_OK_IRQ,
VBUSVALID_IRQ, LINREG_OK_IRQ and PSWITCH_IRQ) events are joined in
hardware (not logical) way, so, "these interrupts [...] ) are generated by the PMU
as a whole".

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
780件の閲覧回数
lategoodbye
Senior Contributor I

Thanks a lot Yuri

0 件の賞賛
返信