From patchwork Mon Aug 19 16:46:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13768692 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C2E85C52D6F for ; Mon, 19 Aug 2024 16:54:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RkkzIKfrsu8xLnQwZgjeVDvaKU/MUJN67PA3Rk4p0CM=; b=pQ+BNWZuAFZGH3W3jfCF4ze3NG kXuhVVEuqGcGwOcjZgU1t+IxGywqNxYkCPViyfZgPhJNo3POKkW+busISqc0lPbkchkdIG8oSfi0G pczJSy24Y0vmmyO4VxoOwkR0EW7K7L3/EKDvSZB7wdHoyTErF6AW+MrJ52Sobd/cZDOpaxgA9i5BF 7lQoN7Tymw42Kjjdibqj+frgeIGmgwPPmnr3jH+LKB/KRvQVWxMP7M3qOhbYPIvk2wrIhHdi1Yaov 5gL+oP7yGKlm/oLBE0zcEsOapT/DzROJWg+tUQ+mTecmrwRfNz1OOUq4ZthWVNrl6ezEQlNDoxOvK DTMgACMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg5e3-00000002G6v-386C; Mon, 19 Aug 2024 16:54:15 +0000 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg5Yo-00000002EgY-02Bu for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 16:48:51 +0000 Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3db157d3bb9so2596705b6e.2 for ; Mon, 19 Aug 2024 09:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724086128; x=1724690928; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RkkzIKfrsu8xLnQwZgjeVDvaKU/MUJN67PA3Rk4p0CM=; b=IXGgbfTn2oUz9SOZvRXzfW4G+jy0bvyWZE+xLkPob1OCraxxMvqB/IbhwSXIIbSeHY IN7nj2aLOhYcSZAJ4OQrZ2mgvkeXvkIDFpV1dtuMS9/u4qpPyk884uUuCXZLSbrsvMpi NZa5e9NDF5SAZPSp4ULd/ykvjOQPi4Dy0ZKeIs4tJWabnBRj1zmjsSd+EBrvQjCDpM5h WfWR3EkVOtNq/rrmyXcckKdG1vKlDEaNWme6qSkNE7JUIwsLEQ7U49qAtRQ2HlfFz4S+ eRJd/+9ggkGJZY8WYl3n6f6wtNRN4F1qh5TRjg3BslXcD7svKbezqz8x3Q1pXZUc4cZy /mbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724086128; x=1724690928; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RkkzIKfrsu8xLnQwZgjeVDvaKU/MUJN67PA3Rk4p0CM=; b=G3oauvlrqg9cAg4vFJ+vD7qCH1KYEVcErmWLo8Lm4NXJSKys7FHRKXDCWCsoUtasjf zR8RMa4nBX5J/Itxekwm47hi+6GV77DQlC8kxvJ3/OGRD4zOXTotHtD8wAQBIEUi5Pxb Q2WAV2nFxWRFq1/5WD3NiUOVsuYP3wWl8OtEO0CBLCwtrtcqxoAR+G2nIcucob9Wzo4y DzZkL+8upUwBCI6VxtZa92neI9L20ncn0JGzTYUnIveG24I470k9SIWzH28MJr7L99dt Hhtt2+Ynry6WJFVDWxsLgskQoEgzA2oh/Yxfqojf2VMT9YXA9NSUB0215FfO92Zy6GzV MIbA== X-Forwarded-Encrypted: i=1; AJvYcCWoR/0xjbw1zrL/kMdfGJr4cO2tFFmAj8LWFHnW3pu3GPSumocBj/LY7SG8yUXWFjVloHKsc7hHkrmwM1u+kafCOS7u2V8UdYpaVQSHbOSjYqTA96E= X-Gm-Message-State: AOJu0YzhSF2NBVTQWNbl/Mjne12fObqjVNAif2nw6ZFMzwh9JDeUdIrg Lmj8r5w/VdnquAoeWP5oMeZzxtKUEChlA1jHOG8oMwWiRpLyVlvL X-Google-Smtp-Source: AGHT+IHO+Ajg81O2h/SkAHLfyjith17Lryqw1V96phGP04oeUSBU32OaTyHFcHhsC+FfxE2gv09F6A== X-Received: by 2002:a05:6830:631c:b0:700:d506:cfe9 with SMTP id 46e09a7af769-70cac8585aamr13557410a34.19.1724086128416; Mon, 19 Aug 2024 09:48:48 -0700 (PDT) Received: from localhost.localdomain ([2600:1700:fb0:1bcf::54]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-70ca649c61csm2332428a34.26.2024.08.19.09.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2024 09:48:47 -0700 (PDT) From: Chris Morgan To: linux-sunxi@lists.linux.dev Cc: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, quentin.schulz@free-electrons.com, mripard@kernel.org, tgamblin@baylibre.com, aidanmacdonald.0x0@gmail.com, u.kleine-koenig@pengutronix.de, lee@kernel.org, samuel@sholland.org, jernej.skrabec@gmail.com, sre@kernel.org, wens@csie.org, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, lars@metafoo.de, jic23@kernel.org, jonathan.cameron@huawei.com, Chris Morgan , Krzysztof Kozlowski Subject: [PATCH V3 07/15] dt-bindings: power: supply: axp20x-battery: Add monitored-battery Date: Mon, 19 Aug 2024 11:46:11 -0500 Message-Id: <20240819164619.556309-8-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240819164619.556309-1-macroalpha82@gmail.com> References: <20240819164619.556309-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_094850_073754_FC567119 X-CRM114-Status: GOOD ( 10.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Chris Morgan Document the monitored-battery property, which the existing driver can use to set certain properties. Acked-by: Krzysztof Kozlowski Signed-off-by: Chris Morgan --- .../power/supply/x-powers,axp20x-battery-power-supply.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml index e0b95ecbbebd..f196bf70b248 100644 --- a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml +++ b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml @@ -28,6 +28,12 @@ properties: - const: x-powers,axp813-battery-power-supply - const: x-powers,axp813-battery-power-supply + monitored-battery: + description: + Specifies the phandle of an optional simple-battery connected to + this gauge. + $ref: /schemas/types.yaml#/definitions/phandle + required: - compatible