linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <uwe@kleine-koenig.org>
To: Tomas Hlavacek <tomas.hlavacek@nic.cz>
Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>,
	Pavel Machek <pavel@ucw.cz>,
	linux-kernel@vger.kernel.org
Subject: Re: Turris Omnia firmware possibilities [Was: Re: led: hw-trigger, global brightness and multi-colored leds]
Date: Tue, 14 Aug 2018 09:11:53 +0200	[thread overview]
Message-ID: <4d4e3398-d50b-bc6b-d767-04f340472e59@kleine-koenig.org> (raw)
In-Reply-To: <CAEB7QLA3hs+Wa_UD4tUXN1JB535dWJxtBLo_jveKkGkyKyGAJQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 920 bytes --]

Hello Tomas,

On 05/25/2018 04:02 PM, Tomas Hlavacek wrote:
>> Talking about firmware, I wonder if there is firmware supported needed
>> to solve
>> https://wiki.debian.org/InstallingDebianOn/TurrisOmnia#Power_Management
>> . Didn't look into that deeply yet and probably not high prio given that
>> normally the Turris Omnia will just run 7x24h.
> 
> That's right, there is no power-down signalization from the CPU right
> now. Btw. is there any mechanism in kernel to signal over arbitrary
> bus (like I2C) that the host is shutting down and the power can/should
> be cut to CPU in N seconds?

I think there is no interface for "in N seconds" and currently the i2c
core isn't prepared to do such stuff "late" (i.e. when the system is
going down and irqs are already off). But there is some work ongoing to
address that:

	https://marc.info/?l=linux-i2c&m=153419498527890&w=2

Best regards
Uwe


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      parent reply	other threads:[~2018-08-14  7:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 15:11 led: hw-trigger, global brightness and multi-colored leds Uwe Kleine-König
2018-05-02 21:21 ` Pavel Machek
2018-05-03 18:49   ` Uwe Kleine-König
2018-05-03 21:14     ` Jacek Anaszewski
2018-05-03 21:52     ` Pavel Machek
2018-05-24 22:08 ` Tomas Hlavacek
2018-05-25  6:08   ` Turris Omnia firmware possibilities [Was: Re: led: hw-trigger, global brightness and multi-colored leds] Uwe Kleine-König
2018-05-25 14:02     ` Tomas Hlavacek
2018-05-25 18:50       ` Pavel Machek
2018-08-14  7:11       ` Uwe Kleine-König [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d4e3398-d50b-bc6b-d767-04f340472e59@kleine-koenig.org \
    --to=uwe@kleine-koenig.org \
    --cc=jacek.anaszewski@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=tomas.hlavacek@nic.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).