Re: Power Key/button on rk3399-roc-pc

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

 



Hi Suniel,

Am 02.04.20 um 06:39 schrieb Suniel Mahesh:
> On Wed, Apr 1, 2020 at 3:40 PM Markus Reichl <m.reichl@xxxxxxxxxxxxx> wrote:
>>
>> Hi Suniel,
>>
>> Am 01.04.20 um 06:53 schrieb Suniel Mahesh:
>> > Hi Markus, Levin and all,
>> >
>> > Can you guys please suggest me on my requirement.
>> >
>> > rk3399-roc-pc board has a Power Key/button. As per the schematics this
>> > Power Key/button
>> > is connected to GPIO0_A5.
>>
>> And to PWRON of RK808.
>>
>> >
>> > My requirement is can I use this button for board powerup (especially
>> > in linux when we issue
>> > "poweroff" command, the board shuts down and it should power back on
>> > after I press the Power Key/button).
>> >
>> > For the above to happen, I think this Power Key/button be connected to
>> > PMIC RK808-D IC, am i correct ?
>>
>> Yes, see P.16 of ROC-3399-PC-V10-A-20180804 schematic.
>> >
>> > In the schematics, it is not very clear as if such arrangement is
>> > there (though it says it can be an option in
>> > RK3399_BOX_REF_V13_20180821.pdf). I am attaching the document.
>> >
>> > Please suggest/comment on my requirement.
>>
>> Should work, everything is in place, just press long enough ;-).
> 
> Thanks Markus for your help. its working.
> 
>>
>> Btw. could you just revert your recent U-Boot commit
>> checking GPIO0_A5 that prevents unattended booting?
> 
> we have sent a patch series(5 patches) which takes care of the above
> issue. attaching patchwork links:
> https://patchwork.ozlabs.org/patch/1258093/

I looked at your
[v2,2/5] roc-rk3399-pc: Set low power leds, power key only if POR [1]
and it seems to prevent unattended boot after a power interruption
(brown out), which is a problem for a device with a built in board
and no access to power key or operator.
I really would prefer straight boot without human intervention in
all cases.

Thanks,
--
Markus

[1] https://patchwork.ozlabs.org/patch/1258094/

> 
> Suniel
>>
>> Thanks,
>> --
>> Markus
>>
>> >
>> > Thanks and regards
>> > Suniel
>> >
> 

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-rockchip



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux