Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp6087lqr; Tue, 4 Jun 2024 18:28:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW5FYAxO116Eb2lEVuuYaKuJrOF35cWmeGKq7fAGT6SK8LVJyJAZcGg7F4j2TwNRtn58FFnCDuKWPZ/1p42GeXG4VVbht4dTzDdhsLehw== X-Google-Smtp-Source: AGHT+IHexijypvsJg5VD8vZ5I9YWNzueGH4GrmXjGPChn/4nLkCTyo3JjhyE/X6Hz0LhmCoHyJHT X-Received: by 2002:ac8:57cc:0:b0:440:820:6545 with SMTP id d75a77b69052e-44019ee4770mr82970401cf.33.1717550899268; Tue, 04 Jun 2024 18:28:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717550899; cv=pass; d=google.com; s=arc-20160816; b=kdiWHmU4KCF6nYk3KzmYDoCVTWTjlSi94WdGyt931haqD1sd8wSnW20rM7htULZ9dt UpcMLX36EQ49WX6Z4PLLv0b8nWq+IunicPYPSGeWIhB1JQKObO7xMDVOtFE/A23LHNtB Qd0n3H0glKjZIFHozQxApTFc24D+Cx9UOIEaApxL7YCK7T7G34XDcecz6V+DzmDfPnb9 ltwv9V6mRD2IzZV1XDnf/2Fri+VjXVivN1B7nN/igZQA4s+9sNlzPOpS4E43eT8jxmNU VMmAPYJu5gcS9d0RJ3N1keMvPoJBRq6ar0L3tbBo+YIkSHM80sfJWA0ijIJXedjQtz77 7nwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=1aAtN/3z/CC+KoX4/Uc468gsc1Odb+4pk0TbWNTH5rk=; fh=mCIaCykKqjTUPlpNazLTBnHtLdBT6uwU+37HB/Ei3gE=; b=JEPlN8mVVqtHLn+gM22kE21UHWCWQCsO97TbPuwHmkEdOpfonHVC1Vq876+UMATpJ5 UMN1APd5RMySLziPB0A0vSsBHRF19v9exTOdPxn4bMaX5nxp/fWiemcD4HPOBHwqSQow 8ayR1fMlzLMJqMl/8OG4kWfC7wmtI2vUMbjLFQU9k07tZ1aash5L53FM/WZkmTTZWJZe Q5SOOJS8AH4ZfZMXiMsC8MlbkyH+eR4mU3Q3oyMYs0mBIJ7hg0BPQKv9PG8hAMM8B+of tp2dmM1EGsqrZG/dKzYwaj4FuISJNzA/08L3UBzDyjZ3TkaR7NC5h4vjygfTr8iFoUEg uHgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@howett-net.20230601.gappssmtp.com header.s=20230601 header.b=tt+FT3lL; arc=pass (i=1 dkim=pass dkdomain=howett-net.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-201648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201648-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43ff2582289si121955841cf.487.2024.06.04.18.28.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 18:28:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@howett-net.20230601.gappssmtp.com header.s=20230601 header.b=tt+FT3lL; arc=pass (i=1 dkim=pass dkdomain=howett-net.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-201648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201648-linux.lists.archive=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E556F1C21F81 for ; Wed, 5 Jun 2024 01:28:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 328581754B; Wed, 5 Jun 2024 01:28:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=howett-net.20230601.gappssmtp.com header.i=@howett-net.20230601.gappssmtp.com header.b="tt+FT3lL" Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1964FDDDF for ; Wed, 5 Jun 2024 01:28:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717550891; cv=none; b=rYCd2jLmVei2HXS3wmhlRk2yqAawXLLpEtGOe1NwEP885irBjPt3VslqRdbHZi4m6G+TvWLJW0jHaEimyY68nJsN9stgsbx52lazNACA8zM7QXONsQoCeQbTk4s00CMOxC2B7jfXoAyUn/LBtuRIN9zXh0T1LAbO7fYf8MJY264= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717550891; c=relaxed/simple; bh=1aAtN/3z/CC+KoX4/Uc468gsc1Odb+4pk0TbWNTH5rk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=mLvtDaZCabK4LK7sFYXejZghHTWuSKCHTh/rBA/ez7K//Zn+G2rGAdsgUyv3ITiIi92JY15JaHksBwzMZ2qyiUCdom3W8JAErDy9V9otLnV67lSS3pB270tKnUQSBx+9E2ElFsqVdPDoujNh/mYikuKTln8z9Bl4lq5oH+dxAMw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=howett.net; spf=none smtp.mailfrom=howett.net; dkim=pass (2048-bit key) header.d=howett-net.20230601.gappssmtp.com header.i=@howett-net.20230601.gappssmtp.com header.b=tt+FT3lL; arc=none smtp.client-ip=209.85.219.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=howett.net Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=howett.net Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-dfa71ded97bso362349276.1 for ; Tue, 04 Jun 2024 18:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=howett-net.20230601.gappssmtp.com; s=20230601; t=1717550889; x=1718155689; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1aAtN/3z/CC+KoX4/Uc468gsc1Odb+4pk0TbWNTH5rk=; b=tt+FT3lLTJnj8aN+o0+xOkQN/JTcTWZWIjXbRRUlHf8Kr8jVb8sdC5FgSH2wPr9qU6 381P/7uuhx3VU8IpbzRyy+x+sC7vIGyaq4YI89Oo+XqNuY1b1QbjlkvqcLtlO52+KjTu X8zeWgbUqqy1fg3h41yXtLHC/AH1E71YWG3FbgRTltc7wZtE0atG3CeDFruc1tJTQTfG PZSGhc51KhJgF1VGI17A/3IBhilLEjbnXg1QYmEPnJFM35BuK0sQ+N5n1sOfw+CxINZo MjGNYklVk5Ega603pbts7+IF1WQxVkdsdp/9uEsXZnIDgjaKSfFZspGy8EVe3UeysmLS NIDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717550889; x=1718155689; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1aAtN/3z/CC+KoX4/Uc468gsc1Odb+4pk0TbWNTH5rk=; b=LQR+VSN8Yw/Z7BS4dBwITkT47fHYH1IL6tUEkTXBlZ36Wz9VZokhg/I8XGdqkCPicr JntLS7Bm4Ei5MVWi+PEtpsMcU5dua4x2ggefia7WRgG71Yt6iwROTtJMixXJr6epOPeh w4j95SSZ2AI3nOODSvZn/IXwlA2U5prRUDqTvXYNc16QJI1uihMrFJGCVwvJElyE70q8 Rv/09L/GldnPGic6pWy3m/XEpaasLIMN1NhPVJl4MWKf+DpFX84M3gI6y3CSZMR7zDtx BrlZyP/koHg5k7U1vslgrKLy8UolCwMC7czV1iuQNJAL1/LC5B2hFu7lBtFtziIbT58S wMuw== X-Forwarded-Encrypted: i=1; AJvYcCXE0FF6Mw+k48ZASC5nwnf4XBCCt600732YMPh843Aai62CM51Xx9ecmWBOqvbGnIGb9h0SA+sXbE8XrhbcLQEiLyWEpgtQSIcyy8s6 X-Gm-Message-State: AOJu0YzGZnsJ3CuT38PFkXpIf8H3TBog2msGaGXHonL8eWCCnljbxbbk WNo34qSW52geQjJyq27XCtxB6Ij2TNG7V/SU0Yt3FQpPny9lLyFdlLoVwnMRyzbjyuEVGsOR349 p6gNvyLDPnRRIt4PRZf4J6dVclRRbPsChQ1aj X-Received: by 2002:a25:bcc6:0:b0:df7:92ed:365e with SMTP id 3f1490d57ef6-dfac97ce463mr1085810276.26.1717550888977; Tue, 04 Jun 2024 18:28:08 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240528-cros_ec-charge-control-v2-0-81fb27e1cff4@weissschuh.net> <5baf3caf-dc09-4829-96db-2666fc902710@t-8ch.de> In-Reply-To: <5baf3caf-dc09-4829-96db-2666fc902710@t-8ch.de> From: Dustin Howett Date: Tue, 4 Jun 2024 20:27:57 -0500 Message-ID: Subject: Re: [PATCH v2 0/3] ChromeOS Embedded Controller charge control driver To: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= Cc: Benson Leung , Guenter Roeck , Sebastian Reichel , Lee Jones , chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Mario Limonciello , Stephen Horvath , Rajas Paranjpe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jun 3, 2024 at 3:59=E2=80=AFPM Thomas Wei=C3=9Fschuh wrote: > > Can you try disabling all of the Framework-specific charge control > settings and test again? > Probably the different, disparate logics in the Framework ECs are > conflicting with each other. Fascinating! This board does indeed support charge limiting through both interfaces. It looks like the most recently set one wins for a time. The UEFI setup utility only sets the framework-specific charge limit value. We should probably find some way to converge them, for all of the supported Framework Laptop programs. > Thomas