Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4232857rdb; Thu, 14 Sep 2023 16:33:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGT2KGxeotkeIbfQLi56/aLO5ucwrjRCOYdwz7QzoiDJIci8cyRRGdH3DPLAxxrSzt1w/c X-Received: by 2002:a17:90a:590c:b0:26d:fcd:89b3 with SMTP id k12-20020a17090a590c00b0026d0fcd89b3mr1223pji.8.1694734422864; Thu, 14 Sep 2023 16:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694734422; cv=none; d=google.com; s=arc-20160816; b=k/MhoxkagBPD4T5gnEPtLSM+nfMo1HKZ+vYimtH0/ja3on4qEWd6ZKJxJd6Gs0vDTn Q0/WvKNq/Jp360IwrV/w8pNMq3S1qGFh/wO9jauMR+7HQrp4ay6yP11fXk6E8OigOHPk VUXs1gTP9a0qDWdcyiNQR/6z12YYd+36OEE4cc63onAWVS58Z1k5r8dVQuwGoevMUtSH 6X41XOMf7y89QfCxApKNN+Oz5ZcNp6SHnTIxCzXSGlEQVmEjapCmGn5bQ151qOMWj2KZ vmtDOZhUcnqeJ2YznakuFBB5k3ibUUoKR/4+ahftNwaBAfK1RydaisEBqmZgz5vLCUwX VrPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=RbsaE2QGR55wGAGSVEvMAewE33fqZJC1pC4mLT1lmsE=; fh=JrcJvIot0DJuXL8k4VOEzcOJl+IvD76nHfu6sHzrbzM=; b=HsSi9eTMKBq6TEUNAs4boFNizx/jaSK4nxGPNPLAcy8+p6wS3PCrIQ8C66uBZa8Cp3 IrWAPoiLeno5WA9ZFYkR+oH644tXJ3fV6kbToJtCD3+N0CmYFFyBA4JXRRHKw4tCimlx GA+V7hzFYC1zhj+CiG/Gow6V1QEl97/ebL1xB/beFQ7pHCUdCovqIRYatwJwF6c8utK7 YgZH1CymfGLqpJ7mcu+iH2LGFtz39ShwkpI1HzB+CFZep1K4S+F4O3B9WrE6PIjvbrg6 OXB2nF9iqd1VoKBylSFdL47DKo3G/UVk9/YyY463oTtjAmqLjsfE093M4YAEqMEfUqFg 3qSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AnVdVV8c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id go1-20020a17090b03c100b0026b4fa161ffsi2359110pjb.110.2023.09.14.16.33.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 16:33:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AnVdVV8c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E47788411D62; Thu, 14 Sep 2023 08:42:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241142AbjINPmT (ORCPT + 99 others); Thu, 14 Sep 2023 11:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240961AbjINPmS (ORCPT ); Thu, 14 Sep 2023 11:42:18 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40A5D99; Thu, 14 Sep 2023 08:42:14 -0700 (PDT) Received: from mercury (dyndsl-091-248-132-131.ewe-ip-backbone.de [91.248.132.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id E7DCB660727E; Thu, 14 Sep 2023 16:42:12 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694706133; bh=b3WOb1uGDFt0IdxghELoF5bLCGKcPAe4bvnXM/jp+U0=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=AnVdVV8c/DNZKuwHpmVv/IlLfRbeoXn0jdKN3Nx9cIHwKcuznyBC7jKjG/1bDQFsx OkfsWn2Zr/w3NxcxCcYGdnexKaV+vg/z3Ci3K17Cj16NTGr0LAHsQJNCPE+DzTNcBl u37D/ehG67JV8Szz8lLzJcBgBZyX5abn4Isb4GbppNZ6CGCzRMoszYfJ8UEGuYnGVW 0le7WeBXio9FOxL1a9JxVf23FFiguDQqwQya4ebAWQ0Z7rpUVRNdfiw7tj084++Xt8 trXvhwCggdpv9rj6S7vLFwk0W1J6Wv138qPQ9bLowRHkqLHmC30FkScOEQIi1PuPz/ xtZbiXFbVmnJA== Received: by mercury (Postfix, from userid 1000) id 0D6DE106098B; Thu, 14 Sep 2023 17:42:11 +0200 (CEST) From: Sebastian Reichel To: Iskren Chernev , Krzysztof Kozlowski , Marek Szyprowski , Matheus Castello , Sebastian Reichel , Rob Herring , Conor Dooley , Russell King , Alim Akhtar , Arnd Bergmann , Jernej Skrabec , Claudiu Beznea , Stefan Hansson , Svyatoslav Ryhel Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org In-Reply-To: <20230731073613.10394-1-clamor95@gmail.com> References: <20230731073613.10394-1-clamor95@gmail.com> Subject: Re: (subset) [PATCH v3 0/4] Add optional properties to MAX17040 Message-Id: <169470613104.705505.7085807512019934835.b4-ty@collabora.com> Date: Thu, 14 Sep 2023 17:42:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 14 Sep 2023 08:42:17 -0700 (PDT) On Mon, 31 Jul 2023 10:36:09 +0300, Svyatoslav Ryhel wrote: > Extend properties supported by max17040 fuel gauge if it is accompanied > by different devices. > > If max17040 is coupled with a charger, pass charger status since it should > match and max17040 has no dedicated status detection ability. > > max17040_get_online can be reused for PRESENT property since if it is > online it must be present. > > [...] Applied, thanks! [3/4] power: max17040: get thermal data from adc if available commit: 814755c48f8b2c3e83b3c11535c48ab416128978 Best regards, -- Sebastian Reichel