Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp756916rdb; Thu, 22 Feb 2024 20:56:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUuM4FiWoOc4Wtyfis/nE4g4cSv8aDTwr7HswNXnYFL8W154ctrFvRBp7M5SuK4XD578ugJ34+xRjGFGMHXTRkEiDYRIpEybaMlYApSjQ== X-Google-Smtp-Source: AGHT+IF/zEYOa1ZJE7yuwSscGpwfx16BZvhtet4CERPttTAWjzn0bWofjHXHQFKNOHKTJcn5mRuP X-Received: by 2002:a9d:7cc9:0:b0:6e4:7dff:df4a with SMTP id r9-20020a9d7cc9000000b006e47dffdf4amr1143509otn.24.1708664210472; Thu, 22 Feb 2024 20:56:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708664210; cv=pass; d=google.com; s=arc-20160816; b=itwUafY+wPsyzOaSpPqbCHJ8NHMihdhubN+el0I1Hcyi/iW8EDwmaN057xRalB2YkI Gx5clfzy3ICfv9+b9oJruvzIhDzT0MsyK+4Ar/qJVgNzwErScfPwnst/bTKr3UmfVPG5 ScMJvQ8YvaJ2+XdnItGHQg3mnOBu4zAQS/J9hOeN5qhIZQ7UZjFXhAeffcfStVKRQLUE AIY8gw8vXZerVTbNGIyWVwgPkFMYL0Nd8HbVjy6BX85HZUhVi7Hv6dLlIc+NgqeQiN/2 6QZbgJn2KhM+n7q8R+3zqxQfEfgTWXMkYcWO8tsWN9TJH/z+D+ztLay1IAgJUerg5MqU OT7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jbIE1e9ZFjblGlLSdN14H0dAmHwHZ1eEpFiS9tk05y8=; fh=Ek3qKipVsBgaez4d9w/3Po69jMDGNDnsPMtT1uKpzQE=; b=rBQXkT+1fVdRafgBCtxNNwiVsCBy4EZO7C35kOC8wsRgIadutMH6ooNNAzMEfLOZu1 s/E+fsGrpSzk54Sgt1XQYx/g8qCaaCEokgi/i3W5UP2QlZvTa0wg0GSIDZrgpKgj8glj gUfdshqkrqiQxnCdYOiQVKm4NedTFWynj1AD68SgJNpnnDzzDI4ieDsy4TjyzGUryGwr Bc+AfugAvDCrfo5s2J/9GwGkg153jVGVBqkXpBDqMpC1FEmIT3JosvOikh1IAJIgcyeR OPvFdGibkWW7Ch6mIbn+PQ3yYq2EixgibRZMG0FUtG4XHG/46+7BDLEvJ3gO/ELCm5tW gqvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mQ2o3Tq8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77774-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77774-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ca40-20020a056a0206a800b005dbd0d798a7si11930468pgb.558.2024.02.22.20.56.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 20:56:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77774-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mQ2o3Tq8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77774-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77774-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 20453284320 for ; Fri, 23 Feb 2024 04:56:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA04911739; Fri, 23 Feb 2024 04:56:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mQ2o3Tq8" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D5E1111B7; Fri, 23 Feb 2024 04:56:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708664200; cv=none; b=qogRkkNk9pzNLLnKmN8NRQcEJno8ufxe0rmIt38UdB0JC0gl73FYidt2VzFhRaGt7Lb8a30I3jxQ1EYJBhHvjPXcAoQuCs7YV+q3i/4y6arU8Q4fEjCaOhcykkU2CeuVpE5OJkUhnkAQ3hQPBUoWKJiR6OPWo3jAhCkVXxm4drc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708664200; c=relaxed/simple; bh=L8JdLJIOPT7SiDgt1sNgOXc6HQyxnRcj+oNXHWOfILY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GA+zIC9RQXiMcqvBUBhIZNvcCnjsZ/dt5yy6CAWSxJR9wpLyqLCrFbfLDwOQUkF2y4kU7mx6S9uNrJ3f2pEXJhb3E4RgxbQSFnUt/NP2p899zprzaRu9lwd39UVTTkATDZEfhjmJ9z5cHrkzW8eKV+1NlOpw7uR8Qh/Dqi18i8I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mQ2o3Tq8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C613C433C7; Fri, 23 Feb 2024 04:56:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708664199; bh=L8JdLJIOPT7SiDgt1sNgOXc6HQyxnRcj+oNXHWOfILY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mQ2o3Tq8wLW451fEuRAyWrxRjveeCXKHZ1+S1Ok1khINwFiaLvH7V9NdJlDILhHf8 XI7NcxUXo8up8b0ppbHK0Zm2Gg5B6mnoNnkHjDpleF8O4QDBRiIc/FvmoInPJVEDfC YLb037PuZEWQp52/GQRGhEUGkfJbUoMKoP9zwnLZKpnEKgOUC2seApF3O6Y8ZiuSGo U9sGqMEBzTIG1X3hxE/2+kCasSJru2XrT44kMFba7uPTQHflERxduzmIoj6fnwHIGr 1K6bob0JcNCSsQbwZLR7tkm2NEct7IqGYEhr5vc/HlgXAHX2cUwVgB7jFWeD8Ctp9r O0WJHhrSly6qw== Date: Thu, 22 Feb 2024 21:56:37 -0700 From: Rob Herring To: Conor Dooley Cc: Nikita Travkin , Sebastian Reichel , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v3 1/3] dt-bindings: power: supply: Add Acer Aspire 1 EC Message-ID: <20240223045637.GA3983053-robh@kernel.org> References: <20240220-aspire1-ec-v3-0-02cb139a4931@trvn.ru> <20240220-aspire1-ec-v3-1-02cb139a4931@trvn.ru> <20240220-splinter-jackpot-ac1571af5b2d@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240220-splinter-jackpot-ac1571af5b2d@spud> On Tue, Feb 20, 2024 at 06:41:06PM +0000, Conor Dooley wrote: > Rob, > > On Tue, Feb 20, 2024 at 04:57:12PM +0500, Nikita Travkin wrote: > > Add binding for the EC found in the Acer Aspire 1 laptop. > > > > Signed-off-by: Nikita Travkin > > --- > > .../bindings/power/supply/acer,aspire1-ec.yaml | 69 ++++++++++++++++++++++ > > 1 file changed, 69 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/power/supply/acer,aspire1-ec.yaml b/Documentation/devicetree/bindings/power/supply/acer,aspire1-ec.yaml > > new file mode 100644 > > index 000000000000..984cf19cf806 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/power/supply/acer,aspire1-ec.yaml > > @@ -0,0 +1,69 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/power/supply/acer,aspire1-ec.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Acer Aspire 1 Embedded Controller > > + > > +maintainers: > > + - Nikita Travkin > > + > > +description: > > + The Acer Aspire 1 laptop uses an embedded controller to control battery > > + and charging as well as to provide a set of misc features such as the > > + laptop lid status and HPD events for the USB Type-C DP alt mode. > > + > > +properties: > > + compatible: > > + const: acer,aspire1-ec > > + > > + reg: > > + const: 0x76 > > + > > + interrupts: > > + maxItems: 1 > > + > > + acer,fn-selects-media-keys: > > + description: Configure the keyboard layout to invert the Fn key. > > + By default the function row of the keyboard inputs media keys > > + (i.e Vol-Up) when Fn is not pressed. With this option set, pressing > > + the key without Fn would input function keys (i.e. F11). The > > + firmware may choose to add this property when user selects the fn > > + mode in the firmware setup utility. > > + type: boolean > > We both had some comments on this property, and Nikita tried to follow > up on yours (which was much more substantive than mine) but got no > response: > https://lore.kernel.org/all/20231214220210.GA988134-robh@kernel.org/ > > Reading what you said, I'm not entirely sure what you were looking for, > my guess is that you were wanted something controllable from userspace, > but I'm not sure how you figured that should work where the firmware > alone is able to control this. I replied there, but what I want is whatever the solution is to work on any laptop, not just this Acer device. Rob