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 625D2C6FD1C for ; Fri, 10 Mar 2023 08:07:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229919AbjCJIH6 (ORCPT ); Fri, 10 Mar 2023 03:07:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbjCJIHu (ORCPT ); Fri, 10 Mar 2023 03:07:50 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC41CE1FE5 for ; Fri, 10 Mar 2023 00:07:13 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id cy23so16985044edb.12 for ; Fri, 10 Mar 2023 00:07:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678435611; 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=rVnc0kHjfb6WR8zgiNTVTUOi5y/jlNnTwVPCFa2f25o=; b=SurW0+gWwuPcoGmNpT30MoSAALFUefAuCoaUwhEAy460w5MY5u9iBdlmPB81RcVAzd sBn0C6PLg/EhCmKHCymEgQPtkjhRT8c2ndjjkkc1qKOzEFf5d2zgSUko2afRSPenT5E4 498dvuBO/fip/b0Xtc0hhMOSSl+UgfHUP1LJNRPk9BrT788A+BFCE0qAqTlQJ/QBO6J7 tRO+YlZrXpvzJvCBkpwin7vQLXb+tEPbXG1VRPQanryVw6HF89+8PgH4ctsI6UC/P15q rlBaaEsIVX11fImEoK9kZHg0YXMbsvCZ/kaHG/ceYqtEzE5lRZ9QhaYktkuNWX03v+Ud HS+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678435611; 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=rVnc0kHjfb6WR8zgiNTVTUOi5y/jlNnTwVPCFa2f25o=; b=Qy6fprjyBRVKOdozqBoCIiInX8F4fY/g6uPFEKayS2EywgpPno97n15RkejNO4ToCY dmtizv7fLTX8vlmmcFvjZ8jNTGfJm3N1FnAWKvVEl6w6ROnTleJYmqla5700nC7vNfna GxnwhJdUJCx191j3Je6nls/l6Rc6fOpfliyBdxnvon55gAYa2hxbmATafe0thDus/YMx tdOEnRaSCDjSYSUhzeBbmvHqAUw3lpxl12d7qP7v8R9udUVju2QA6bL10rF3bez2vBGE zGrfAT2i2XazHJ8yekzgFbxv7nz6x49roxDXgH4Rx+YylCFvbWoF0vK9Yn/8EtORD3dW iheg== X-Gm-Message-State: AO0yUKWMNB+g4qxYc+d9yEL9GZE3CPSZ23u64vDMq7FMEMYFBtFwzBNL eKBxPe41Dk5ZvlfPJ1IZnZ81vw== X-Google-Smtp-Source: AK7set9OCiU6sz+Wb9xhH3agADyu3oF1kpKbiPqnJFZe+hETI4Y038QXJwU//HiMTmmFPwQjLwDAnA== X-Received: by 2002:a17:906:12cc:b0:8f4:ec13:d599 with SMTP id l12-20020a17090612cc00b008f4ec13d599mr26071743ejb.27.1678435610090; Fri, 10 Mar 2023 00:06:50 -0800 (PST) Received: from ?IPV6:2a02:810d:15c0:828:2a59:841a:ebc:7974? ([2a02:810d:15c0:828:2a59:841a:ebc:7974]) by smtp.gmail.com with ESMTPSA id s30-20020a50d49e000000b004c44d00a3b5sm521897edi.20.2023.03.10.00.06.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Mar 2023 00:06:49 -0800 (PST) Message-ID: Date: Fri, 10 Mar 2023 09:06:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] dt-bindings: power: supply: bq256xx: Add ts-ignore property Content-Language: en-US To: Hermes Zhang , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Andrew Davis Cc: kernel@axis.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230309023926.38682-1-chenhuiz@axis.com> <49e67fb3-4ef9-5d50-c3e8-3c7857145bbc@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/03/2023 04:48, Hermes Zhang wrote: > On 2023/3/9 18:12, Krzysztof Kozlowski wrote: >> On 09/03/2023 03:39, Hermes Zhang wrote: >>> Add a new property: ts-ignore to allow user to enable the TS_IGNORE flag >>> in chip. Ignore TS pin will allow user to control the charging >>> parameters instead of the default JEITA profile in chip. >> You miss users of it. > Could you give some more info about what I missed? Users. DTS and driver code. >> @@ -68,6 +68,12 @@ properties: >> Interrupt sends an active low, 256 μs pulse to host to report the charger >> device status and faults. >> >> + ts-ignore: >> Missing vendor prefix... is this generic property? ts-ignore is very >> cryptic. You should describe here rather desired system characteristic. >> Why anyone would need to use it per-board level? > > OK, I will fix it. Will "ti,ignore-ts-pin" be better? No, because does not describe system characteristic. Read again my last two sentences. > Yes, it's a > generic. To disable the TS pin, actually we also could do it from HW, > but from software, it could be more flexble. But if HW already disable > it, then you don't need to do it again from dts. If this is configurable from HW, why this should be in DT? Best regards, Krzysztof