Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp651143pxx; Thu, 29 Oct 2020 11:04:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiu4JlyZW4fVuPfuixyIf/9hi9ZmJip4NMI6QdxdmQnRTHvpW10Gf2boG84/nXp+dtvZB5 X-Received: by 2002:aa7:d892:: with SMTP id u18mr5409035edq.305.1603994661166; Thu, 29 Oct 2020 11:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603994661; cv=none; d=google.com; s=arc-20160816; b=ycu8MfWoGulIcuGAbpWa2m96pBqqDOHMdIjUwtl7hEyR1Clq8vCh75+bm28QeyRbQt 0ixqYyhc/klpI6bSJYfNq1nqWCfslKFyofe+bd/4WiqUzKmeYUhZLzNofFfCG522dhl3 De8ORHzls567hAluUUv6z2VDjAnrY2oe0wmD8KaOvuYIFSZHRoXW5veS3+LMjTFigsmU +MgCL02S6qKRpi2cnkKkatdufFT1pym4fU3q305SG2b+2KYVyPSRa+TwFoxUV41A6vxv xL0TitsbZhrtyp2vVzHh9oJksQQ8YebFDopyIapPf4uEz8xkZQ9+BlD1jRsl1LifhYn0 XO1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=bkKsQG+CbSJgHi2CLhyKJUmvGR3iBetCygCtThdTxuE=; b=xYVPLuGWITlGNu920pRoKivaYZ+f6ew6Q2c3+Kmn8y9p918wkiiFGqdRju3Wh4OUfy JG00NkKJ7iOWFSK2ElPqN4xUsKSuDzH5gC3GSW7CyizHXyoMc8E/yrpdydfaZEg6GqhT Ku/AY4dcwfILyb4gp5sAWjLyPNAYqJed5QATn76U62B3V4xm+hohLCW1HULaPdQm4S18 WdigjQFIRH3EZFX2l4Z1DxQRztPhE9pbrYHfXY57uMCg7q5RJtOkpqD2W320Bw6q4COp 9uV/Scty5I7oRSlKjnm5NSV2xv+j3FZfpxXGgI2bgxjoDR9q4oEHHOBVVcvcNx2JO/TT LJ1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd5si2570279edb.451.2020.10.29.11.03.55; Thu, 29 Oct 2020 11:04:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725923AbgJ2SBJ (ORCPT + 99 others); Thu, 29 Oct 2020 14:01:09 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:34772 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbgJ2SBJ (ORCPT ); Thu, 29 Oct 2020 14:01:09 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id DBEB21C0B7A; Thu, 29 Oct 2020 19:01:05 +0100 (CET) Date: Thu, 29 Oct 2020 19:01:05 +0100 From: Pavel Machek To: Luka Kovacic Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, lee.jones@linaro.org, dmurphy@ti.com, robh+dt@kernel.org, jdelvare@suse.com, linux@roeck-us.net, marek.behun@nic.cz, luka.perkov@sartura.hr, andy.shevchenko@gmail.com, robert.marko@sartura.hr Subject: Re: [PATCH v7 0/6] Add support for the IEI WT61P803 PUZZLE MCU Message-ID: <20201029180105.GD26053@duo.ucw.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k4f25fnPtRuIRUb3" Content-Disposition: inline In-Reply-To: <20201025005916.64747-7-luka.kovacic@sartura.hr> <20201025005916.64747-6-luka.kovacic@sartura.hr> <20201025005916.64747-5-luka.kovacic@sartura.hr> <20201025005916.64747-4-luka.kovacic@sartura.hr> <20201025005916.64747-3-luka.kovacic@sartura.hr> <20201025005916.64747-2-luka.kovacic@sartura.hr> <20201025005916.64747-1-luka.kovacic@sartura.hr> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --k4f25fnPtRuIRUb3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +What: /sys/bus/serial/devices/.../iei_wt61p803_puzzle_core/power_status > +Date: September 2020 > +Contact: Luka Kovacic > +Description: (RO) Power status indicates the host platform power on meth= od. > + Value mapping (bitwise list): > + 0x80 - Null > + 0x40 - Firmware flag > + 0x20 - Power loss detection flag (powered off) > + 0x10 - Power loss detection flag (AC mode) > + 0x08 - Button power on > + 0x04 - WOL power on > + 0x02 - RTC alarm power on > + 0x01 - AC recover power on It would be nice to put this into standard place somewhere. Many machines will want to expose this information. If not, at least spell out WoL, as it is not that common of acronym. > +What: /sys/bus/serial/devices/.../iei_wt61p803_puzzle_core/ac_recovery_= status > +Date: September 2020 > +Contact: Luka Kovacic > +Description: (RO) Host platform AC recovery status value I can not tell what this is from documentation... Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --k4f25fnPtRuIRUb3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX5sDYQAKCRAw5/Bqldv6 8ug0AJsGzM9m7r1MuCXA0my9+QImUXXpnwCeO978DlwO+JbNb3vDy7HR7o99+7g= =bm4J -----END PGP SIGNATURE----- --k4f25fnPtRuIRUb3--