From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28369C4361B for ; Mon, 14 Dec 2020 14:20:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DE3E322BE9 for ; Mon, 14 Dec 2020 14:20:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407457AbgLNOUV (ORCPT ); Mon, 14 Dec 2020 09:20:21 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:33034 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407340AbgLNOUP (ORCPT ); Mon, 14 Dec 2020 09:20:15 -0500 Received: by mail-oi1-f196.google.com with SMTP id d27so19311563oic.0; Mon, 14 Dec 2020 06:19:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=UkqOBpA+sobRPXScoDiP93aXuuhd73OJoAjrBbb2oRc=; b=WbGfhx9J1iYdnX13FVNZqmCMry4LyONB9mP6fduff1MGXwygV95Izimwex8xJLpOkL Uv1Nra74xHqOfoAcYlohWKxHflHWXxJQ0BA72p3cFFmzefv6XlKhzVJ+VZlhxzhjD7iq TIBqbJrLxF45vOc1naCqJw9YejxCbUHKkPu0Olont6WDJ7NeBBjmBDqmhhPpQas4dcvl 6/hlzaunm6q3VOhCZhBodNrWAaooCTTu+y6gJa8BwNgBEcr8n5WJ6H+asNN+cxc+ET5M e1SCAPXqHE36osnYVAXwq38WAo6v3VuKrxlAsEAMXj+Sk0b9G/o6L9gP5qjbnHPynkIY ks6A== X-Gm-Message-State: AOAM533IBTmkqe2MFqv9zVbQgyiuFFolAUsnOd6D5eqvjMfzpNMdEO1v oXG/vTOI0xu2n5zVCWjNCQnAbLI57A== X-Google-Smtp-Source: ABdhPJxyzh/YrQ01yKXST7BML6rMasRDeuvVag4QpD/e6yEYZ0MNub6bub+8QAkiHqjZq/nBjlGLYg== X-Received: by 2002:aca:47cb:: with SMTP id u194mr18668701oia.63.1607955574495; Mon, 14 Dec 2020 06:19:34 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id w8sm3942426oos.37.2020.12.14.06.19.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Dec 2020 06:19:33 -0800 (PST) Received: (nullmailer pid 1862084 invoked by uid 1000); Mon, 14 Dec 2020 14:19:32 -0000 Date: Mon, 14 Dec 2020 08:19:32 -0600 From: Rob Herring To: Icenowy Zheng Cc: devicetree@vger.kernel.org, Maxime Ripard , linux-kernel@vger.kernel.org, Alessandro Zummo , linux-arm-kernel@lists.infradead.org, Alexandre Belloni , linux-rtc@vger.kernel.org, Chen-Yu Tsai , Rob Herring , Jernej Skrabec Subject: Re: [RFC PATCH 06/12] dt-bindings: rtc: sun6i: add compatible string for V831/V833 RTC Message-ID: <20201214141932.GA1861466@robh.at.kernel.org> References: <20201212040157.3639864-1-icenowy@aosc.io> <20201212040641.3640916-1-icenowy@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201212040641.3640916-1-icenowy@aosc.io> Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On Sat, 12 Dec 2020 12:06:35 +0800, Icenowy Zheng wrote: > V831/V833 SoCs (the same die) have a RTC block similar to the one in H6, > but allow to generate the osc32k clock from osc24M. > > Add a new compatible string for that. > > The functionality of dividing osc24M to generate osc32k is still TODO. > > Cc: Alessandro Zummo > Cc: Alexandre Belloni > Cc: linux-rtc@vger.kernel.org > Signed-off-by: Icenowy Zheng > --- > .../devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 2 ++ > 1 file changed, 2 insertions(+) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: ./Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml:102:13: [error] duplication of key "const" in mapping (key-duplicates) dtschema/dtc warnings/errors: make[1]: *** Deleting file 'Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.example.dts' Traceback (most recent call last): File "/usr/local/bin/dt-extract-example", line 45, in binding = yaml.load(open(args.yamlfile, encoding='utf-8').read()) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/main.py", line 343, in load return constructor.get_single_data() File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 113, in get_single_data return self.construct_document(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 123, in construct_document for _dummy in generator: File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 723, in construct_yaml_map value = self.construct_mapping(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 440, in construct_mapping return BaseConstructor.construct_mapping(self, node, deep=deep) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 257, in construct_mapping if self.check_mapping_key(node, key_node, mapping, key, value): File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 295, in check_mapping_key raise DuplicateKeyError(*args) ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping in "", line 101, column 13 found duplicate key "const" with value "allwinner,sun50i-h6-rtc" (original value: "allwinner,sun8i-v831-rtc") in "", line 102, column 13 To suppress this check see: http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys Duplicate keys will become an error in future releases, and are errors by default when using the new API. make[1]: *** [Documentation/devicetree/bindings/Makefile:20: Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.example.dts] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Documentation/devicetree/bindings/Makefile:59: Documentation/devicetree/bindings/processed-schema-examples.json] Error 123 make: *** [Makefile:1364: dt_binding_check] Error 2 See https://patchwork.ozlabs.org/patch/1415362 The base for the patch is generally the last rc1. Any dependencies should be noted. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33A2CC4361B for ; Mon, 14 Dec 2020 14:21:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E669E22CAE for ; Mon, 14 Dec 2020 14:20:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E669E22CAE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9hj6SkNyiNUd5Lme2uo5XhIb+hNQQmt6uKb7I7q0Cqc=; b=V1oxVMl4L3QxKP9A8Sq9vT8W8 B8ZgJyco8AmmAjjknlf2fLV6Y31HEqxj2aM4TjsXJDRg5QwnfnIN1T1Mzt2fcy+oTdsZGMPmzAesv 4qK64Kb05XDnL8JvJrGqjj39ftaGoeK6fpmiNvhXO307U5w6nn7cU0BiyaEPqWIsT8CAvbmp+1z05 Daal2EC3FlxbJdi9IIsEyTY//7fehoka0xJSRGV8/Afoqa5fIlMuawZaJFEC2N5UWpKPKVAZ3q0hx 95BpVy4E3jcNQ89jqOwKiowmhP21H6ZAf1bIWnS1X05zI9HsFD393AdLEqGsK5oANzdFFmRKNTAAh HQWtvPiVw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1koohP-0001cA-Dy; Mon, 14 Dec 2020 14:19:39 +0000 Received: from mail-oi1-f193.google.com ([209.85.167.193]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1koohM-0001bf-Uf for linux-arm-kernel@lists.infradead.org; Mon, 14 Dec 2020 14:19:37 +0000 Received: by mail-oi1-f193.google.com with SMTP id q25so19279622oij.10 for ; Mon, 14 Dec 2020 06:19:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=UkqOBpA+sobRPXScoDiP93aXuuhd73OJoAjrBbb2oRc=; b=UJ00m2wl4Q3WCknbBLyFclovXqP+Kgoh3SCXWI2l57Ewn8Jq5RgPfFE75+NYWl43fj rHtENP3YR+4AgxWmQmRJ60TnNglCspkkY8fy8QXqNlla+VxzXuXInVOd6peEPETBA5oy SEJ1oWF/wbNBW0y9NVaFOGy0IxzV+z8fXK9xZs0LpGh/WaXvvajLAQl7lP8VIL31nAtE PyQ5hyc4iICzrZoi+gU1HQraoZ5/yclvkW/VZBHl2WTRkEJbIre4GJX9OhgZcAwyrMYQ wP3kbd+4yJgVt4yYlozBVR8j0lFzEkNBtZX5k9ayD/wqiDxjQzkpnOHjy0w3ALel+2rj jOpQ== X-Gm-Message-State: AOAM531pf91hdFx8sow8ck9GW/HEd5cDLhETp/h1P5/QtQ7E6fBzjclQ qXvQ8X8yDEu6mQFkYMqcpw== X-Google-Smtp-Source: ABdhPJxyzh/YrQ01yKXST7BML6rMasRDeuvVag4QpD/e6yEYZ0MNub6bub+8QAkiHqjZq/nBjlGLYg== X-Received: by 2002:aca:47cb:: with SMTP id u194mr18668701oia.63.1607955574495; Mon, 14 Dec 2020 06:19:34 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id w8sm3942426oos.37.2020.12.14.06.19.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Dec 2020 06:19:33 -0800 (PST) Received: (nullmailer pid 1862084 invoked by uid 1000); Mon, 14 Dec 2020 14:19:32 -0000 Date: Mon, 14 Dec 2020 08:19:32 -0600 From: Rob Herring To: Icenowy Zheng Subject: Re: [RFC PATCH 06/12] dt-bindings: rtc: sun6i: add compatible string for V831/V833 RTC Message-ID: <20201214141932.GA1861466@robh.at.kernel.org> References: <20201212040157.3639864-1-icenowy@aosc.io> <20201212040641.3640916-1-icenowy@aosc.io> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201212040641.3640916-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201214_091937_023838_7E1FC70D X-CRM114-Status: GOOD ( 17.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, Alexandre Belloni , Alessandro Zummo , Jernej Skrabec , linux-kernel@vger.kernel.org, Maxime Ripard , Chen-Yu Tsai , Rob Herring , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, 12 Dec 2020 12:06:35 +0800, Icenowy Zheng wrote: > V831/V833 SoCs (the same die) have a RTC block similar to the one in H6, > but allow to generate the osc32k clock from osc24M. > > Add a new compatible string for that. > > The functionality of dividing osc24M to generate osc32k is still TODO. > > Cc: Alessandro Zummo > Cc: Alexandre Belloni > Cc: linux-rtc@vger.kernel.org > Signed-off-by: Icenowy Zheng > --- > .../devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 2 ++ > 1 file changed, 2 insertions(+) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: ./Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml:102:13: [error] duplication of key "const" in mapping (key-duplicates) dtschema/dtc warnings/errors: make[1]: *** Deleting file 'Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.example.dts' Traceback (most recent call last): File "/usr/local/bin/dt-extract-example", line 45, in binding = yaml.load(open(args.yamlfile, encoding='utf-8').read()) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/main.py", line 343, in load return constructor.get_single_data() File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 113, in get_single_data return self.construct_document(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 123, in construct_document for _dummy in generator: File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 723, in construct_yaml_map value = self.construct_mapping(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 440, in construct_mapping return BaseConstructor.construct_mapping(self, node, deep=deep) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 257, in construct_mapping if self.check_mapping_key(node, key_node, mapping, key, value): File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 295, in check_mapping_key raise DuplicateKeyError(*args) ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping in "", line 101, column 13 found duplicate key "const" with value "allwinner,sun50i-h6-rtc" (original value: "allwinner,sun8i-v831-rtc") in "", line 102, column 13 To suppress this check see: http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys Duplicate keys will become an error in future releases, and are errors by default when using the new API. make[1]: *** [Documentation/devicetree/bindings/Makefile:20: Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.example.dts] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Documentation/devicetree/bindings/Makefile:59: Documentation/devicetree/bindings/processed-schema-examples.json] Error 123 make: *** [Makefile:1364: dt_binding_check] Error 2 See https://patchwork.ozlabs.org/patch/1415362 The base for the patch is generally the last rc1. Any dependencies should be noted. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel