From patchwork Fri Aug 2 19:20:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13751921 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 73210C3DA4A for ; Fri, 2 Aug 2024 19:26:49 +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=TOyuQfbILcMGTmLZPccNjk0siFr1lyw/4cIfSrAVrWo=; b=BuE3mdtl8S1D1zQYo/umWniyti P7iCMvoHxNTxr26w92k+aTCRWBb1Z2wLKcBS84QZhtRUjQCz+50fCJnJOpn3g0xVTmiGPbQX5Iuaw StZvFKgkWQGD3N9aB77cy3Iu52uFqwOen24wG9qWHOFptHdeHatruCGZ815HAXlFPuLnihRdeFYmK 5v+FIudRbH4zbrBv4S7NG4zX70TdpuTvaRIWgdFXu3O8mzGFwIbXcfskHoR+IL7WWAN66KnHCmwDJ FrdLcSJK/0tqSX40aD20bZzdakjl4AVpdxhfOWTekGv1R7E0XLLicezCD81kmsBYNUJfavIVLlQqR 6ChTPv3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZxvE-00000009rJA-13CI; Fri, 02 Aug 2024 19:26:40 +0000 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZxrd-00000009qYj-0rtY for linux-arm-kernel@lists.infradead.org; Fri, 02 Aug 2024 19:22:58 +0000 Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3db23a6085aso1950516b6e.1 for ; Fri, 02 Aug 2024 12:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722626576; x=1723231376; 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=TOyuQfbILcMGTmLZPccNjk0siFr1lyw/4cIfSrAVrWo=; b=iqXkvyaEunflCniZR5MCccQzbhhgbKgvslYuzeixDxkfu+4dr3E6x7cQ50YfalFC/2 zO1CQndH7rt1E4uYxLACisXp57ahIgCG4v7h24n96Evp8y67P/JdJrT9MI3p+hSU+BtL w4zA6EqEADIs0P3kdBfr6vD3b0Elmvj1VQU/tNKNnnC7SL9T8acU0trkfVByPfT1cgfg 7kcVJXa2/dv2MxcG4eCT5d/RS0wDBzebFjgnk3ongugP7FMpr7NMRy/pQL3YX2fzW77Q URpLpcKdJbl73dacAtHiy9nbhCOx05lIZkcz1gir8GthuLzfj17YIBUWrFuC3qFWAyR9 Jnxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722626576; x=1723231376; 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=TOyuQfbILcMGTmLZPccNjk0siFr1lyw/4cIfSrAVrWo=; b=k07kfF+vxAtzs5HVlE3DdPYHzxN0yDDYazZolbHel0dPKfmI0YdgwFRZwzoRt6CGUQ w8zJ389su5WdzqNETloLOQHjjJukNL/l4hlxp16Vapcm5ifwPAFm9NYcA2lpAQYwyD3I RcsR3HJ2jJlpSPyc/zp/uuS+SHdJPIIpyVgKl/Xi5aQa/ovmzwITh25G/+wN7h/R8rbV Io8SFddKq/iaaQ5mKedF/+vxH4HHzndPbRUAT8zGIZGHw4V4FIrkIkmGeYq70O6A1TyS k/UTSKe7+oHQHSJHiGxsfk4IK85AxytaaoFis5JEw00/tiwHH1DvvM7FaVvC1A04jSvF CpVg== X-Forwarded-Encrypted: i=1; AJvYcCWl2tiAXtvdj3mXrgVAPf5HLUNhflnNN3jOrDzwlBVJJz160iD+sXbsVU8aovVoyHrykpIo1hOQc4i7JCm2SZjhsWq/odhqMQqy0TMLUj6AnnJfIxo= X-Gm-Message-State: AOJu0YyW83INWIASTWa60XOnXIpTgQxM8QKmRhg0ot392pdRh5oINz5a O8vounSoxyeEejrfty7uQbcaB88JzA+WhIJcfeuqXRXvGHBic4xk X-Google-Smtp-Source: AGHT+IFxPdAe/2YdHaq99lURfivc8IRArlYVgwZnu48DQyuvdfvclsbedQRdAd0XWC+Tjce6SDTJNQ== X-Received: by 2002:a05:6808:1304:b0:3d5:6529:bea0 with SMTP id 5614622812f47-3db537d3682mr2277502b6e.6.1722626575664; Fri, 02 Aug 2024 12:22:55 -0700 (PDT) Received: from localhost.localdomain ([2600:1700:fb0:1bcf::54]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3db563b7065sm584592b6e.46.2024.08.02.12.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 12:22:55 -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, Chris Morgan Subject: [PATCH V2 07/15] dt-bindings: power: supply: axp20x-battery: Add monitored-battery Date: Fri, 2 Aug 2024 14:20:18 -0500 Message-Id: <20240802192026.446344-8-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240802192026.446344-1-macroalpha82@gmail.com> References: <20240802192026.446344-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240802_122257_269219_D9124CC9 X-CRM114-Status: GOOD ( 10.09 ) 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. Signed-off-by: Chris Morgan Acked-by: Krzysztof Kozlowski --- .../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