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.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable 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 A53BECA9ED1 for ; Fri, 1 Nov 2019 15:30:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7BF0A21835 for ; Fri, 1 Nov 2019 15:30:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572622258; bh=xR0wU7vPq8FEP3/xVMb6rF9lQ0cYwLrPqgbVq75QZPM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=AukwkUbGlWh7RXduQevZWRyr2nLF2jyYKekX8NyifzqIqeMtQjsRw2vS8xv7KM+UT iLEeJcKAaCtb0Dxv3J1pQhAmgHWu2bDv2077wmy4v0kGf2CuD5WGDXSKFpMlvmIZ2R Ga4Ov1bD2w6XftrNBOzpC8cp7eIJHMVpbBcUyxuY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728530AbfKAPa5 (ORCPT ); Fri, 1 Nov 2019 11:30:57 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:33434 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727932AbfKAPa5 (ORCPT ); Fri, 1 Nov 2019 11:30:57 -0400 Received: by mail-ed1-f66.google.com with SMTP id c4so7860482edl.0; Fri, 01 Nov 2019 08:30:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dTmT4eDAKSsUmLuYHZ3sJmr/cB9F+1oZoiLUZ0VRUI4=; b=NEkJGd9HpxQDYw8gPk9tvRRCSu5ACCRDHBWDTcWbGh8gavY3e+AN8X4TDIaMFudD/d u9GLWzhxYcUNapW70Z23zFm+b8NxdYj3FWua2d+punTJvNw9YFseyeRIXQOeB4ZYLsMN EzSGUoLISK11ZrZCjQehLt2K2eudcnYfVaUQSLuLIoQdAWDlRSMlpdTRl/FN5FJcxL3f YWue2Pcr2wZQRp9UnEt+mKIZcrhuJnpJfMoMnrtalaHWtKUztZUv45qCXFuZ2yZxqwSM y0PXhHo7RxkJPp6tkhfCSYXyIDQBHV1wwA7htIqgl6Hw7hvsuR54vIgjGvKCZtte3cl9 rqKg== X-Gm-Message-State: APjAAAXTToynOX3wb9GHl158Nz+UFm7UhMfNCrWh9ePTd1H4SsJotTRD M47Ypxd7uGjUeP7vdSvQOsc= X-Google-Smtp-Source: APXvYqwHLXBlTk3KX1PlXWsYFgm5sRXnYCAsqetUcbhAcnIu+qpuYwzU6se4PgHigqhu0YAtjb6GtA== X-Received: by 2002:a50:9f65:: with SMTP id b92mr13305037edf.63.1572622255102; Fri, 01 Nov 2019 08:30:55 -0700 (PDT) Received: from pi3 ([194.230.155.180]) by smtp.googlemail.com with ESMTPSA id d15sm189625edx.78.2019.11.01.08.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2019 08:30:53 -0700 (PDT) Date: Fri, 1 Nov 2019 16:30:50 +0100 From: Krzysztof Kozlowski To: Matheus Castello Cc: sre@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, cw00.choi@samsung.com, b.zolnierkie@samsung.com, lee.jones@linaro.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 4/4] power: supply: max17040: Send uevent in SOC and status change Message-ID: <20191101153050.GD28931@pi3> References: <20191031184134.30621-1-matheus@castello.eng.br> <20191031184134.30621-5-matheus@castello.eng.br> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191031184134.30621-5-matheus@castello.eng.br> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 31, 2019 at 03:41:34PM -0300, Matheus Castello wrote: > Notify core through power_supply_changed() in case of changes in state > of charge and power supply status. This is useful for user-space to > efficiently update current battery level. > > Signed-off-by: Matheus Castello > --- > drivers/power/supply/max17040_battery.c | 9 +++++++++ Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof