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=-11.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 2A98FC433E7 for ; Sat, 10 Oct 2020 10:56:10 +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 C55CA221E9 for ; Sat, 10 Oct 2020 10:56:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="p6xdzrHi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C55CA221E9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com 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:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5WiWbvA2bb85gL4x4yfsFb2k9JqKNiGg0l9QWOlYmuY=; b=p6xdzrHisdZsmeFnpG82hJBSp 1/e8HyRr16y2L5s2rJsWXbnHGS44MGq5VXW5CxS87PXywkSp1xMfpbPt8hiarRGpwimdXr6B16wrY I9bm/jhE5WshAJBGGtYkQwkKvlWdbI+NP9M/SfqEGW/ZNIgxMYt49pSx1DC8+BTc91sLm4COLh95D oV7FPPSsCq38Us+c5iFnEDYEn+X0Y1IwWvPEiUYQIh1jV2r8bDPlxuSEzwaIvDxKKc6jsh3MiSeC4 pwIrtiDeoVQsbBpMCdiojLerr5M07r/8P6LrlA2nMIM+85gZ2jP/Wqf2PVKI76CtnYrcw9GokkB7k ZRUlKJLpw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRCWb-0001oQ-1A; Sat, 10 Oct 2020 10:54:53 +0000 Received: from szxga04-in.huawei.com ([45.249.212.190] helo=huawei.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRCWX-0001mu-12 for linux-arm-kernel@lists.infradead.org; Sat, 10 Oct 2020 10:54:51 +0000 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 5ABD8CCF04EED35C079F; Sat, 10 Oct 2020 18:54:43 +0800 (CST) Received: from [127.0.0.1] (10.174.177.134) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Sat, 10 Oct 2020 18:54:35 +0800 Subject: Re: [PATCH v6 11/17] dt-bindings: arm: hisilicon: convert hisilicon,cpuctrl bindings to json-schema To: Krzysztof Kozlowski References: <20200930031712.2365-1-thunder.leizhen@huawei.com> <20200930031712.2365-12-thunder.leizhen@huawei.com> <20201001064008.GE3018@kozik-lap> From: "Leizhen (ThunderTown)" Message-ID: Date: Sat, 10 Oct 2020 18:54:34 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20201001064008.GE3018@kozik-lap> Content-Language: en-US X-Originating-IP: [10.174.177.134] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201010_065449_342735_E924E143 X-CRM114-Status: GOOD ( 18.47 ) 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: devicetree , Kefeng Wang , linux-kernel , Wei Xu , Rob Herring , Libin , Jonathan Cameron , linux-arm-kernel 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 2020/10/1 14:40, Krzysztof Kozlowski wrote: > On Wed, Sep 30, 2020 at 11:17:06AM +0800, Zhen Lei wrote: >> Convert the Hisilicon CPU controller binding to DT schema format using >> json-schema. >> >> Signed-off-by: Zhen Lei >> --- >> .../bindings/arm/hisilicon/controller/cpuctrl.yaml | 29 ++++++++++++++++++++++ >> .../arm/hisilicon/controller/hisilicon,cpuctrl.txt | 8 ------ >> 2 files changed, 29 insertions(+), 8 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml >> delete mode 100644 Documentation/devicetree/bindings/arm/hisilicon/controller/hisilicon,cpuctrl.txt >> >> diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml b/Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml >> new file mode 100644 >> index 000000000000000..f6a314db3a59416 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml >> @@ -0,0 +1,29 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/arm/hisilicon/controller/cpuctrl.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Hisilicon CPU controller >> + >> +maintainers: >> + - Wei Xu >> + >> +description: | >> + The clock registers and power registers of secondary cores are defined >> + in CPU controller, especially in HIX5HD2 SoC. >> + >> +properties: >> + compatible: >> + items: >> + - const: hisilicon,cpuctrl >> + >> + reg: >> + maxItems: 1 >> + >> +required: >> + - compatible >> + - reg > > Your own DTS file (arch/arm/boot/dts/hisi-x5hd2.dtsi) does not validate > against this dtschema. OK, I saw it. I just sent out a set of patches, to clean up all Hisilicon-related errors detected by DT schema on arm32. Because many new YAML files are generated this time, so I use the dtbs_check to check all the files at a times. The error information did not contain the compatible string, So I didn't see it. > > Best regards, > Krzysztof > > . > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel