From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796136690; b=vNKTffAOWg5jDtHpXfGM2J/hbANqDJpb9jXMqx3tzVBPCKrmtuLNjuTyZoTdbf3wwsWL iNGSvg0F4oPpXbdkUWRLbGa6ZObw6+qwYMtoVOqC/wRnHUutsO3DSFlizV8FvtCUv6QUN IqiIRhfZIPSCU8t7GYFzZpDfkraek6bweSdqyLxa1Ly46LKM6sw5PQX30WPltUE/+qrbo r7cTbmfggRUZpbjOQJ69GrXath1XX8p5Gd1KVVH7MZNq2sWuO1bamrIhu3t7tjEmZnNFI 0FSR5dwLVVncSlZazmvxYF1DvDPUEraQF5wQ3nN5ONkr5PfWvyBO+F7hD7nzwj7+M9A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796136690; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:From:To:Cc: In-Reply-To:References:Subject:Message-Id:Date:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Mailer; bh=zxwqpFVivJmbHqSme7+D1l62IvuGrCLqNLDEcxKIO9E=; b=uB6hYJSRfNHUgXGFGIRP9w8pX2m/l0tyf7kWlcWiLF7VQ7NPXDiKcOXhkjis6Ty8Bwpt GZuFPeByY649h1kC51y9JECyWSPOhrqhSqZXZzxVwGNWQ/VEfEirN2YMv4VumdELIxDWA XoC3I9ppObq0TCEWsZ0a3Tzp2zjR7GW54tDRr8+LWIIHQMS+IJGAK1DQZsV9c9UWnm4q3 OMI67z3yLYQ9ekPiBh/+JCg0eG1qF0oAVEizq3E9FupM9YNR9V6PpqJT4uBXMNoSgF7Zf tS1XtRv8rDRyj97XBBKYsHznsUAx613P9hP+0Lngv1XnTixeQpYPENTE7FdjR+WXqOw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=UxOSzZg+; arc=none smtp.remote-ip=192.198.163.18 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A048606A31A; Tue, 1 Dec 2026 14:51:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5A048606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=UxOSzZg+ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796136690; x=1827672690; h=from:to:cc:in-reply-to:references:subject:message-id: date:mime-version:content-transfer-encoding; bh=zxwqpFVivJmbHqSme7+D1l62IvuGrCLqNLDEcxKIO9E=; b=UxOSzZg+5K87tTTgOTNfrmLs4JXR3v7yO4Rhqb9E8mSmhLXEFWid7hpy 7AQvtF0dSP+gKnfE413GT8QQz67419dmrmb1zLxnG4WAb/KkggULV6boW fy3xwBMdulzw+NEB4ia0bbCx6Rd4387ah9dCCRP2ES69qyexFTfqq3fa5 SmVBSmbnAzhdApVJJUtSB6h/Dj9z0KGVwBtVXOXBVzQmXhBYLJmpnaz+z c4yQGi2EH1/guqcMTryfUflWz6dx75XqFyFYjYodQYDCKB0cYd6pYme20 PGMEq8Dt1FH+TXEAQbWdIHPRqkdV/PCe3DNN+aHF2LFezgJoR6s2ATF/F g==; X-CSE-ConnectionGUID: csQRkB+GRWW791fFTP3ZNw== X-CSE-MsgGUID: kNMjsV2uQyCMIkr0HV8aSA== X-IronPort-AV: E=McAfee;i="6800,10657,11983"; a="5022698" X-IronPort-AV: E=Sophos;i="6.27,244,1787036400"; d="scan'208";a="5022698" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2026 06:51:29 -0800 X-CSE-ConnectionGUID: XRqvUOinR/iqsKyfttd9YQ== X-CSE-MsgGUID: q0SOf+7nSjWqWyxdqfbTIg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,244,1787036400"; d="scan'208";a="4710707" Received: from pgcooper-mobl3.ger.corp.intel.com (HELO localhost) ([10.245.245.21]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2026 06:51:26 -0800 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: hansg@kernel.org, Armin Wolf Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, bifangknt@qq.com, nicokessler@icloud.com, sre@kernel.org, linux-pm@vger.kernel.org, wse@tuxedocomputers.com In-Reply-To: <20261201143645.312632-1-W_Armin@gmx.de> References: <20261201143645.312632-1-W_Armin@gmx.de> Subject: Re: [PATCH v3 0/9] platform/x86: uniwill-laptop: Complete battery support Message-Id: <179613668114.15932.1622977449455458005.b4-ty@b4> Date: Tue, 01 Dec 2026 16:51:21 +0200 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.15.2 On Tue, 01 Dec 2026 15:34:36 +0100, Armin Wolf wrote: > According to the work item for upstreaming the out-of-tree > tuxedo-drivers package, the mainline uniwill-laptop driver still does > not allow userspace to read the cycle count and raw capacity of the > battery, preventing Tuxedo Computers from switching over to the > mainline driver (among other things). > > This patch series aims to add the missing battery-related bits. The > first two patches extend the power supply subsystem, while the third > patch uses the new API to expose the battery cycle count on devices > where this not already being done by the ACPI firmware itself. The > fourth patch also exposes the raw battery capacity using a custom > sysfs attribute below the battery power supply device. The fifth > patch only does some generic sysfs-related cleanup, while the last > three patches add support for new devices based on user reports. > > [...] Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while. FYI [if applicable to your patch], as per Linus' policy change, also fixes are mostly routed through for-next unless the fix is for a commit introduced in the most recent cycle or is clearly a regression fix. The list of commits applied: [1/9] power: supply: core: Add power_supply_has_property_direct() commit: 96da94ed9f797cb321b19b1426e574ad4da97c46 [2/9] power: supply: Enable struct power_supply_ext to be construct dynamically commit: 0a5c3cb2db75977d42578f9036ad644f9fd86146 [3/9] platform/x86: uniwill-laptop: Report battery cycle count commit: 1498e7b84d927a40dd591c41e119b777c682cba4 [4/9] platform/x86: uniwill-laptop: Expose battery health and cycle count on all devices commit: 6deeee91f4c90d55fb71d09d0b46015720ae311f [5/9] platform/x86: uniwill-laptop: Expose raw battery capacity to userspace commit: 781e13fcbe23fad2306193bea667ebde4cc88fe3 [6/9] platform/x86: uniwill-laptop: Mark sysfs attributes as const commit: a38f5af3193a7eb32c4bb9f2666214921feae221 [7/9] platform/x86: uniwill-laptop: Add support for MECHREVO Yilong15Pro commit: ce1d614080afb563e98bf0d55ee0cec332e17f76 [8/9] platform/x86: uniwill-laptop: Add MECHREVO JIAOLONG Series-X6xR55xK commit: 86fe4a255edc288a9023022879dec029b5b9df36 [9/9] platform/x86: uniwill-laptop: Add support for XMG EVO 14 (E25) commit: f09fec5a32d43dd3f9e32d531d05422a9f6191d0 -- i.