Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5750474rwl; Tue, 4 Apr 2023 03:08:59 -0700 (PDT) X-Google-Smtp-Source: AKy350bjJxOt4/nLP97IvvCcjcWKsSzIMncq+06ex0Eh5pZ79AG5OAC8NdEBtby3/n7CSGKTTqWX X-Received: by 2002:a62:7b41:0:b0:622:85e2:fb93 with SMTP id w62-20020a627b41000000b0062285e2fb93mr2127133pfc.15.1680602939192; Tue, 04 Apr 2023 03:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680602939; cv=none; d=google.com; s=arc-20160816; b=z+u67kvO/qjH3QQcc9OfgYADo8XwUEoOIrZ7d7tTbrO9H6MfhB/5pkTsTotveOFG/r vu4TCbEHmltAbkWeUrhFyCEAlmZ/6B47FPO7364VSfYEyQOWHSVNLV3keSV6Ub2LN0bn xudyTv9KqUvtrSL3RDEbV8WEeqAIJ5FnAFPEKnwl86JrdwExY/KWf56UfYXJBGAyVyh7 p6dKu4Z92lHThRWk4vNnx8wWKn1+F4vB3GEuG/x7yxWpDmoDKKuBfLbaHh8+GghL9HgA ploBTk8dp4WE59aQWOfqHpV9KgwOMrD+WapApVojKEOyac0Xfw/b91D2uMCEKsTUJjaW RvnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZlNybzVLYx+A0XBeoH4oXwuGxi1u7KKBqs1hBUDO4vo=; b=SgXP+D4tOS5uUzZ+Sc+yY+QIgVqBD/S+ZUgjotaewSq2bT+ik6DGs24XULY2xFsVM5 fZDCF/fgsrLMph/aUVBimVFSIn36Jg434lts/wkMAwoNihArFuhf6+YTNtOAqYNDdJ6F IcnlVwFkCxbitZ5jDl6sSsHI4uOTqwxgrvN2aTlGAo93z2LJxAE28Dq4AywBTZ6csEx8 ANBgsdYoEBZp3+2zIylQniH3o9oPjx2JmparsYZRRu1x7YET/bRheaSRDcrqbbA4vgeN /8ArTorEeNzkOOniAnXtXGfDD/FdYf+OjmCimkF10/No5J5Uk/O2nayhbAL7kOERrUPt khzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hFSvDhnr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r2-20020aa79622000000b005a8b3c6b5c1si10360639pfg.245.2023.04.04.03.08.46; Tue, 04 Apr 2023 03:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hFSvDhnr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234132AbjDDKIX (ORCPT + 99 others); Tue, 4 Apr 2023 06:08:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234318AbjDDKIW (ORCPT ); Tue, 4 Apr 2023 06:08:22 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B600E79 for ; Tue, 4 Apr 2023 03:08:21 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id i5so128540623eda.0 for ; Tue, 04 Apr 2023 03:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680602900; 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=ZlNybzVLYx+A0XBeoH4oXwuGxi1u7KKBqs1hBUDO4vo=; b=hFSvDhnr6/SiTUZWMmI6o6a09OPjQKM+CX//VRhSYtWawTDhAbGCWc9WqmkneaBOAA u5ut8fQpyXa5GU3O4sCiX4dBMC0/8pzL73PzO1dTaiOvivV2ETDp2k+Yy/wyPlKkKRWz VvdTl/OUrmF9GAc7YE9a9pC77VCb7VZjshJ37i4CYZ9p07oh8kI7mOxQ6y2HQ/djxp05 WpQIzcdwTW2QmJvEurxazwv+UhmtMJB0xcbjpqq3+ih2Y6n0iV0N6FPXzmIELq1BYRbh mZSb+35C7dFZvILeDrhqfEOyPuppguyHtrw9DxTc/kffGrgVUmzhGiMtz6ciLC2GTIK3 ZaJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680602900; 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=ZlNybzVLYx+A0XBeoH4oXwuGxi1u7KKBqs1hBUDO4vo=; b=RHp/MiJ41V0Gt/6rzaYbXuK+DA64kN4bAe0Tw0XU6yKExFYd1lS4dh3sqG9L1RT4Wi a0keWvg/nTkPKIfYVHgSLoLdLGMuqAfR+rqn7yE2CjXWKmpXC6wuLkgnxJfaEVw2BJTd AEAE+RNeWxw8tiMfqIs2oKnE++Wn/qSLp9Q1lTq+REJvirsta1kHtLYd+QgIvJVJBGPp 6k2wezAvJOjEPKXdrB7jemUMEdnSfw96DswHzXuzDOAPRR9z0h9vXD7ZpADzEcNsCSBa nQxm/4N3bYsoXnbzb3KW/4t4LjUTp17GxXSzoAIbG9aN8KeTCE393CCyajmNWVq4GZfH RN1A== X-Gm-Message-State: AAQBX9fghuPwAzMVYmhRq7GagtkVNuNxNqtJMJSsdIuqcQ+l4h8ERbMa 8XVIrRwvKq2vbM1QNBNM2noBWQ== X-Received: by 2002:a17:906:1c0a:b0:947:f4e2:ad6d with SMTP id k10-20020a1709061c0a00b00947f4e2ad6dmr1416732ejg.72.1680602899914; Tue, 04 Apr 2023 03:08:19 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:99ed:4575:6001:8bda? ([2a02:810d:15c0:828:99ed:4575:6001:8bda]) by smtp.gmail.com with ESMTPSA id s5-20020a170906454500b008e54ac90de1sm5765184ejq.74.2023.04.04.03.08.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Apr 2023 03:08:19 -0700 (PDT) Message-ID: <1efdb870-cac2-f6ed-72b5-d0550dbb5257@linaro.org> Date: Tue, 4 Apr 2023 12:08:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v5 2/2] dt-bindings: rtc: add max313xx RTCs Content-Language: en-US To: "Tilki, Ibrahim" , Alexandre Belloni Cc: "a.zummo@towertech.it" , "jdelvare@suse.com" , "linux@roeck-us.net" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "linux-rtc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hwmon@vger.kernel.org" , "devicetree@vger.kernel.org" , "Arslanbenzer, Zeynep" References: <20230403154342.3108-1-Ibrahim.Tilki@analog.com> <20230403154342.3108-3-Ibrahim.Tilki@analog.com> <202304040710049c9cc01a@mail.local> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/04/2023 11:26, Tilki, Ibrahim wrote: >>>> + aux-voltage-chargeable: >>>> + enum: [0, 1, 2] >>>> + description: | >>>> + Enables trickle charger. >>>> + 0: Charger is disabled (default) >>>> + 1: Charger is enabled >>>> + 2: Charger is enabled with a diode >>> >>> 2 is not an allowed value. I asked to drop this property. It is coming >>> from rtc.yaml. I also do not understand "with a diode". So otherwise it >>> is charging with, I don't know, FET? >> >> No, what is not explained here (and maybe not unsterstood by the >> submitter) is that the RTC has an extra diode so, charging will always >> enable a diode, select a resistor and then have or not an extra diode. >> Figure2 of the MAX31329 datasheet is great. >> > > That is exactly why I had "adi,trickle-diode-enable" property in previous patch. > So if I can't have "adi,trickle-diode-enable" and can't add an additional value > to "aux-voltage-chargeable", I am not sure how to add support for the extra > diode at this point. Ask the person who asked you to remove adi,trickle-diode-enable... Anyway even if you decided to go with such advise, the solution is not to create binding which fails. Best regards, Krzysztof