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: 1412670 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4Cr0S12m2kz9sWQ for ; Tue, 8 Dec 2020 23:51:45 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729372AbgLHMvh (ORCPT ); Tue, 8 Dec 2020 07:51:37 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:9129 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729266AbgLHMvg (ORCPT ); Tue, 8 Dec 2020 07:51:36 -0500 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 CC: Zhen Lei , Zhangfei Gao , Chen Feng , "Manivannan Sadhasivam" 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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