From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26DA8C2D0A3 for ; Mon, 2 Nov 2020 19:05:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD45622268 for ; Mon, 2 Nov 2020 19:05:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="ggelSvtg" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726104AbgKBTFW (ORCPT ); Mon, 2 Nov 2020 14:05:22 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:55634 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726070AbgKBTFW (ORCPT ); Mon, 2 Nov 2020 14:05:22 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0A2J4tCK090030; Mon, 2 Nov 2020 13:04:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1604343895; bh=5tRMuI4IpHf1UGKQ0FX7HKxoAuFmHgXM+99BquEoqeQ=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=ggelSvtgDDRuW4CMvo+Iw9Izw7BC+WSigYtaq1xtzvG53MXaKDO0L9pH4kAXD1Q+d xki3YeA1fTtwYc1oeabLOND5+E/2cZBvZ1Sx0Z+1kcqytpAr8E0ENOf4g3ixruZS+C S9UERohYSzHi4Lw/TVOGoWrBVfFlRsj11B7d4SwU= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0A2J4tqC110866 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 2 Nov 2020 13:04:55 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 2 Nov 2020 13:04:55 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 2 Nov 2020 13:04:55 -0600 Received: from [10.250.36.55] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0A2J4sru015342; Mon, 2 Nov 2020 13:04:54 -0600 Subject: Re: [PATCH v7 0/6] Add support for the IEI WT61P803 PUZZLE MCU To: Pavel Machek CC: Luka Kovacic , Linux Kernel Mailing List , , Linux LED Subsystem , devicetree , Lee Jones , Rob Herring , Jean Delvare , Guenter Roeck , Marek Behun , Luka Perkov , Andy Shevchenko , Robert Marko References: <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> <20201029180105.GD26053@duo.ucw.cz> <7821443b-ddbc-fc92-b990-14d116dda853@ti.com> <20201102190335.GA25451@duo.ucw.cz> From: Dan Murphy Message-ID: <3d9058ca-d64e-5e55-d032-5860456e5d9a@ti.com> Date: Mon, 2 Nov 2020 13:04:49 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201102190335.GA25451@duo.ucw.cz> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hello On 11/2/20 1:03 PM, Pavel Machek wrote: > On Mon 2020-11-02 12:29:59, Dan Murphy wrote: >> Hello >> >> On 11/1/20 3:56 AM, Luka Kovacic wrote: >>> Hello Pavel, >>> >>> On Thu, Oct 29, 2020 at 7:01 PM Pavel Machek wrote: >>>> 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 method. >>>>> + 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. >>> As this is specific to this microcontroller and to how it encodes >>> these values, I don't see a need to change this. >>> This isn't used anywhere else. >>> >>>> If not, at least spell out WoL, as it is not that common of acronym. >>> Okay. >> WoL is a very common acronym especially in the networking space > WoL is common. WOL is not. Better spell it out. Agreed. Especially if WOL does not mean Wake On Lan Dan