From patchwork Tue Dec 8 12:46:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen (ThunderTown)" X-Patchwork-Id: 11958555 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.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 7AED6C4361B for ; Tue, 8 Dec 2020 12:52:07 +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 3B79223101 for ; Tue, 8 Dec 2020 12:52:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B79223101 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:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=6nWISjxgx9NJ6pOpS39gYItCiRSHY5cZLFquVfi6MCU=; b=AL4fYli22rCQ00SUxfF01J0LB0 qy+N3LZbpDlepyyJimZ411VhbkjJ/NJAbdo9KRcgs5Ujtk9Efb71KFXvCAgPuv75cY6iccAGzB+hl JG3JDUHCZchRKBMpwq+B3IMrbXMjPl+JO3B9k/Aj9ZGIBjDVib8bwlRuoDobOfwTEdZysxZHDonsO fzKhsyvL8gTzS/dO7l59NK2eAGsBtbjaD4n5SsoUNRkPGSOzpRrRMSEJ8nJYrzF1E4Qa1maZzNX3a yZRmdgo93y4ddpS3JJreaBP+a9rb+0+oS/DMx6qQlP17MnLZ513KV5Q9PEefd4h+Iwtxq7rU+yFK+ wb6qebGw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmcSG-0007aO-33; Tue, 08 Dec 2020 12:50:56 +0000 Received: from szxga04-in.huawei.com ([45.249.212.190]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmcSC-0007Yi-4c for linux-arm-kernel@lists.infradead.org; Tue, 08 Dec 2020 12:50:53 +0000 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Cr0QD05fpz15YQC; Tue, 8 Dec 2020 20:50:12 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.9) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Tue, 8 Dec 2020 20:50:32 +0800 From: Zhen Lei To: Philipp Zabel , Wei Xu , "Rob Herring" , linux-arm-kernel , devicetree , linux-kernel Subject: [PATCH v3 0/4] dt-bindings: reset: convert Hisilicon reset controller bindings to json-schema Date: Tue, 8 Dec 2020 20:46:37 +0800 Message-ID: <20201208124641.1787-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.9] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201208_075052_500883_185837B6 X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. 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: Zhangfei Gao , Manivannan Sadhasivam , Chen Feng , Zhen Lei Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org v2 --> v3: 1. Keep device tree patches and reset driver patch separate, as they were in v1. That is, revert v2. 2. When the new compatible match failed, fall back to the deprecated compatible. 3. Fix a typo, correct "hi3660,rst-syscon" to "hisilicon,rst-syscon". v1 --> v2: Merge the driver and DT modification(correct vendor prefix hisi to hisilicon) into one patch. v1: Patch 1-3 change the vendor prefix from "hisi" to "hisilicon", to eliminate below warnings: crg_rst_controller: 'hisi,rst-syscon' does not match any of the regexes: '^#.*', ... , '^hisilicon,.*', ... From schema: /root/leizhen/linux-next/Documentation/devicetree/bindings/vendor-prefixes.yaml Patch 4 does the json-schema conversion. Zhen Lei (4): reset: hisilicon: correct vendor prefix arm64: dts: correct vendor prefix hisi to hisilicon dt-bindings: reset: correct vendor prefix hisi to hisilicon dt-bindings: reset: convert Hisilicon reset controller bindings to json-schema .../bindings/reset/hisilicon,hi3660-reset.txt | 44 ------------- .../bindings/reset/hisilicon,hi3660-reset.yaml | 77 ++++++++++++++++++++++ arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 4 +- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 2 +- drivers/reset/hisilicon/reset-hi3660.c | 9 ++- 5 files changed, 87 insertions(+), 49 deletions(-) delete mode 100644 Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt create mode 100644 Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml