Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp690001rwb; Thu, 10 Nov 2022 06:18:18 -0800 (PST) X-Google-Smtp-Source: AMsMyM73wgPp7nFranJK5UqZrSHPmPsg6gaDqwxbwRBD1WTDfB+GvsswcPIYGx5tFFgsMWlKe8cu X-Received: by 2002:a17:907:6e1a:b0:7ad:ba0b:538c with SMTP id sd26-20020a1709076e1a00b007adba0b538cmr57858850ejc.111.1668089897789; Thu, 10 Nov 2022 06:18:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668089897; cv=none; d=google.com; s=arc-20160816; b=Ww7oIZ/hXiNkxLOtUunypheNzZ8X+ezWtKLHzs0BDUW/2R9TNOCg/GLQkELZYZgCtm 3+C8KcaYgDGa++HBUoMl+KwdrcJ1VSbuepKrGuIbotFYDfORUag8qVUqRCdydApwFFiW 9+CbWKIr7nqyQ3tDk+IMtaO2HvVB7YkMAiby86OXCL3wkUdwuPO7DDXxs59JqRrn4pEq e+Tj8ul1OtUtlGa7kei/Ur9tQYCHxa+XANNV9AFbYWcI0AEQTHB7vwh7QgGzjhipf7Sz 7DbbcXCdTcwHwDygiSXXUb0HCPC6IAHks9wwdE/Oaa38sxeTcibwQQSwL3uhca6CB1/P PtzA== 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=3Bnc98wbgCB157XtXlJ5NroBNxycOACeQVxm/1SPVs4=; b=Ijq8g/Og6zeb66lYMB3yBdKjr0w38myDz4LGd4TZaB42doImlWj9I1WSAW3fbKuVYC 8RVe6OHgy+oVVZy6yUAkCg4scvDDiH8BW7qH6gZw67n1+XE0UqJCCgJYdGLnAZPy3SIU 5USWmchgmb75ga3Uj9yEKDyUEAGr5qte4iGEWLJMmijiWv3bO/C3zpffjtucmFFbVVgw ZQFguFJ7vEFgv0t/dxA/n6Akox2O4K2eqacSRTD9AEt8KxEcJoEKtY+I3jDyfOY7Ip35 Nzzt3omxP7rbcYtKjV5fHvCwXODa5VxrKBJDcTLBqFGfM56kzPfZKen9M7n8Sm0nc8x4 zVEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rc8RZYG1; 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 hv21-20020a17090760d500b0078b96068bc0si22436868ejc.79.2022.11.10.06.17.51; Thu, 10 Nov 2022 06:18:17 -0800 (PST) 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=Rc8RZYG1; 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 S231364AbiKJOOn (ORCPT + 92 others); Thu, 10 Nov 2022 09:14:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231159AbiKJOOX (ORCPT ); Thu, 10 Nov 2022 09:14:23 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3012E7720B for ; Thu, 10 Nov 2022 06:14:05 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id g12so3503407lfh.3 for ; Thu, 10 Nov 2022 06:14:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=3Bnc98wbgCB157XtXlJ5NroBNxycOACeQVxm/1SPVs4=; b=Rc8RZYG1UdjHBqHXSpcw7c7Fl3OJIs+mgExR8ZEe+5iDezQTN7XCfKOzGLV02/GFzS f/trH0orM0q51kSUF73Jh+5teXTHMGgop3zKei6pVMxbmjbWjTYs9lq2vQs2RnjphnQ3 LgSP8Bc4k/E3y8YRK+/mnx8OBi+H+tM54YOVRgKfdccfzllR8qzxjpbYGQH0mCZgOhUe UhMDSyIlPoNcKmkFND1CIVA6MF+tt9bS735B5d2iMMgsDtOchwiUlt5TpwtcsjOobjzs HDfDXm+QzsaftiReSvZqrCYSwatcVOQ01Beaep3NFZlgzJJJpUKFonaZqqpxfM3s9B+V yfig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=3Bnc98wbgCB157XtXlJ5NroBNxycOACeQVxm/1SPVs4=; b=s3VZ8MnY8irT+QEAf+HB3OT5qJ37wCvi/8fFzksAToUiMuK3bVtO7oIwjTxv8Kqw8w Mz5jZZ34uGbQGqYUKZP6bEu4KRMAzMjVzL9/hJCqSSEbPKug3Lk8QHNVwWFrmvk/oSPh EVnEe2fBxcK4zgNUkZjx9kczDtfrxkbY53H/cwZ5HZrk8OGl5ANS8hOzO6eHnsL1G9rG aAzb6GBZpHt1z9pG5x56tCrXwksMWKhT3XDNDOJGHF94HFZ2U24oRNFf8ByRXAWXb3C8 IZ+pE1gvqrVr7+UM7KYBn8VHOCjL5h+8r9OeRIlmTTCXJTSHrA5NhI1Hj97RjY+yerdg fYFA== X-Gm-Message-State: ACrzQf35joY4TPv/YIr5N8ytcI/nJyic0ZMz40Hj4ZRORyb/HkX9HEqy nt3+jEgatdaKyTWSFk5B/TeWgA== X-Received: by 2002:a05:6512:32b7:b0:4aa:8d5a:2f53 with SMTP id q23-20020a05651232b700b004aa8d5a2f53mr21028085lfe.362.1668089643827; Thu, 10 Nov 2022 06:14:03 -0800 (PST) Received: from [192.168.0.20] (088156142199.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.199]) by smtp.gmail.com with ESMTPSA id r26-20020ac25c1a000000b00499aefcf68esm2746842lfp.292.2022.11.10.06.14.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Nov 2022 06:14:02 -0800 (PST) Message-ID: Date: Thu, 10 Nov 2022 15:14:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v4 2/9] dt-bindings: rtc: mediatek: convert MT6397 rtc documentation Content-Language: en-US To: Alexandre Belloni , Rob Herring Cc: Alexandre Mergnat , Fabien Parent , Krzysztof Kozlowski , Sean Wang , Mark Brown , Matthias Brugger , Lee Jones , Chen Zhong , Alessandro Zummo , Pavel Machek , Liam Girdwood , Dmitry Torokhov , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, AngeloGioacchino Del Regno , Fabien Parent , linux-rtc@vger.kernel.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, Mattijs Korpershoek References: <20221005-mt6357-support-v4-0-5d2bb58e6087@baylibre.com> <20221005-mt6357-support-v4-2-5d2bb58e6087@baylibre.com> <20221109222916.GA2985917-robh@kernel.org> 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=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 09/11/2022 23:57, Alexandre Belloni wrote: > On 09/11/2022 16:29:16-0600, Rob Herring wrote: >> On Tue, Nov 08, 2022 at 07:43:37PM +0100, Alexandre Mergnat wrote: >>> - Convert rtc/rtc-mt6397.txt to rtc/mt6397-rtc.yaml >>> - Add mediatek,mt6357-rtc compatible. >>> - Add maintainer >>> - Remove the .txt binding file >>> >>> Signed-off-by: Alexandre Mergnat >>> --- >>> Documentation/devicetree/bindings/mfd/mt6397.txt | 2 +- >>> .../bindings/rtc/mediatek,mt6397-rtc.yaml | 40 ++++++++++++++++++++++ >>> .../devicetree/bindings/rtc/rtc-mt6397.txt | 31 ----------------- >>> 3 files changed, 41 insertions(+), 32 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt b/Documentation/devicetree/bindings/mfd/mt6397.txt >>> index 0088442efca1..79aaf21af8e9 100644 >>> --- a/Documentation/devicetree/bindings/mfd/mt6397.txt >>> +++ b/Documentation/devicetree/bindings/mfd/mt6397.txt >>> @@ -33,7 +33,7 @@ Optional subnodes: >>> - compatible: "mediatek,mt6331-rtc" >>> - compatible: "mediatek,mt6358-rtc" >>> - compatible: "mediatek,mt6397-rtc" >>> - For details, see ../rtc/rtc-mt6397.txt >>> + For details, see ../rtc/mediatek,mt6397-rtc.yaml >>> - regulators >>> Required properties: >>> - compatible: "mediatek,mt6323-regulator" >>> diff --git a/Documentation/devicetree/bindings/rtc/mediatek,mt6397-rtc.yaml b/Documentation/devicetree/bindings/rtc/mediatek,mt6397-rtc.yaml >>> new file mode 100644 >>> index 000000000000..bb48c0150f95 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/rtc/mediatek,mt6397-rtc.yaml >>> @@ -0,0 +1,40 @@ >>> + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/rtc/mediatek,mt6397-rtc.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: MediaTek MT6397/MT6366/MT6358/MT6357/MT6323 RTC >>> + >>> +maintainers: >>> + - Alexandre Mergnat >>> + >>> +description: | >>> + MediaTek PMIC based RTC is an independent function of MediaTek PMIC that works >>> + as a type of multi-function device (MFD). The RTC can be configured and set up >>> + with PMIC wrapper bus which is a common resource shared with the other >>> + functions found on the same PMIC. >>> + >>> +properties: >>> + compatible: >>> + enum: >>> + - mediatek,mt6323-rtc >>> + - mediatek,mt6357-rtc >>> + - mediatek,mt6358-rtc >>> + - mediatek,mt6366-rtc >>> + - mediatek,mt6397-rtc >> >> As this is only a compatible string, just fold this into the MFD schema >> doc. > > Actually, it probably also supports the start-year property What about rest of rtc.yaml schema? Best regards, Krzysztof