Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3713482rdh; Tue, 28 Nov 2023 01:32:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFmnnoQ4eIZLU5+Vzyy6P3H/hWlxTY43GEfxnc/TmjVEwO7pQMMBz4fOfAnuluC499g8fiQ X-Received: by 2002:a17:90b:3ec3:b0:285:949c:5e95 with SMTP id rm3-20020a17090b3ec300b00285949c5e95mr14098837pjb.18.1701163978837; Tue, 28 Nov 2023 01:32:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701163978; cv=none; d=google.com; s=arc-20160816; b=P0VpZEq7/5pZM55rzJY24S3KCFK8/qkuAVlp9AQCVIZKrWXkLgTnW7cc4wkBlS025T XksEL2VuGG4SO39TlW1evq2pZa5lmnDFd7aSPPx6KB0a1selA/nw6aVlDbEWDyE/mlih WLrkNEMU8HtXseYrqE/g2WjwjY7cK2pI0YXh8TgkJtLF9vXOEO1JxHb8d3unzc5URwkV 5/uYHogoFnYX9LsXiPRxFmlDsmtOau06wQhfneAo7TmUUWqGs/4S2qyZ52HpyGs6WLmD x9XnvsvARtve3305KJs8us6Il+mHNDwkbt7MVKcoXtYqSX4RHXctEgEl1vPgxoIsLJms 1tvg== 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=3assMsvuUHbHCvmkHme+u60KSQVX3/rK9TdeJztWus4=; fh=vEtKs2mBL9Y886xqoVWFvo6zsOnM1laxK4dh4NYf4Mg=; b=x3X+mMBZgTa2sFfQWupYR/+v3eey3dKYgEJ+jM2y1AQQ6kscN6QheYgt8B0mwbT7kS nq7066Sw09pg4x45+pl5hpaGPrU2n6UKPNkbiH0GDfjDbHMRnvb2uTij+muGthB9ngLK 0LlhrZwTPK/PlPsxoQjB7TpHAL07wqGUhH8Vm2iGhPypHqspbVSEvax9535kpU9W2IiA 2VGAehbSyqa+VC0xmvzMPy4aAMQohRfUhxFp4NQuP9EyMEroKkMjDyPRZtDT88sAt1yO nXQkAx5vJN2ZT2u5tO2x9K6eof/EOfTN6HdJ//Ypvbn16O8zeKDXgq3kTv0YN3RCP+rW 3pNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=msRcg+4s; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id il15-20020a17090b164f00b00285a20806aesi8375026pjb.166.2023.11.28.01.32.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 01:32:58 -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=@gmail.com header.s=20230601 header.b=msRcg+4s; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2F0A7804C618; Tue, 28 Nov 2023 01:32:57 -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 S1343675AbjK1Jcn (ORCPT + 99 others); Tue, 28 Nov 2023 04:32:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230298AbjK1Jcm (ORCPT ); Tue, 28 Nov 2023 04:32:42 -0500 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8120BDE; Tue, 28 Nov 2023 01:32:48 -0800 (PST) Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6c115026985so5141316b3a.1; Tue, 28 Nov 2023 01:32:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701163968; x=1701768768; 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=3assMsvuUHbHCvmkHme+u60KSQVX3/rK9TdeJztWus4=; b=msRcg+4sWfW2Syktsf/QZ+d5gsqdFKtOWALIXK+qjgukyssKjoDpXz5Unk8xhZNTQU ax+Z9trgqgKyrLGbTQyS19ssu7Pu8xjiTWYBIiBsrzLpvQjdKjxZRpkOHjK+XRDPBLTv N0nP72+vxwq2S1BUDp3UleWq4+HapA2P81Ot3/0A4waFxKhZvfLmNkMQqSejqIDMq55u vG96r348HKdBVaLRJzJAgaxAQB0Pwmc5x5eNGWyimkv6lXRzhbdroJk0ILLIQnSAWDFy FD0A6yY9pLrW0moudvFvoNyDXx8w0aUjmxAkLXKIGBGa9tObPikJ4DFDACKyXC2Nr1DT 2ipg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701163968; x=1701768768; 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=3assMsvuUHbHCvmkHme+u60KSQVX3/rK9TdeJztWus4=; b=OsHvKRkappSqo7rt9Zyh4qcBwjc+lKBgJV1IdQv9ZiKYlYKTo+twe/jxXCz5yIsDJ5 kqMDR8ofsAE7VzYhwgsr9WQkkHEP0nq3kfZffGfF7yE6hShy+FIccLnW8LQlRWSkU8y3 CtutYCrIWeNo9KQx8JHlVfE8L5k9gZXWlRJ5Nva9jmETF4vItakwa8FMGqpaj3jnskoF Zz7fNLHhRS9Q+bSE8gqYL7yWC6g2xyDml8DBKgh1dfHF3sVunyzoF2TmiOU9y5mnZ8i5 i1lYbPeTkOmNSGFN1zFl7R8trMAeOksxnF3+dM3ZHbDZOqdn2t88kqqU0/bsNS3AU/0m mLHg== X-Gm-Message-State: AOJu0Yxz3nUktXSmBppv3Yf2VA2FpRr8FdOwSZozUEVReaLjadPaeJ5B eMMeGDq4gu9XQenpOuC1hpA= X-Received: by 2002:a05:6a21:3815:b0:17b:426f:829 with SMTP id yi21-20020a056a21381500b0017b426f0829mr13876287pzb.37.1701163967955; Tue, 28 Nov 2023 01:32:47 -0800 (PST) Received: from [172.19.1.47] (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id h4-20020a170902eec400b001c7453fae33sm2421448plb.280.2023.11.28.01.32.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Nov 2023 01:32:47 -0800 (PST) Message-ID: <2e0f58cc-0cfa-4957-bac1-c40897d7135b@gmail.com> Date: Tue, 28 Nov 2023 17:32:43 +0800 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: Krzysztof Kozlowski , 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> <5ac7f79a-68d3-49ef-9615-3c0076591d78@linaro.org> From: Jacky Huang In-Reply-To: <5ac7f79a-68d3-49ef-9615-3c0076591d78@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,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 01:32:57 -0800 (PST) Dear Krzysztof, Thanks for your review. On 2023/11/28 下午 04:33, Krzysztof Kozlowski wrote: > 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. > > .. > Yes, I should have been more careful in checking. >>>> + >>>> +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. > > .. I found that 'pinctrl.yaml' is not required for this document, so I will drop it. >>>> + - $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 > OK, I will drop these properties. Best Regards, Jacky Huang