Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3687540rdh; Tue, 28 Nov 2023 00:34:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IG52yDFIsZXhYmYBn3hbo5GoALnRe37ELYvirxgst0jKIRom9tuM+ytv8nB6j7f/Q5Ss/5x X-Received: by 2002:a05:6830:1bd2:b0:6b8:7d12:423d with SMTP id v18-20020a0568301bd200b006b87d12423dmr15068519ota.18.1701160461841; Tue, 28 Nov 2023 00:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701160461; cv=none; d=google.com; s=arc-20160816; b=fkw9bfuoR4/CWFgzdCFXmGzdLeaVZhc8aVDSyEp5Ans8yii+yclvvyLAlCYoR4xRQO o71Cn9PIYBjt8TvrLIfFjP4AqWMCqZij1VRw6nnoezaYBkpEPo4Ui+vLPmnwNrZRZxwn 5lIbgyIVJx+u9DyhgFKCIKm4GJ/p1Jq/j0DMrzrG7uKU4fIhY2/xgIptCPQ4lK7BzoXr rj/mAtXoA96G1szk4xov9Acb5gXGcbHXfJMAFfvm+VfRrwxCyTd+4KXPwIJJdhLc7sge bos+wew5d7vCBvxeW9uW7nrNGjYCxS5leimgmnOMKzD1+Id0adyu7mbZYjweN3fmnSth rEFg== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=beuKnDEbxYCgBgZlHh69Mpboqm/CAyipXVehWzED37Q=; fh=B+n+a6RqDxPBxtMzZOKhrMNBtgUfV8pQkSKqPVvmarA=; b=aGeKz7F9EA+a29ntRu5U9EWjVI6J7hMqzkyPmHH9txLL/HzxOCvwO9/cQpU/EUv/ey 5nyWnYEEeGhaaB08xscHhLYLRilWtzlEB06/9eV48dSALg6tkpaApzmjXKggX+WAMfPp Sif3R0lSkFyGeH3u7cg7Ql9DuVJ1jMN3x1JqhYxN3joKfMLQiAh2Y1ww7xOq+KDpCkqg JAcNxH8l//ESog0pUzBhYM5G1sDiRJnw0HJOigQhoA0/IIfYHkTQn6LceFOG+31vmJ4n l4n4/5YueqH8491nT0YZqxLFxyHDFnOJ0G+4wWjYdWuaDHpFqMEkjyFHFa36jhWiEnes 65tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=flWiWvdl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id cn4-20020a056a020a8400b005c215239071si11985422pgb.543.2023.11.28.00.34.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 00:34:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=flWiWvdl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 34F3980ABFF7; Tue, 28 Nov 2023 00:34:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344157AbjK1IeC (ORCPT + 99 others); Tue, 28 Nov 2023 03:34:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344131AbjK1Id5 (ORCPT ); Tue, 28 Nov 2023 03:33:57 -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 D615710F7 for ; Tue, 28 Nov 2023 00:33:36 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-54a94e68fb1so10043580a12.0 for ; Tue, 28 Nov 2023 00:33:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701160415; x=1701765215; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=beuKnDEbxYCgBgZlHh69Mpboqm/CAyipXVehWzED37Q=; b=flWiWvdlUSROLLgXquh+jDmkuIoiNxU/Lr4jSsq6oNCNU7KXnDHAgWCNsAhY/AzKVc 4PY05dFP1vdDydRbOgtV8m8I7pYq3PAk4ps7GyvX2wlNOr7pp3UV0DvnpH3SDZQhr+bo PW9icJN5cJnkXvhHigZiyXE14jyskYY6Uue+zpgXgwXLNDKVcup6z6ydsKPkESsZqcGZ L5fy4vP8miqxNTLYiSSviSIo8VZay/HEwP8Y07ms8mVSCG5+CGgwGX3YK9OViDYbE2k/ R77TCvW9H13e8tTKA7eR1h7gsQeP2KDKTQdhU+9NFZKp0mvPEeCINZsDB7SA2+3+ouxH xBfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701160415; x=1701765215; h=content-transfer-encoding:in-reply-to:autocrypt: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=beuKnDEbxYCgBgZlHh69Mpboqm/CAyipXVehWzED37Q=; b=VzM8EOq8bdozucLYEMTfWHh58b+ITb43LEQbvMTdr7Vmiju/X9Ip8pFRR1Jm5r/KDw 7M8rTSJtmit/luyC6siPuok489J12oAiRYy1gmBABXIY4M5ZB1qHIU0Fn/9fuICfrs7e 6a3sHtmY/glEfo7zg7gV2kZGT8AG4WRgzvMWfuJY9DiMqsK2fwSkswAXiK0OEdrRuPpl CcR/QHJYrnjEd/lPDUfcaNB6X4dNLPdE3LHrACY2vv3yFapXIP4ThrJ2E5s5FiwV5+Sh QZEU1ErfpQB/3KM/icwwLzT/beeoG3u3a3jKyZ+AlG45Uosl1cRLGGcC9D4JZH6cX2RA PMng== X-Gm-Message-State: AOJu0YyD59zzAabdTLiz+ncHzOOkO485TJHQGIZzXlc9wwMMfWvJjnnG e1ipGHo7yIjqcE1DQiWi+GeJIklLkXJ/52pPHzk= X-Received: by 2002:a17:906:8d2:b0:9b2:be5e:3674 with SMTP id o18-20020a17090608d200b009b2be5e3674mr12233282eje.36.1701160415320; Tue, 28 Nov 2023 00:33:35 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.109]) by smtp.gmail.com with ESMTPSA id e27-20020a1709062c1b00b009fda627abd9sm6527706ejh.79.2023.11.28.00.33.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Nov 2023 00:33:34 -0800 (PST) Message-ID: <5ac7f79a-68d3-49ef-9615-3c0076591d78@linaro.org> Date: Tue, 28 Nov 2023 09:33:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/4] dt-bindings: pinctrl: Document nuvoton ma35d1 pin control Content-Language: en-US To: Jacky Huang , linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, p.zabel@pengutronix.de, j.neuschaefer@gmx.net Cc: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ychuang3@nuvoton.com, schung@nuvoton.com References: <20231128061118.575847-1-ychuang570808@gmail.com> <20231128061118.575847-3-ychuang570808@gmail.com> <7c24aaf8-8f93-4b93-b7e5-abc88e95682d@linaro.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5n3OuDSzG1oZyM4kyvO Xeod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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 28 Nov 2023 00:34:20 -0800 (PST) On 28/11/2023 09:29, Jacky Huang wrote: > Dear Krzysztof, > > Thanks for your review. > > > On 2023/11/28 下午 03:34, Krzysztof Kozlowski wrote: >> On 28/11/2023 07:11, Jacky Huang wrote: >>> From: Jacky Huang >>> >>> Add documentation to describe nuvoton ma35d1 pin control and GPIO. >>> >>> Signed-off-by: Jacky Huang >>> --- >> Your changelog said: >> >>> - Remove ma35d1-pinfunc.h which is unused after update definition of >> 'nuvoton,pins'. >> >> You forgot to add: >> >> " - Do not test the bindings before sending" >> >> I assume none of the driver changes compile either. > > It's my mistake. I forgot to remove 'ma35d1-pinfunc.h' from my local > copy, and as a consequence, the 'dt_binding_check' did not catch this > error. I will fix this. But then git status would point you that tree is not clean and you did not finish commiting. .. >>> + >>> +allOf: >>> + - $ref: pinctrl.yaml# >> allOf goes before additionalProperties. >> >>> + >>> +required: >>> + - compatible >>> + - nuvoton,sys >> This goes after patternProperties > > I will fix the above two as: > > allOf: >   - $ref: pinctrl.yaml# Look: >> allOf goes before additionalProperties. Open example-schema. .. > >>> + - $ref: pincfg-node.yaml# >>> + >>> + properties: >>> + bias-disable: true >> Drop this and other "true", why do you need them here? > > We are following the conventions used in other pinctrl documents, such as > 'realtek,rtd1315e-pinctrl.yaml' and 'xlnx,zynqmp-pinctrl.yaml'. But they are quite different there. > > After comparing various pinctrl documents, I noticed that they all express > it as 'bias-disable: true'. Therefore, may I keep the current format? No, you cannot copy pieces of other binding, selectively ignoring the rest. Look how these other bindings are constructed - they have additionalProperties, which you don't. Drop all these true properties if the only reason of them being here is they were copied. Best regards, Krzysztof