Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp2034570rdb; Tue, 5 Sep 2023 12:13:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKejiuIPhe75FyAX38Ut0bcGYIvaNk0Ya9aM3qgzDC8s3cwuF5l+LLQedwHpnG4vCHIPUc X-Received: by 2002:a05:6a20:6a1a:b0:134:30a8:9df5 with SMTP id p26-20020a056a206a1a00b0013430a89df5mr17830886pzk.43.1693941220729; Tue, 05 Sep 2023 12:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693941220; cv=none; d=google.com; s=arc-20160816; b=JLqNiHhaXF9dKRMiijpdKwCx50ig3zE/Ahh0RhmwAFQQXJR7ISvZfj2j+95UltEiad 9Z6ULVC6hjZCB10F/9nRo3t90uAmpjFsurOJ5yg3W3VBwrCAKOuWxQHLhzWudkl4RaRU /zE8orOP0MDhg7xgFnEihbavEalMsyCE0qbgoRV8am4V6BMTscs0h979k83PWdywp0Kx O9nEC48k/BzN5z/bzcq6YDkFKoDdORzp+7VwL5gbZQlefQQKtC3IqgDEDmNm5YlvPTyT Up3DVoVbahYGs1PlHDggszpzySjdLAT4LOcGncmJpa2lGyYP/XEnlEnBg/TakJPW9jAw +Y9A== 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=F1hWfPnTaYiDGzQWbm7h7EGtwXK/30+yuix+xBw0jQ4=; fh=v4IJVptdtmhXzs89s04i5cGL6SIf7+eG4IwmWBRGucs=; b=sQz9ZCU+4U80KwGn7iu5HT6ok8t9AdLfKWDRVRqbpIeRjqILNMeKjwtRxKRyWPnt39 Q0HeKdYbWBDqF8QVAKXdVWol7DdlCG6WG0H9sUs7E+bDlcOChnEEayAUYvr2Qma4O7Ww rGQtM5xkq0NPauupbXVETZt4Khg4mYYD8sPJ7zeIz6IwN5Ixl/B9Z+5AdeWjnpftyVZn 8ScqvpOKYNGhBCaPexTi0WDZkpEJ9w4kQ7EC/e4yWAQ93CrrCPRnYiHm2b3lcNVbeXzj Yrx3SwvOYgnKRVhywoBq3X2F2lwJHhXEBkM0sDiLEWXCf9kCsIcrWD1II7VP1RY4oi+x Ux/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wvj3LQwN; 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 i62-20020a638741000000b00564efb3bae6si10058195pge.564.2023.09.05.12.13.39; Tue, 05 Sep 2023 12:13:40 -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=wvj3LQwN; 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 S232906AbjHaMBi (ORCPT + 4 others); Thu, 31 Aug 2023 08:01:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240994AbjHaMBg (ORCPT ); Thu, 31 Aug 2023 08:01:36 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D77E5CFA for ; Thu, 31 Aug 2023 05:01:33 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-99bc9e3cbf1so146505666b.0 for ; Thu, 31 Aug 2023 05:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693483292; x=1694088092; darn=vger.kernel.org; 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=F1hWfPnTaYiDGzQWbm7h7EGtwXK/30+yuix+xBw0jQ4=; b=wvj3LQwNA6YDzPPOhf0PO6FAm8ObP4IXPQ1RAmpOIMIMPbNjisG/6vusCtIjsCBI/c sF3uW9WnpSsOk8CBBPCqZp/k1fDjTJCgd+Y1+vzmOg9H7/LQ6SIqRnIbFDCkWWxZe+E9 UtMl4avZPpYOB8aAwNuzmSRTsHE3SByxQ4CE/DfFj/rvbd2EjLcXPiedDHjArzsT9P2V GK/3/nRHyXsc/1F97YygK5mHIQGdFxnxbPhGvlNPaxOIeNzNVh8M8mIyOBiuclHKPagq rUlX6UFni3mLDQCkShltgFUec/YjkYoXO6eo2O5Oyyxf7VboTMWpICF04jDDQBUsYrqJ J+fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693483292; x=1694088092; 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=F1hWfPnTaYiDGzQWbm7h7EGtwXK/30+yuix+xBw0jQ4=; b=ZSmCfQm05GSWLIBi6RvDxWK1d6mQRLVtK3BFlP/uMJIwaBPtk5wSZt2KSpzE6sJiHC DUcZl2T4aDFrpJpMXppy7EfaFvnNbpa/SGytVgM5yyvmlyH+Y5ihzg6+NjOxLDOCyiGh /io4d7ksNmc3yxXmeln8nuXA9j4PR2yPPgok7CZT2rE8zLW4gi70qD17g+U0rN6eU07F SbuFJyiwqA4a7IlRyqF07DV2K2bTMSyYi6gx0gEP6RZT8mR5gjYtj2Uwqhtr4qsIWcBW oovRKt3TUEJe8/lMM1Z6uMfdo5GPeVm0YMcJmzzM+FO1/8+iHkaYR9KmYrhU82dX0dmZ L/eg== X-Gm-Message-State: AOJu0YyI/6zJKpKsXz5TQy7QtL2aVojM7T+EVs1HVJwKhtnoUJbh22wf /Xbg1SEfq1B0fb+h4uflQmKYWw== X-Received: by 2002:a17:906:53d4:b0:9a1:b33a:e464 with SMTP id p20-20020a17090653d400b009a1b33ae464mr3149812ejo.31.1693483292230; Thu, 31 Aug 2023 05:01:32 -0700 (PDT) Received: from [192.168.0.22] (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id f27-20020a170906391b00b0099cd1c0cb21sm668087eje.129.2023.08.31.05.01.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 31 Aug 2023 05:01:30 -0700 (PDT) Message-ID: <9100e41b-291e-9723-4188-b4d3e5adb6f8@linaro.org> Date: Thu, 31 Aug 2023 14:01:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH 1/2] dt-binding: Add custom property for MAX7357 Content-Language: en-US To: Naresh Solanki Cc: Peter Rosin , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart , Patrick Rudolph , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230830115744.4102929-1-Naresh.Solanki@9elements.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 31/08/2023 11:45, Naresh Solanki wrote: > Hi > > On Wed, 30 Aug 2023 at 20:08, Krzysztof Kozlowski > wrote: >> >> On 30/08/2023 13:57, Naresh Solanki wrote: >>> From: Patrick Rudolph >>> >>> Add a custom property "maxim,bus-lockup-fix" to enable proprietary >>> features on MAX7357. The driver configures MAX7357 to isolate the >>> failing channel and trigger a flush-out sequence for bus lock-up >>> resolution. >> >> Please use subject prefixes matching the subsystem. You can get them for >> example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory >> your patch is touching. > Ack >> >> It is "dt-bindings" not binding and several other fields are needed. > Ack >> >> Also "add custom property" is quite generic. When you add next custom >> property you are going to have two commits with the same subject. Just >> make it descriptive - "Add foobar for MAX7357" > Missed Properties in this Patch Series, Will Be Addressed in V2. > So in that case I guess the below title should be fine? > dt-bindings: i2c: Add custom properties for MAX7357/MAX7358 No, because you do not solve that part of my feedback: >> Also "add custom property" is quite generic. When you add next custom >> property you are going to have two commits with the same subject. I said, everything will be now "add custom properties", right? The prefix is dt-bindings: i2c: pca954x: > >> >> >> >>> >>> Signed-off-by: Patrick Rudolph >>> Signed-off-by: Naresh Solanki >>> --- >>> .../devicetree/bindings/i2c/i2c-mux-pca954x.yaml | 15 +++++++++++++++ >>> 1 file changed, 15 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml >>> index 2d7bb998b0e9..984d4614a270 100644 >>> --- a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml >>> +++ b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml >>> @@ -71,6 +71,11 @@ properties: >>> description: A voltage regulator supplying power to the chip. On PCA9846 >>> the regulator supplies power to VDD2 (core logic) and optionally to VDD1. >>> >>> + maxim,bus-lockup-fix: >>> + type: boolean >>> + description: Isolates only the stuck channel and generates a flush-out sequence >>> + to attempt to clear the bus lock-up. >> >> Why wouldn't you want it to be enabled all the time? Why should it be >> configurable per-board? > The chip doesn't enable these features by default & it is left to > discretion of board designer to enable the same. That does not explain anything. Enable them by default in such case or come with some argument. Best regards, Krzysztof