Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10947917ybi; Thu, 25 Jul 2019 07:29:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNUU0pUmHWnXZGX1ypv2gjrdTQP9wNR5vPEvMQVsJfKlKlqujB61YqnZZ/JvdXz7euU5o4 X-Received: by 2002:a63:d84e:: with SMTP id k14mr86842124pgj.234.1564064964965; Thu, 25 Jul 2019 07:29:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564064964; cv=none; d=google.com; s=arc-20160816; b=T98vRbrdT69Llo6/G5kuM7Y+vo6nvKgohNMUdLtFPTfbHTEftTwtw04kBpUbxzeQCu /3hFf+XSlBd5N/UHfEElbvJ4Y1w9ET5lVbRUh4t7wcaPp5sDZJXXXYrEvIx3AMxQMoLm E//Mnv26hzOq5jdx8FJVNx0vl9SB+9xOFH/79bXO1onH1im4NMvam8JjmyWdvipNwP3t L/O8hHZjXseCTjiGz5KPYwknfkw0oBhr+IKCi/KTVxait1vPvPpjgHJAMaSOvLKej16T FHAr9FW09pNJxXPZoKpVkGKVVqjZ4baJu3LSCFmr0LYE+vzTBIsMRwpfr1Ci3F0lsP2v 0DsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=8iXF3z4I/1bFhPymp5brEezEOAt+VD8wjloraO/Zwfk=; b=BoW1SSCysZX8uP6dsWK/Y/SOfXXSLQgZh9VnL3y/6Ua7uSmLZXTDN1QhH23M+Nc1Mv spoH8N4t0oZA+vxsxxMttWMASYnj3vIQgTdcbKxI9z+O6MTTnTi6Q8P5+sQ9uw4+H7UL pBcI9Fx+7kXctPcJWBxmvFe+TsEdP5HooO9BeHoZ4fY8khnqozbll0IaN7nWJIRnioV7 2h34Pj0EwCREQpNDgxv+A44bhttRTvmUXMA56caUgB1HmdfxTeENvsb4/Yq+ho5CatYh oted8zZPyU/3eR+6Jaj/tT9rhqRoBnHZ/YFQLkegHJP7Q5E2NZ5exbOhV0QFMcqED0mE Vt/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=EXZ5L71u; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si15647842pls.115.2019.07.25.07.29.09; Thu, 25 Jul 2019 07:29:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=EXZ5L71u; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728380AbfGYOId (ORCPT + 99 others); Thu, 25 Jul 2019 10:08:33 -0400 Received: from vern.gendns.com ([98.142.107.122]:51174 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726802AbfGYOId (ORCPT ); Thu, 25 Jul 2019 10:08:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8iXF3z4I/1bFhPymp5brEezEOAt+VD8wjloraO/Zwfk=; b=EXZ5L71uP37YRG8OARqdv6Xg/0 RIycvmcz3YOUZ0lh/L7nIdAPHoDU74Ucg9nrvCgA6rkrGvJbgukLUmvm56LRBVfSsBHgf7sp+oGfg P1n2E2cIznyFkE6WsIIUQe9Yb4A3ZOsTedEF5WXsXF8QEFGfQxPjH3z/cT2fi3Raj5YCuXmE3HsrQ f6rylb6AqSyWzPSS4OQIu81FVjPKBUV7PBTjGtlvyMVvQEwkCFNZGbNzOAMIOm2VCVtJKaOI8wf+U eVQUfi6Y4W9tptS0LJZSkugqoi8vNNwv16UNEmLySJwnwHcaeHb4gLyMF9+RtHQSdU75lO/vA9ECC qUHojtRA==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:60968 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1hqeQ1-00Givk-AR; Thu, 25 Jul 2019 10:08:29 -0400 Subject: Re: [PATCH 1/1] power/supply/powersupply_sysfs: Add of_node name to uevent message if available To: Richard Tresidder , sre@kernel.org, enric.balletbo@collabora.com, ncrews@chromium.org, andrew.smirnov@gmail.com, groeck@chromium.org, tglx@linutronix.de, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <1564040858-24202-1-git-send-email-rtresidd@electromag.com.au> From: David Lechner Message-ID: <9a10b934-e7f3-c95f-6250-8a857bdfa912@lechnology.com> Date: Thu, 25 Jul 2019 09:08:28 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <1564040858-24202-1-git-send-email-rtresidd@electromag.com.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/25/19 2:47 AM, Richard Tresidder wrote: > If the of_node name of the supply is available from the devicetree binding > then include it under the var POWER_SUPPLY_OF_NODE_NAME. > This helps where a consistent name is known via the device tree binding > but it is hard to identify based on the usual enumeration process. > Would it be possible to use of_device_uevent() instead of introducing a new property?