From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D779EB64DB for ; Sat, 17 Jun 2023 08:13:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346288AbjFQING (ORCPT ); Sat, 17 Jun 2023 04:13:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346258AbjFQINE (ORCPT ); Sat, 17 Jun 2023 04:13:04 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB20A2722 for ; Sat, 17 Jun 2023 01:13:02 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-51a2160a271so2067318a12.1 for ; Sat, 17 Jun 2023 01:13:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686989581; x=1689581581; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=s9XhF1AbZgBc4w90xXvzVaGHxO7u4rSN46uhBHv0hS8=; b=Hj2OV1ESAdQP+iZRBErFlbPxNOYXc7f/oc4frykipndr7yM5akNzNjVxG8kWrKI00V tPLVSECmWbYViuiKxJCaXvwZTUt/i1i5iLlDAdF+Zz8TjS6ALo5G9uDk1R4picB6NEt0 +czzvzzYnHscyl0GiQuxM8DfU5yF9WgYR+zfuJWTYqmyKpOm/fDBAPqA492P63/ikRp0 5mT5cx47tYMC7vPHdmBMn5+ieA12wX71ICmaBNenhuBbEb31ZMpkvi3ZfVBacqcXkOhq TDs7ZPTKbQWRe87ivJ8LFnlfp9N2V3y6Eim8rxH9UJec0C5swEBCF4D8jjI0+yHNtnPX Hvmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686989581; x=1689581581; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=s9XhF1AbZgBc4w90xXvzVaGHxO7u4rSN46uhBHv0hS8=; b=GfFRUjoX5nvmwaPnuair6ojLpvR7WEZZ2uH4pxg5i4C2DLNbcmkd/e5LHHiVwt1kPD 9ClOmxpS7XRfz9puL61/mQZGuAAMriOpC9j+cQkte8wUFhU5Wp/A3SDdc7Uz80RxOFDf TBM6LKJz6owl5P2xjOMiGXwF4ceqnFFA2P8KDSSf4+s5ail5hqznGZq3S0QZNycaobl2 kGR4Z0QFMqCKjEE3vk/Y8EKOKi7TxDjOQ78Co5eU8lhebHcjkzggNWk70DuHcBQn7etO +zjHw0CegJYzCGYEMdlCUutMOdq+LycXfpGNEH7ocQrPuXm1N+a+joQ3lABJJVn2OpmE Uk6g== X-Gm-Message-State: AC+VfDzQP3xyLzubBCrDrbCqZudhaeFfgHvR/N+8wCzIpF7HdQQayZRI HrRZ/9JQC6YrptWrrabkm+4Tow== X-Google-Smtp-Source: ACHHUZ7920VxznNipQN2HN5RuxDHXyv+t2OsUpZfL85ldT7SzJwV3ez4MBscPpHMuJ/Pvqre182xgQ== X-Received: by 2002:a17:907:96a3:b0:96a:1ee9:4a5 with SMTP id hd35-20020a17090796a300b0096a1ee904a5mr5224523ejc.8.1686989581460; Sat, 17 Jun 2023 01:13:01 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id kd14-20020a17090798ce00b00965a0f30fbfsm11749931ejc.186.2023.06.17.01.12.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Jun 2023 01:13:01 -0700 (PDT) Message-ID: <3509622d-81f5-6687-ca27-5e4dc28f99dd@linaro.org> Date: Sat, 17 Jun 2023 10:12:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v3 3/8] dt-bindings: rtc: isl12022: add bindings for battery alarm trip levels Content-Language: en-US To: Rasmus Villemoes , Alessandro Zummo , Alexandre Belloni Cc: Andy Shevchenko , devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230612113059.247275-1-linux@rasmusvillemoes.dk> <20230615105826.411953-1-linux@rasmusvillemoes.dk> <20230615105826.411953-4-linux@rasmusvillemoes.dk> From: Krzysztof Kozlowski In-Reply-To: <20230615105826.411953-4-linux@rasmusvillemoes.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 15/06/2023 12:58, Rasmus Villemoes wrote: > The isl12022 has a built-in support for monitoring the voltage of the > backup battery, and setting bits in the status register when that > voltage drops below two predetermined levels (usually 85% and 75% of > the nominal voltage). However, since it can operate at wide range of > battery voltages (2.5V - 5.5V), one must configure those trip levels > according to which battery is used on a given board. > > Add bindings for defining these two trip levels. While the register > and bit names suggest that they should correspond to 85% and 75% of > the nominal battery voltage, the data sheet also says Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof